/* ==========================================================================
   ARIHANTAM ACADEMY - OFFICIAL DESIGN SYSTEM & STYLESHEET
   Brand Palette (Clean Solid Colors - No Gradients):
     - #fb9e09 : Saffron Gold / Vibrant Amber
     - #d13704 : Terracotta Crimson / Flame Red
     - #f0c88e : Golden Cream / Soft Peach Accent
     - #65463e : Rich Earthy Charcoal Brown
     - #0e4d82 : Academic Cobalt / Navy Blue (Hero & Footer)
     - #0a192f : Deep Midnight Navy Blue (Hero & Footer Backgrounds)
     - #ffffff : Pure White Canvas
     - #000000 : Pure Black / High-Contrast Ink
   Motto: Faith • Strength • Education | Learn • Think • Serve • Lead
   Fully Responsive: Mobile (320px+), Tablet (640px - 1024px), Desktop (1024px - 1440px+)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* 1. Primary Flame Crimson (#d13704) */
    --brand-red: #d13704;
    --brand-red-hover: #b02e03;
    --brand-red-dark: #8c2402;
    --brand-red-light: #ea4307;
    --brand-red-tint: #fef1ec;
    --brand-red-subtle: rgba(209, 55, 4, 0.08);
    --brand-red-glow: rgba(209, 55, 4, 0.30);
    --brand-red-border: rgba(209, 55, 4, 0.28);

    /* 2. Secondary Saffron Amber Gold (#fb9e09) */
    --brand-gold: #fb9e09;
    --brand-gold-warm: #fb9e09;
    --brand-gold-hover: #d97d04;
    --brand-gold-dark: #8c4e02;
    --brand-gold-tint: #fef7ec;
    --brand-gold-subtle: rgba(251, 158, 9, 0.12);
    --brand-gold-glow: rgba(251, 158, 9, 0.35);
    --brand-gold-star: #fb9e09;
    --brand-gold-border: rgba(251, 158, 9, 0.38);

    /* 3. Golden Cream Accent (#f0c88e) */
    --brand-cream: #f0c88e;
    --brand-cream-tint: #fbf4eb;
    --brand-cream-dark: #b88642;
    --brand-cream-border: rgba(240, 200, 142, 0.6);

    /* 4. Rich Earthy Charcoal Brown (#65463e) */
    --brand-brown: #65463e;
    --brand-brown-dark: #432c26;
    --brand-brown-tint: #f5eeec;

    /* 5. Academic Cobalt & Navy Blue (#0e4d82 & #0a192f) for Hero & Footer */
    --brand-blue: #0e4d82;
    --brand-blue-hover: #0a3b64;
    --brand-blue-light: #1d4ed8;
    --brand-blue-dark: #0a192f;
    --brand-blue-tint: #eff6ff;
    --brand-blue-glow: rgba(14, 77, 130, 0.25);
    --brand-blue-border: rgba(14, 77, 130, 0.28);

    /* Dark Blue Surfaces for Hero, CTA & Footer */
    --brand-bg-dark: #0a192f;        /* Deep Navy Blue */
    --brand-bg-darker: #060f1d;      /* Midnight Blue */
    --brand-bg-glass-dark: rgba(10, 25, 47, 0.96);

    /* Pure White & Warm Linen Canvas */
    --brand-bg: #faf7f2;
    --brand-bg-white: #ffffff;
    --brand-bg-subtle: #f3ece3;
    --brand-bg-card: #ffffff;
    --brand-bg-glass: rgba(255, 255, 255, 0.96);
    --bg-surface: #ffffff;

    /* High-Contrast Typography Tokens (WCAG AAA) */
    --text-headline: #000000;   /* Pure Black for titles */
    --text-body: #2d1f1c;       /* Deep Earthy Slate body */
    --text-subhead: #65463e;    /* Rich Brown subtext */
    --text-caption: #7d5a51;    /* Metadata caption */
    --text-muted: #7d5a51;
    --text-white: #ffffff;
    --text-secondary: #65463e;

    /* Backward compatibility mappings */
    --color-blue-primary: var(--brand-blue);
    --color-blue-navy: #0a192f;
    --color-blue-light: #2563eb;
    --color-blue-ice: var(--brand-blue-tint);
    --color-red-primary: var(--brand-red);
    --color-red-dark: var(--brand-red-dark);
    --color-red-light: var(--brand-red-light);
    --color-red-ice: var(--brand-red-tint);
    --color-yellow-gold: var(--brand-gold);
    --color-yellow-dark: var(--brand-gold-dark);
    --color-yellow-warm: var(--brand-gold);
    --color-yellow-ice: var(--brand-gold-tint);
    --apple-blue: var(--brand-blue);
    --apple-blue-hover: var(--brand-blue-hover);
    --apple-blue-dark: var(--brand-blue-dark);
    --apple-blue-tint: var(--brand-blue-tint);
    --apple-blue-glow: var(--brand-blue-glow);
    --apple-red: var(--brand-red);
    --apple-red-tint: var(--brand-red-tint);
    --apple-red-text: var(--brand-red-dark);
    --apple-gold: var(--brand-gold);
    --apple-gold-tint: var(--brand-gold-tint);
    --apple-gold-text: var(--brand-gold-dark);
    --apple-gold-star: var(--brand-gold-star);

    /* Solid Color Fallbacks (All Gradients Removed) */
    --gradient-logo: #d13704;
    --gradient-logo-horizontal: #d13704;
    --gradient-red: #d13704;
    --gradient-gold: #fb9e09;
    --gradient-blue: #0e4d82;
    --gradient-cream: #f0c88e;
    --gradient-dark: #0a192f;

    /* Precision Borders & Dividers */
    --border-hairline: #e8ded4;
    --border-subtle: #e8ded4;
    --border-light: #f3ece3;
    --border-classic: #d8c8b8;
    --border-red: rgba(209, 55, 4, 0.28);
    --border-gold: rgba(251, 158, 9, 0.38);

    /* Radii */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Multi-Layer Spatial Card Depth Tokens */
    --shadow-subtle: 0 1px 3px rgba(10, 25, 47, 0.05), 0 1px 2px rgba(10, 25, 47, 0.03);
    --shadow-card: 0 4px 6px -1px rgba(10, 25, 47, 0.07), 0 2px 4px -2px rgba(10, 25, 47, 0.04), 0 0 0 1px rgba(10, 25, 47, 0.08);
    --shadow-card-hover: 0 20px 30px -8px rgba(10, 25, 47, 0.16), 0 8px 12px -4px rgba(10, 25, 47, 0.08), 0 0 0 1.5px rgba(209, 55, 4, 0.35);
    --shadow-elevated: 0 12px 24px -4px rgba(10, 25, 47, 0.1), 0 4px 8px -2px rgba(10, 25, 47, 0.05), 0 0 0 1px rgba(10, 25, 47, 0.08);
    --shadow-hover: 0 22px 38px -8px rgba(209, 55, 4, 0.2), 0 8px 16px -4px rgba(10, 25, 47, 0.08), 0 0 0 1.5px rgba(209, 55, 4, 0.35);
    --shadow-lg: 0 16px 36px -4px rgba(10, 25, 47, 0.12);
    --shadow-xl: 0 24px 50px -10px rgba(10, 25, 47, 0.2);
    --shadow-modal: 0 32px 64px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(10, 25, 47, 0.15);

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
    --font-heading: var(--font-sans);
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Animation Easing */
    --ease-snappy: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 180ms var(--ease-snappy);
    --transition-base: 300ms var(--ease-snappy);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & FOUNDATIONS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--brand-bg);
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--brand-bg);
    line-height: 1.6;
    letter-spacing: -0.012em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
}

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

