/* ═══════════════════════════════════════════════════════════════════════════
   JAIN Online - Modern Design System  (rebuilt 2026)
   Clean, professional UI · brand navy + amber · fluid type · soft depth
   Styles every component used in index.html, privacy-policy.html, terms.html.
   All JS hooks (.active / .visible toggles, modal, tabs, FAQ, mobile nav) kept.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Design tokens ─────────────────────────────────────────────────────── */
:root {
    /* Brand blues */
    --brand-950: #081427;
    --brand-900: #0b1f3a;
    --brand-800: #102a4c;
    --brand-700: #173a66;
    --brand-600: #1d4ed8;
    --brand-500: #2563eb;
    --brand-400: #3b82f6;
    --brand-100: #dbeafe;
    --brand-50:  #eff6ff;
    /* Amber accent */
    --gold:      #f59e0b;
    --gold-600:  #d97706;
    --gold-300:  #fcd34d;
    /* Ink & neutrals */
    --ink:       #0f172a;
    --body:      #475569;
    --muted:     #64748b;
    --line:      #e2e8f0;
    --bg:        #ffffff;
    --bg-soft:   #f8fafc;
    --bg-tint:   #f1f5f9;
    --white:     #ffffff;
    /* Gradients */
    --grad-brand: linear-gradient(135deg, #102a4c 0%, #1d4ed8 100%);
    --grad-hero:  radial-gradient(1200px 600px at 80% -10%, rgba(59,130,246,.35), transparent 60%),
                  radial-gradient(900px 500px at 0% 110%, rgba(245,158,11,.18), transparent 55%),
                  linear-gradient(160deg, #0b1f3a 0%, #102a4c 55%, #163a66 100%);
    --grad-gold:  linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    /* Radii */
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --r-pill: 999px;
    /* Shadows */
    --sh-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
    --sh:    0 6px 20px rgba(15,23,42,.08);
    --sh-md: 0 14px 40px rgba(15,23,42,.12);
    --sh-lg: 0 24px 60px rgba(15,23,42,.18);
    --sh-brand: 0 16px 40px rgba(29,78,216,.28);
    --sh-gold:  0 12px 30px rgba(217,119,6,.32);
    /* Layout */
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-y: clamp(2.25rem, 4vw, 4rem);
    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ─── Reset & base ──────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.18; font-weight: 700; letter-spacing: -.01em; overflow-wrap: break-word; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { color: var(--body); }
a { color: var(--brand-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-700); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
i { line-height: inherit; }

:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 4px; }

/* ─── Layout helpers ────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container-fluid {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

main > section { padding: var(--section-y) 0; }

/* Section heading rhythm */
.section-title,
.alumni-section h2,
.who-we-are-section h2,
.different-section h2,
.results-section h2,
.microcred-section h2,
.programs-section h2,
.faq-section h2 { text-align: center; }

.section-subtitle {
    text-align: center;
    max-width: 680px;
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--gold-600);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow-center { display: flex; justify-content: center; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn-enroll, .btn-cta, .btn-apply-yellow, .btn-enquire-submit,
.btn-apply, .btn-programs, .btn-enquire, .btn-batch-closing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 600;
    font-size: .98rem;
    padding: 13px 26px;
    border-radius: var(--r-pill);
    transition: transform .2s var(--ease), box-shadow .25s var(--ease),
                background .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
    line-height: 1;
}

/* Primary (gold) */
.btn-enroll, .btn-cta, .btn-apply-yellow, .btn-enquire-submit {
    background: var(--grad-gold);
    color: #fff;
    box-shadow: var(--sh-gold);
}
.btn-enroll:hover, .btn-cta:hover, .btn-apply-yellow:hover, .btn-enquire-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(217,119,6,.42);
}

/* Header apply (blue) */
.btn-apply {
    background: var(--brand-600);
    color: #fff;
    box-shadow: var(--sh-brand);
}
.btn-apply:hover { background: var(--brand-700); color: #fff; transform: translateY(-2px); }

/* Programs nav (ghost) */
.btn-programs {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
}
.btn-programs:hover { border-color: var(--brand-600); color: var(--brand-600); }

/* Program-card enquire (outline) */
.btn-enquire {
    width: 100%;
    background: var(--brand-50);
    color: var(--brand-700);
    border: 1.5px solid var(--brand-100);
    margin-top: auto;
}
.btn-enquire:hover { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

/* Batch pill on dark hero */
.btn-batch-closing {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
    backdrop-filter: blur(6px);
}
.btn-batch-closing:hover { background: rgba(255,255,255,.2); }

/* ─── Top marquee ───────────────────────────────────────────────────────── */
.top-marquee {
    background: var(--brand-950);
    color: #e2e8f0;
    overflow: hidden;
    white-space: nowrap;
    font-size: .85rem;
}
.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    padding: 9px 0;
    animation: marquee 28s linear infinite;
}
/* Note: do NOT make these inline-flex - it blockifies the date wrapper and
   strips the space before the dynamic deadline ("Starts June" → "StartsJune"). */
.marquee-content > span { vertical-align: middle; }
.separator { color: var(--gold); font-size: .7rem; }
.scholarship-marquee, .blink { color: var(--gold-300); font-weight: 600; }
.blink { animation: blink 1.4s steps(1) infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: .35; } }

/* ─── Header ────────────────────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}
.logo img { height: 42px; width: auto; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-weight: 500;
    font-size: .95rem;
    padding: 9px 14px;
    border-radius: var(--r-sm);
    transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-link i { font-size: .7rem; opacity: .6; }
.nav-link:hover { background: var(--bg-tint); color: var(--brand-700); }

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--ink);
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: var(--r-sm);
}
.mobile-menu-btn:hover { background: var(--bg-tint); }

.nav-overlay {
    position: fixed; inset: 0;
    background: rgba(8,20,39,.5);
    backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
    z-index: 998;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ─── Hero (split - copy + image) ───────────────────────────────────────── */
.hero-section {
    position: relative;
    background: var(--grad-hero);
    color: #fff;
    padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}
.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 22px;
}
.hero-badge i { color: #34d399; }
.hero-copy h1 {
    color: #fff;
    font-size: clamp(1.95rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
}
.hero-subheading {
    margin-top: 18px;
    color: var(--gold-300);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 500;
    max-width: 56ch;
}
.hero-pills {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-pills span {
    padding: 7px 16px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    color: #dbeafe;
    font-size: .85rem;
    font-weight: 600;
    transition: background .2s var(--ease);
}
.hero-pills span:hover { background: rgba(255,255,255,.18); }
.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* AI tools logo row */
.hero-ai-tools { margin-top: 28px; width: 100%; }
.ai-tools-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .7rem;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 12px;
}
.ai-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.ai-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 11px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    color: #e2e8f0;
    font-size: .82rem;
    font-weight: 600;
    transition: background .2s var(--ease), transform .2s var(--ease);
}
.ai-logo:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
/* Simple-Icons SVGs ship black; render them crisp white on the dark hero */
.ai-logo img { width: 18px; height: 18px; filter: brightness(0) invert(1); opacity: .95; }

/* Hero image - blended into the section (bottom fades out so the crop is hidden) */
.hero-figure {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    min-height: 100%;
}
.hero-figure-glow {
    position: absolute;
    left: 50%;
    bottom: 4%;
    width: 78%;
    height: 70%;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(245,158,11,.30), transparent 70%);
    filter: blur(44px);
    z-index: 0;
}
/* Media wrapper so the logo arc is positioned relative to the image, not the column */
.hero-figure-media {
    position: relative;
    width: 100%;
    max-width: 480px;
}
.hero-figure img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    /* Fade the bottom edge so the waist crop dissolves into the hero gradient */
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, rgba(0,0,0,.35) 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 70%, rgba(0,0,0,.35) 88%, transparent 100%);
}

