@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Nunito:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B6914;
    --primary-light: #D4A84B;
    --secondary: #2C4A52;
    --accent: #E8C47C;
    --cream: #FDF8F0;
    --warm-white: #FFFDF9;
    --text-dark: #2D2A26;
    --text-light: #6B6560;
    --shadow: rgba(139, 105, 20, 0.1);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Nunito', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--warm-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 0.8rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover { color: var(--primary-light); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
}

header.scrolled {
    position: fixed;
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    padding: 10px 0;
}

header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    font-size: 1.2rem;
    color: var(--primary-light);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 50%, #FFF5E6 100%);
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 196, 124, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(139, 105, 20, 0.15);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid var(--accent);
    border-radius: 20px;
    z-index: -1;
}

.hero-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}

.hero-badge span {
    font-weight: 600;
    font-size: 13px;
}

section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.features {
    background: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.feature-icon i {
    font-size: 1.4rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 0;
}

.courses {
    background: var(--warm-white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.course-content {
    padding: 20px;
}

.course-content h3 {
    margin-bottom: 8px;
}

.course-content p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.course-meta span {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-meta i {
    color: var(--primary);
}

.testimonials {
    background: linear-gradient(135deg, var(--secondary) 0%, #1A2F34 100%);
    color: white;
}

.testimonials .section-header h2 {
    color: white;
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--secondary);
    font-size: 14px;
}

.testimonial-info strong {
    display: block;
    font-size: 13px;
}

.testimonial-info span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.cta {
    background: var(--cream);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.cta p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.about {
    background: var(--warm-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 15px 40px var(--shadow);
}

.about-text h2 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--cream);
    border-radius: 10px;
}

.stat-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
}

.stat-item span {
    font-size: 11px;
    color: var(--text-light);
}

.products {
    background: var(--cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 160px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 3rem;
    color: white;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.product-content p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price strong {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
}

.page-hero {
    padding: 100px 0 50px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    text-align: center;
}

.page-hero h1 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.page-hero p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 12px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb span {
    color: var(--primary);
}

.contact-section {
    background: var(--warm-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.contact-form-wrapper h3 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 13px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 11px;
    color: var(--text-light);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--cream);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-card-content h4 {
    font-size: 13px;
    margin-bottom: 3px;
}

.contact-card-content p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0;
}

.map-section {
    padding: 0;
}

.map-container {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background: var(--secondary);
    color: white;
    padding: 30px 0 15px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo i {
    color: var(--accent);
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.policy-links {
    display: flex;
    gap: 15px;
}

.policy-links a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.policy-links a:hover {
    color: var(--accent);
}

.privacy-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.privacy-popup.show {
    display: block;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-popup h4 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.privacy-popup p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.privacy-popup-buttons {
    display: flex;
    gap: 10px;
}

.privacy-popup .btn {
    padding: 8px 20px;
    font-size: 12px;
}

.error-page,
.thankyou-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
}

.error-content,
.thankyou-content {
    max-width: 500px;
    padding: 40px 20px;
}

.error-content i,
.thankyou-content i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.error-content h1 {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.thankyou-content h1 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.error-content p,
.thankyou-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.policy-page {
    background: var(--warm-white);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.policy-content h2 {
    color: var(--secondary);
    margin: 30px 0 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.policy-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.policy-content h3 {
    color: var(--primary);
    margin: 20px 0 10px;
}

.policy-content p,
.policy-content li {
    color: var(--text-light);
    font-size: 13px;
}

.policy-content ul {
    margin: 10px 0 15px 20px;
}

.policy-content li {
    margin-bottom: 5px;
}

.curriculum {
    background: var(--warm-white);
}

.curriculum-list {
    max-width: 700px;
    margin: 0 auto;
}

.curriculum-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.curriculum-item:hover {
    transform: translateX(5px);
}

.curriculum-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.curriculum-content h4 {
    margin-bottom: 5px;
}

.curriculum-content p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0;
}

.pricing {
    background: var(--cream);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 3px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 5px;
}

.pricing-card .price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin: 15px 0;
}

.pricing-card .price span {
    font-size: 14px;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary);
    font-size: 12px;
}

.instructors {
    background: var(--warm-white);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.instructor-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instructor-avatar i {
    font-size: 2rem;
    color: white;
}

.instructor-card h4 {
    margin-bottom: 5px;
}

.instructor-card span {
    display: block;
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 10px;
}

.instructor-card p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0;
}

.faq {
    background: var(--cream);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 15px;
    max-height: 200px;
}

.faq-answer p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0;
}

.gallery {
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item i {
    font-size: 2rem;
    color: white;
}

.levels {
    background: var(--cream);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.level-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.level-card:hover {
    transform: translateY(-5px);
}

.level-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, #1A2F34 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.level-icon i {
    font-size: 1.4rem;
    color: var(--accent);
}

.level-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.level-card p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0;
}

.nav-close {
    display: none;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .features-grid,
    .testimonials-grid,
    .products-grid,
    .pricing-grid,
    .instructors-grid,
    .levels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    .nav-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--warm-white);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    nav a {
        font-size: 15px;
    }
    
    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer;
        display: flex;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .policy-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 12px;
    }
    
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    
    .features-grid,
    .testimonials-grid,
    .products-grid,
    .pricing-grid,
    .instructors-grid,
    .levels-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .privacy-popup {
        left: 10px;
        right: 10px;
        padding: 15px;
    }
    
    .policy-content {
        padding: 25px 20px;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .error-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 320px) {
    body {
        font-size: 13px;
    }
    
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 10px;
    }
}
