@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&family=Dancing+Script:wght@400;600&display=swap');

:root {
    --warm-ivory: #F7F3E9;
    --soft-clay: #D9A86C;
    --forest-green: #2F4F4F;
    --artistic-terracotta: #C87152;
    --deep-charcoal: #333333;
    --pastel-peach: #F2C7B5;
    --muted-sage: #A3B49D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--deep-charcoal);
    background-color: var(--warm-ivory);
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--forest-green);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

a {
    text-decoration: none;
    color: var(--artistic-terracotta);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--soft-clay);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 480px) {
    .course-card img {
        height: 200px;
    }
    
    .instructor-photo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 320px) {
    .course-card img {
        height: 180px;
    }
    
    .instructor-photo {
        width: 150px;
        height: 150px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .course-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

header {
    background: rgba(247, 243, 233, 0.98);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(217, 168, 108, 0.2);
    min-height: 80px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    min-height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(200, 113, 82, 0.3), transparent);
    pointer-events: none;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--forest-green);
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
    letter-spacing: -0.5px;
    animation: fadeInDown 0.6s ease-out 0.1s both;
}

.logo:hover {
    transform: scale(1.05);
    color: var(--artistic-terracotta);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--artistic-terracotta), var(--soft-clay));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 500;
    color: var(--deep-charcoal);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--artistic-terracotta), var(--soft-clay));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    opacity: 0.8;
}

.nav-links a:hover::before {
    width: calc(100% - 2rem);
}

.nav-links a:hover {
    color: var(--artistic-terracotta);
    background: rgba(200, 113, 82, 0.08);
    transform: translateY(-2px);
}

.nav-links a:active {
    transform: translateY(0);
}

.nav-links li:has(a[href*="index.html"]):not(:has(a[href*="thank-you"])) a[href*="index.html"],
.nav-links li:has(a[href*="courses.html"]) a[href*="courses.html"],
.nav-links li:has(a[href*="about.html"]) a[href*="about.html"],
.nav-links li:has(a[href*="gallery.html"]) a[href*="gallery.html"],
.nav-links li:has(a[href*="contacts.html"]) a[href*="contacts.html"] {
    position: relative;
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
    color: var(--artistic-terracotta);
    background: rgba(200, 113, 82, 0.12);
    font-weight: 600;
}

.nav-links a.active::before,
.nav-links a[aria-current="page"]::before {
    width: calc(100% - 2rem);
    opacity: 1;
}

.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
    content: '🎨';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    opacity: 0.6;
}

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--warm-ivory) 0%, var(--pastel-peach) 100%);
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(247, 243, 233, 0.85) 0%, rgba(242, 199, 181, 0.75) 100%);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 113, 82, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-courses {
    background-image: url('../images/background3.jpg');
}

.hero-about {
    background-image: url('../images/background4.jpg');
}

.hero-gallery {
    background-image: url('../images/backgrouund1.jpg');
}

.hero-contacts {
    background-image: url('../images/background5.jpg');
}

.hero-no-bg {
    background-image: none !important;
}

.hero h1 {
    margin-bottom: 1rem;
    color: var(--forest-green);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--deep-charcoal);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--artistic-terracotta);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

.btn:hover {
    background-color: var(--soft-clay);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.section {
    padding: 5rem 2rem;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--artistic-terracotta), transparent);
    margin: 1rem auto;
    border-radius: 2px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--artistic-terracotta), var(--soft-clay));
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.course-card h3 {
    margin-bottom: 1rem;
    color: var(--forest-green);
}

.course-card p {
    margin-bottom: 1.5rem;
    color: var(--deep-charcoal);
    opacity: 0.8;
}

.btn-secondary {
    background-color: transparent;
    color: var(--artistic-terracotta);
    border: 2px solid var(--artistic-terracotta);
    padding: 0.75rem 2rem;
}

.btn-secondary:hover {
    background-color: var(--artistic-terracotta);
    color: white;
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.instructor-card {
    text-align: center;
    position: relative;
}

.instructor-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 4px solid var(--pastel-peach);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.instructor-photo::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(163, 180, 157, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.instructor-card h3 {
    margin-bottom: 0.5rem;
    font-family: 'Dancing Script', cursive;
    font-size: 1.75rem;
}

.instructor-card p {
    color: var(--deep-charcoal);
    opacity: 0.7;
}

.features {
    background: linear-gradient(135deg, var(--muted-sage) 0%, var(--warm-ivory) 100%);
    padding: 5rem 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--artistic-terracotta);
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.map-container {
    margin-top: 2rem;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(200, 113, 82, 0.05) 0%, rgba(217, 168, 108, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 16px;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 16px;
    filter: grayscale(10%) contrast(1.05);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1.1);
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--deep-charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--pastel-peach);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--artistic-terracotta);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.5;
}

footer {
    background: var(--forest-green);
    color: white;
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section a {
    color: var(--pastel-peach);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--soft-clay);
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.privacy-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.privacy-links a {
    color: var(--pastel-peach);
    font-size: 0.9rem;
}

.privacy-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.privacy-popup.active {
    display: flex;
}

.popup-content {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.popup-content h2 {
    margin-bottom: 1rem;
}

.popup-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--deep-charcoal);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.popup-close:hover {
    background: var(--warm-ivory);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    background: none;
    border: none;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--forest-green);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(247, 243, 233, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 1rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--deep-charcoal);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1001;
    line-height: 1;
}