/* Colored AI-tool logos arranged in an arc around her head */
.ai-orbit { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ai-orbit-item {
    position: absolute;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(8,20,39,.4);
    display: flex; align-items: center; justify-content: center;
    transform: translate(-50%, -50%);
}
.ai-mark { object-fit: contain; }
/* Per-logo sizing so every glyph ends up with the SAME visual padding
   (each Simple Icons mark fills its 24×24 canvas by a different amount) */
.ai-orbit-item.pos1 .ai-mark { width: 50%; height: 50%; } /* OpenAI    */
.ai-orbit-item.pos2 .ai-mark { width: 54%; height: 54%; } /* Claude    */
.ai-orbit-item.pos3 .ai-mark { width: 50%; height: 50%; } /* Gemini    */
.ai-orbit-item.pos4 .ai-mark { width: 46%; height: 46%; } /* Copilot   */
.ai-orbit-item.pos5 .ai-mark { width: 50%; height: 50%; } /* Perplexity*/
/* Clustered in a gentle arc across the open space at the TOP of the figure */
.ai-orbit-item.pos1 { left: 10%; top: 28%; }
.ai-orbit-item.pos2 { left: 30%; top: 14%; }
.ai-orbit-item.pos3 { left: 50%; top: 8%;  }
.ai-orbit-item.pos4 { left: 70%; top: 14%; }
.ai-orbit-item.pos5 { left: 90%; top: 28%; }
.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: .98rem;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.4);
    backdrop-filter: blur(6px);
    transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn-explore:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-2px); }