a {
    color: var(--brand-red);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

a:hover {
    color: var(--brand-red-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: var(--text-headline);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.028em;
}

p {
    margin-bottom: 0.85rem;
    color: var(--text-body);
}

p:last-child {
    margin-bottom: 0;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3.5vw, 2rem);
    padding-right: clamp(1rem, 3.5vw, 2rem);
}

/* --------------------------------------------------------------------------
   3. COLOR & TEXT UTILITIES
   -------------------------------------------------------------------------- */
.text-red { color: var(--brand-red) !important; }
.text-gold { color: var(--brand-gold) !important; }
.text-yellow { color: var(--brand-gold-dark) !important; }
.text-blue { color: var(--brand-blue) !important; }
.text-brown { color: var(--brand-brown) !important; }
.text-dark { color: var(--text-headline) !important; }
.text-subhead { color: var(--text-subhead) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: #ffffff !important; }

.highlight-red, span.red {
    color: var(--brand-red);
    font-weight: inherit;
}

.highlight-gold, span.yellow {
    color: var(--brand-gold);
    font-weight: inherit;
}

.highlight-blue, span.blue {
    color: var(--brand-blue);
    font-weight: inherit;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & SOLID INTERACTIVE CONTROLS (NO GRADIENTS)
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 1.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: var(--font-sans);
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    user-select: none;
    letter-spacing: -0.01em;
    min-height: 44px;
}

.btn:active {
    transform: scale(0.97) !important;
}

.btn-primary, .btn-red {
    background-color: var(--brand-red);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--brand-red-glow);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover, .btn-red:hover {
    background-color: var(--brand-red-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--brand-red-glow);
}

.btn-yellow, .btn-gold {
    background-color: var(--brand-gold);
    color: #000000 !important;
    font-weight: 800;
    box-shadow: 0 4px 14px var(--brand-gold-glow);
    border-color: rgba(251, 158, 9, 0.5);
}

.btn-yellow:hover, .btn-gold:hover {
    background-color: var(--brand-gold-hover);
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--brand-gold-glow);
}

.btn-blue {
    background-color: var(--brand-blue);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--brand-blue-glow);
}