.mobile-menu-close:hover {
    background: rgba(200, 113, 82, 0.1);
    color: var(--artistic-terracotta);
    transform: rotate(90deg);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-links a {
    display: block;
    padding: 1rem;
    color: var(--deep-charcoal);
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    background: rgba(200, 113, 82, 0.1);
    color: var(--artistic-terracotta);
    border-left-color: var(--artistic-terracotta);
    padding-left: 1.5rem;
}

@media (max-width: 992px) {
    .course-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .instructor-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    nav {
        padding: 1.25rem 1.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 60vh;
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }
    
    .course-grid,
    .instructor-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .map-container {
        margin-top: 1.5rem;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
    
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(247, 243, 233, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(217, 168, 108, 0.2);
        z-index: 999;
        display: flex;
        justify-content: space-around;
        padding: 1rem 0.5rem;
        gap: 0.5rem;
        min-height: 70px;
    }
    
    .mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        color: var(--deep-charcoal);
        font-size: 0.8rem;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 16px;
        transition: all 0.3s ease;
        position: relative;
        flex: 1;
        max-width: 100px;
    }
    
    .mobile-nav a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(200, 113, 82, 0.1);
        border-radius: 16px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-nav a:hover::before,
    .mobile-nav a.active::before {
        opacity: 1;
    }
    
    .mobile-nav a:hover {
        color: var(--artistic-terracotta);
        transform: translateY(-2px);
    }
    
    .mobile-nav a.active {
        color: var(--artistic-terracotta);
        font-weight: 600;
        background: rgba(200, 113, 82, 0.12);
    }
    
    .mobile-nav a.active::after {
        content: '';
        position: absolute;
        top: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 3px;
        background: linear-gradient(to right, var(--artistic-terracotta), var(--soft-clay));
        border-radius: 0 0 3px 3px;
    }
}

.mobile-nav {
    display: none;
}

@media (min-width: 769px) {
    .mobile-menu,
    .mobile-menu-overlay {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .course-card h3,
    .instructor-card h3 {
        font-size: 1.25rem;
    }
    
    .mobile-menu {
        width: 100%;
        max-width: 320px;
    }
    
    .mobile-menu-close {
        width: 36px;
        height: 36px;
        font-size: 1.75rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

@media (max-width: 320px) {
    * {
        box-sizing: border-box;
    }
    
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    header {
        min-height: 70px;
    }
    
    nav {
        padding: 0.75rem 10px;
        min-height: 70px;
    }
    
    .logo {
        font-size: 1.1rem;
        letter-spacing: -0.3px;
    }
    
    .burger-menu {
        padding: 0.4rem;
        gap: 4px;
    }
    
    .burger-menu span {
        width: 22px;
        height: 2.5px;
    }
    
    .hero {
        min-height: 50vh;
        padding: 1.5rem 0.75rem;
    }
    
    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
        border-radius: 40px;
    }
    
    .section {
        padding: 2rem 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 2px;
    }
    
    .course-card,
    .contact-form {
        padding: 1.25rem;
        border-radius: 20px;
    }
    
    .course-card img {
        height: 180px;
        margin-bottom: 1rem;
    }
    
    .course-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }
    
    .course-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .btn-secondary {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .instructor-photo {
        width: 150px;
        height: 150px;
        margin-bottom: 1rem;
    }
    
    .instructor-card h3 {
        font-size: 1.4rem;
    }
    
    .instructor-card p {
        font-size: 0.85rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-item h3 {
        font-size: 1.25rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .mobile-menu {
        width: 100%;
        padding: 0.75rem 1rem 1.5rem;
    }
    
    .mobile-menu-close {
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .mobile-menu-links {
        gap: 0.75rem;
        margin-top: 2rem;
    }
    
    .mobile-menu-links a {
        padding: 0.85rem;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.65rem;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .map-container {
        margin-top: 1.25rem;
    }
    
    .map-container iframe {
        height: 220px;
    }
    
    footer {
        padding: 2rem 1rem 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }
    
    .copyright {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }
    
    .privacy-links {
        gap: 1rem;
        margin-top: 0.75rem;
    }
    
    .privacy-links a {
        font-size: 0.8rem;
    }
    
    .popup-content {
        padding: 1.5rem;
        margin: 1rem;
        max-height: 85vh;
    }
    
    .popup-content h2 {
        font-size: 1.5rem;
    }
    
    .popup-content p {
        font-size: 0.9rem;
    }
    
    .popup-close {
        width: 28px;
        height: 28px;
        font-size: 1.25rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .brush-divider {
        margin: 2rem 0;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 0.9rem;
    }
}

.brush-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--artistic-terracotta), transparent);
    margin: 3rem 0;
    position: relative;
}

.brush-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--soft-clay);
    border-radius: 2px;
    opacity: 0.6;
}

.watercolor-accent {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

.watercolor-accent.top-left {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--artistic-terracotta), transparent);
}

.watercolor-accent.bottom-right {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--muted-sage), transparent);
}