.scholarship-announcement {
    margin-top: 20px;
    color: var(--gold-300);
    font-weight: 600;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.scholarship-announcement::before { content: "🎓"; }

/* Hero offerings strip (program category cards) */
.offerings-strip {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.program-icons-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.program-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 20px 10px;
    border-radius: var(--r);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
    transition: background .25s var(--ease), transform .25s var(--ease);
}
.program-icon-item:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); }
.icon-circle {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad-gold);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 8px 18px rgba(217,119,6,.35);
}
.program-icon-item p { color: #e2e8f0; font-size: .78rem; line-height: 1.3; font-weight: 500; }

/* ─── Trust section (merged: accreditations + key stats) ────────────────── */
.trust-section { background: var(--bg-soft); }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 40px;
}
.trust-badge {
    text-align: center;
    padding: 26px 14px;
    border-radius: var(--r);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.trust-badge:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--brand-100); }
.trust-badge i { font-size: 1.8rem; color: var(--gold-600); margin-bottom: 12px; }
.trust-badge h3 { font-size: 1.02rem; color: var(--ink); margin-bottom: 4px; }
.trust-badge p { font-size: .76rem; color: var(--muted); line-height: 1.4; }

/* ─── MBA specializations ───────────────────────────────────────────────── */
.spec-section { background: var(--bg); text-align: center; }
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 40px;
    text-align: left;
}
.spec-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
    border-radius: var(--r-sm);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.spec-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--brand-200, #bfdbfe);
    background: #fff;
}
.spec-card i {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand-50); color: var(--brand-600);
    font-size: 1rem;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.spec-card:hover i { background: var(--brand-600); color: #fff; }
.spec-card span { font-size: .92rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.spec-card span small { display: block; font-size: .72rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.spec-cta { margin-top: 36px; }

/* ─── Floating buttons + scroll top ─────────────────────────────────────── */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}
.float-btn {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: var(--sh-md);
    transition: transform .2s var(--ease);
}
.float-btn:hover { transform: scale(1.08); color: #fff; }
.phone-btn { background: var(--brand-600); }
.whatsapp-btn { background: #25d366; }

/* ─── WhatsApp chat popup ───────────────────────────────────────────────── */
.wa-popup {
    position: fixed;
    right: 20px;
    bottom: 150px;
    width: 330px;
    max-width: calc(100vw - 36px);
    background: #efeae2;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(8,20,39,.34);
    overflow: hidden;
    z-index: 950;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.97);
    transform-origin: bottom right;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
}
.wa-popup.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0b8a72;
    color: #fff;
    padding: 14px 16px;
}
.wa-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.wa-avatar img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; }
.wa-headtext { flex: 1; min-width: 0; line-height: 1.3; }
.wa-headtext strong { display: block; font-size: .98rem; font-weight: 600; }
.wa-status { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: #d1fae5; }
.wa-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80; display: inline-block;
    animation: wa-pulse 1.8s infinite;
}
@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
    70%  { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.wa-close {
    margin-left: auto;
    width: 30px; height: 30px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.16);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; line-height: 1;
    flex-shrink: 0;
    transition: background .2s var(--ease);
}
.wa-close:hover { background: rgba(255,255,255,.32); }
.wa-popup-body { padding: 18px 16px; background: #efeae2; }
.wa-bubble {
    position: relative;
    background: #fff;
    border-radius: 2px 12px 12px 12px;
    padding: 11px 14px 7px;
    box-shadow: 0 1px 2px rgba(0,0,0,.14);
    max-width: 92%;
    animation: wa-bubble-in .35s var(--ease) both;
}
.wa-bubble::before {
    content: "";
    position: absolute;
    top: 0; left: -7px;
    border: 7px solid transparent;
    border-top-color: #fff;
}
@keyframes wa-bubble-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.wa-bubble-name { display: block; font-size: .8rem; font-weight: 700; color: #0b8a72; margin-bottom: 4px; }
.wa-bubble p { font-size: .9rem; color: #1f2937; margin-bottom: 6px; line-height: 1.45; }
.wa-time { display: block; text-align: right; font-size: .68rem; color: #9ca3af; margin-top: 2px; }
.wa-start {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px;
    transition: background .2s var(--ease);
}
.wa-start:hover { background: #1ebe5b; color: #fff; }
.wa-start i { font-size: 1.25rem; }
@media (max-width: 480px) {
    .wa-popup { right: 16px; bottom: 146px; max-width: calc(100vw - 32px); }
}

.scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--brand-900);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all .3s var(--ease);
    z-index: 900;
    box-shadow: var(--sh-md);
}
.scroll-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top:hover { background: var(--brand-700); }


/* ─── Alumni / logo carousels ───────────────────────────────────────────── */
.alumni-section { background: var(--bg-soft); text-align: center; }
.logo-carousel { overflow: hidden; margin-top: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 28px; width: max-content; animation: scroll-logos var(--carousel-duration, 30s) linear infinite; }
.logo-carousel.reverse .logo-track { animation-direction: reverse; }
.logo-carousel:hover .logo-track { animation-play-state: paused; }
.logo-item {
    flex: 0 0 auto;
    width: 150px; height: 88px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px 22px;
    box-shadow: var(--sh-sm);
}
.logo-item img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.logo-item:hover img { filter: grayscale(0); opacity: 1; }
@keyframes scroll-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Results ───────────────────────────────────────────────────────────── */
.results-section { background: var(--bg); }
.results-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.result-box {
    text-align: center;
    padding: 30px 16px;
    border-radius: var(--r);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.result-box:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--brand-100); }
.result-box h3 {
    font-size: 2rem; font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}
.result-box p { font-size: .85rem; color: var(--muted); }

/* ─── Who we are ────────────────────────────────────────────────────────── */
.who-we-are-section { background: var(--brand-50); }
.who-content { max-width: 880px; margin: 28px auto 0; }
.who-content > p { margin-bottom: 18px; text-align: center; color: var(--body); font-size: 1.02rem; }

/* ─── Why us / differentiators ──────────────────────────────────────────── */
.different-section { background: var(--bg); }
.different-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}
.different-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.different-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--brand-100); }
.different-icon {
    width: 60px; height: 60px; margin-bottom: 18px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad-brand); color: #fff;
    font-size: 1.5rem;
    box-shadow: var(--sh-brand);
}
.different-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.different-card p { font-size: .92rem; color: var(--muted); }