.btn-blue:hover {
    background-color: var(--brand-blue-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-outline-blue {
    background-color: #ffffff;
    color: var(--brand-blue) !important;
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-subtle);
}

.btn-outline-blue:hover {
    background-color: var(--brand-blue-tint);
    color: var(--brand-blue-hover) !important;
    border-color: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.btn-outline-gold {
    background-color: #ffffff;
    color: var(--brand-gold-dark) !important;
    border-color: rgba(251, 158, 9, 0.45);
    box-shadow: var(--shadow-subtle);
}

.btn-outline-gold:hover {
    background-color: var(--brand-gold-tint);
    color: var(--brand-gold-dark) !important;
    border-color: var(--brand-gold);
    transform: translateY(-2px);
}

.btn-glass {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-headline) !important;
    border: 1.5px solid var(--border-classic);
    box-shadow: var(--shadow-subtle);
}

.btn-glass:hover {
    background-color: #ffffff;
    color: var(--brand-blue) !important;
    border-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.btn-white {
    background-color: #ffffff;
    color: var(--text-headline) !important;
    border: 1.5px solid var(--border-classic);
    box-shadow: var(--shadow-subtle);
}

.btn-white:hover {
    background-color: #faf7f2;
    color: var(--brand-red) !important;
    border-color: var(--brand-red);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.42rem 0.95rem;
    font-size: 0.82rem;
    min-height: 36px;
}

.btn-lg {
    padding: 0.82rem 1.8rem;
    font-size: 0.98rem;
    min-height: 48px;
}

/* --------------------------------------------------------------------------
   5. BADGES & CHIPS (SOLID COLORS - NO GRADIENTS)
   -------------------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.78rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    line-height: 1;
    white-space: nowrap;
}

.badge-red {
    background-color: #fde8e1;
    color: #8c2402;
    border: 1px solid #f8b49e;
}

.badge-yellow, .badge-gold {
    background-color: #fef3df;
    color: #783f01;
    border: 1px solid #fcd38b;
}

.badge-blue {
    background-color: #eff6ff;
    color: #0e4d82;
    border: 1px solid #bfdbfe;
}

.badge-brown {
    background-color: #f4edea;
    color: #432c26;
    border: 1px solid #d8c4be;
}

.badge-cream {
    background-color: #fcf4eb;
    color: #65463e;
    border: 1px solid #f0c88e;
}

.badge-classic {
    background-color: #f3ece3;
    color: #000000;
    border: 1px solid #d8c8b8;
}

.badge-dark {
    background-color: #0a192f;
    color: #ffffff;
    border: 1px solid #1d4ed8;
}

.badge-logo {
    background-color: var(--brand-red);
    color: #ffffff;
    font-weight: 800;
    border: none;
    box-shadow: 0 2px 8px var(--brand-red-glow);
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVBAR (FROSTED GLASS & SOLID TOP STRIPE)
   -------------------------------------------------------------------------- */
.header-main {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--brand-bg-glass);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(232, 222, 212, 0.95);
    transition: all var(--transition-base);
}

.header-main::before {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--brand-blue);
}

