/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --color-primary: #6b1fad;
    /* Main Brand Color (Purple) */
    --color-primary-dark: #531887;
    /* Darker Purple for hover */
    --color-secondary: #2E0D49;
    /* Deep Dark Purple for Headings */
    --color-accent: #F48C06;
    /* Orange for high-contrast accents */
    --color-text: #464646;
    /* Dark Gray */
    --color-bg-light: #F9F4FC;
    /* Very light purple tint for background */
    --color-white: #FFFFFF;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 110px;

    /* Borders */
    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-full: 50px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    color: var(--color-secondary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(107, 31, 173, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(107, 31, 173, 0.4);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(107, 31, 173, 0.2);
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--color-text);
}

.btn-play span {
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--color-primary);
}

/* Header */
.main-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    /* Center items on desktop */
    position: sticky;
    top: 0;
    background-color: var(--color-bg-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center items on desktop */
    width: 100%;
}

.logo {
    display: block;
    max-width: 300px;
    margin-top: 0;
    /* Stick to top */
}

.logo img {
    height: 120px;
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 40px;
}

.main-nav a {
    color: var(--color-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero-section {
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
    max-width: 500px;
}

.hero-actions {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 20px;
    row-gap: 8px;
    align-items: center;
    justify-content: start;
}

.hero-cta-group {
    display: contents;
}

.hero-cta-group .btn-primary {
    grid-column: 1;
    grid-row: 1;
    white-space: nowrap;
}

.hero-content .hero-cta-note {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    max-width: none;
    font-weight: 500;
}

.hero-actions .btn-play {
    grid-column: 2;
    grid-row: 1;
    white-space: nowrap;
}

.hero-image {
    position: relative;
    max-width: 550px;
    margin-left: auto;
}

/* --- Event Promo Bar --- */
.event-promo-bar {
    background: linear-gradient(135deg, var(--color-primary) 0%, #8b4ec4 100%);
    padding: 25px 0;
    margin-top: -40px;
    position: relative;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(107, 31, 173, 0.2);
    border-radius: 0;
}

.promo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.promo-text {
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.promo-text i {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-radius: 12px;
}

.promo-info h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
}

.promo-info p {
    margin: 3px 0 0 0;
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 400;
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    color: var(--color-primary-dark);
}

@media (max-width: 992px) {
    .promo-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .event-promo-bar {
        margin-top: 0;
        padding: 30px 20px;
        border-radius: 0;
    }

    .promo-container {
        flex-direction: column;
        text-align: center;
    }

    .promo-text {
        flex-direction: column;
        gap: 10px;
    }
}

.main-hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    border: 8px solid var(--color-white);
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: var(--color-white);
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.floating-badge span {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 0.9rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Decorative Blobs (Mockup) */
.blob-bg {
    position: absolute;
    z-index: 1;
    width: 170%;
    height: 170%;
    top: -34%;
    left: -25%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23E9D8FD' d='M44.7,-76.4C58.9,-69.2,71.8,-59.1,79.6,-46.9C87.4,-34.7,90.1,-20.4,85.8,-7.1C81.5,6.2,70.2,18.5,59.6,29.1C49,39.7,39.1,48.6,27.9,56.6C16.7,64.6,4.2,71.7,-7.4,70.5C-19,69.3,-29.7,59.8,-39.5,49.9C-49.3,40,-58.2,29.7,-64.5,17.4C-70.8,5.1,-74.5,-9.2,-70.6,-21.8C-66.7,-34.4,-55.2,-45.3,-43.3,-53.4C-31.4,-61.5,-19.1,-66.8,-6.2,-65.8C6.7,-64.8,13.4,-57.5,30,-83.6L44.7,-76.4Z' transform='translate(100 100)' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .main-nav {
        display: none;
        /* Need hamburger menu later */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* --- Features / Target Audience Section --- */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

/* Decorative underline */
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--color-primary);
    font-size: 2rem;
}

.feature-card h3 {
    color: var(--color-secondary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    line-height: 1.1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.4;
}

.feature-list li i {
    color: var(--color-primary);
    margin-top: 4px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Different colors for cards */
.feature-card:nth-child(2) .icon-wrapper {
    background-color: rgba(101, 218, 255, 0.1);
    color: var(--color-accent);
}

.feature-card:nth-child(3) .icon-wrapper {
    background-color: rgba(47, 50, 125, 0.1);
    color: var(--color-secondary);
}

/* --- Services Section --- */
.services-section {
    background-color: var(--color-white);
    /* White background to contrast with light main bg */
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

/* Service Header with Color */
.service-header {
    padding: 40px;
    background-color: var(--color-bg-light);
    text-align: center;
}

.service-card.group .service-header {
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF5E0 100%);
}

.service-card.individual .service-header {
    background: linear-gradient(135deg, #F0F8FF 0%, #E6F4FF 100%);
}

.service-header h3 {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.service-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 15px 0;
}

.service-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.service-body {
    padding: 40px;
    flex-grow: 1;
}

.service-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.service-list li i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.service-desc {
    margin-top: 25px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

.service-footer {
    padding: 0 40px 40px;
    text-align: center;
}

/* Responsive adjustments for new sections */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
        /* Stack cards */
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* --- Schedule Section --- */
.schedule-container {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Pricing Summary Styles */
.pricing-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-item {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.pricing-item:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-info .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-info .label i {
    font-size: 1.1rem;
    color: var(--color-primary);
    opacity: 0.7;
}

.pricing-info .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.pricing-info .price small {
    font-size: 1rem;
    font-weight: 500;
    color: #777;
    margin-left: 4px;
}

.schedule-header-row {
    background: #fcfcfc;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #bbb;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #f0f0f0;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.schedule-class {
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.schedule-time {
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    background: #fcfcfc;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
}

.schedule-action {
    display: flex;
    justify-content: flex-end;
}

/* Visibility boost for schedule buttons */
.schedule-action .btn-secondary {
    background-color: var(--color-bg-light) !important;
    border: 2px solid var(--color-primary-dark) !important;
    color: var(--color-primary-dark) !important;
    font-weight: 700 !important;
    padding: 10px 25px !important;
    white-space: nowrap;
}

.schedule-action .btn-secondary:hover {
    background-color: var(--color-primary-dark) !important;
    color: var(--color-white) !important;
}

.separator {
    color: #ccc;
    margin: 0 12px;
    font-weight: 300;
}

.trial-cta-block {
    text-align: center;
    padding: 36px 30px 40px;
    border-top: 1px solid #f0f0f0;
    background-color: var(--color-bg-light);
}

.trial-cta-block h3 {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--color-secondary);
}

.trial-cta-block p {
    color: #555;
    margin: 0 auto 24px;
    max-width: 520px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .schedule-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .schedule-class,
    .schedule-action {
        justify-content: center;
    }

    .trial-cta-block {
        padding: 28px 20px 32px;
    }

    .trial-cta-block h3 {
        font-size: 1.2rem;
    }
}

.schedule-row:hover {
    background-color: #fcfcfc;
}

.schedule-class {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-time {
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag {
    background-color: #E8F0FE;
    color: var(--color-secondary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

/* --- Teacher Section --- */
.teacher-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.teacher-image-wrapper {
    position: relative;
    padding: 20px;
}

.teacher-image-wrapper img {
    border-radius: var(--radius-md);
    box-shadow: 20px 20px 0 rgba(107, 31, 173, 0.05);
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
}

.teacher-name-tag {
    text-align: center;
    margin-top: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-secondary);
    position: relative;
    z-index: 3;
}

/* Decorative backdrop for teacher */
.teacher-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    border-radius: var(--radius-md) 0 var(--radius-md) 0;
    z-index: 1;
}

.teacher-content h2 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.teacher-role {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.teacher-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--color-secondary);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.9rem;
    color: #666;
}

/* --- Reviews Section --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: #f0f0f0;
    font-family: serif;
    z-index: 0;
}

.review-text {
    position: relative;
    z-index: 1;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-weight: 700;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-author span {
    font-weight: 400;
    color: #888;
    font-size: 0.9rem;
}

/* --- Contact & Location Section --- */
.bg-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Location Section */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-info-card {
    background: var(--color-bg-light);
    padding: 30px;
    border-radius: 20px;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.main-footer {
    background-color: var(--color-secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    color: var(--color-white);
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-nav a {
    color: var(--color-white);
    font-weight: 500;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .main-nav ul {
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-secondary);
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    line-height: 1;
}

@media (max-width: 800px) {
    .section-padding {
        padding: 30px 0 60px;
        /* Reduced top padding */
    }

    .hero-section {
        padding-bottom: 20px;
        /* Reduced bottom padding */
    }

    .main-header {
        height: auto;
        /* Let content define height */
        min-height: 80px;
        align-items: flex-start;
        padding-top: 0 !important;
    }

    .nav-container {
        align-items: flex-start;
        padding-top: 0 !important;
    }

    .logo img {
        height: 90px;
    }

    .mobile-menu-toggle {
        display: block;
        order: 2;
        margin-top: 15px;
        /* Stick closer to top */
        margin-right: 15px;
        color: var(--color-primary);
    }

    .nav-cta {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .main-nav.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease;
        transition-delay: calc(0.1s * var(--i));
    }

    .main-nav a {
        font-size: 1.8rem;
        color: var(--color-secondary);
        font-weight: 700;
        position: relative;
        padding: 5px 0;
    }

    .main-nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--color-primary);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .main-nav a:active::after {
        width: 50px;
    }

    /* Hero Responsive */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-top: 20px;
        line-height: 1.1;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 8px;
    }

    .hero-cta-group .btn-primary {
        white-space: normal;
    }

    .hero-content .hero-cta-note {
        text-align: center;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }

    .hero-image {
        order: -1;
    }

    .floating-badge {
        left: 20px;
        bottom: -20px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    /* Grid Layouts */
    .grid-3,
    .services-grid,
    .teacher-grid,
    .contact-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-summary {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pricing-item {
        padding: 30px 20px;
    }

    .pricing-item:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .schedule-row {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 25px;
        text-align: center;
    }

    .schedule-row>* {
        justify-content: center !important;
    }

    .schedule-time {
        margin: 10px auto;
    }

    .map-wrapper {
        order: 1;
    }

    .map-wrapper iframe {
        height: 350px;
        /* More compact height on mobile */
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
}