/* ─── AI-ready ──────────────────────────────────────────────────────────── */
.ai-ready-section { background: var(--brand-900); color: #fff; }
.ai-ready-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}
.ai-ready-content h2 { color: #fff; }
.ai-ready-content > p { color: #cbd5e1; margin: 14px 0 24px; max-width: 560px; }
.ai-ready-list { margin-bottom: 28px; display: grid; gap: 12px; }
.ai-ready-list li {
    display: flex; align-items: center; gap: 14px;
    font-size: 1rem; color: #f1f5f9;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    padding: 12px 16px;
    border-radius: var(--r-sm);
}
.ai-ready-list li i { color: var(--gold-300); width: 22px; text-align: center; font-size: 1.05rem; }
.ai-ready-stats { display: grid; gap: 16px; }
.ai-stat {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r);
    padding: 26px 22px;
    text-align: center;
}
.ai-stat h3 { color: var(--gold-300); font-size: 2.4rem; font-weight: 800; margin-bottom: 4px; }
.ai-stat p { color: #cbd5e1; font-size: .92rem; }

/* ─── Micro-credentials ─────────────────────────────────────────────────── */
.microcred-section { background: var(--bg-soft); text-align: center; }
.microcred-powered { margin: 22px 0 40px; }
.microcred-powered span { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--muted); margin-bottom: 8px; }
.microcred-powered strong { color: var(--brand-800); font-size: 1.1rem; letter-spacing: .04em; }
.microcred-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
}
.microcred-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 34px 30px;
    box-shadow: var(--sh);
    border-top: 4px solid var(--gold);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.microcred-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.pathway-num { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); margin-bottom: 10px; }
.microcred-card h3 { color: var(--brand-700); font-size: 1.35rem; margin-bottom: 12px; }
.microcred-card > p { color: var(--muted); margin-bottom: 18px; font-size: .95rem; }
.microcred-card ul { display: grid; gap: 8px; }
.microcred-card ul li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; font-size: .92rem; }
.microcred-card ul li i { color: var(--brand-600); }

/* ─── Dreams / certificate ──────────────────────────────────────────────── */
.dreams-section { background: var(--brand-50); }
.dreams-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}
.dreams-content h2 { text-align: left; }
.dreams-content h3 { margin: 18px 0 14px; color: var(--brand-700); font-size: 1.15rem; }
.dreams-list { display: grid; gap: 12px; margin-bottom: 26px; }
.dreams-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); font-size: .98rem; }
.dreams-list li i { color: var(--brand-600); margin-top: 4px; flex-shrink: 0; }
.certificate-frame {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 14px;
    box-shadow: var(--sh-md);
}
.certificate-frame img { width: 100%; height: auto; border-radius: var(--r-sm); }