.header-main.scrolled {
    box-shadow: 0 6px 24px rgba(10, 25, 47, 0.1);
    border-bottom-color: #d8c8b8;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 1rem;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--text-headline);
    flex-shrink: 0;
}

.brand-logo-img {
    height: 46px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(10, 25, 47, 0.12);
    transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.04);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.brand-title span {
    color: var(--brand-blue);
}

.brand-subtitle {
    font-size: 0.68rem;
    color: var(--text-subhead);
    letter-spacing: 0.06em;
    font-weight: 800;
    margin-top: 2px;
    text-transform: uppercase;
}

/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
}

.mobile-drawer-header,
.nav-menu-footer-actions,
.nav-link-desc {
    display: none;
}

.nav-link {
    color: #000000;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.45rem 0.72rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link:hover {
    color: var(--brand-blue);
    background-color: var(--brand-blue-tint);
    border-color: rgba(14, 77, 130, 0.2);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--brand-blue);
    font-weight: 800;
    background-color: var(--brand-blue-tint);
    border-color: rgba(14, 77, 130, 0.32);
    box-shadow: 0 1px 3px rgba(14, 77, 130, 0.12);
}

.nav-link-icon {
    display: none;
}

.nav-badge {
    font-size: 0.62rem;
    padding: 0.15rem 0.45rem;
    margin-left: 0.15rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.enroll-text-short {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    border: 1.5px solid var(--border-classic);
    color: #000000;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-subtle);
}

.mobile-menu-toggle:hover {
    background: var(--brand-blue-tint);
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

/* --------------------------------------------------------------------------
   7. PAGE HERO BANNERS (NAVY BLUE THEME - NO GRADIENTS)
   -------------------------------------------------------------------------- */
.page-hero-banner {
    position: relative;
    background-color: #0a192f;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(3.5rem, 6.5vw, 5.5rem) 0 clamp(3rem, 5.5vw, 4.5rem) 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-hairline);
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 25, 47, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.page-hero-content h1 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-hero-content p {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    color: #e2e8f0;
    line-height: 1.7;
    margin: 0 auto;
}

.page-hero-content .badge {
    background-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
}

/* --------------------------------------------------------------------------
   8. HERO SECTION (NAVY BLUE THEME - NO GRADIENTS)
   -------------------------------------------------------------------------- */
.hero-slider-container {
    position: relative;
    background-color: #0a192f;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem) 0;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 25, 47, 0.93);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: clamp(2rem, 4.5vw, 3.5rem);
    align-items: center;
}

.hero-content {
    color: #ffffff;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: var(--shadow-subtle);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(2.2rem, 4.8vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    font-size: clamp(0.98rem, 1.4vw, 1.18rem);
    color: #e2e8f0;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 640px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-features-list {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    list-style: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: #f0c88e;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-feature-item i {
    color: var(--brand-gold);
}

/* Hero Diagnostic Card (Right Column) - Multi-layer Depth */
.hero-card-preview {
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
    color: #000000;
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-card-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 48px -10px rgba(0, 0, 0, 0.55), 0 0 0 1.5px rgba(209, 55, 4, 0.35);
}

.hero-card-preview-header {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.hero-card-preview-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.25rem;
}

.hero-card-preview-sub {
    font-size: 0.82rem;
    color: var(--text-subhead);
}

/* --------------------------------------------------------------------------
   9. INFINITE MARQUEE & STATS BANNER (NAVY BLUE THEME)
   -------------------------------------------------------------------------- */
.infinite-marquee-section {
    background-color: #081426;
    border-top: 1px solid rgba(240, 200, 142, 0.15);
    border-bottom: 1px solid rgba(240, 200, 142, 0.15);
    padding: 0.75rem 0;
    overflow: hidden;
}

.infinite-marquee-title {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-gold);
    margin-bottom: 0.5rem;
}

.marquee-track-wrap {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-track {
    display: inline-flex;
    gap: 1.5rem;
    animation: marqueeAnimation 35s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.07);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(240, 200, 142, 0.2);
}

.marquee-item i {
    color: var(--brand-gold);
}

@keyframes marqueeAnimation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Stats Section */
.stats-section {
    background-color: #ffffff;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    color: #000000;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-subhead);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   10. SECTIONS & HEADERS
   -------------------------------------------------------------------------- */
.section {
    padding: clamp(3.25rem, 6.5vw, 5.5rem) 0;
}

.section-alt {
    background-color: var(--brand-bg-subtle);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(2rem, 4vw, 3.25rem) auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.85rem;
    background-color: #eff6ff;
    color: #0e4d82;
    border: 1px solid #bfdbfe;
}

.section-title {
    font-size: clamp(1.85rem, 3.6vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #000000;
    margin-bottom: 0.85rem;
}

.section-description, .section-desc {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    color: var(--text-subhead);
    line-height: 1.65;
    margin: 0 auto;
}

.section-cards-top-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.section-view-all-btn {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.section-view-all-btn:hover {
    gap: 0.65rem;
    color: var(--brand-blue-hover);
}

/* --------------------------------------------------------------------------
   11. FEATURE BOXES & 4 ACADEMIC PILLARS (DEPTH & HOVER)
   -------------------------------------------------------------------------- */
.feature-box {
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: default;
}

.feature-box:hover {
    transform: translateY(-8px) scale(1.008);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(14, 77, 130, 0.35);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-bottom: 1rem;
    transition: transform var(--transition-fast);
}

.feature-box:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

.feature-icon-wrapper.blue {
    background-color: var(--brand-blue-tint);
    color: var(--brand-blue);
    border: 1px solid #bfdbfe;
}

.feature-icon-wrapper.red {
    background-color: var(--brand-red-tint);
    color: var(--brand-red);
    border: 1px solid #f8b49e;
}

.feature-icon-wrapper.yellow {
    background-color: var(--brand-gold-tint);
    color: var(--brand-gold-dark);
    border: 1px solid #fcd38b;
}

/* --------------------------------------------------------------------------
   12. FILTER TABS BAR
   -------------------------------------------------------------------------- */
.filter-tab-bar, .filter-tabs-bar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem 1.5rem 0.25rem;
    margin-bottom: 1.75rem;
    scrollbar-width: none;
}

.filter-tab-bar::-webkit-scrollbar, .filter-tabs-bar::-webkit-scrollbar {
    display: none;
}

.filter-tab-btn {
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    background-color: #ffffff;
    border: 1.5px solid var(--border-classic);
    color: #000000;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-subtle);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.filter-tab-btn:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background-color: var(--brand-blue-tint);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.filter-tab-btn.active {
    background-color: var(--brand-blue);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px var(--brand-blue-glow);
}

/* --------------------------------------------------------------------------
   13. COURSE CARDS & GRID (DEPTH & HOVER)
   -------------------------------------------------------------------------- */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 1.85rem);
}

.course-card {
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: clamp(1.4rem, 2.5vw, 1.85rem);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px) scale(1.008);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(14, 77, 130, 0.35);
}

.course-card-top {
    margin-bottom: 1rem;
}

.course-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.course-category-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-blue);
}

