/* =====================================================
   THREE STARS INTERNATIONAL MUSIC ACADEMY STYLESHEET
   PREMIUM LUXURY THEME & RESPONSIVE LAYOUT
===================================================== */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f1e6;
    color: #2b3245;
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
}

/* ---------- COLOR VARIABLES ---------- */
/* Note: variable names are kept for continuity, but values are now
   tuned for a light, ultra-premium theme. --navy-dark / --navy-card
   act as the two alternating light section backgrounds, and
   --text-white now holds the primary dark text colour. */
:root {
    --navy-dark: #f5f1e6;
    --navy-card: #ffffff;
    --navy-border: rgba(184, 134, 11, 0.32);
    --gold: #b8860b;
    --gold-hover: #d4af37;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #8a6508 100%);
    --text-white: #1c2333;
    --text-muted: #5c6478;
    --card-shadow: 0 10px 30px rgba(28, 35, 51, 0.08);
    --transition-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =====================================================
   HEADER & NAVBAR
===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 253, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 134, 11, 0.18);
    box-shadow: 0 2px 20px rgba(28, 35, 51, 0.04);
    transition: all 0.3s ease;
}

.navbar {
    max-width: 1400px;
    margin: auto;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Logo increased ~20% further (74px) and brightened since we can only
   adjust rendering, not the source image's pixels */
.nav-logo-img {
    height: 74px;
    width: 74px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.25);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    filter: brightness(1.15) saturate(1.05) contrast(0.96);
}

.nav-logo-img:hover {
    transform: scale(1.06);
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: 'Cinzel', serif;
}

.logo-text .brand-title {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.1;
}

.logo-text .brand-subtitle {
    color: #5c6478;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.8px;
    margin-top: 3px;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    color: #1c2333;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-cta-btn {
    background: var(--gold-gradient);
    color: #070e1b !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 160px 8% 80px;
    background: url("images/hero.jpg") center/cover no-repeat;
}

/* Hero overlay opacity decreased by 20% for brighter visual impact */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 14, 27, 0.85) 0%,
        rgba(7, 14, 27, 0.65) 50%,
        rgba(7, 14, 27, 0.35) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
    font-family: 'Cinzel', serif;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero h1 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 35px;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    right: 5%;
    bottom: 35px;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
}

/* =====================================================
   BUTTONS
===================================================== */
.button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.button-gold {
    background: var(--gold-gradient);
    color: var(--navy-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.button-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.button-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.button-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* =====================================================
   STATS SECTION
===================================================== */
.stats {
    background: var(--navy-card);
    border-top: 1px solid var(--navy-border);
    border-bottom: 1px solid var(--navy-border);
}

.stats-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid var(--navy-border);
}

.stat-card:last-child {
    border-right: none;
}

.stat-card strong {
    display: block;
    font-size: 42px;
    font-family: 'Cinzel', serif;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card span {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* =====================================================
   SECTIONS GENERAL
===================================================== */
.section {
    padding: 100px 7%;
    position: relative;
}

/* Clearer division between stacked sections */
body > section + section,
body > section + footer {
    border-top: 1px solid var(--navy-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.section-label {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Cinzel', serif;
}

.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 55px;
}

.section-heading h2,
.section h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--text-white);
}

.section h2 span,
.section-heading h2 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Intro */
.intro {
    text-align: center;
    max-width: 1000px;
    margin: auto;
}

.intro-text {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 800px;
    margin: auto;
}

/* =====================================================
   COURSES
===================================================== */
.courses {
    background: var(--navy-dark);
}

.course-grid {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.course-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

.course-image {
    height: 220px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.08);
}

.course-content {
    padding: 28px;
}

.course-number {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 700;
}

.course-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: var(--text-white);
    margin: 8px 0 12px;
}

.course-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.course-link {
    color: var(--gold);
    font-weight: 700;
    font-size: 13px;
    transition: color 0.3s ease;
}

.course-link:hover {
    color: var(--gold-hover);
}

/* =====================================================
   GLOBAL REACH
===================================================== */
.global-reach {
    background: var(--navy-card);
}

.global-map-card {
    max-width: 1250px;
    margin: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--navy-border);
    box-shadow: var(--card-shadow);
    background: var(--navy-card);
}

.global-map-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* =====================================================
   WHY US
===================================================== */
.why-us {
    background: var(--navy-dark);
}

.why-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-image img {
    border-radius: 10px;
    border: 1px solid var(--navy-border);
    box-shadow: var(--card-shadow);
}

.features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--gold);
    font-size: 18px;
    background: rgba(212, 175, 55, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--navy-border);
}

.feature h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 4px;
}

.feature p {
    color: var(--text-muted);
    font-size: 14px;
}

/* =====================================================
   PERFORMANCE GALLERY
===================================================== */
.gallery {
    background: var(--navy-card);
}

.video-grid {
    max-width: 1250px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.video-card {
    flex: 1 1 340px;
    max-width: 380px;
}

.video-card {
    background: var(--navy-dark);
    border: 1px solid var(--navy-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-family: 'Cinzel', serif;
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 6px;
}

.video-author {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
}

/* =====================================================
   REVIEWS & RATING BADGE
===================================================== */
.reviews {
    background: var(--navy-dark);
}

.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    padding: 12px 28px;
    border-radius: 50px;
    margin-top: 20px;
    box-shadow: var(--card-shadow);
}

.google-g-logo {
    font-size: 22px;
    font-weight: 800;
    color: #4285f4;
    background: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--navy-border);
    box-shadow: 0 2px 8px rgba(28, 35, 51, 0.08);
}

.badge-info {
    text-align: left;
}