/* ─── Programs ──────────────────────────────────────────────────────────── */
.programs-section { background: var(--bg-soft); }
.program-tabs {
    display: inline-flex;
    gap: 6px;
    margin: 28px auto 36px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    box-shadow: var(--sh-sm);
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}
.tab-btn {
    padding: 11px 28px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: .95rem;
    color: var(--muted);
    transition: background .25s var(--ease), color .25s var(--ease);
}
.tab-btn.active { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.program-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px 26px;
    box-shadow: var(--sh-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--sh-md); border-color: var(--brand-100); }
.program-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.program-header i {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand-50); color: var(--brand-600);
    font-size: 1.3rem;
}
.program-header h3 { font-size: 1.5rem; color: var(--ink); }
.program-desc { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.program-features { display: grid; gap: 10px; margin-bottom: 22px; }
.program-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--body); }
.program-features li i { color: var(--gold-600); margin-top: 4px; flex-shrink: 0; font-size: .8rem; }

/* ─── CTA band ──────────────────────────────────────────────────────────── */
.cta-section {
    background: var(--grad-hero);
    color: #fff;
    text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: #dbeafe; max-width: 700px; margin: 16px auto 28px; font-size: 1.05rem; }

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq-section { background: var(--bg); }
.faq-list { max-width: 820px; margin: 40px auto 0; display: grid; gap: 14px; }
.faq-item {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item.active { border-color: var(--brand-100); box-shadow: var(--sh); background: #fff; }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    padding: 20px 22px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
}
.faq-icon { color: var(--brand-600); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-answer-inner { padding: 0 22px 20px; }
.faq-answer-inner p { color: var(--body); font-size: .95rem; }

/* ─── Modal ─────────────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(8,20,39,.6);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
    z-index: 1100;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-container {
    width: 100%;
    max-width: 600px;
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    position: relative;
    transform: translateY(16px) scale(.98);
    transition: transform .35s var(--ease);
}
.modal-overlay.active .modal-container { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute; top: 14px; right: 16px;
    width: 38px; height: 38px;
    border-radius: 50%;
    font-size: 1.4rem; line-height: 1;
    color: var(--muted);
    background: var(--bg-tint);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s;
    z-index: 2;
}
.modal-close:hover { background: #fee2e2; color: #dc2626; }
.modal-content { padding: 36px clamp(22px, 4vw, 40px); }
.modal-content > h2 { font-size: 1.6rem; text-align: center; margin-bottom: 24px; }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.required { color: #dc2626; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.form-group textarea { resize: vertical; min-height: 96px; }
select:disabled { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; opacity: .8; }

.checkbox-group { display: flex; gap: 12px; align-items: flex-start; }
.checkbox-group input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--brand-600); }
.checkbox-group label { font-size: .82rem; font-weight: 400; color: var(--muted); margin-bottom: 0; line-height: 1.5; }

.form-buttons { margin-top: 8px; }
.btn-enquire-submit { width: 100%; padding: 15px; font-size: 1.02rem; }
.form-assurance { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; font-size: .78rem; color: var(--muted); }
.form-assurance i { color: #16a34a; }

.form-success-message { text-align: center; padding: 30px 10px; }
.form-success-message i { font-size: 3.5rem; color: #16a34a; margin-bottom: 16px; }
.form-success-message h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success-message p { color: var(--body); }
.contact-details { margin-top: 14px; font-weight: 600; color: var(--brand-700); }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--brand-950); color: #cbd5e1; padding: clamp(3rem, 5vw, 4.5rem) 0 0; }
.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
    gap: 36px;
    padding-bottom: 44px;
}
/* logo.png is already a light/white logo made for dark backgrounds - no filter needed */
.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer-col p { color: #94a3b8; font-size: .9rem; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col ul li a { color: #94a3b8; font-size: .9rem; }
.footer-col ul li a:hover { color: var(--gold-300); }
.contact-info li { display: flex; gap: 11px; align-items: flex-start; color: #94a3b8; font-size: .88rem; line-height: 1.6; }
.contact-info li i { color: var(--gold); margin-top: 4px; width: 16px; flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { color: #94a3b8; font-size: .85rem; }
.footer-links a { color: #cbd5e1; font-size: .85rem; }
.footer-links a:hover { color: var(--gold-300); }
.footer-credit { color: #94a3b8; font-size: .85rem; margin: 0; }
.footer-credit a { color: var(--gold-300); font-weight: 600; }
.footer-credit a:hover { color: #fff; }

/* ─── Legal pages (privacy / terms) ─────────────────────────────────────── */
.legal-page { max-width: 860px; margin: 40px auto 60px; padding: clamp(28px, 5vw, 56px); }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 6px; }
.legal-page h2 { text-align: left; font-size: 1.3rem; margin: 30px 0 12px; color: var(--brand-800); }
.legal-page p, .legal-page li { color: var(--body); margin-bottom: 12px; font-size: .96rem; }
.legal-page ul { list-style: disc; padding-left: 22px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 18px; }
.last-updated { color: var(--muted); font-size: .88rem; margin-bottom: 24px; }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .results-grid, .trust-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .program-icons-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    /* Hero stacks: copy centered above, image below */
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-copy { align-items: center; text-align: center; }
    .hero-pills, .hero-actions, .ai-logos { justify-content: center; }
    .ai-tools-label { text-align: center; }
    .hero-figure-media { max-width: 360px; }
    .ai-orbit-item { width: 44px; height: 44px; }

    .different-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-ready-wrapper, .dreams-wrapper { grid-template-columns: 1fr; }
    .dreams-content h2 { text-align: center; }
    .dreams-image { order: -1; }

    /* Mobile nav drawer */
    .mobile-menu-btn { display: flex; }
    .main-nav {
        position: fixed;
        top: 0; right: 0;
        height: 100dvh;
        width: min(80vw, 320px);
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background: #fff;
        padding: 84px 22px 30px;
        box-shadow: var(--sh-lg);
        transform: translateX(100%);
        transition: transform .35s var(--ease);
        z-index: 999;
    }
    .main-nav.active { transform: translateX(0); }
    .nav-btn, .nav-link { width: 100%; justify-content: center; }
}

@media (max-width: 680px) {
    :root { --section-y: 2rem; }
    .results-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .different-grid, .microcred-grid { grid-template-columns: 1fr; }
    .program-icons-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; gap: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .program-tabs { width: 100%; left: 0; transform: none; justify-content: center; }
    .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
    .hero-actions .btn-enroll,
    .hero-actions .btn-explore { width: 100%; justify-content: center; }
    .ai-orbit-item { width: 40px; height: 40px; }
}

@media (max-width: 420px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Local / Locations section (Bangalore + Karnataka) ─────────────────── */
.locations-section { background: var(--bg-soft); padding: 72px 0; }
.locations-section h2 { text-align: center; }
.locations-intro { max-width: 760px; margin: 14px auto 8px; text-align: center; color: var(--body); line-height: 1.8; }
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin: 34px 0 30px;
}
.location-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 24px 22px;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.location-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(16,42,76,.12); border-color: var(--brand-100); }
.location-card .loc-icon { font-size: 1.5rem; color: var(--brand-800); margin-bottom: 12px; }
.location-card h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; }
.location-card p { font-size: 14px; color: var(--body); line-height: 1.6; margin-bottom: 12px; }
.location-card .loc-link { font-weight: 700; font-size: 14px; color: var(--brand-600); }
.location-card .loc-link i { transition: transform .2s ease; }
.location-card:hover .loc-link i { transform: translateX(4px); }
.locality-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto; }
.locality-chips span {
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 999px;
}
.locality-lead { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════════════════════
   2026 GRADIENT · GLASS REFRESH   (layered over the base system)
   Modern aurora gradients, glassmorphism, glow depth, bolder type.
   Brand navy + gold kept. Overrides base component visuals; no selector renames,
   so every JS hook (.active/.visible, modal, tabs, FAQ, nav) still works.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
    --glass:      rgba(255,255,255,.62);
    --glass-strong: rgba(255,255,255,.78);
    --glass-brd:  rgba(255,255,255,.75);
    --glass-blur: saturate(180%) blur(20px);
    --glow-brand: 0 24px 60px -18px rgba(29,78,216,.42);
    --glow-gold:  0 18px 44px -14px rgba(245,158,11,.55);
    --hairline:   linear-gradient(135deg, rgba(37,99,235,.55), rgba(245,158,11,.55));
    --aurora:     conic-gradient(from 210deg at 50% 50%, #1d4ed8, #3b82f6, #7c3aed, #f59e0b, #1d4ed8);
}

/* Layered page canvas so glass surfaces read as floating */
body {
    background:
        radial-gradient(1100px 640px at 100% -8%, rgba(59,130,246,.08), transparent 60%),
        radial-gradient(900px 520px at -12% 18%, rgba(245,158,11,.06), transparent 55%),
        var(--bg);
    background-attachment: fixed;
}

/* Bolder, tighter display type */
h2 { font-weight: 800; letter-spacing: -.022em; }
.hero-copy h1 { font-size: clamp(2.1rem, 4vw, 3.35rem); }

/* Section titles get an animated gradient underline */
.section-title, .who-we-are-section h2, .different-section h2, .results-section h2,
.microcred-section h2, .programs-section h2, .faq-section h2, .locations-section h2,
.spec-section h2, .ai-ready-content h2, .dreams-content h2 { position: relative; }
.section-title::after, .different-section h2::after, .results-section h2::after,
.microcred-section h2::after, .programs-section h2::after, .faq-section h2::after,
.locations-section h2::after, .spec-section h2::after {
    content: "";
    display: block;
    width: 68px; height: 4px;
    margin: 16px auto 0;
    border-radius: var(--r-pill);
    background: var(--grad-gold);
    box-shadow: var(--glow-gold);
}

/* ── Header: refined glass + gradient hairline + gradient CTA ─────────────── */
.header { position: sticky; background: rgba(255,255,255,.7); border-bottom: 1px solid rgba(226,232,240,.6); }
.header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,.5), rgba(245,158,11,.55), transparent);
}
.nav-link { font-weight: 600; }
.nav-link:hover { background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(245,158,11,.1)); color: var(--brand-700); }
.btn-apply { background: var(--grad-brand); box-shadow: var(--glow-brand); position: relative; overflow: hidden; }
.btn-apply::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
    transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn-apply:hover::after { left: 130%; }

/* ── Hero: floating aurora orbs + fine grid overlay ──────────────────────── */
.hero-section::before {
    content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
    top: -180px; right: -120px; z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side, rgba(124,58,237,.5), rgba(37,99,235,0) 70%);
    filter: blur(20px); animation: floatOrb 14s var(--ease) infinite alternate;
}
.hero-section::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
    mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}