.course-title {
    font-size: 1.24rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.course-meta-tags {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.65rem;
}

.course-meta-pill {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-subhead);
    background-color: var(--brand-bg-subtle);
    border: 1px solid var(--border-subtle);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.course-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.course-desc {
    font-size: 0.88rem;
    color: var(--text-subhead);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.course-features-list {
    list-style: none;
    margin-bottom: 1rem;
}

.course-features-list li {
    font-size: 0.82rem;
    color: #000000;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    line-height: 1.5;
}

.course-features-list li i {
    color: var(--brand-blue);
    font-size: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.course-price-wrap {
    display: flex;
    flex-direction: column;
}

.course-fee {
    font-size: 0.95rem;
    font-weight: 800;
    color: #000000;
}

.course-scholarship-note {
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--brand-gold-dark);
}

/* --------------------------------------------------------------------------
   14. DEMO VIDEO CARDS & THEATRE PLAYER (SOLID COLORS - NO GRADIENTS)
   -------------------------------------------------------------------------- */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 1.85rem);
}

.video-card {
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.008);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(14, 77, 130, 0.35);
}

.video-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #0a192f;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.video-thumb-visual {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: transform var(--transition-base);
}

.video-thumb-visual.theme-indigo { background-color: #0e4d82; }
.video-thumb-visual.theme-cyan { background-color: #0b3954; }
.video-thumb-visual.theme-amber { background-color: #8c4e02; }
.video-thumb-visual.theme-emerald { background-color: #1a434e; }
.video-thumb-visual.theme-magenta { background-color: #d13704; }

.video-card:hover .video-thumb-visual {
    transform: scale(1.06);
}

.video-subject-watermark {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
}

.video-play-btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 16px var(--brand-red-glow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.video-card:hover .video-play-btn-circle {
    transform: scale(1.18);
    box-shadow: 0 6px 20px var(--brand-red-glow);
}

.video-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--brand-red);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.video-duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(10, 25, 47, 0.9);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-card-body {
    padding: clamp(1.2rem, 2vw, 1.6rem);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-subject-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-blue);
    margin-bottom: 0.35rem;
}

.video-card-title {
    font-size: 1.14rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.video-faculty-info {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-subhead);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.video-card-desc {
    font-size: 0.85rem;
    color: var(--text-subhead);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.video-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.video-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-subhead);
}

/* --------------------------------------------------------------------------
   15. STUDY NOTES CARDS (DEPTH & HOVER)
   -------------------------------------------------------------------------- */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 1.85rem);
}

.note-card {
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: clamp(1.4rem, 2.5vw, 1.85rem);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.note-card:hover {
    transform: translateY(-8px) scale(1.008);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(14, 77, 130, 0.35);
}

.note-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.note-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background-color: var(--brand-blue-tint);
    color: var(--brand-blue);
    border: 1px solid #bfdbfe;
    transition: transform var(--transition-fast);
}

.note-card:hover .note-icon-wrap {
    transform: scale(1.1);
}

.note-icon-wrap.chemistry { background-color: var(--brand-blue-tint); color: var(--brand-blue); border-color: #bfdbfe; }
.note-icon-wrap.mathematics { background-color: var(--brand-gold-tint); color: var(--brand-gold-dark); border-color: #fcd38b; }
.note-icon-wrap.english { background-color: var(--brand-red-tint); color: var(--brand-red); border-color: #f8b49e; }

.note-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

.note-author {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-subhead);
    margin-bottom: 0.85rem;
}

.note-topics-list {
    list-style: none;
    margin-bottom: 1rem;
    flex: 1;
}

.note-topics-list li {
    font-size: 0.8rem;
    color: #000000;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.45;
}

.note-topics-list li i {
    color: var(--brand-blue);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.note-card-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-subhead);
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

.note-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   16. FACULTY & MENTORS CARDS (SOLID COLORS - NO GRADIENTS)
   -------------------------------------------------------------------------- */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 1.85rem);
}

.faculty-card {
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.faculty-card:hover {
    transform: translateY(-8px) scale(1.008);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(14, 77, 130, 0.35);
}

.faculty-avatar-wrap {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    background-color: var(--brand-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    font-weight: 900;
    box-shadow: 0 4px 14px var(--brand-blue-glow);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.faculty-card:hover .faculty-avatar-wrap {
    transform: scale(1.08);
}

.faculty-avatar-wrap.theme-blue { background-color: var(--brand-blue); color: #ffffff; }
.faculty-avatar-wrap.theme-red { background-color: var(--brand-red); color: #ffffff; }
.faculty-avatar-wrap.theme-yellow { background-color: var(--brand-gold); color: #000000; }

.faculty-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.faculty-role {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.2rem;
}

.faculty-quote {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-body);
    background-color: var(--brand-bg-subtle);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--brand-blue);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   17. TOPPER RESULTS & HALL OF FAME
   -------------------------------------------------------------------------- */
.toppers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.25rem, 2.5vw, 1.85rem);
}

.topper-card {
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.topper-card:hover {
    transform: translateY(-8px) scale(1.008);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(14, 77, 130, 0.35);
}

.topper-badge-rank {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background-color: #eff6ff;
    color: #0e4d82;
    border: 1px solid #bfdbfe;
}

.topper-badge-rank.gold { background-color: #fb9e09; color: #000000; border-color: transparent; }
.topper-badge-rank.red { background-color: #fde8e1; color: #8c2402; border-color: #f8b49e; }
.topper-badge-rank.blue { background-color: #eff6ff; color: #0e4d82; border-color: #bfdbfe; }

.topper-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--brand-bg-subtle);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem auto;
    border: 2px solid var(--border-subtle);
    transition: transform var(--transition-fast);
}

.topper-card:hover .topper-avatar {
    transform: scale(1.1);
}

.topper-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.25rem;
}

.topper-exam {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.25rem;
}

.topper-score {
    font-size: 1.15rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 0.5rem;
}

.topper-college {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-subhead);
    margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   18. TESTIMONIALS GRID (DEPTH & HOVER)
   -------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.25rem, 2.5vw, 1.85rem);
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.008);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(14, 77, 130, 0.35);
}

.testimonial-stars {
    color: var(--brand-gold);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   19. ADMISSIONS & ENROLL LAYOUTS
   -------------------------------------------------------------------------- */
.enroll-container {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: flex-start;
}

.enroll-form-card, .enroll-summary-card {
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition-base);
}

.enroll-form-card:hover, .enroll-summary-card:hover {
    box-shadow: var(--shadow-elevated);
}

.enroll-summary-card {
    position: sticky;
    top: 90px;
}

/* Form Controls with Crisp Visual Contrast */
.form-group {
    margin-bottom: 1.15rem;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.82rem 1.1rem;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: #000000;
    background-color: #ffffff;
    border: 1.5px solid var(--border-classic);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3.5px var(--brand-blue-glow);
}

.form-control::placeholder {
    color: var(--text-caption);
}

select.form-control {
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   20. A-LEARN, WHY, PATHWAY & MULTI-GRIDS (INTERACTIVE HOVER DEPTH)
   -------------------------------------------------------------------------- */
.alearn-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.15rem;
    margin-bottom: 2.5rem;
}

.alearn-grid > div {
    transition: all var(--transition-base);
}

.alearn-grid > div:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-card-hover) !important;
    border-color: rgba(251, 158, 9, 0.45) !important;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-grid > div {
    transition: all var(--transition-base);
}

.why-grid > div:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-card-hover) !important;
    border-color: rgba(14, 77, 130, 0.35) !important;
}

