/* ==========================================================================
   Shikhar Classes — site theme
   Brand: sky blue + orange (from the logo), deep navy ink, warm paper.
   ========================================================================== */

:root {
    --ink: #0e1d3a;
    --ink-2: #1a2d52;
    --ink-3: #2a3f68;
    --blue: #0a8fd6;
    --blue-d: #0671ad;
    --blue-l: #e4f3fc;
    --orange: #ec7a1c;
    --orange-d: #c95f08;
    --orange-l: #fff0e1;
    --paper: #fbf8f2;
    --paper-2: #f3eee3;
    --white: #ffffff;
    --line: #e6dfd0;
    --line-2: #d8d0bf;
    --text: #1d2639;
    --muted: #5a6478;
    --success: #18794e;
    --danger: #c0392b;

    --display: "Roboto Condensed", "Arial Narrow", sans-serif;
    --sans: "Roboto", system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --r-sm: 8px;
    --r: 14px;
    --r-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(14, 29, 58, .06);
    --shadow: 0 1px 2px rgba(14, 29, 58, .05), 0 10px 30px -8px rgba(14, 29, 58, .14);
    --shadow-lg: 0 2px 4px rgba(14, 29, 58, .05), 0 24px 60px -16px rgba(14, 29, 58, .28);
    --wrap: 1200px;
    --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-d); text-decoration: none; }
a:hover { color: var(--orange-d); }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; color: var(--ink); line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 26px; height: 26px; }

/* ---------- Type helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--orange-d); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.on-dark { color: #ffb26b; }
.hl { background: linear-gradient(transparent 60%, rgba(236, 122, 28, .32) 60%, rgba(236, 122, 28, .32) 92%, transparent 92%); padding: 0 .08em; }
.hl-blue { color: var(--blue); font-style: italic; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
    transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(236, 122, 28, .7); }
.btn-primary:hover { background: var(--orange-d); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--orange-l); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.link-arrow .i { transition: transform .15s ease; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: rgba(255, 255, 255, .85); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-contact, .topbar-links { display: flex; align-items: center; gap: 20px; list-style: none; }
.topbar-links { gap: 4px; }
.topbar-links > li > a { padding: 6px 10px; border-radius: 6px; }
.topbar-links > li > a:hover { background: rgba(255, 255, 255, .08); }
.topbar-social { display: flex; gap: 2px; margin-left: 8px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .18); }
.topbar-social a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; }
.topbar-social a:hover { background: rgba(255, 255, 255, .1); }
.topbar-social .i { width: 15px; height: 15px; }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 12px; border-radius: 8px; border: 0; background: none;
    color: var(--ink); font-weight: 600; font-size: 15px;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--blue-d); background: var(--blue-l); }
.nav-link.is-active { color: var(--blue-d); }
.nav-link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--orange); }
.nav-link .i { width: 15px; height: 15px; transition: transform .15s ease; }

.dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%;
    min-width: 230px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
    list-style: none; opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item:hover > .nav-link .i { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: 14.5px; }
.dropdown a:hover { background: var(--paper); color: var(--blue-d); }
.dropdown a .i { color: var(--muted); }

.mega { display: grid; grid-template-columns: repeat(3, 210px); gap: 6px; padding: 14px; }
.mega-col h6 { margin: 4px 12px 8px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-d); display: flex; align-items: center; gap: 8px; }
.mega-col h6 .i { width: 16px; height: 16px; }
.mega-col ul { list-style: none; }
.mega-col a small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.mega-col a span { display: block; line-height: 1.3; }
.mega-foot { grid-column: 1 / -1; margin-top: 6px; padding: 12px; border-radius: 10px; background: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }

.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; }

/* ---------- Mobile drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(14, 29, 58, .5); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; z-index: 150; }
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
    background: #fff; z-index: 160; transform: translateX(100%); transition: transform .25s ease;
    display: flex; flex-direction: column; overflow-y: auto;
}
body.nav-open { overflow: hidden; }
body.nav-open .drawer { transform: none; }
body.nav-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head img { height: 40px; width: auto; }
.drawer-body { padding: 12px 12px 24px; flex: 1; }
.drawer-body > ul { list-style: none; }
.drawer-body a, .drawer-body summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
.drawer-body summary::-webkit-details-marker { display: none; }
.drawer-body a:hover, .drawer-body summary:hover { background: var(--paper); }
.drawer-body details[open] > summary .i { transform: rotate(180deg); }
.drawer-body details ul { list-style: none; padding: 0 0 6px 12px; border-left: 2px solid var(--line); margin-left: 14px; }
.drawer-body details a { font-weight: 500; padding: 10px 12px; }
.drawer-sub { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-d); font-weight: 700; padding: 10px 12px 4px; }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--paper); }
.drawer-foot .contact-line { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 14.5px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-tint { background: var(--paper-2); }
.section-white { background: #fff; }
.section-ink { background: var(--ink); color: rgba(255, 255, 255, .82); }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head:not(.center) > div:first-child { flex: 1 1 0; min-width: min(100%, 320px); }
.section-head h2 { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; margin: 0; text-wrap: balance; }
.section-head p { margin: 12px 0 0; color: var(--muted); max-width: 58ch; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

.grid-paper {
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(10, 143, 214, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 143, 214, .07) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
    background: linear-gradient(to bottom, transparent, var(--paper));
    pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.5rem, 5.2vw, 4.1rem); line-height: 1.04; margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.badge .dot.blue { background: var(--blue); }
.badge .dot.green { background: #2fa36b; }

.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 0; justify-content: start; }
.stat { padding: 0 28px; border-left: 1px solid var(--line-2); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b { display: block; font-family: var(--display); font-size: 2.3rem; font-weight: 600; color: var(--ink); line-height: 1; }
.stat b sup { font-size: .5em; color: var(--orange); top: -.8em; margin-left: 2px; }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); max-width: 16ch; line-height: 1.35; }

.hero-art { position: relative; height: 520px; }
.hero-card {
    position: absolute; width: 230px; border-radius: 18px; overflow: hidden;
    background: #fff; padding: 8px; box-shadow: var(--shadow-lg);
    transition: transform .4s ease;
}
.hero-card img { border-radius: 12px; aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.hero-card.c1 { left: 4%; top: 64px; transform: rotate(-7deg); z-index: 1; }
.hero-card.c2 { left: 34%; top: 0; transform: rotate(2deg); z-index: 3; width: 250px; }
.hero-card.c3 { right: 0; top: 96px; transform: rotate(8deg); z-index: 2; }
.hero-art:hover .hero-card.c1 { transform: rotate(-9deg) translateX(-8px); }
.hero-art:hover .hero-card.c3 { transform: rotate(10deg) translateX(8px); }
.hero-note {
    position: absolute; z-index: 4; left: 0; bottom: 22px;
    display: flex; align-items: center; gap: 12px; padding: 14px 18px;
    background: var(--ink); color: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
    max-width: 290px;
}
.hero-note .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; flex: none; }
.hero-note b { display: block; font-size: 15px; }
.hero-note span { font-size: 13px; color: rgba(255, 255, 255, .7); line-height: 1.35; display: block; }
.hero-scribble { position: absolute; right: 10px; bottom: 6px; z-index: 4; font-family: var(--display); font-style: italic; color: var(--blue-d); font-size: 15px; transform: rotate(-4deg); background: #fff; padding: 8px 14px; border-radius: 10px; border: 1px dashed var(--blue); }

/* ---------- Quick access ---------- */
.quick { position: relative; z-index: 2; margin-top: -36px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.quick-item { display: flex; align-items: center; gap: 14px; padding: 22px 22px; color: var(--ink); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .15s ease; }
.quick-item:nth-child(3n) { border-right: 0; }
.quick-item:nth-last-child(-n+3) { border-bottom: 0; }
.quick-item:hover { background: var(--paper); color: var(--ink); }
.quick-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--blue-l); color: var(--blue-d); transition: transform .15s ease; }
.quick-item:nth-child(even) .quick-ic { background: var(--orange-l); color: var(--orange-d); }
.quick-item:hover .quick-ic { transform: scale(1.06) rotate(-3deg); }
.quick-item b { display: block; font-size: 15.5px; line-height: 1.25; }
.quick-item small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }

/* ---------- Banner slider ---------- */
.banner { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.banner-track { display: flex; align-items: center; transition: transform .6s cubic-bezier(.22, .8, .25, 1); }
.banner-slide { flex: 0 0 100%; }
.banner-slide img { width: 100%; height: auto; background: var(--ink-2); }
.banner-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.banner-dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .55); transition: width .2s ease, background-color .2s ease; }
.banner-dots button[aria-current="true"] { width: 26px; background: #fff; }
.banner-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s ease; }
.banner:hover .banner-nav, .banner-nav:focus-visible { opacity: 1; }
.banner-nav.prev { left: 14px; }
.banner-nav.next { right: 14px; }
.banner-nav.prev .i { transform: rotate(180deg); }

/* ---------- Programs ---------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 26px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; background: var(--blue); }
.program.neet .program-ic { background: #2fa36b; }
.program.junior .program-ic { background: var(--orange); }
.program-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.program h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 600; margin: 6px 0 10px; }
.program > p { color: var(--muted); font-size: 15px; }
.batch-list { list-style: none; margin: 8px 0 24px; border-top: 1px dashed var(--line-2); }
.batch-list li { border-bottom: 1px dashed var(--line-2); }
.batch-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; color: var(--ink); font-weight: 600; font-size: 15px; }
.batch-list a small { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.batch-list a .i { color: var(--muted); transition: transform .15s ease, color .15s ease; }
.batch-list-empty { padding: 12px 2px; color: var(--muted); font-size: 14.5px; }
.batch-list a:hover { color: var(--blue-d); }
.batch-list a:hover .i { transform: translateX(3px); color: var(--orange); }
.program .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Achievers ---------- */