.hero-grid, .offerings-strip { position: relative; z-index: 1; }
@keyframes floatOrb { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px,50px) scale(1.15); } }

/* Frosted glass hero chips */
.hero-badge, .hero-pills span, .ai-logo, .program-icon-item, .btn-batch-closing, .btn-explore {
    backdrop-filter: saturate(160%) blur(10px);
}

/* ── Hero refinement: calmer, more premium ───────────────────────────────── */
/* Subheading reads as soft light (gold reserved for one accent) */
.hero-subheading { color: #cbd5e1; font-weight: 400; }
/* The single gold accent word in the headline */
.hero-accent {
    background: linear-gradient(120deg, #fcd34d 0%, #f59e0b 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: #fcd34d;
}
/* Credibility strip - accreditation + scale */
.hero-trust {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 10px 24px; margin-top: 26px; padding: 0; list-style: none;
}
.hero-trust li {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    color: #e8eef7; font-size: .9rem; font-weight: 600;
}
.hero-trust li i { color: var(--gold-300); font-size: .95rem; }
.hero-trust li:not(:last-child)::after {
    content: ""; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
    width: 1px; height: 15px; background: rgba(255,255,255,.22);
}

/* Single floating glass credential card over the hero image */
.hero-figure-card {
    position: absolute; top: 11%; left: -16px; z-index: 3;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 14px;
    backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 18px 44px rgba(8,20,39,.42);
    animation: floatCard 6s var(--ease) infinite alternate;
}
@keyframes floatCard { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.hfc-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad-gold); color: #fff; font-size: 1.1rem;
    box-shadow: var(--glow-gold);
}
.hfc-text { display: flex; flex-direction: column; line-height: 1.25; font-size: .72rem; color: #cbd5e1; }
.hfc-text strong { font-size: .9rem; font-weight: 700; color: #fff; }

@media (max-width: 992px) {
    .hero-trust { justify-content: center; }
    .hero-figure-card { display: none; }
}

/* ── Glass card language across the site ─────────────────────────────────── */
.trust-badge, .different-card, .program-card, .result-box, .microcred-card,
.spec-card, .location-card {
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-brd);
    box-shadow: 0 12px 34px -16px rgba(16,42,76,.28);
}
.trust-badge:hover, .different-card:hover, .program-card:hover, .result-box:hover,
.microcred-card:hover, .location-card:hover {
    box-shadow: var(--glow-brand);
    border-color: rgba(37,99,235,.35);
}
.spec-card:hover { background: var(--glass-strong); box-shadow: var(--glow-brand); }

/* Gradient hairline crown on feature cards */
.different-card, .program-card, .microcred-card { position: relative; overflow: hidden; }
.different-card::before, .program-card::before, .microcred-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--hairline); opacity: 0; transition: opacity .3s var(--ease);
}
.different-card:hover::before, .program-card:hover::before, .microcred-card:hover::before { opacity: 1; }