.pathway-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
}

.pathway-grid > div {
    transition: all var(--transition-base);
}

.pathway-grid > div:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-card-hover) !important;
    border-color: rgba(14, 77, 130, 0.35) !important;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.founders-grid > div,
.vision-grid > div,
.pillar-jump-card {
    transition: all var(--transition-base);
}

.founders-grid > div:hover,
.vision-grid > div:hover,
.pillar-jump-card:hover {
    transform: translateY(-6px) scale(1.008);
    box-shadow: var(--shadow-card-hover) !important;
    border-color: rgba(14, 77, 130, 0.35) !important;
}

.faculty-model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.faculty-model-grid > div {
    transition: all var(--transition-base);
}

.faculty-model-grid > div:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
}

/* --------------------------------------------------------------------------
   21. FAQS ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    background-color: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(14, 77, 130, 0.35);
    box-shadow: var(--shadow-card);
}

.faq-question {
    padding: 1.15rem 1.4rem;
    font-size: 1rem;
    font-weight: 800;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}

.faq-icon {
    font-size: 0.85rem;
    color: var(--brand-blue);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.4rem 1.25rem 1.4rem;
    font-size: 0.92rem;
    color: var(--text-subhead);
    line-height: 1.65;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* --------------------------------------------------------------------------
   22. MODALS & TOASTS (NAVY BLUE MODAL & NOTIFICATIONS)
   -------------------------------------------------------------------------- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 25, 47, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.active, .modal-overlay.open {
    display: flex;
}

.modal-box {
    background-color: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 860px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-modal);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.modal-body {
    padding: 2rem;
}

.toast-notice {
    display: none;
    position: fixed;
    bottom: 85px;
    right: 25px;
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-left: 5px solid var(--brand-blue);
    border-radius: var(--radius-md);
    padding: 1rem 1.4rem;
    box-shadow: var(--shadow-xl);
    z-index: 3000;
    max-width: 380px;
    animation: toastSlideIn 0.3s var(--ease-snappy);
}

@keyframes toastSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   23. FOOTER (NAVY BLUE THEME - NO GRADIENTS)
   -------------------------------------------------------------------------- */