.rail-wrap { position: relative; }
.rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: 210px; gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 6px 4px 22px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.achiever { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; padding: 7px; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.achiever:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow); }
.achiever img { border-radius: 11px; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--paper-2); }
.rail-controls { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: grid; place-items: center; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.icon-btn.prev .i { transform: rotate(180deg); }

.selections { margin-top: 56px; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.selections-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.selections-head h3 { margin: 0; font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.selections img { width: 100%; }

/* ---------- Why Shikhar ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why-intro h2 { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; }
.why-quote { margin: 28px 0 0; padding: 22px 24px; border-left: 3px solid var(--orange); background: rgba(255, 255, 255, .06); border-radius: 0 var(--r) var(--r) 0; font-family: var(--display); font-style: italic; font-size: 1.15rem; color: #fff; line-height: 1.5; }
.why-quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .6); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { padding: 26px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); }
.why-item .num { font-family: var(--display); font-size: 14px; color: #ffb26b; font-weight: 600; letter-spacing: .04em; }
.why-item .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(10, 143, 214, .18); color: #7fcdf5; margin: 14px 0 16px; }
.why-item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why-item p { font-size: 14.5px; color: rgba(255, 255, 255, .68); margin: 0; }

/* ---------- Testimonials ---------- */
.testi-rail { grid-auto-columns: minmax(300px, 1fr); }
.testi-rail img { border-radius: var(--r); border: 1px solid var(--line); background: #fff; }

/* ---------- CTA band ---------- */
.cta {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    padding: 56px; border-radius: 28px;
    background: linear-gradient(135deg, var(--blue-d) 0%, var(--blue) 100%);
    color: rgba(255, 255, 255, .9);
}
.cta::before {
    content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 28px 28px;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 600; }
.cta-contacts { display: grid; gap: 12px; margin-top: 26px; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 1.05rem; }
.cta-contacts a .ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.cta-contacts a small { display: block; font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.cta .card { color: var(--text); }

/* ---------- Cards & forms ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px; }
.card-title { font-family: var(--display); font-size: 1.6rem; font-weight: 600; margin-bottom: 6px; }
.card-sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.input, .select, .textarea {
    width: 100%; padding: 12px 14px; border-radius: 10px;
    border: 1.5px solid var(--line-2); background: #fff; color: var(--text);
    font: inherit; font-size: 15px; line-height: 1.4;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235a6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder, .textarea::placeholder { color: #9aa1ae; }
.input:hover, .select:hover, .textarea:hover { border-color: #bfb6a2; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 143, 214, .15); }
.input:disabled, .input[readonly] { background: var(--paper); color: var(--muted); }
.input[type="file"] { padding: 9px 10px; }
.input[type="file"]::file-selector-button { margin-right: 12px; padding: 7px 14px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; }
.error-text { color: var(--danger); font-size: 13px; font-weight: 600; }

.captcha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha img { height: 46px; width: auto; border-radius: 10px; border: 1.5px solid var(--line-2); }
.captcha .input { flex: 1; min-width: 160px; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; margin-bottom: 20px; }
.alert .i { margin-top: 2px; }
.alert-error { background: #fdecea; color: #8c2318; border: 1px solid #f5c2bb; }
.alert-success { background: #e7f6ee; color: #0f5b39; border: 1px solid #b8e2cb; }
.alert-note { background: var(--orange-l); color: #7a3a06; border: 1px solid #f7cfa6; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; left: 50%; top: 24px; z-index: 300;
    display: flex; align-items: center; gap: 12px; max-width: min(560px, calc(100vw - 32px));
    padding: 14px 16px 14px 18px; border-radius: 14px; background: var(--ink); color: #fff;
    box-shadow: var(--shadow-lg); transform: translate(-50%, -20px); opacity: 0;
    animation: toast-in .3s ease forwards;
}
.toast.is-error { background: #8c2318; }
.toast.is-success { background: var(--success); }
.toast p { margin: 0; font-size: 14.5px; font-weight: 500; }
.toast button { margin-left: 6px; width: 32px; height: 32px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; flex: none; }
.toast.is-hiding { animation: toast-out .25s ease forwards; }
@keyframes toast-in { to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes toast-out { from { transform: translate(-50%, 0); opacity: 1; } to { transform: translate(-50%, -20px); opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: var(--ink); color: rgba(255, 255, 255, .78); }
.page-hero::before {
    content: ""; position: absolute; inset: 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: 28px 28px;
    mask-image: linear-gradient(to right, transparent 0%, #000 60%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 60%);
}
.page-hero::after {
    content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 122, 28, .35), transparent 65%); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 12px; }
.page-hero p { max-width: 62ch; font-size: 1.08rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: 13.5px; margin-bottom: 18px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .35); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-wide { grid-template-columns: 1.2fr .8fr; }
.prose-lg p { font-size: 1.08rem; color: #3a4357; }
.dropcap::first-letter { font-family: var(--display); float: left; font-size: 4.2rem; line-height: .82; padding: 8px 12px 0 0; color: var(--orange); font-weight: 600; }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.fact b { display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--ink); }
.fact span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.fact.accent { background: var(--ink); border-color: var(--ink); }
.fact.accent b { color: #ffb26b; }
.fact.accent span { color: rgba(255, 255, 255, .7); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv { position: relative; padding: 40px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.mv::after { content: attr(data-mark); position: absolute; right: 22px; top: 8px; font-family: var(--display); font-size: 7rem; font-weight: 600; line-height: 1; color: var(--paper-2); pointer-events: none; }
.mv > * { position: relative; z-index: 1; }
.mv .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-l); color: var(--blue-d); margin-bottom: 20px; }
.mv.alt .ic { background: var(--orange-l); color: var(--orange-d); }
.mv h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 600; }
.mv p { color: var(--muted); margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.pillar .ic { color: var(--orange); margin-bottom: 14px; }
.pillar h4 { font-size: 1.02rem; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Faculty ---------- */
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.faculty { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); padding: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.faculty:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.faculty img { border-radius: 16px; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); }

/* ---------- Course page ---------- */
.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.division-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.division-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; }
.division-tabs a:hover { border-color: var(--ink); }
.division-tabs a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.course-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.course-toolbar .division-tabs { margin-bottom: 0; }
.filter-drop { position: relative; flex-shrink: 0; }
.filter-drop > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; cursor: pointer; user-select: none; }
.filter-drop > summary::-webkit-details-marker { display: none; }
.filter-drop > summary:hover, .filter-drop[open] > summary { border-color: var(--ink); }
.filter-drop > summary .chev { transition: transform .2s ease; }
.filter-drop[open] > summary .chev { transform: rotate(180deg); }
.filter-drop-meta { padding: 2px 9px; border-radius: 999px; background: var(--orange-l); color: var(--orange-d); font-size: 12.5px; }
.filter-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 330px; display: grid; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.filter-search { position: relative; }
.filter-search .i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.filter-search .input { padding: 10px 12px 10px 38px; font-size: 14.5px; }
.filter-sessions { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { position: relative; cursor: pointer; }
.filter-chip input { position: absolute; opacity: 0; pointer-events: none; }
.filter-chip span { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 700; }
.filter-chip span small { margin-left: 3px; font-size: 11px; font-weight: 600; opacity: .7; }
.filter-chip:hover span { border-color: var(--orange); }
.filter-chip input:checked + span { background: var(--orange-l); border-color: var(--orange); color: var(--orange-d); }
.filter-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.filter-actions { display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.filter-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: -14px 0 24px; color: var(--muted); font-size: 14px; }
.filter-note b { color: var(--ink); }
.filter-note a { color: var(--orange-d); font-weight: 700; }
@media (max-width: 720px) { .course-toolbar { flex-direction: column-reverse; align-items: flex-end; } .course-toolbar .division-tabs { align-self: stretch; } .filter-panel { width: min(330px, calc(100vw - 32px)); } }
.division { margin-bottom: 44px; }
.division-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.division-title .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--blue); }
.division-title.neet .ic { background: #2fa36b; }
.division-title.junior .ic { background: var(--orange); }
.division-title h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.7rem; }

.acc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.acc[open] { box-shadow: var(--shadow); border-color: transparent; }
.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { background: var(--paper); }
.acc-badge { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.acc[open] .acc-badge { background: var(--ink); color: #fff; }
.acc-title { flex: 1; min-width: 0; }
.acc-title b { display: block; font-size: 1.08rem; color: var(--ink); line-height: 1.3; }
.acc-title small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.acc-toggle { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: var(--ink); transition: transform .2s ease, background-color .2s ease; }
.acc[open] .acc-toggle { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); color: #fff; }
.acc-body { padding: 4px 26px 26px; border-top: 1px solid var(--line); }
.faq .acc > summary { padding: 18px 22px; }
.faq .acc-title b { font-size: 1.02rem; font-weight: 700; }
.faq .acc-body { padding-top: 18px; color: #3a4357; }

.aside-stack { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-card { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.aside-card h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.aside-card p { font-size: 14.5px; color: var(--muted); }
.aside-card.dark { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .75); }
.aside-card.dark h3 { color: #fff; }
.aside-card.dark p { color: rgba(255, 255, 255, .7); }
.aside-links { list-style: none; display: grid; gap: 4px; }
.aside-links a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.aside-links a:hover { background: var(--paper); color: var(--blue-d); }
.aside-links .i { color: var(--orange); }
.copy-link { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.copy-link a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.copy-link .btn { flex-shrink: 0; }
.copy-link .btn.is-copied { background: #2fa36b; border-color: #2fa36b; color: #fff; }
.check-list { list-style: none; display: grid; gap: 10px; margin: 14px 0 20px; }
.check-list li { display: flex; gap: 10px; font-size: 14.5px; }
.check-list .i { color: #7fcdf5; margin-top: 3px; }

/* Batch descriptions come from a WYSIWYG editor: tame their inline styles. */
.prose { font-size: 16px; color: #3a4357; padding-top: 18px; }
.prose [style*="font-size"] { font-size: inherit !important; }
.prose [style*="font-family"] { font-family: inherit !important; }
.prose [style*="width"] { width: auto !important; }
.prose p { margin: 0 0 .9em; }
.prose strong { color: var(--ink); }
.prose p > span > strong:only-child, .prose p > strong:only-child { display: inline-block; margin-top: .6em; font-size: 1.12rem; font-family: var(--display); font-weight: 600; }
.prose ul { list-style: none; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }
.prose ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0 18px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.prose td { padding: 14px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { width: 32% !important; background: var(--paper-2); color: var(--ink); font-weight: 700; }
.prose td p { margin: 0 0 .4em; }
.prose td p:last-child { margin-bottom: 0; }
.prose span[style*="color"] { color: var(--danger) !important; }

/* ---------- Results ---------- */
.result-stack { display: grid; gap: 28px; max-width: 1000px; margin: 0 auto; }
.result-item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.result-item figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.result-item figcaption span { font-family: var(--display); font-size: 1.2rem; }
.result-item img { width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--orange-l); color: var(--orange-d); font-size: 12.5px; font-weight: 700; }
.pill.blue { background: var(--blue-l); color: var(--blue-d); }

/* ---------- Steps panel (fees / batch) ---------- */
.tool-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; border: 1px solid var(--line); }
.tool-steps { position: relative; padding: 48px; background: var(--ink); color: rgba(255, 255, 255, .75); overflow: hidden; }
.tool-steps::before {
    content: ""; position: absolute; inset: 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: 28px 28px;
}
.tool-steps > * { position: relative; }
.tool-steps h2 { color: #fff; font-family: var(--display); font-weight: 600; font-size: 2rem; }
.steps { list-style: none; margin-top: 30px; display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 28px 58px; counter-increment: step; }
.steps li::before {
    content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 700; font-size: 15px;
    border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; background: var(--ink);
}
.steps li::after { content: ""; position: absolute; left: 18.5px; top: 42px; bottom: 4px; width: 1.5px; background: rgba(255, 255, 255, .2); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps li.is-active::before { background: var(--orange); border-color: var(--orange); }
.steps h4 { color: #fff; font-size: 1.05rem; margin: 6px 0 4px; }
.steps p { margin: 0; font-size: 14.5px; }
.tool-form { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.result-box { display: grid; gap: 12px; margin-bottom: 22px; }
.result-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.result-row span { color: var(--muted); font-size: 14px; }
.result-row b { color: var(--ink); text-align: right; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.centre { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.centre + .centre { margin-top: 18px; }
.centre-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.centre-head h3 { margin: 0; font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.centre p { font-size: 14.5px; color: var(--muted); }
.centre-lines { list-style: none; display: grid; gap: 10px; }
.centre-lines li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.centre-lines .ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--blue-l); color: var(--blue-d); }
.centre-lines .ic .i { width: 17px; height: 17px; }
.centre-lines small { display: block; color: var(--muted); font-size: 12.5px; }
.centre-lines a, .centre-lines span { color: var(--ink); font-weight: 600; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background-color .15s ease, transform .15s ease; }
.socials a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.socials .i { width: 18px; height: 18px; }
.map { margin-top: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1px; background: var(--line); }
.map iframe { width: 100%; height: 420px; border: 0; filter: saturate(.9); }

/* ---------- Apply ---------- */
.apply-layout { display: grid; grid-template-columns: 1fr 440px; gap: 36px; align-items: start; }
.exam-list { display: grid; gap: 14px; }
.exam { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.exam.is-open { border-color: var(--orange); box-shadow: 0 10px 26px -14px rgba(236, 122, 28, .55); }
.exam-main { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
.exam-day { flex: none; width: 58px; padding: 8px 0 7px; border-radius: 12px; text-align: center; background: var(--ink); color: #fff; line-height: 1; }
.exam-day b { display: block; font-family: var(--display); font-size: 1.55rem; font-weight: 700; }
.exam-day span { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.exam.is-open .exam-day { background: var(--orange); }
.exam.is-closed .exam-day { background: var(--paper-2); color: var(--muted); }
.exam.is-closed .exam-day span { color: var(--muted); }
.exam-info { flex: 1; min-width: 0; }
.exam-info h3 { font-size: 1.08rem; margin: 0 0 6px; }
.exam-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; }
.exam-meta li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.exam-meta li.is-fee { background: var(--orange-l); border-color: #f7cfa6; color: var(--orange-d); font-weight: 700; }
.exam-meta .i { color: var(--orange); }
.exam-action { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.exam-status { font-size: 12.5px; font-weight: 700; color: var(--orange-d); }
.exam.is-open .exam-status { color: var(--ink); }
.exam-slots { list-style: none; margin: 0; padding: 0 18px 14px; display: grid; gap: 8px; }
.exam-slots li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 9px 12px; border-radius: 10px; background: var(--paper); font-size: 13.5px; color: var(--muted); }
.exam-slots li span { display: inline-flex; align-items: center; gap: 6px; }
.exam-slots li .i { color: var(--orange); }
.exam-slots li b { min-width: 92px; color: var(--ink); font-size: 14px; }
.exam-slots li em { margin-left: auto; font-style: normal; }
.exam-slots li.is-open { background: var(--orange-l); }
.exam-slots li.is-open em { background: var(--orange); color: #fff; }
.exam-slots li.is-closed { opacity: .7; }
.exam-more { border-top: 1px dashed var(--line); }
.exam-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 10px 18px; font-size: 13.5px; font-weight: 700; color: var(--blue-d); }
.exam-more > summary::-webkit-details-marker { display: none; }
.exam-more > summary:hover { background: var(--paper); }
.exam-more > summary .chev { transition: transform .2s ease; }
.exam-more[open] > summary .chev { transform: rotate(180deg); }
.exam-more .prose { padding: 4px 18px 16px; font-size: 14.5px; }
.exam-more .prose :is(h1, h2, h3, h4) { font-size: 1.05rem; margin: 14px 0 6px; }
.empty { text-align: center; padding: 40px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: #fff; }
.empty .ic { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--orange-l); color: var(--orange-d); }
.empty h3 { font-size: 1.15rem; }
.empty p { color: var(--muted); font-size: 14.5px; max-width: 46ch; margin: 0 auto 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: 48px; padding: 72px 0 48px; }
.footer-brand img { height: 58px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 20px; }
.footer-brand p { max-width: 42ch; text-align: justify; hyphens: auto; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, .72); }
.footer-col a:hover { color: #fff; }
.footer-centres { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-centre { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); background: var(--ink-2); }
.footer-centre .ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(236, 122, 28, .16); color: #ffb26b; }
.footer-centre h5 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.footer-centre h5 a { color: #fff; }
.footer-centre p { margin: 0 0 10px; }
.footer-centre .lines { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-centre .lines a { color: #fff; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.footer-centre .lines .i { width: 15px; height: 15px; color: #7fcdf5; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer-legal b { color: rgba(255, 255, 255, .9); font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer-bottom .socials a { background: rgba(255, 255, 255, .08); width: 38px; height: 38px; }
.footer-bottom .socials a:hover { background: var(--orange); }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.to-top .i { transform: rotate(-90deg); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
    .nav-list .nav-link { padding: 10px 9px; font-size: 14.5px; }
}
@media (max-width: 1024px) {
    .nav, .topbar-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
    .hero-art { height: 440px; max-width: 560px; width: 100%; margin: 0 auto; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-item:nth-child(3n) { border-right: 1px solid var(--line); }
    .quick-item:nth-child(2n) { border-right: 0; }
    .quick-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
    .quick-item:nth-last-child(-n+2) { border-bottom: 0; }
    .programs { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
    .why { grid-template-columns: 1fr; gap: 36px; }
    .why-intro { position: static; }
    .cta { grid-template-columns: 1fr; padding: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .course-layout, .apply-layout, .contact-layout { grid-template-columns: 1fr; }
    .aside-stack { position: static; }
    .split, .split-wide { grid-template-columns: 1fr; gap: 40px; }
    .pillars { grid-template-columns: repeat(2, 1fr); }
    .faculty-grid { grid-template-columns: repeat(3, 1fr); }
    .tool-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    :root { --header-h: 66px; }
    body { font-size: 15.5px; }
    .wrap { padding: 0 16px; }
    .topbar-contact li.hide-sm { display: none; }
    .topbar .wrap { justify-content: center; }
    .brand img { height: 42px; }
    .section { padding: 64px 0; }
    .section-sm { padding: 48px 0; }
    .section-head { margin-bottom: 30px; }
    .hero { padding: 44px 0 64px; }
    .hero-art { height: 340px; }
    .hero-card { width: 160px; }
    .hero-card.c2 { width: 176px; left: 30%; }
    .hero-card.c1 { top: 44px; }
    .hero-card.c3 { top: 64px; }
    .hero-note { bottom: 0; max-width: 250px; padding: 12px 14px; }
    .hero-scribble { display: none; }
    .stats { grid-template-columns: repeat(3, 1fr); }
    .stat { padding: 0 12px; }
    .stat b { font-size: 1.75rem; }
    .stat span { font-size: 12.5px; }
    .quick { margin-top: -24px; }
    .quick-item { padding: 16px 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
    .quick-ic { width: 40px; height: 40px; }
    .quick-item small { display: none; }
    .banner-nav { display: none; }
    .rail { grid-auto-columns: 62%; gap: 14px; }
    .why-list { grid-template-columns: 1fr; }
    .cta { padding: 28px 20px; border-radius: 22px; }
    .card { padding: 24px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
    .footer-centres { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
    .page-hero { padding: 44px 0 52px; }
    .fact-grid, .mv-grid { grid-template-columns: 1fr; }
    .mv { padding: 28px; }
    .pillars { grid-template-columns: 1fr; }
    .faculty-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .acc > summary { padding: 16px; gap: 12px; }
    .acc-badge { width: 44px; height: 44px; font-size: 1rem; }
    .acc-body { padding: 4px 16px 20px; }
    .prose td { display: block; width: 100% !important; padding: 10px 14px; }
    .prose td:first-child { border-bottom: 0; padding-bottom: 4px; }
    .tool-steps, .tool-form { padding: 28px 20px; }
    .exam-main { flex-wrap: wrap; gap: 12px 14px; padding: 14px; }
    .exam-action { flex-basis: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
    .exam-slots { padding: 0 14px 12px; }
    .exam-more > summary { padding: 10px 14px; }
    .exam-more .prose { padding: 4px 14px 14px; }
    .map iframe { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Small utilities ---------- */
.title-display { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band .title-display { font-size: 1.9rem; margin: 0; }
.band p { margin: 6px 0 0; color: var(--muted); }
.band-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mt-0 { margin-top: 0; }

/* Batch badge drawn like a periodic-table cell (batches are named after elements) */
.acc-badge.element { position: relative; padding-top: 8px; font-size: 1.3rem; border: 1.5px solid var(--line-2); background: #fff; }
.acc-badge.element::before { content: attr(data-number); position: absolute; top: 3px; left: 5px; font-family: var(--sans); font-size: 9.5px; font-weight: 700; color: var(--muted); }
.acc[open] .acc-badge.element { background: var(--ink); border-color: var(--ink); }
.acc[open] .acc-badge.element::before { color: rgba(255, 255, 255, .6); }
.acc { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Let grid/flex children shrink below their content width (prevents sideways scroll on phones) */
.hero .wrap > *, .why > *, .cta > *, .split > *, .course-layout > *, .apply-layout > *, .contact-layout > *, .tool-layout > *, .footer-top > *, .acc-title { min-width: 0; }
@media (max-width: 720px) {
    .hero-actions .btn { flex: 1 1 auto; }
    .hero h1 { font-size: 2.35rem; }
}

/* Batch description clean-up */
.prose ul, .prose ul[style], .prose li[style] { list-style: none !important; padding-left: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--display); font-size: 1.25rem !important; font-weight: 700; color: var(--ink); margin: 1.4em 0 .6em; }
.prose table ul { margin: 0; }
.prose td[colspan] { background: var(--paper-2); color: var(--ink); font-weight: 700; }
.prose td:first-child:has(> ul), .prose td:first-child:has(> ol) { width: auto !important; background: transparent; font-weight: 400; color: inherit; }

/* Top bar: keep icon links and plain links on one line */
.topbar-contact > li, .topbar-links > li { display: flex; align-items: center; }
.topbar a { display: flex; line-height: 1.2; }
.topbar a { white-space: nowrap; }
@media (max-width: 1240px) { .topbar-contact li.hide-md { display: none; } }

/* Achiever groups: JEE Advanced, JEE Main and NEET-UG each get their own row */
.achiever-group { padding: 26px 0 8px; border-top: 1px solid var(--line); }
.achiever-group + .achiever-group { margin-top: 18px; }
.achiever-group-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.achiever-group-head h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.achiever-group-head .icon-btn { width: 40px; height: 40px; }

@media (max-width: 1240px) { .nav-list .nav-link { padding: 10px 8px; font-size: 14.5px; } .nav-cta { margin-left: 4px; } }
.nav-link { white-space: nowrap; }

/* Full logo (both waves + tagline) needs a little more height */
.brand img { height: 60px; }
.footer-brand img { height: 74px; }
@media (max-width: 720px) { .brand img { height: 50px; } }

/* Full-width layout: content spans the screen with responsive side gutters */
.wrap { max-width: none; padding-left: clamp(16px, 4vw, 72px); padding-right: clamp(16px, 4vw, 72px); }
.hero-art { max-width: 640px; width: 100%; margin-left: auto; }
.prose, .prose-lg { max-width: 980px; }

/* Floating back-to-top button (shown after scrolling) */
.fab-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--orange); color: #fff; box-shadow: 0 10px 24px -8px rgba(236, 122, 28, .8);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .15s ease;
}
.fab-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab-top:hover { background: var(--orange-d); color: #fff; }
.fab-top .i { transform: rotate(-90deg); }
@media (max-width: 720px) { .fab-top { right: 16px; bottom: 16px; width: 46px; height: 46px; } .footer-bottom { flex-direction: row; align-items: center; flex-wrap: wrap; } }

/* ---------- Online batches page ---------- */
.ob-hero { position: relative; overflow: hidden; padding: 56px 0 80px; background: var(--ink); color: rgba(255, 255, 255, .78); }
.ob-hero::before {
    content: ""; position: absolute; inset: 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: 28px 28px;
}
.ob-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 143, 214, .35), transparent 65%); pointer-events: none; }
.ob-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ob-hero h1 { color: #fff; font-family: var(--display); font-size: clamp(2.4rem, 4.8vw, 3.8rem); font-weight: 700; line-height: 1.05; margin-bottom: 18px; }
.ob-hero h1 span { color: #7fcdf5; font-style: italic; }
.ob-hero-copy > p { font-size: 1.1rem; max-width: 54ch; margin-bottom: 28px; }
.ob-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.ob-perks li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 600; font-size: 14px; }
.ob-perks li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); }
.ob-perks .i { width: 16px; height: 16px; }

.ob-hero-art { position: relative; max-width: 560px; width: 100%; margin-left: auto; padding: 30px 30px 40px 20px; }
.ob-screen { position: relative; border-radius: 22px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); overflow: hidden; transform: rotate(-1.5deg); }
.ob-screen-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.ob-dots { margin-left: auto; display: flex; gap: 5px; }
.ob-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.ob-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fdecea; color: #c0262c; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; }
.ob-live .dot, .ob-live-text .dot { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .2); animation: ob-pulse 1.6s ease-in-out infinite; }
@keyframes ob-pulse { 50% { box-shadow: 0 0 0 6px rgba(229, 72, 77, 0); } }
.ob-board { position: relative; height: 250px; background: #13324f; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; }
.ob-board > span:not(.ob-play) { position: absolute; font-family: var(--display); font-style: italic; color: rgba(255, 255, 255, .9); }
.ob-board .f1 { left: 28px; top: 26px; font-size: 2rem; }
.ob-board .f2 { right: 30px; top: 70px; font-size: 1.4rem; color: #ffb26b !important; }
.ob-board .f3 { left: 40px; bottom: 30px; font-size: 1.5rem; color: #7fcdf5 !important; }
.ob-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.ob-screen-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 13px; color: var(--muted); }
.ob-screen-foot .avatars { display: flex; }
.ob-screen-foot .avatars i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; background: var(--blue); }
.ob-screen-foot .avatars i:first-child { margin-left: 0; background: var(--orange); }
.ob-screen-foot .avatars i:nth-child(3) { background: #2fa36b; }
.ob-screen-foot .avatars i:nth-child(4) { background: var(--ink-3); }
.ob-screen-foot .raise { margin-left: auto; padding: 5px 10px; border-radius: 8px; background: var(--paper); color: var(--ink); font-weight: 600; }
.ob-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); color: var(--ink); }
.ob-float b { display: block; font-size: 14px; line-height: 1.2; }
.ob-float small { display: block; font-size: 12px; color: var(--muted); }
.ob-float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #e3f5ec; color: #18794e; }
.ob-float .ic.orange { background: var(--orange-l); color: var(--orange-d); }
.ob-float .i { width: 18px; height: 18px; }
.ob-float.f-a { left: -10px; top: 6px; transform: rotate(-3deg); }
.ob-float.f-b { right: 0; bottom: 0; transform: rotate(2deg); }

.soon { max-width: 640px; margin: 0 auto; text-align: center; padding: 56px 40px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.soon .eyebrow { justify-content: center; }
.soon h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
.soon p { color: var(--muted); max-width: 46ch; margin: 0 auto 26px; }
.soon-ic { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; display: grid; place-items: center; background: var(--orange-l); color: var(--orange-d); }
.soon-ic .i { width: 32px; height: 32px; }

.ob-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.ob-toolbar h2 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; }
.ob-filter { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ob-filter button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-weight: 700; font-size: 14px; }
.ob-filter button span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); font-size: 12px; }
.ob-filter button:hover { color: var(--ink); }
.ob-filter button.is-active { background: var(--ink); color: #fff; }
.ob-filter button.is-active span { background: var(--orange); color: #fff; }

.ob-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 26px; }
.ob-card { --c1: var(--blue); --c2: var(--blue-d); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; scroll-margin-top: calc(var(--header-h) + 16px); }
.ob-card.neet { --c1: #34b37a; --c2: #18794e; }
.ob-card.junior { --c1: #f39233; --c2: var(--orange-d); }
.ob-card[hidden] { display: none; }
.ob-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ob-card-head { position: relative; overflow: hidden; padding: 20px 22px 24px; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.ob-card-head::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to left, #000, transparent 75%); -webkit-mask-image: linear-gradient(to left, #000, transparent 75%); }
.ob-watermark { position: absolute; right: 14px; bottom: -26px; font-family: var(--display); font-weight: 700; font-size: 7.5rem; line-height: 1; color: rgba(255, 255, 255, .12); pointer-events: none; }
.ob-card-top { position: relative; display: flex; gap: 8px; margin-bottom: 22px; }
.ob-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12.5px; font-weight: 700; }
.ob-chip .i { width: 14px; height: 14px; }
.ob-chip.solid { margin-left: auto; background: #fff; color: var(--c2); }
.ob-card-name { position: relative; display: flex; align-items: center; gap: 16px; }
.ob-element { position: relative; flex: none; width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; padding-top: 8px; background: #fff; color: var(--c2); font-family: var(--display); font-weight: 700; font-size: 1.7rem; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4); }
.ob-element::before { content: attr(data-number); position: absolute; top: 5px; left: 7px; font-family: var(--sans); font-size: 10px; font-weight: 700; color: var(--muted); }
.ob-card-name h3 { margin: 0; color: #fff; font-family: var(--display); font-size: 1.65rem; font-weight: 700; }
.ob-card-name p { margin: 2px 0 0; font-size: 14px; color: rgba(255, 255, 255, .88); font-weight: 600; }
.ob-live-text { display: inline-flex; align-items: center; gap: 6px; }
.ob-live-text .dot { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
.ob-card-body { padding: 20px 22px 6px; flex: 1; }
.ob-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.ob-meta > div { display: flex; align-items: flex-start; gap: 8px; padding: 10px; border-radius: 12px; background: var(--paper); }
.ob-meta .i { color: var(--c2); margin-top: 2px; }
.ob-meta small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.ob-meta span { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.ob-features { list-style: none; display: grid; gap: 10px; margin-bottom: 16px; }
.ob-features li { display: flex; gap: 10px; font-size: 14.5px; color: #3a4357; }
.ob-features .i { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--orange-l); color: var(--orange-d); stroke-width: 2.4; }
.ob-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px 20px; border-top: 1px dashed var(--line-2); }
.ob-fee small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.ob-fee b { font-family: var(--display); font-size: 1.7rem; color: var(--ink); line-height: 1.1; }
.ob-actions { display: flex; align-items: center; gap: 8px; }

.ob-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ob-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 34px; border-top: 2px dashed var(--line-2); }
.ob-steps li { position: relative; text-align: center; padding: 0 10px; }
.ob-steps .ic { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--blue-d); box-shadow: var(--shadow-sm); }
.ob-steps li:nth-child(even) .ic { color: var(--orange-d); }
.ob-steps .ic .i { width: 26px; height: 26px; }
.ob-steps .n { position: absolute; z-index: 2; left: calc(50% + 18px); top: -4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; }
.ob-steps h4 { font-size: 1.08rem; margin-bottom: 6px; }
.ob-steps p { margin: 0 auto; font-size: 14.5px; color: var(--muted); max-width: 26ch; }

.ob-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 44px 48px; border-radius: 28px; background: linear-gradient(135deg, var(--blue-d), var(--blue)); color: rgba(255, 255, 255, .88); }
.ob-cta::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.ob-cta > * { position: relative; }
.ob-cta h2 { color: #fff; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 6px; }
.ob-cta p { margin: 0; max-width: 56ch; }

@media (max-width: 1024px) {
    .ob-hero .wrap { grid-template-columns: 1fr; }
    .ob-hero-art { margin: 0 auto; }
    .ob-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .ob-steps::before { display: none; }
}
@media (max-width: 720px) {
    .ob-hero { padding: 40px 0 56px; }
    .ob-hero-art { padding: 24px 6px 36px; }
    .ob-board { height: 190px; }
    .ob-grid { grid-template-columns: 1fr; }
    .ob-meta { grid-template-columns: 1fr 1fr 1fr; }
    .ob-steps { grid-template-columns: 1fr; }
    .ob-cta { padding: 30px 22px; }
    .soon { padding: 40px 22px; }
}
.ob-float.f-a { left: -14px; top: auto; bottom: 120px; }
.ob-meta { grid-template-columns: 1.35fr 1fr 1fr; }
.ob-meta span { white-space: nowrap; font-size: 13.5px; }
.ob-board .f3 { left: auto; right: 34px; bottom: 26px; }

/* ---------- Online batch enrolment ---------- */
.enrol-progress { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.enrol-progress li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 14px; }
.enrol-progress li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); font-size: 13px; }
.enrol-progress li.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.enrol-progress li.is-active span { background: var(--orange); color: #fff; }

.enrol-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.enrol-form { padding: 36px; }
.enrol-group { border: 0; margin: 0 0 28px; padding: 0 0 28px; border-bottom: 1px dashed var(--line-2); min-width: 0; }
.enrol-group legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.enrol-group legend span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-l); color: var(--blue-d); font-family: var(--sans); font-size: 14px; }
.consent { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 14.5px; color: #3a4357; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.enrol-submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.enrol-submit p { margin: 0; font-size: 14px; color: var(--muted); max-width: 40ch; }

.ob-summary { box-shadow: var(--shadow); }
.ob-summary:hover { transform: none; }
.enrol-fee { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-top: 1px dashed var(--line-2); background: var(--paper); }
.enrol-fee span { color: var(--muted); font-weight: 600; font-size: 14px; }
.enrol-fee b { font-family: var(--display); font-size: 1.9rem; color: var(--ink); }

@media (max-width: 1024px) {
    .enrol-layout { grid-template-columns: 1fr; }
    .enrol-aside { order: -1; }
}
@media (max-width: 720px) {
    .enrol-form { padding: 24px 18px; }
    .enrol-progress li { font-size: 13px; padding-right: 12px; }
}

/* ---------- Error pages ---------- */
.error-page { min-height: 100vh; }
.error-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 40px 16px; text-align: center; }
.error-logo img { height: 64px; width: auto; }
.error-card { width: 100%; max-width: 620px; padding: 48px 40px 32px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.error-card .eyebrow { justify-content: center; }
.error-card h1 { font-family: var(--display); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 10px; }
.error-card > p { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.error-code { display: flex; justify-content: center; gap: 14px; margin-bottom: 30px; }
.error-tile { position: relative; width: 96px; height: 112px; border-radius: 18px; display: grid; place-items: center; padding-top: 10px; font-family: var(--display); font-size: 4rem; font-weight: 700; line-height: 1; color: #fff; background: var(--ink); box-shadow: 0 16px 30px -14px rgba(14, 29, 58, .6); }
.error-tile::before { content: attr(data-number); position: absolute; top: 8px; left: 11px; font-family: var(--sans); font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .55); }
.error-tile.t0 { transform: rotate(-6deg); }
.error-tile.t1 { background: var(--orange); transform: translateY(-8px); box-shadow: 0 16px 30px -14px rgba(236, 122, 28, .8); }
.error-tile.t2 { background: var(--blue); transform: rotate(6deg); box-shadow: 0 16px 30px -14px rgba(10, 143, 214, .8); }
.error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.error-actions .btn-primary .i { transform: rotate(180deg); }
.error-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.error-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.error-links a:hover { color: var(--blue-d); }
.error-links .i { color: var(--orange); }
.error-help { margin: 0; font-size: 14px; color: var(--muted); }
.error-help a { font-weight: 600; }
@media (max-width: 720px) {
    .error-card { padding: 36px 20px 26px; }
    .error-tile { width: 72px; height: 86px; font-size: 3rem; border-radius: 14px; }
}

/* ---------- Themed date picker ---------- */
.datepicker { position: relative; }
.datepicker .dp-input { padding-right: 44px; cursor: pointer; }
.dp-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.datepicker.is-open .dp-icon { color: var(--orange); }
.datepicker.is-open .dp-input { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 143, 214, .15); }
.dp-pop { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; width: 312px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.dp-pop[hidden] { display: none; }
.dp-head { display: flex; align-items: center; gap: 6px; margin: -14px -14px 10px; padding: 12px 12px; border-radius: 18px 18px 0 0; background: var(--ink); }
.dp-head select { flex: 1; min-width: 0; padding: 7px 26px 7px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center; color: #fff; font: inherit; font-size: 14px; font-weight: 700; appearance: none; -webkit-appearance: none; cursor: pointer; }
.dp-head select:focus { outline: none; border-color: #7fcdf5; }
.dp-head select option { color: var(--ink); }
.dp-head .dp-year { flex: 0 0 84px; }
.dp-nav { flex: none; width: 32px; height: 32px; border-radius: 8px; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.dp-nav:hover:not(:disabled) { background: var(--orange); }
.dp-nav:disabled { opacity: .3; cursor: default; }
.dp-nav .i { width: 16px; height: 16px; }
.dp-prev .i { transform: rotate(90deg); }
.dp-next .i { transform: rotate(-90deg); }
.dp-week, .dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-week span { text-align: center; padding: 4px 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.dp-week span:first-child { color: var(--orange-d); }
.dp-grid button { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; color: var(--ink); font-size: 14px; font-weight: 600; transition: background-color .12s ease, color .12s ease; }
.dp-grid button:hover:not(:disabled) { background: var(--blue-l); color: var(--blue-d); }
.dp-grid button.is-out { color: #b3b9c4; font-weight: 500; }
.dp-grid button.is-today { box-shadow: inset 0 0 0 1.5px var(--blue); }
.dp-grid button.is-selected, .dp-grid button.is-selected:hover { background: var(--orange); color: #fff; box-shadow: 0 6px 14px -6px rgba(236, 122, 28, .8); }
.dp-grid button:disabled { color: #d3d7de; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .12); }
.dp-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.dp-foot button { padding: 7px 14px; border-radius: 999px; border: 0; background: none; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.dp-foot button:hover { background: var(--paper-2); color: var(--ink); }
.dp-foot .dp-done { background: var(--ink); color: #fff; }
.dp-foot .dp-done:hover { background: var(--ink-3); color: #fff; }
@media (max-width: 720px) { .dp-pop { left: 0; right: auto; width: min(312px, calc(100vw - 32px)); } }

/* Enrolment steps 2 & 3 */
.enrol-progress li a { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.enrol-progress li.is-done { border-color: #b8e2cb; background: #e7f6ee; color: #0f5b39; }
.enrol-progress li.is-done span { background: #18794e; color: #fff; }
.enrol-progress li.is-done .i { width: 14px; height: 14px; stroke-width: 3; }
.enrol-state { padding: 44px 40px; text-align: center; }
.enrol-state .eyebrow { justify-content: center; }
.enrol-state h2 { font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 700; margin-bottom: 10px; }
.enrol-state > p { color: var(--muted); max-width: 52ch; margin: 0 auto 28px; }
.state-badge { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.state-badge .i { width: 34px; height: 34px; stroke-width: 2.4; }
.state-badge.success { background: #18794e; box-shadow: 0 0 0 10px #e7f6ee, 0 14px 30px -10px rgba(24, 121, 78, .7); }
.state-badge.welcome { background: var(--orange); box-shadow: 0 0 0 10px var(--orange-l), 0 14px 30px -10px rgba(236, 122, 28, .7); }
.receipt { max-width: 480px; margin: 0 auto 28px; text-align: left; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper); }
.receipt-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #fff; border-bottom: 1px dashed var(--line-2); font-weight: 700; color: var(--ink); }
.receipt dl { margin: 0; padding: 8px 18px; }
.receipt dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.receipt dl div:last-child { border-bottom: 0; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.receipt .total dt { color: var(--ink); font-weight: 700; }
.receipt .total dd { font-family: var(--display); font-size: 1.5rem; color: #18794e; }
.state-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.login-box { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 620px; margin: 0 auto 26px; border-radius: 16px; overflow: hidden; background: var(--ink); text-align: left; }
.login-box div { padding: 18px; }
.login-box div + div { border-left: 1px solid rgba(255, 255, 255, .1); }
.login-box small { display: block; color: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.login-box b { color: #fff; font-size: 14.5px; word-break: break-word; }
.next-steps { list-style: none; max-width: 520px; margin: 0 auto 28px; display: grid; gap: 12px; text-align: left; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.next-steps span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-l); color: var(--blue-d); font-weight: 700; font-size: 13.5px; }
.next-steps b { display: block; color: var(--ink); }
.next-steps small { color: var(--muted); font-size: 13.5px; }
@media (max-width: 720px) {
    .enrol-state { padding: 32px 18px; }
    .login-box { grid-template-columns: 1fr; }
    .login-box div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
}
/* ---------- Entrance registration: review, payment & admit card ---------- */
.review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.review-head .card-sub { margin-bottom: 0; }
.exam-ticket { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 16px; overflow: hidden; background: var(--ink); margin-bottom: 22px; }
.exam-ticket > div { padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.exam-ticket > div:nth-child(3) { border-left: 1px solid rgba(255, 255, 255, .1); }
.exam-ticket small { display: block; color: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.exam-ticket b { color: #fff; font-size: 15px; }
.exam-ticket .exam-ticket-name { grid-column: 1 / -1; border-top: 0; background: var(--orange); }
.exam-ticket .exam-ticket-name small { color: rgba(255, 255, 255, .8); }
.exam-ticket .exam-ticket-name b { font-family: var(--display); font-size: 1.35rem; }
.exam-ticket .exam-ticket-venue { grid-column: 1 / -1; }
.exam-ticket .exam-ticket-venue b { font-weight: 500; font-size: 14px; }
.review-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; margin: 0 0 22px; }
.review-list div { padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.review-list .full { grid-column: 1 / -1; }
.review-list dt { color: var(--muted); font-size: 12.5px; font-weight: 600; margin-bottom: 2px; }
.review-list dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }
.pay-summary dl { margin: 0 0 14px; }
.pay-summary dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pay-summary dt { color: var(--muted); }
.pay-summary dd { margin: 0; font-weight: 700; color: var(--ink); white-space: nowrap; }
.pay-summary .discount dd { color: #18794e; }
.pay-summary .coupon-error dt { color: #b42318; font-size: 13.5px; }
.pay-summary .total { border-bottom: 0; padding-top: 14px; }
.pay-summary .total dt { color: var(--ink); font-weight: 700; }
.pay-summary .total dd { font-family: var(--display); font-size: 1.9rem; }
.pay-note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.pay-note .i { color: #18794e; }
.state-badge.failed { background: #b42318; box-shadow: 0 0 0 10px #fdecea, 0 14px 30px -10px rgba(180, 35, 24, .6); }
.pill.failed { background: #fdecea; color: #b42318; }
.receipt.is-failed .total dd { color: var(--ink); }
.enrol-state .admit-ready { max-width: 560px; margin: 0 auto 24px; text-align: left; }
.pay-submit { flex-direction: column; align-items: stretch; gap: 10px; }
.pay-submit .btn { font-size: 1.05rem; padding-top: 15px; padding-bottom: 15px; }
.pay-submit p { max-width: none; text-align: center; }
.dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(14, 29, 58, .45); }
.dialog::backdrop { background: rgba(14, 29, 58, .55); backdrop-filter: blur(2px); }
.dialog[open] { animation: dialog-in .18s ease; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } }
.dialog-card { display: block; padding: 26px 28px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dialog-head h2 { font-family: var(--display); font-size: 1.5rem; margin: 0 0 2px; }
.dialog-head p { margin: 0; color: var(--muted); font-size: 14px; }
.dialog-close { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.dialog-close:hover { background: var(--paper); }
.dialog-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
@media (max-width: 720px) {
    .dialog-card { padding: 20px 18px; }
    .dialog-foot .btn { flex: 1; }
}
@media (max-width: 720px) {
    .review-head { flex-direction: column-reverse; }
    .exam-ticket, .review-list { grid-template-columns: 1fr; }
    .exam-ticket > div:nth-child(3) { border-left: 0; }
}
@media print { .topbar, .site-header, .site-footer, .enrol-progress, .enrol-aside, .state-actions, .fab-top, .alert, .page-hero { display: none !important; } .enrol-layout { display: block; } }