/* Gradient icon chips */
.program-header i, .spec-card i {
    background: var(--grad-brand) !important; color: #fff !important;
    box-shadow: var(--glow-brand);
}
.different-icon { border-radius: 18px; box-shadow: var(--glow-brand); }
.trust-badge i {
    background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; filter: drop-shadow(0 6px 14px rgba(217,119,6,.35));
}

/* ── Gradient primary buttons with sheen ─────────────────────────────────── */
.btn-enroll, .btn-cta, .btn-apply-yellow, .btn-enquire-submit {
    background: var(--grad-gold); box-shadow: var(--glow-gold); position: relative; overflow: hidden;
}
.btn-enroll::after, .btn-cta::after, .btn-apply-yellow::after, .btn-enquire-submit::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn-enroll:hover::after, .btn-cta:hover::after, .btn-apply-yellow:hover::after, .btn-enquire-submit:hover::after { left: 130%; }

/* ── Dark bands get an aurora glow ───────────────────────────────────────── */
.ai-ready-section, .cta-section { position: relative; overflow: hidden; }
.ai-ready-section::before, .cta-section::before {
    content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
    top: -260px; left: -160px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(245,158,11,.28), transparent 70%);
    filter: blur(30px); animation: floatOrb 16s var(--ease) infinite alternate;
}
.ai-ready-section .container, .cta-section .container { position: relative; z-index: 1; }
.ai-stat { background: rgba(255,255,255,.07); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); }
.ai-stat h3 { text-shadow: 0 6px 24px rgba(252,211,77,.4); }