.footer-main {
    background-color: #0a192f;
    color: #ffffff;
    padding: clamp(3.5rem, 6vw, 5rem) 0 2rem 0;
    border-top: 3px solid #fb9e09;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 3rem;
}

.footer-brand-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.footer-brand-title span {
    color: var(--brand-gold);
}

.footer-brand-motto {
    font-size: 0.72rem;
    color: #f0c88e;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    display: block;
    font-weight: 700;
}

.footer-heading {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--brand-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--brand-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.75rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: #cbd5e1;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #fb9e09;
}

/* --------------------------------------------------------------------------
   24. MOBILE BOTTOM QUICK ACTION BAR
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-classic);
    padding: 0.6rem 0.85rem;
    padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(10, 25, 47, 0.12);
}

.mobile-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 0.5rem;
}

.mobile-bottom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 800;
    border-radius: var(--radius-pill);
    text-decoration: none;
    text-align: center;
    min-height: 42px;
}

/* --------------------------------------------------------------------------
   25. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Large Tablets & Small Laptops (<= 1200px) */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 0.25rem;
    }
    .nav-link {
        font-size: 0.82rem;
        padding: 0.4rem 0.55rem;
    }
    .alearn-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pathway-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (<= 1024px) */
@media (max-width: 1024px) {
    .navbar-container {
        height: 66px;
    }
    .header-action-demo {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Drawer */
    .nav-menu {
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 69px);
        height: calc(100dvh - 69px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.25rem 3.5rem 1.25rem;
        gap: 0.45rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s var(--ease-snappy), visibility 0.25s;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border-top: 1px solid var(--border-subtle);
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    body.mobile-nav-active {
        overflow: hidden !important;
        touch-action: none !important;
    }

    .mobile-drawer-header {
        display: block;
        padding: 0.25rem 0.25rem 1rem 0.25rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    .drawer-brand-wrap {
        display: flex;
        align-items: center;
        gap: 0.85rem;
    }

    .drawer-logo-img {
        height: 42px;
        width: auto;
    }

    .drawer-brand-title {
        font-size: 1.05rem;
        font-weight: 800;
        color: #000000;
    }

    .drawer-brand-title span {
        color: var(--brand-blue);
    }

    .drawer-brand-sub {
        font-size: 0.72rem;
        color: var(--text-subhead);
        font-weight: 700;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.75rem 0.95rem;
        font-size: 0.95rem;
        font-weight: 700;
        color: #000000;
        border-radius: var(--radius-md);
        background-color: var(--brand-bg);
        border: 1px solid var(--border-subtle);
        min-height: 48px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link-content {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        flex: 1;
    }

    .nav-link-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background-color: #ffffff;
        color: var(--brand-blue);
        font-size: 0.95rem;
        flex-shrink: 0;
        border: 1px solid var(--border-subtle);
    }

    .nav-link-text-wrap {
        display: flex;
        flex-direction: column;
    }

    .nav-link-text {
        font-size: 0.92rem;
        font-weight: 800;
        color: #000000;
    }

    .nav-link-desc {
        display: block;
        font-size: 0.72rem;
        color: var(--text-subhead);
        font-weight: 500;
    }

    .nav-link:hover, .nav-link.active {
        background-color: #ffffff;
        border-color: var(--brand-blue);
        box-shadow: var(--shadow-card);
    }

    .nav-link.active .nav-link-icon {
        background-color: var(--brand-blue);
        color: #ffffff;
        border-color: transparent;
    }

    .nav-menu-footer-actions {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-subtle);
    }

    .drawer-contact-strip {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.85rem 1rem;
        background-color: var(--brand-bg);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        margin-bottom: 0.5rem;
    }

    .drawer-contact-item {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        font-size: 0.82rem;
        color: #000000;
        text-decoration: none;
        font-weight: 700;
    }

    .drawer-contact-item strong {
        color: var(--brand-blue);
    }

    /* Grids */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .courses-grid,
    .faculty-grid,
    .notes-grid,
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .enroll-container {
        grid-template-columns: 1fr;
    }

    .enroll-summary-card {
        position: static;
    }

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

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-bar {
        display: block;
    }

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

    .courses-grid,
    .faculty-grid,
    .notes-grid,
    .videos-grid,
    .why-grid,
    .founders-grid,
    .vision-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
    .navbar-container {
        height: 62px;
        padding: 0 0.85rem;
    }

    .brand-logo-img {
        height: 38px;
    }

    .brand-title {
        font-size: 1rem;
    }

    .brand-subtitle {
        display: none;
    }

    .enroll-text-full {
        display: none;
    }

    .enroll-text-short {
        display: inline;
    }

    .header-action-enroll {
        padding: 0.35rem 0.75rem;
        font-size: 0.78rem;
    }

    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }

    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
        height: calc(100dvh - 65px);
        padding: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .alearn-grid,
    .pathway-grid {
        grid-template-columns: 1fr;
    }
}