.badge-score {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.badge-score strong {
    color: var(--text-white);
}

.badge-score .stars {
    color: #f39c12;
    font-size: 15px;
}

.badge-count {
    font-size: 12px;
    color: var(--text-muted);
}

.reviews-container {
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
}

.reviews-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 4px 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: var(--navy-card);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--navy-border);
    box-shadow: var(--card-shadow);
    transition: transform 0.4s var(--transition-premium), box-shadow 0.4s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(28, 35, 51, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-c1 { background: #e91e63; }
.avatar-c2 { background: #3f51b5; }
.avatar-c3 { background: #ff9800; }
.avatar-c4 { background: #009688; }
.avatar-c5 { background: #8e44ad; }
.avatar-c6 { background: #16a085; }
.avatar-c7 { background: #d35400; }
.avatar-c8 { background: #2980b9; }
.avatar-c9 { background: #c0392b; }
.avatar-c10 { background: #27ae60; }

.reviewer-meta strong {
    display: block;
    color: var(--text-white);
    font-size: 16px;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-stars {
    color: #f39c12;
    font-size: 18px;
    margin-bottom: 14px;
}

.review-text {
    color: #3d4557;
    font-size: 15px;
    line-height: 1.7;
}

.review-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy-card);
    color: var(--gold);
    border: 1px solid var(--navy-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
}

.review-btn:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* =====================================================
   ENQUIRY FORM
===================================================== */
.enquiry {
    background: var(--navy-card);
}

.enquiry-container {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--navy-dark);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--navy-border);
    box-shadow: var(--card-shadow);
}

.enquiry-features {
    list-style: none;
    margin-top: 25px;
}

.enquiry-features li {
    margin-bottom: 14px;
    color: #3d4557;
    font-size: 15px;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-white);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8a90a0;
}

.form-group select option {
    background: var(--navy-card);
    color: var(--text-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.submit-btn {
    border: none;
    width: 100%;
    margin-top: 10px;
}

.form-status {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* =====================================================
   CONTACT & MAP
===================================================== */
.contact-grid {
    max-width: 1150px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--navy-card);
    padding: 30px 20px;
    border-radius: 8px;
    border: 1px solid var(--navy-border);
    text-align: center;
}

.contact-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-card span {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-card a,
.contact-card p {
    color: var(--text-white);
    font-size: 14px;
}

.map-container {
    max-width: 1150px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--navy-border);
    box-shadow: var(--card-shadow);
}

/* =====================================================
   STUDENT PHOTO GALLERY CAROUSEL
===================================================== */
.photo-gallery {
    background: var(--navy-card);
}

.photo-carousel-wrapper {
    position: relative;
    max-width: 1250px;
    margin: auto;
}

.photo-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 4px 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.photo-track::-webkit-scrollbar {
    display: none;
}

.photo-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--navy-border);
    box-shadow: var(--card-shadow);
    background: var(--navy-dark);
    transition: transform 0.45s var(--transition-premium), box-shadow 0.45s ease;
}

.photo-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 40px rgba(28, 35, 51, 0.15);
}

.photo-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-item:hover img {
    transform: scale(1.08);
}

.photo-caption {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.3px;
}

.photo-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: var(--navy-dark);
    color: var(--gold);
    border: 1px solid var(--navy-border);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.photo-btn:hover {
    background: var(--gold);
    color: #fffdf8;
}

.photo-prev { left: -22px; }
.photo-next { right: -22px; }

@media (max-width: 768px) {
    .photo-item { flex: 0 0 240px; }
    .photo-item img { height: 190px; }
    .photo-prev { left: 4px; }
    .photo-next { right: 4px; }
}

/* =====================================================
   SCROLL REVEAL (ULTRA-PREMIUM MOTION)
===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--transition-premium), transform 0.8s var(--transition-premium);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
    background: var(--navy-card);
    color: #5c6478;
    padding: 70px 7% 30px;
    border-top: 1px solid var(--navy-border);
}

.footer-main {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 55px;
    width: 55px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--gold);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    font-family: 'Cinzel', serif;
}

.footer-logo-text .brand-title {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
    font-weight: 700;
}

.footer-logo-text .brand-subtitle {
    color: #5c6478;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.footer-tagline {
    color: var(--gold);
    font-size: 14px;
    font-style: italic;
}

.footer-links h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

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

.footer-address {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 10px;
}

.footer-email-line {
    white-space: nowrap;
    font-size: 13px;
    letter-spacing: -0.1px;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 25px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* =====================================================
   RESPONSIVE DESIGN (MOBILE & TABLET COMPATIBILITY)
===================================================== */
@media (max-width: 1024px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-card {
        flex: 1 1 280px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 4%;
    }

    .menu-toggle {
        display: flex;
    }

    /* Mobile Navigation Drawer */
    .nav-menu {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 75px);
        background: var(--navy-dark);
        border-left: 1px solid var(--navy-border);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 20px;
        transition: right 0.35s ease;
        box-shadow: -10px 0 30px rgba(28, 35, 51, 0.12);
    }

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

    .nav-link {
        font-size: 16px;
        width: 100%;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .nav-cta-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    /* Burger Transform */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .logo-text .brand-title {
        font-size: 14px;
    }

    .logo-text .brand-subtitle {
        font-size: 7.5px;
    }

    .nav-logo-img {
        height: 60px;
        width: 60px;
    }

    .hero {
        padding-top: 140px;
        min-height: auto;
    }

    .hero-scroll {
        display: none;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--navy-border);
    }

    .stat-card:nth-child(3),
    .stat-card:nth-child(4) {
        border-bottom: none;
    }

    .course-grid,
    .contact-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .video-card {
        flex: 1 1 100%;
        max-width: 420px;
    }

    .enquiry-container {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .reviews-container {
        padding: 0 10px;
    }

    .review-card {
        flex: 0 0 82vw;
    }

    .review-btn {
        display: none;
    }
}