/* Results numbers glow a touch */
.result-box h3 { filter: drop-shadow(0 6px 16px rgba(37,99,235,.22)); }

/* Program tabs: gradient active pill already; add glass rail */
.program-tabs { background: var(--glass-strong); backdrop-filter: var(--glass-blur); border-color: var(--glass-brd); }

/* FAQ open state gets glass + gradient edge */
.faq-item { background: var(--glass); backdrop-filter: var(--glass-blur); border-color: var(--glass-brd); }
.faq-item.active { border-color: rgba(37,99,235,.35); box-shadow: var(--glow-brand); background: var(--glass-strong); }

/* Locality chips → soft glass */
.locality-chips span { background: var(--glass); backdrop-filter: blur(8px); border-color: var(--glass-brd); }

/* ── Trending AI Programs ─────────────────────────────────────────────────── */
.ai-programs-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--brand-50) 100%);
    position: relative; overflow: hidden;
}
.ai-programs-section .eyebrow { color: var(--gold-600); justify-content: center; }
.ai-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 42px;
}
.ai-course-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--glass-strong);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-brd);
    border-radius: var(--r-lg);
    padding: 30px 28px;
    box-shadow: 0 16px 44px -20px rgba(16,42,76,.32);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    overflow: hidden;
}
.ai-course-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--aurora); background-size: 300% 100%;
    animation: auroraSlide 6s linear infinite;
}
@keyframes auroraSlide { to { background-position: 300% 0; } }
.ai-course-card:hover { transform: translateY(-8px); box-shadow: var(--glow-brand); border-color: rgba(37,99,235,.4); }
.ai-course-card.featured { background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(219,234,254,.62)); }
.ai-course-badge {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--grad-gold); color: #fff;
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    padding: 6px 13px; border-radius: var(--r-pill);
    box-shadow: var(--glow-gold); margin-bottom: 16px;
}
.ai-course-icon {
    width: 60px; height: 60px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad-brand); color: #fff; font-size: 1.6rem;
    box-shadow: var(--glow-brand); margin-bottom: 18px;
}
.ai-course-card h3 { font-size: 1.24rem; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.ai-course-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; flex: 1; }
.ai-course-meta { display: grid; gap: 9px; margin-bottom: 22px; }
.ai-course-meta li { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--body); font-weight: 500; }
.ai-course-meta li i { color: var(--brand-600); width: 18px; text-align: center; flex-shrink: 0; }
.ai-spec-strip {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center;
    margin-top: 36px;
}
.ai-spec-lead { font-weight: 700; color: var(--ink); font-size: .95rem; margin-right: 4px; }
.ai-spec-strip span:not(.ai-spec-lead) {
    background: var(--white); border: 1px solid var(--brand-100); color: var(--brand-700);
    font-size: .82rem; font-weight: 600; padding: 7px 15px; border-radius: var(--r-pill);
    transition: background .2s var(--ease), color .2s var(--ease);
}
.ai-spec-strip span:not(.ai-spec-lead):hover { background: var(--brand-600); color: #fff; }

/* Reveal-on-scroll base state (JS adds inline styles to animate in) */
.reveal { opacity: 0; transform: translateY(22px); }

/* ─── Motion preferences ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .marquee-content, .logo-track, .hero-section::before, .ai-ready-section::before, .cta-section::before { animation: none !important; }
}
