/* Public website themes (Phase 24). Root element: <div class="site th-KEY">. Default/primary: th-shuruati (approved demo design).
   Every theme only changes tokens + a few signature rules; markup is shared (app/Views/layouts/public.php, Website::site/*). */
.site{min-height:100vh}
.s-main{padding:28px 0 10px}
.s-nav .s-btn{padding:8px 14px}
.s-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.28;z-index:0}
.s-hero>.s-wrap{position:relative;z-index:1}
.site .course-card,.site .app-card{border-radius:var(--radius)}
.s-burger{cursor:pointer}
.s-nav.open{display:flex!important;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;background:var(--brand);padding:10px 16px 16px;z-index:40}
.th-saaf .s-nav.open{background:#fff}
.s-top{position:relative}
.s-wa{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:1040;text-decoration:none;font-size:1.5rem}
.s-carousel .carousel-item{transition-duration:.5s}
@media (prefers-reduced-motion:reduce){.s-carousel .carousel-item{transition:none}}
/* ---------- site (theme tokens) ---------- */
.site{--bg:#fff;--ink:#1b1d3f;--muted:#5b6080;--brand:#2b2f9e;--brand-2:#ffb627;--soft:#eef0fb;--line:#dfe2f1;--radius:18px;--hfont:'Baloo 2',sans-serif;--bfont:Hind,sans-serif;--hw:800;
  background:var(--bg);color:var(--ink);font-family:var(--bfont);font-size:16px;line-height:1.6}
.site h1,.site h2,.site h3{font-family:var(--hfont);font-weight:var(--hw);line-height:1.15;margin:0 0 .4em}
.site a{color:inherit}
.s-wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.s-ticker{background:var(--brand-2);color:var(--ink);font-size:.9rem;padding:7px 0;font-weight:600}
.s-ticker .s-wrap{display:flex;gap:18px;overflow:hidden;white-space:nowrap}
.s-top{background:var(--brand);color:#fff}
.s-top .s-wrap{display:flex;align-items:center;gap:14px;min-height:66px}
.s-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.s-logo .s-mk{width:42px;height:42px;border-radius:12px;background:var(--brand-2);color:var(--brand);display:grid;place-items:center;font-weight:800;font-family:var(--hfont)}
.s-logo b{display:block;font-family:var(--hfont);font-size:1.15rem;line-height:1}.s-logo small{opacity:.8;font-size:.75rem}
.s-nav{margin-left:auto;display:flex;gap:4px;align-items:center}.s-nav a{text-decoration:none;font-size:.93rem;padding:7px 10px;border-radius:10px}
.s-nav a:hover{background:rgba(255,255,255,.14)}
.s-btn{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-weight:700;border-radius:calc(var(--radius) - 6px);padding:12px 20px;border:2px solid transparent;font-size:.98rem;cursor:pointer}
.s-btn-a{background:var(--brand-2);color:var(--ink)}.s-btn-b{border-color:currentColor}
.s-hero{position:relative;overflow:hidden}
.s-hero .s-wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:30px;align-items:center;padding-top:56px;padding-bottom:56px}
.s-hero h1{font-size:clamp(2rem,4.6vw,3.4rem)}
.s-hero p.s-lead{font-size:1.12rem;color:var(--muted);max-width:34em}
.s-hero .s-acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.s-hero-art{aspect-ratio:4/3.4;border-radius:var(--radius);background:var(--soft);position:relative;overflow:hidden}
.s-hero-art .s-scr{position:absolute;left:10%;right:10%;top:12%;bottom:24%;background:var(--brand);border-radius:12px;box-shadow:0 14px 30px rgba(0,0,0,.18)}
.s-hero-art .s-scr::after{content:"";position:absolute;left:8%;right:8%;top:12%;height:10px;border-radius:5px;background:var(--brand-2);box-shadow:0 22px 0 rgba(255,255,255,.55),0 44px 0 rgba(255,255,255,.35),0 66px 0 rgba(255,255,255,.25)}
.s-hero-art .s-stand{position:absolute;left:42%;right:42%;bottom:14%;height:10%;background:var(--muted);opacity:.5}
.s-hero-art .s-base{position:absolute;left:30%;right:30%;bottom:10%;height:4%;border-radius:8px;background:var(--muted);opacity:.6}
.s-badge{position:absolute;background:#fff;color:var(--ink);border-radius:14px;padding:8px 12px;font-size:.82rem;font-weight:700;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.s-b1{left:6%;bottom:6%}.s-b2{right:6%;top:6%}
.s-sec{padding:52px 0}.s-sec.s-alt{background:var(--soft)}
.s-sec-h{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:20px}.s-sec-h h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:0}.s-sec-h a{font-weight:600;text-decoration:none;color:var(--brand)}
.s-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.s-stat{padding:18px;border-radius:var(--radius);background:var(--bg);border:1px solid var(--line)}.s-stat b{display:block;font-family:var(--hfont);font-size:2rem;color:var(--brand);line-height:1.1}.s-stat span{color:var(--muted);font-size:.92rem}
.s-courses{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.s-course{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--bg);display:flex;flex-direction:column}
.s-course .s-cv{height:96px;background:var(--brand);color:#fff;display:flex;align-items:flex-end;padding:10px 14px;font-family:var(--hfont);font-size:1.6rem;font-weight:800}
.s-course .s-cb{padding:12px 14px;flex:1;display:flex;flex-direction:column;gap:4px}.s-course .s-cb b{font-size:1.02rem}.s-course .s-cb small{color:var(--muted)}
.s-course .s-fee{margin-top:auto;font-weight:700;color:var(--brand)}
.s-why{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.s-why>div{padding:16px}.s-why h3{font-size:1.1rem}.s-why p{margin:0;color:var(--muted);font-size:.95rem}
.s-ic{width:44px;height:44px;border-radius:12px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800;margin-bottom:10px;font-family:var(--hfont)}
.s-toppers{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.s-tp{text-align:center;padding:18px 10px;border-radius:var(--radius);background:var(--bg);border:1px solid var(--line)}
.s-av{width:84px;height:84px;border-radius:50%;margin:0 auto 8px;display:grid;place-items:center;font-weight:800;font-size:1.8rem;color:#fff;font-family:var(--hfont)}
.s-tp .s-pc{font-family:var(--hfont);font-size:1.6rem;color:var(--brand);font-weight:800}
.s-gal{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:150px 150px;gap:10px}
.s-gal>*{border-radius:calc(var(--radius) - 4px);position:relative;overflow:hidden}
.s-gal>*:first-child{grid-row:span 2}
.s-gal span{position:absolute;left:10px;bottom:8px;color:#fff;font-weight:700;text-shadow:0 1px 4px rgba(0,0,0,.5);font-size:.9rem}
.s-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.s-q{padding:20px;border-radius:var(--radius);background:var(--bg);border:1px solid var(--line)}.s-q p{margin:0 0 12px}.s-q b{display:block}.s-q small{color:var(--muted)}
.s-faq details{border-bottom:1px solid var(--line);padding:12px 0}.s-faq summary{font-weight:700;cursor:pointer}.s-faq p{margin:8px 0 0;color:var(--muted)}
.s-cta{border-radius:var(--radius);background:var(--brand);color:#fff;padding:30px;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.s-cta h2{margin:0 0 4px;font-size:1.8rem}.s-cta p{margin:0;opacity:.9}
.s-centres{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.s-cn{padding:16px;border-radius:var(--radius);border:1px solid var(--line);background:var(--bg)}.s-cn b{display:block;font-size:1.05rem}.s-cn small{color:var(--muted);display:block}
.s-foot{background:var(--ink);color:#d7d9ee;padding:36px 0 22px;font-size:.92rem}.s-foot .s-wrap{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:20px}.s-foot h3{color:#fff;font-size:1rem}.s-foot a{color:#fff;text-decoration:none;display:block;padding:2px 0}
.s-credit{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.15);padding-top:12px;font-size:.8rem;opacity:.8}
.s-wa{position:absolute;right:16px;bottom:16px;width:52px;height:52px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;font-weight:800;box-shadow:0 6px 18px rgba(0,0,0,.25)}

.s-burger{display:none;margin-left:auto;background:none;border:0;color:#fff;font-size:1.6rem}
@media (max-width:820px){.s-hero .s-wrap,.s-foot .s-wrap{grid-template-columns:1fr}.s-nav{display:none}.s-burger{display:block}.s-stats,.s-why,.s-toppers{grid-template-columns:1fr 1fr}.s-courses,.s-quotes,.s-centres{grid-template-columns:1fr}
 .s-gal{grid-template-columns:1fr 1fr;grid-template-rows:120px 120px 120px}.s-gal>*:first-child{grid-column:span 2;grid-row:auto}}

/* ---------- THEME 1: Classroom (current brand, friendly) ---------- */
.th-classroom .s-hero{background:var(--soft)}
.th-classroom .s-hero h1{color:var(--brand)}

/* ---------- THEME 2: Campus (formal, matches marksheet) ---------- */
.th-campus{--bg:#fff;--ink:#16194a;--muted:#585d7d;--brand:#1d2a78;--brand-2:#c79a2b;--soft:#f3f4fa;--line:#d6d9ec;--radius:4px;--hfont:Cinzel,serif;--hw:700}
.th-campus .s-top{border-bottom:4px solid var(--brand-2)}
.th-campus .s-logo .s-mk{border-radius:50%;background:#fff;border:3px solid var(--brand-2);color:var(--brand)}
.th-campus .s-hero{background:var(--brand);color:#fff;border-bottom:6px double var(--brand-2)}
.th-campus .s-hero p.s-lead{color:#d9dcf5}.th-campus .s-hero h1{letter-spacing:.02em}
.th-campus .s-hero-art{background:rgba(255,255,255,.06);border:1px solid rgba(199,154,43,.6)}
.th-campus .s-sec-h h2{border-bottom:2px solid var(--brand-2);padding-bottom:6px}
.th-campus .s-course .s-cv{background:linear-gradient(var(--brand),var(--brand)) padding-box;border-bottom:3px solid var(--brand-2)}
.th-campus .s-stat b,.th-campus .s-tp .s-pc{color:var(--brand)}
.th-campus .s-cta{background:var(--ink);border:2px solid var(--brand-2)}
.th-campus .s-btn{border-radius:3px}.th-campus .s-btn-a{background:var(--brand-2);color:#16194a}

/* ---------- THEME 3: Tech Lab (teal, technical) ---------- */
.th-techlab{--bg:#f6fbfa;--ink:#0d2b2c;--muted:#4b6a6a;--brand:#0f4c4d;--brand-2:#4fe3c1;--soft:#e4f3f0;--line:#cfe5e1;--radius:10px;--hfont:'Space Grotesk',sans-serif;--bfont:Mukta,sans-serif;--hw:700}
.th-techlab .s-top{background:var(--ink)}
.th-techlab .s-logo .s-mk{background:var(--brand-2);color:var(--ink);border-radius:8px}
.th-techlab .s-hero{background:var(--ink);color:#e9fffa;background-image:linear-gradient(rgba(79,227,193,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(79,227,193,.07) 1px,transparent 1px);background-size:28px 28px}
.th-techlab .s-hero p.s-lead{color:#a7cfc8}.th-techlab .s-hero-art{background:#123d3e}.th-techlab .s-hero-art .s-scr{background:#0a2223;border:1px solid var(--brand-2)}
.th-techlab .s-course .s-cv{background:var(--ink);color:var(--brand-2)}
.th-techlab .s-ic{background:var(--ink);color:var(--brand-2)}
.th-techlab .s-cta{background:var(--ink)}.th-techlab .s-btn-a{background:var(--brand-2)}

/* ---------- THEME 4: Utsav (saffron, Indian, warm) ---------- */
.th-utsav{--bg:#fffdf9;--ink:#3a1020;--muted:#7a5a62;--brand:#8a1f45;--brand-2:#f39a1e;--soft:#fff2e0;--line:#f1dcc4;--radius:22px;--hfont:'Yatra One',cursive;--bfont:Hind,sans-serif;--hw:400}
.th-utsav .s-top{background:var(--brand);background-image:radial-gradient(circle at 10px 10px,rgba(243,154,30,.35) 2px,transparent 3px);background-size:22px 22px}
.th-utsav .s-logo .s-mk{border-radius:50%}
.th-utsav .s-hero{background:var(--soft)}
.th-utsav .s-hero h1{color:var(--brand)}
.th-utsav .s-hero-art{border-radius:50% 50% var(--radius) var(--radius);background:var(--brand-2)}
.th-utsav .s-hero-art .s-scr{background:var(--brand)}
.th-utsav .s-sec-h h2{color:var(--brand)}
.th-utsav .s-course .s-cv{background:var(--brand-2);color:var(--ink)}
.th-utsav .s-stat{border:2px dashed var(--brand-2)}
.th-utsav .s-cta{background:var(--brand);background-image:radial-gradient(circle at 12px 12px,rgba(243,154,30,.35) 2px,transparent 3px);background-size:24px 24px}

/* ---------- THEME 5: Saaf (minimal, big type, lots of white) ---------- */
.th-saaf{--bg:#fff;--ink:#181a2e;--muted:#64687f;--brand:#5b3fd1;--brand-2:#5b3fd1;--soft:#f6f6f9;--line:#e6e6ee;--radius:14px;--hfont:Manrope,sans-serif;--bfont:Hind,sans-serif;--hw:800}
.th-saaf .s-top{background:#fff;color:var(--ink);border-bottom:1px solid var(--line)}.th-saaf .s-nav a:hover{background:var(--soft)}
.th-saaf .s-logo .s-mk{background:var(--brand);color:#fff}
.th-saaf .s-hero .s-wrap{grid-template-columns:1fr;text-align:left;padding-top:70px;padding-bottom:40px}
.th-saaf .s-hero h1{font-size:clamp(2.4rem,6vw,4.6rem);letter-spacing:-.02em;max-width:14em}
.th-saaf .s-hero-art{display:none}
.th-saaf .s-btn-a{background:var(--brand);color:#fff}
.th-saaf .s-stat{border:0;border-top:3px solid var(--brand);border-radius:0;padding-left:0}
.th-saaf .s-course .s-cv{background:var(--soft);color:var(--brand)}
.th-saaf .s-ic{background:var(--soft);color:var(--brand)}
.th-saaf .s-cta{background:var(--soft);color:var(--ink)}.th-saaf .s-cta .s-btn-a{background:var(--brand);color:#fff}
.th-saaf .s-sec.s-alt{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* ---------- THEME 0: शुरुआती (approved demo design — PRIMARY) ---------- */
.th-shuruati{--bg:#F2F4FB;--ink:#16194A;--muted:#5A5F88;--brand:#2B2F9E;--brand-2:#FFB627;--soft:#ECEEFF;--line:#E3E6F3;--radius:18px}
.th-shuruati .s-top{background:#16194A}
.th-shuruati .s-logo .s-mk{font-family:monospace;font-size:.95rem}
.th-shuruati .s-hero{background:linear-gradient(140deg,#2B2F9E,#5B3FD6 60%,#0BA5A0);color:#fff}
.th-shuruati .s-hero p.s-lead{color:rgba(255,255,255,.9)}
.th-shuruati .s-hero-art{background:rgba(255,255,255,.12)}.th-shuruati .s-hero-art .s-scr{background:#16194A}
.th-shuruati .s-stat,.th-shuruati .s-course,.th-shuruati .s-tp,.th-shuruati .s-q,.th-shuruati .s-cn{background:#fff;box-shadow:0 4px 18px rgba(43,47,158,.08)}
.th-shuruati .s-sec.s-alt{background:#fff}
.th-shuruati .s-course .s-cv{background:linear-gradient(135deg,#2B2F9E,#5B3FD6)}
.th-shuruati .s-ic{background:linear-gradient(135deg,#0B8F8A,#0BA5A0)}
.th-shuruati .s-why>div{background:#fff;border-radius:18px;box-shadow:0 4px 18px rgba(43,47,158,.08)}
.th-shuruati .s-cta{background:linear-gradient(135deg,#0B8F8A,#0BA5A0)}
.th-shuruati .s-foot{background:#16194A}
@media (prefers-reduced-motion:reduce){.frame{transition:none}}

/* Phase 25: cards that reuse .s-stat as a panel (course fee box, admission steps) */
.s-aside b{display:inline;font-size:inherit;line-height:inherit;color:inherit;font-family:inherit}
.s-aside .fs-2{font-family:var(--hfont)}
