:root {
    --primary-color: #1a3622;
    --primary-light: #2e5939;
    --secondary-color: #d4af37;
    --secondary-hover: #b8972e;
    --bg-color: #fdfbf7;
    --bg-light: #f5f2eb;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* Better mobile tap experience */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    /* Base size for mobile readability */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Elsie', serif;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.3;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.section {
    padding: 60px 0;
    /* Tighter padding for mobile */
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 15px;
}

/* Buttons - Larger touch targets for mobile */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover,
.btn-primary:active {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary:hover,
.btn-secondary:active {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover,
.btn-whatsapp:active {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp i {
    font-size: 1.2rem;
    margin-right: 5px;
    vertical-align: middle;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ── FEATURED (200-Hour) card highlight ───────────────────── */
.btn-featured {
    background: linear-gradient(135deg, #f5a623 0%, #e8890d 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
    font-weight: 700;
    letter-spacing: 1.5px;
}

.btn-featured:hover,
.btn-featured:active {
    background: linear-gradient(135deg, #ffba48 0%, #f5a623 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(245, 166, 35, 0.55);
}

.course-card.featured {
    border: 2px solid #f5a623;
    box-shadow: 0 12px 40px rgba(245, 166, 35, 0.18);
}

/* Most-Popular ribbon on card image */
.popular-ribbon {
    position: absolute;
    top: 14px;
    right: -2px;
    background: linear-gradient(135deg, #f5a623, #e8890d);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 14px 5px 12px;
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.18);
    white-space: nowrap;
}


/* Navbar - Mobile First */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 251, 247, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    /* CRITICAL: allow dropdowns to overflow outside the navbar */
    overflow: visible;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    /* smaller for mobile to reduce clutter */
    width: auto;
    display: block;
}

.hamburger {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
    /* Better touch target */
}

/* ── MOBILE NAV PANEL ───────────────────────────────────────── */
.nav-links {
    position: fixed;
    top: 64px;
    /* height of navbar */
    left: -100%;
    width: 100%;
    height: calc(100vh - 64px);
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0 30px;
    overflow-y: auto;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
    z-index: 999;
}

.nav-links.active {
    left: 0;
}

/* Each top-level nav item takes full width on mobile */
.nav-links>li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-links>li:last-child {
    border-bottom: none;
}

.nav-links a {
    display: block;
    width: 100%;
    padding: 15px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links .btn-outline {
    margin: 16px 24px;
    width: auto;
}

/* ── MOBILE DROPDOWNS ─────────────────────────────────────── */
.dropdown-menu,
.dropdown-menu-sub {
    display: none;
    flex-direction: column;
    padding-left: 0;
    margin-top: 0;
    gap: 0;
    width: 100%;
    background: #f5f3ee;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dropdown-menu a,
.dropdown-menu-sub a {
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 13px 36px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dropdown-menu-sub a {
    padding-left: 52px;
    font-size: 0.92rem;
    background: #eeece6;
}

/* Rotate chevron when open */
.dropdown.open>a .fa-chevron-down,
.dropdown-submenu.open>a .fa-chevron-right {
    transform: rotate(180deg);
}

/* Mobile dropdowns toggled by JS .open class */
.nav-links.active .dropdown-menu {
    display: none;
}

.nav-links.active .dropdown-menu-sub {
    display: none;
}

.nav-links.active .dropdown.open>.dropdown-menu,
.nav-links.active .dropdown-submenu.open>.dropdown-menu-sub {
    display: flex;
}

/* Trust Badge Banner */
.trust-badge-section {
    padding: 60px 0 0 0;
    background: var(--bg-light);
}

.google-rating-banner {
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.google-rating-banner .rating-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.rating-stars {
    font-size: 2rem;
    font-family: 'Elsie', serif;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
}

.rating-stars .stars-icon {
    color: #fbbc04;
    /* Google star yellow */
    font-size: 1.2rem;
    display: flex;
    gap: 3px;
    margin-top: -5px;
}

.rating-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-color);
}

.rating-text .highlight {
    font-weight: 600;
    color: var(--primary-color);
}

.btn-google {
    background: #4285F4;
    color: #fff;
    font-weight: 600;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-google:hover {
    background: #3367D6;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

/* Teachers Grid Mobile Base */
.teachers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.teacher-card {
    background: var(--bg-color);
    /* Matches the background of the image to blend well */
    padding: 15px;
    border-radius: 15px;
    box-shadow: none;
    /* Removed heavy shadow for cleaner look */
    text-align: center;
    border: none;
    /* Removed border */
    display: block;
    /* Ensure it behaves well as a link */
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    /* Soft shadow on hover */
}

.teacher-img {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 0 20px 0;
    border: none;
}

.teacher-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.teacher-info p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Video Hero - Mobile First */
.video-hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* Video on top, content below on mobile */
    height: auto;
    min-height: 0;
    margin-top: 60px;
    /* Push section below fixed navbar — not padding, so video top is fully visible */
}

.hero-video {
    width: 100%;
    height: auto;
    /* Fix cropping on mobile */
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.video-hero .hero-overlay {
    display: none;
    /* No overlay on mobile since they don't overlap */
}

.video-hero .hero-content {
    background: var(--bg-light);
    padding: 40px 20px;
    position: relative;
    z-index: 2;
    transform: none !important;
    /* disable parallax on content */
    text-align: center;
}

.video-hero .hero-content h1 {
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: none;
    margin-bottom: 20px;
}

.video-hero .badges .badge {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.video-hero .target-audience {
    color: var(--text-color);
}

/* Reels Gallery */
#gallery.section {
    padding-top: 20px;
    /* Reduced spacing */
}

#gallery .section-header {
    margin-bottom: 20px;
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 in a row on mobile */
    gap: 15px;
    margin-top: 10px;
}

.reel-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    background: #fff;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.custom-insta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    border-bottom: 1px solid #efefef;
    position: relative;
    z-index: 5;
}

.custom-insta-header .insta-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.custom-insta-header .insta-btn {
    background: #0095f6;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.custom-insta-header .insta-btn:hover {
    background: #1877f2;
    color: #fff;
}

.iframe-crop-container {
    position: relative;
    width: 100%;
    padding-bottom: 177.77%;
    /* 9:16 aspect ratio */
    overflow: hidden;
    background: #000;
}

.iframe-crop-container iframe {
    position: absolute;
    /* Pull iframe up by 54px to completely crop out Instagram's real header */
    top: -54px;
    left: -2px;
    width: calc(100% + 4px);
    /* Extend iframe height by 170px to push Feedback, SocialProof, and Footer out of the bottom bound */
    height: calc(100% + 170px);
    border: none;
    background: transparent;
}

.reel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}





.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    will-change: transform;
}

.hero-content .subtitle {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge i {
    color: var(--secondary-color);
}

.target-audience {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    /* Stacked for mobile */
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* Discount Banner */
.discount-banner {
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
    display: block;
}

.discount-banner i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Courses Grid - Mobile First */
.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-img {
    height: 165px;
    background-size: cover;
    background-position: center;   /* always show the focal centre of image */
    position: relative;
    transition: background-size 0.4s ease;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.course-details {
    margin-bottom: 20px;
}

.course-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.course-details i {
    color: var(--primary-light);
    margin-top: 4px;
    width: 15px;
}

/* ── Course Pricing — Two-Column Split Card ──────────────────── */
.course-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.price {
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    overflow: hidden;
}

/* Left card — regular price (de-emphasised) */
.price:first-child {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.price:first-child .price-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-light);
}

.price:first-child .price-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: line-through;
    text-decoration-color: rgba(0,0,0,0.25);
}

/* Right card — discount price (premium highlight) */
.price:last-child {
    background: linear-gradient(135deg, #1a3622 0%, #2e5939 100%);
    border: none;
}

.price:last-child::before {
    /* Subtle gloss shimmer on highlighted card */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    pointer-events: none;
}

.price:last-child .price-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.price:last-child .price-label::before {
    content: '\f3ff'; /* fa-bolt */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
}

.price:last-child .price-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.price:last-child .price-save {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* Legacy fallback — keep span/h4 readable if used elsewhere */
.price span { font-size: 0.85rem; color: var(--text-light); }
.price h4   { font-family: 'Outfit', sans-serif; color: var(--primary-color); font-size: 1.05rem; }

/* ── Dual Button Group on Course Cards ──────────────────────── */
.card-btn-group {
    display: grid;
    grid-template-columns: 1fr;   /* mobile: full-width stacked buttons */
    gap: 10px;
    margin-top: 4px;
}

.card-btn-group .btn {
    padding: 13px 10px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    width: 100%;
}

/* ── Outline-Course Button (View Details) ───────────────────── */
.btn-outline-course {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-course:hover,
.btn-outline-course:active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 54, 34, 0.22);
}

.card-btn-group .enroll-btn {
    font-weight: 700;
}

/* ── Course Detail Modal ─────────────────────────────────────── */
.course-modal {
    display: none;
    position: fixed;
    top: 0;           /* explicit instead of inset:0 — full iOS/Android WebKit support */
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.course-modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(10, 24, 13, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

.modal-box {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;  /* smooth scroll on iOS */
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: modalSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) transparent;
}

.modal-box.featured {
    border-top: 5px solid #f5a623;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    margin: 16px 16px 0 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 10;
    flex-shrink: 0;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    padding: 10px 28px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    clear: both;
}

.modal-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.modal-badge.featured {
    background: linear-gradient(135deg, #f5a623, #e8890d);
}

.modal-header h3 {
    font-size: 1.55rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.modal-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-body {
    padding: 24px 28px;
}

/* Info grid (6 facts) */
.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.modal-info-item {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.modal-info-item i {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.modal-info-item span {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.4;
}

.modal-info-item span strong {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 2px;
}

/* Curriculum */
.modal-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section-title i {
    color: var(--secondary-color);
}

.modal-curriculum {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.modal-curriculum li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-color);
    line-height: 1.45;
}

.modal-curriculum li i {
    color: #3a7d44;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

/* Pricing row */
.modal-pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-price-box {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    border: 2px solid transparent;
}

.modal-price-box.highlight {
    border-color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.07);
}

.modal-price-box.highlight.featured {
    border-color: #f5a623;
    background: rgba(245, 166, 35, 0.08);
}

.modal-price-box span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-price-box strong {
    display: block;
    font-family: 'Elsie', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 900;
}

.modal-price-box.highlight strong {
    color: var(--secondary-hover);
}

/* Modal footer */
.modal-footer {
    padding: 18px 28px 24px;
    border-top: 1px solid rgba(0,0,0,0.07);
    display: flex;
    gap: 12px;
    align-items: center;
}

.modal-footer .btn {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    font-size: 0.9rem;
}

/* Timeline - Mobile First (Straight Line) */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 0;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
    padding-left: 20px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    left: -5px;
    background-color: var(--white);
    border: 3px solid var(--secondary-color);
    top: 5px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item .time {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.timeline-item .content {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-item h4 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
}

.timeline-item p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.schedule-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

/* Inclusion - Mobile First */
.inclusion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.inclusion-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: var(--shadow);
    text-align: left;
}

.inclusion-card .icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.inclusion-card h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.inclusion-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.rules-note {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.rules-note i {
    margin-top: 3px;
}

/* Footer - Clean 4-Column */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 0.8s ease 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 0.8s ease 0.6s forwards;
}

.fade-in-delay-3 {
    opacity: 0;
    animation: fadeIn 0.8s ease 0.9s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ── WhatsApp Widget ─────────────────────────────────────────── */

/* Wrapper — keeps button + bubble aligned to the same corner */
.wa-widget {
    /* Size-of-button only — nothing else takes layout space */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    width: 60px;
    height: 60px;
    /* No flex column — bubble is absolutely positioned instead */
}

/* ── Main Floating Button ─────────────────────────────────────── */
.floating-whatsapp {
    position: relative;        /* for the online-dot positioning */
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                visibility 0.3s,
                background 0.25s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.floating-whatsapp.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.floating-whatsapp:hover {
    background: #128c7e;
    transform: scale(1.1) translateY(0);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* ── Online dot on the main button ──────────────────────────── */
.wa-online-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 13px;
    height: 13px;
    background: #4cff91;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: wa-dot-pulse 2.4s ease-in-out infinite;
}

@keyframes wa-dot-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 255, 145, 0.7);
    }
    50% {
        opacity: 0.55;
        transform: scale(0.88);
        box-shadow: 0 0 0 5px rgba(76, 255, 145, 0);
    }
}

/* ── Chat Bubble Popup ───────────────────────────────────────── */
.wa-bubble {
    /* Absolutely positioned above the button — NEVER takes layout space */
    position: absolute;
    bottom: calc(100% + 14px); /* 14px gap above the button */
    right: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border-radius: 18px 18px 4px 18px;
    padding: 14px 16px 14px 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 290px;
    max-width: 90vw;

    /* Hidden by default — zero interaction footprint */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.4s ease,
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                visibility 0.4s;
}

/* Speech-bubble tail pointing down-right toward the button */
.wa-bubble::after {
    content: '';
    position: absolute;
    bottom: -9px;
    right: 20px;
    width: 18px;
    height: 10px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.07));
}

.wa-bubble.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Dismiss × button */
.wa-bubble-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.1rem;
    line-height: 1;
    color: #aaa;
    cursor: pointer;
    padding: 2px 5px;
    transition: color 0.2s;
}
.wa-bubble-close:hover { color: #333; }

/* Avatar */
.wa-bubble-avatar {
    position: relative;
    flex-shrink: 0;
}

.wa-bubble-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    background: #f9f9f9;
    display: block;
}

/* Online dot on avatar */
.wa-bubble-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 11px;
    height: 11px;
    background: #4cff91;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: wa-dot-pulse 2.4s ease-in-out infinite;
}

/* Content */
.wa-bubble-content {
    flex: 1;
    padding-right: 14px; /* space for × button */
}

.wa-bubble-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px;
    font-family: 'Outfit', sans-serif;
}

.wa-bubble-msg {
    background: #f0faf3;
    border-radius: 10px 10px 10px 2px;
    padding: 9px 13px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #333;
    min-height: 38px;
    display: flex;
    align-items: center;
}

.wa-text {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
}

/* Typing dots animation */
.wa-typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wa-typing span {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #25d366;
    border-radius: 50%;
    animation: wa-bounce 1.1s ease-in-out infinite;
}

.wa-typing span:nth-child(2) { animation-delay: 0.18s; }
.wa-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes wa-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30%            { transform: translateY(-5px); opacity: 1; }
}


/* =========================================================================
   DESKTOP STYLES (min-width: 768px and up) 
   ========================================================================= */

@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        padding: 0 30px;
    }

    .section {
        padding: 100px 0;
    }

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

    /* ── DESKTOP NAVBAR ───────────────────────────────────────── */
    .logo-img {
        height: 48px;
    }

    .hamburger {
        display: none;
    }

    /* Reset mobile panel to inline desktop row */
    .nav-links {
        position: static !important;
        flex-direction: row;
        align-items: center;
        height: auto !important;
        max-height: none !important;
        width: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        overflow-y: visible !important;
        overflow-x: visible !important;
        overflow: visible !important;
        gap: 4px;
        left: auto !important;
        transform: none !important;
        transition: none;
        z-index: auto;
    }

    /* Desktop top-level li - not full-width */
    .nav-links>li {
        width: auto;
        border-bottom: none;
        position: relative;
    }

    /* Desktop top-level links */
    .nav-links>li>a {
        display: inline-block;
        width: auto;
        padding: 10px 16px;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--primary-color);
        position: relative;
        white-space: nowrap;
    }

    /* Underline hover effect */
    .nav-links>li>a:not(.btn)::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background-color: var(--secondary-color);
        bottom: 2px;
        left: 16px;
        transition: width 0.25s ease;
    }

    .nav-links>li>a:not(.btn):hover::after,
    .nav-links>li.dropdown:hover>a:not(.btn)::after {
        width: calc(100% - 32px);
    }

    /* WhatsApp button in nav */
    .nav-links>li:last-child>a.btn-whatsapp {
        padding: 10px 20px;
        font-size: 0.88rem;
        border-radius: 25px;
        margin-left: 8px;
    }

    /* ── DESKTOP DROPDOWN PANEL (Level 1) ──────────────────── */
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        display: block !important;
        /* override mobile display:none */
        position: absolute;
        top: calc(100% + 2px);
        /* reduced gap so bridge covers it */
        left: 0;
        background: #fff;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
        min-width: 230px;
        padding: 8px 0;
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(6px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
        z-index: 2000;
    }

    /* Invisible hover-bridge: covers the gap between the nav link and the
       dropdown panel so moving the mouse downward doesn't break the hover. */
    .dropdown-menu::after {
        content: '';
        position: absolute;
        top: -12px;
        /* tall enough to bridge any gap */
        left: 0;
        right: 0;
        height: 12px;
        background: transparent;
    }

    /* Small caret/arrow above dropdown */
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 24px;
        width: 12px;
        height: 12px;
        background: #fff;
        border-left: 1px solid rgba(0, 0, 0, 0.06);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        transform: rotate(45deg);
    }

    .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .dropdown-menu li {
        width: 100%;
        border-bottom: none;
        padding: 0;
    }

    .dropdown-menu>li>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 18px;
        font-size: 0.93rem;
        font-weight: 500;
        color: var(--text-color);
        transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
        width: 100%;
    }

    .dropdown-menu>li>a:hover {
        background: var(--bg-light);
        color: var(--primary-color);
        padding-left: 24px;
    }

    /* Hide underline effect inside dropdown */
    .dropdown-menu a::after {
        display: none !important;
    }

    /* ── SUBMENU FLYOUT (Level 2) ──────────────────────────── */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-menu-sub {
        display: block !important;
        /* override mobile display:none */
        position: absolute;
        top: -8px;
        left: calc(100% + 2px);
        /* reduced gap */
        background: #fff;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
        min-width: 210px;
        padding: 8px 0;
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(8px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
        z-index: 2001;
    }

    /* Invisible bridge covering the gap to the right of the submenu trigger */
    .dropdown-menu-sub::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: -10px;
        width: 10px;
        background: transparent;
    }

    .dropdown-submenu:hover>.dropdown-menu-sub {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .dropdown-menu-sub>li>a {
        display: block;
        padding: 10px 18px;
        font-size: 0.92rem;
        font-weight: 500;
        color: var(--text-color);
        background: transparent;
        transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
        width: 100%;
    }

    .dropdown-menu-sub>li>a:hover {
        background: var(--bg-light);
        color: var(--primary-color);
        padding-left: 24px;
    }

    /* Teachers Desktop */
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Video Hero Desktop Layout */
    .video-hero {
        flex-direction: row;
        height: 80vh;
        /* Changed from 100vh to 80vh */
        align-items: center;
        justify-content: center;
        margin-top: 0;
        margin-top: 70px;
        /* Offset so video top edge clears the fixed navbar */
    }

    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 0;
    }

    .video-hero .hero-overlay {
        display: block;
        /* Show overlay on desktop */
        z-index: 1;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(26, 54, 34, 0.4), rgba(0, 0, 0, 0.7));
    }

    .video-hero .hero-content {
        background: transparent;
        padding: 0;
        z-index: 2;
        max-width: 800px;
        margin: 0 auto;
    }

    .video-hero .hero-content h1 {
        font-size: 6rem;
        color: var(--white);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        margin-bottom: 20px;
        font-weight: normal;
        line-height: 1em;
    }

    .video-hero .badges .badge {
        color: var(--white);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .video-hero .target-audience {
        color: rgba(255, 255, 255, 0.9);
    }

    .badges {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
        max-width: none;
    }

    /* Courses */
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .card-content {
        padding: 30px;
    }

    .card-img {
        height: 215px; /* Richer visual on desktop — cards are side by side so no extra scroll */
    }

    /* Subtle ken-burns zoom on hover for extra life */
    .course-card:hover .card-img {
        background-size: 108%;
    }

    /* Timeline Alternating */
    .timeline {
        max-width: 800px;
        margin: 0 auto;
        padding-left: 0;
    }

    .timeline::after {
        left: 50%;
        margin-left: -1px;
    }

    .timeline-item {
        width: 50%;
        padding-bottom: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        display: flex;
        align-items: center;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 40px;
        padding-left: 0;
        justify-content: flex-end;
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: 40px;
    }

    .timeline-item::after {
        left: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .timeline-item:nth-child(odd)::after {
        right: -7px;
    }

    .timeline-item:nth-child(even)::after {
        left: -7px;
    }

    .timeline-item .time {
        margin-bottom: 0;
        min-width: 80px;
    }

    .timeline-item:nth-child(odd) .time {
        order: 2;
        margin-left: 20px;
        text-align: left;
    }

    .timeline-item:nth-child(even) .time {
        margin-right: 20px;
        text-align: right;
    }

    .timeline-item .content {
        max-width: 250px;
    }

    .timeline-item:nth-child(odd) .content {
        order: 1;
    }

    /* Inclusions */
    .inclusion-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .inclusion-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px;
    }

    .rules-note {
        justify-content: center;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    /* Footer */
    .footer {
        padding: 30px 0 0px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .footer-cta {
        padding: 40px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .social-links a:hover {
        background: var(--secondary-color);
        color: var(--white);
        transform: translateY(-3px);
    }

    .reels-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 in a row on desktop */
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .google-rating-banner .rating-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .trust-badge-section {
        padding: 40px 20px 0 20px;
    }
}

@media (min-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Because we removed 500-hour */
    }

    .teachers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ═══════════════════════════════════════════
   NEW FOOTER STYLES
═══════════════════════════════════════════ */
.footer-main {
    padding: 60px 0 40px;
}

.footer-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 130px;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Coloured social icon circles */
.footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    color: #fff;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon.fb {
    background: #1877f2;
}

.social-icon.ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-icon.yt {
    background: #ff0000;
}

.social-icon.wa {
    background: #25d366;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

/* Column heading with golden underline */
.footer-heading {
    font-family: 'Elsie', serif;
    color: var(--secondary-color);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Address */
.footer-address {
    font-style: normal;
    margin-bottom: 20px;
}

.footer-address p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.footer-address i {
    color: var(--secondary-color);
    min-width: 16px;
    margin-top: 3px;
}

.footer-address a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.footer-address a:hover {
    color: var(--secondary-color);
}

/* Map button */
.footer-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    width: fit-content;
    margin-top: 4px;
}

.footer-map-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Course links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.91rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links li a i {
    font-size: 0.65rem;
    color: var(--secondary-color);
}

.footer-links li a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

/* Mini inquiry form */
.contact-form-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form-mini input,
.contact-form-mini select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
}

.contact-form-mini input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form-mini select {
    color: rgba(255, 255, 255, 0.65);
}

.contact-form-mini option {
    background: var(--primary-color);
    color: #fff;
}

.footer-submit-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-submit-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.footer-bottom-inner p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

@media (min-width: 768px) {
    .footer-grid-new {
        grid-template-columns: 1fr 1fr;
        gap: 40px 50px;
    }

    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1100px) {
    .footer-grid-new {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    }
}

/* ── Modal: Small-screen adjustments ─────────────────────────── */
@media (max-width: 500px) {
    .modal-info-grid,
    .modal-curriculum,
    .modal-pricing-row {
        grid-template-columns: 1fr;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .modal-header h3 {
        font-size: 1.3rem;
    }
}