/* =========================================================
   School / College demo — designed by Raymelz
   Palette: royal navy · sunflower · coral · sky · mint on paper
   ========================================================= */
:root {
  --navy: #13235b;
  --navy-2: #0b1640;
  --navy-3: #1d3278;
  --sun: #ffc83d;
  --sun-2: #ffb400;
  --coral: #ff6b57;
  --sky: #4fb3ff;
  --mint: #2bc48a;
  --paper: #fbfaf6;
  --cream: #fff6df;
  --white: #fff;
  --ink: #1b2340;
  --muted: #5f6782;
  --line: #e9e4d6;
  --shadow: 0 14px 36px rgba(19, 35, 91, .09);
  --shadow-lg: 0 28px 64px rgba(19, 35, 91, .18);
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Nunito", system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 16.5px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: "Lexend", sans-serif; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 22px; }
.hand { font-family: "Patrick Hand", cursive; }
section { padding: 100px 0; position: relative; }
.cream { background: var(--cream); }
.navy { background: var(--navy); color: #fff; }
.navy h2, .navy h3 { color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; border-radius: 14px; border: 2px solid transparent; font-weight: 800; font-size: 15.5px; transition: .25s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-sun { background: var(--sun); color: var(--navy); box-shadow: 0 5px 0 var(--sun-2); }
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--sun-2); }
.btn-sun:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--sun-2); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 5px 0 var(--navy-2); }
.btn-navy:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--navy-2); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-white-line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-white-line:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.link-arrow { color: var(--coral); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Raymelz notes ---------- */
.note { display: inline-flex; gap: 8px; align-items: flex-start; background: #fff4c4; color: #6a5300; border: 1.5px dashed #e0c454; border-radius: 12px; padding: 9px 14px; font-size: 13.5px; line-height: 1.45; font-weight: 600; max-width: 580px; text-align: left; }
.note b { white-space: nowrap; }
.note.center { margin: 18px auto 0; }
.navy .note, .page-hero .note { background: rgba(255,200,61,.12); color: #ffe08a; border-color: rgba(255,200,61,.5); }

/* ---------- Notice ticker + utility bar ---------- */
.topbar { background: var(--navy-2); color: #c9d2ee; font-size: 13.5px; position: relative; z-index: 61; }
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 42px; }
.tk-label { flex: 0 0 auto; background: var(--coral); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; display: flex; gap: 6px; align-items: center; }
.tk-label i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ticker { flex: 1; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { padding: 0 26px; white-space: nowrap; position: relative; }
.ticker-track a::after { content: "★"; position: absolute; right: -6px; color: var(--sun); font-size: 11px; top: 2px; }
.ticker-track a:hover { color: var(--sun); }
@keyframes tick { to { transform: translateX(-50%); } }
.util { display: flex; gap: 16px; flex: 0 0 auto; }
.util button, .util a { background: none; border: 0; color: #c9d2ee; font-size: 13.5px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.util button:hover, .util a:hover { color: var(--sun); }
.util svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(251,250,246,.92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: .3s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 26px rgba(19,35,91,.07); }
.header .wrap { display: flex; align-items: center; gap: 26px; height: 82px; transition: height .3s; }
.header.scrolled .wrap { height: 70px; }
.logo { display: flex; align-items: center; gap: 12px; }
.crest { width: 48px; height: 48px; flex: 0 0 48px; position: relative; }
.crest svg { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.logo:hover .crest svg { transform: rotate(-8deg) scale(1.06); }
.logo b { font-family: "Lexend"; font-weight: 700; font-size: 19px; color: var(--navy); display: block; line-height: 1.1; }
.logo small { font-size: 11.5px; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.nav { display: flex; gap: 2px; margin-left: auto; list-style: none; }
.nav a { display: block; padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--ink); position: relative; transition: .2s; }
.nav a:hover { background: var(--cream); }
.nav a.active { color: var(--navy); }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6' preserveAspectRatio='none'%3E%3Cpath d='M1 4c10-3 20-3 29-1s19 2 29-1' stroke='%23ffc83d' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--cream); margin-left: auto; place-items: center; }
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Doodles ---------- */
.doodle { position: absolute; pointer-events: none; z-index: 0; }
.doodle.spin { animation: spin 18s linear infinite; }
.doodle.bob { animation: bob 5s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-14px) rotate(8deg); } }
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .42em; overflow: visible; }
.scribble path { fill: none; stroke: var(--sun); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: drawLine 1.1s .8s var(--ease) forwards; animation-play-state: paused; }
.scribble.coral path { stroke: var(--coral); }
.in .scribble path, .scribble.now path { animation-play-state: running; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 110px; overflow: hidden; background: radial-gradient(700px 400px at 90% 10%, #e6f3ff 0%, transparent 60%), radial-gradient(600px 400px at 0% 100%, #fff1cc 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.badge-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); padding: 7px 16px 7px 8px; border-radius: 40px; font-weight: 800; font-size: 14px; color: var(--navy); box-shadow: var(--shadow); margin-bottom: 22px; }
.badge-pill span { background: var(--mint); color: #fff; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 700; margin-bottom: 22px; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(30px) rotate(3deg); animation: wordIn .8s var(--ease) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero .lead { font-size: 18.5px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero .cta-row { margin-bottom: 30px; }
.fade-up { opacity: 0; animation: fadeUp .8s var(--ease) forwards; }
.d1 { animation-delay: .6s; } .d2 { animation-delay: .8s; } .d3 { animation-delay: 1s; } .d4 { animation-delay: 1.2s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.hero-trust div { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); font-weight: 700; }
.hero-trust .ht-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.hero-trust .ht-ico svg { width: 20px; height: 20px; }
.hero-trust b { color: var(--navy); display: block; font-size: 15px; }

.collage { position: relative; height: 560px; }
.polaroid { position: absolute; background: #fff; padding: 10px 10px 40px; border-radius: 6px; box-shadow: var(--shadow-lg); opacity: 0; animation: dropIn 1s var(--ease) forwards; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.polaroid span { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: "Patrick Hand"; font-size: 19px; color: var(--navy); }
.polaroid.p1 { width: 62%; height: 72%; left: 14%; top: 4%; --r: -3deg; animation-delay: .3s; z-index: 2; }
.polaroid.p2 { width: 42%; height: 44%; right: 0; top: 0; --r: 6deg; animation-delay: .55s; z-index: 1; }
.polaroid.p3 { width: 44%; height: 44%; left: 0; bottom: 0; --r: -7deg; animation-delay: .8s; z-index: 3; }
.polaroid:hover { z-index: 5; transform: rotate(0) scale(1.03) !important; transition: transform .4s var(--ease); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-60px) rotate(calc(var(--r) * -2)); } to { opacity: 1; transform: rotate(var(--r)); } }
.tape { position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; margin-left: -45px; background: rgba(255,200,61,.7); transform: rotate(-4deg); border-radius: 3px; }
.stat-pop { position: absolute; z-index: 6; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; opacity: 0; animation: popIn .7s var(--ease) forwards, bob 6s ease-in-out infinite; }
.stat-pop .sp-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.stat-pop .sp-ico svg { width: 22px; height: 22px; }
.stat-pop b { display: block; font-family: "Lexend"; font-size: 20px; color: var(--navy); line-height: 1.1; }
.stat-pop span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.stat-pop.s1 { right: 2%; bottom: 14%; animation-delay: 1.1s, 1.8s; }
.stat-pop.s2 { left: 34%; top: -4%; animation-delay: 1.3s, 2.2s; }
@keyframes popIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.plane { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.plane svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Admission strip with countdown ---------- */
.adm-strip { margin-top: -50px; position: relative; z-index: 4; }
.adm-box { background: var(--navy); color: #fff; border-radius: 24px; padding: 28px 34px; display: grid; grid-template-columns: auto 1fr auto auto; gap: 28px; align-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.adm-box::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255,200,61,.12); right: -80px; top: -110px; }
.adm-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--sun); color: var(--navy); display: grid; place-items: center; animation: wiggle 3s ease-in-out infinite; }
.adm-ico svg { width: 32px; height: 32px; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-6deg); } }
.adm-box h3 { color: #fff; font-size: 22px; margin-bottom: 3px; }
.adm-box p { color: #b9c3e3; font-size: 15px; }
.countdown { display: flex; gap: 8px; }
.countdown div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; min-width: 64px; padding: 8px 6px; text-align: center; }
.countdown b { display: block; font-family: "Lexend"; font-size: 24px; color: var(--sun); line-height: 1.1; }
.countdown span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: #b9c3e3; font-weight: 700; }

/* ---------- Section head ---------- */
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 56px; position: relative; }
.sec-head.left { text-align: left; margin-left: 0; margin-bottom: 26px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: "Patrick Hand"; font-size: 22px; color: var(--coral); margin-bottom: 6px; }
.kicker svg { width: 22px; height: 22px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 17.5px; }
.navy .sec-head p { color: #b9c3e3; }
.navy .kicker { color: var(--sun); }

/* ---------- Why / feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: .35s var(--ease); position: relative; overflow: hidden; }
.feat:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow-lg); border-color: transparent; }
.feat .fi { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; transition: .4s var(--ease); }
.feat:hover .fi { transform: rotate(-12deg) scale(1.1); }
.feat .fi svg { width: 28px; height: 28px; }
.feat h3 { font-size: 20px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; }
.c-sun { background: #fff1c7; color: #b07d00; }
.c-coral { background: #ffe4df; color: var(--coral); }
.c-sky { background: #e2f2ff; color: #1d86d6; }
.c-mint { background: #dcf6ec; color: #16996a; }
.c-navy { background: #e4e8f7; color: var(--navy); }

/* ---------- Programs (flip cards) ---------- */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flip { perspective: 1200px; height: 400px; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform .8s var(--ease); transform-style: preserve-3d; }
.flip:hover .flip-inner, .flip:focus-within .flip-inner, .flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-front img { width: 100%; height: 100%; object-fit: cover; }
.flip-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,22,64,.88)); }
.flip-front .ff { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; color: #fff; }
.flip-front .grade { display: inline-block; background: var(--sun); color: var(--navy); font-weight: 800; font-size: 12.5px; padding: 4px 11px; border-radius: 20px; margin-bottom: 8px; }
.flip-front h3 { color: #fff; font-size: 24px; }
.flip-front .hint { font-size: 13px; opacity: .75; margin-top: 4px; display: flex; gap: 6px; align-items: center; }
.flip-back { transform: rotateY(180deg); padding: 28px 24px; display: flex; flex-direction: column; color: #fff; }
.flip-back h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.flip-back p { font-size: 14.5px; opacity: .9; margin-bottom: 14px; }
.flip-back ul { list-style: none; display: grid; gap: 8px; margin-bottom: auto; font-size: 14.5px; }
.flip-back li::before { content: "✓"; font-weight: 900; margin-right: 8px; color: var(--sun); }
.flip-back .btn { margin-top: 18px; }
.bg-coral { background: linear-gradient(160deg, #ff7e6b, #e5533f); }
.bg-sky { background: linear-gradient(160deg, #4fb3ff, #2a7fd6); }
.bg-mint { background: linear-gradient(160deg, #2bc48a, #179467); }
.bg-navy { background: linear-gradient(160deg, #2a3f8f, #13235b); }

/* ---------- Stats band ---------- */
.stats-band { padding: 80px 0; overflow: hidden; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.stat { text-align: center; padding: 10px; }
.stat .ring { width: 130px; height: 130px; margin: 0 auto 14px; position: relative; }
.stat .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.stat .ring circle { fill: none; stroke-width: 9; }
.stat .ring .bg { stroke: rgba(255,255,255,.1); }
.stat .ring .fg { stroke: var(--sun); stroke-linecap: round; stroke-dasharray: 339; stroke-dashoffset: 339; transition: stroke-dashoffset 1.8s var(--ease); }
.stat.in .ring .fg { stroke-dashoffset: var(--off, 0); }
.stat .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Lexend"; font-size: 28px; color: #fff; }
.stat span { color: #c9d2ee; font-weight: 700; }

/* ---------- Notice board ---------- */
.board-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.board { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.board-tabs { display: flex; border-bottom: 1.5px solid var(--line); }
.board-tabs button { flex: 1; padding: 16px; background: none; border: 0; font-weight: 800; font-size: 15px; color: var(--muted); position: relative; transition: .2s; }
.board-tabs button.on { color: var(--navy); }
.board-tabs button.on::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -1.5px; height: 3px; border-radius: 3px; background: var(--coral); }
.board-body { height: 380px; overflow: hidden; position: relative; }
.board-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.board-list { display: none; }
.board-list.on { display: block; animation: scrollUp 26s linear infinite; }
.board-body:hover .board-list { animation-play-state: paused; }
@keyframes scrollUp { to { transform: translateY(-50%); } }
.notice { display: flex; gap: 16px; padding: 16px 24px; border-bottom: 1px dashed var(--line); align-items: center; transition: background .2s; }
.notice:hover { background: var(--cream); }
.n-date { flex: 0 0 56px; height: 60px; border-radius: 12px; background: var(--navy); color: #fff; text-align: center; display: flex; flex-direction: column; justify-content: center; line-height: 1.1; }
.n-date b { font-family: "Lexend"; font-size: 21px; }
.n-date span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--sun); font-weight: 800; }
.notice h4 { font-size: 15.5px; font-family: "Nunito"; font-weight: 800; color: var(--ink); letter-spacing: 0; }
.notice p { font-size: 13.5px; color: var(--muted); }
.new { display: inline-block; background: var(--coral); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; animation: blink 1.4s infinite; }
.event-card { display: flex; gap: 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 14px; margin-bottom: 16px; transition: .3s var(--ease); align-items: center; }
.event-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.event-card img { width: 110px; height: 90px; border-radius: 14px; object-fit: cover; flex: 0 0 110px; }
.event-card .tag { font-size: 12px; font-weight: 800; color: var(--coral); }
.event-card h4 { font-size: 17px; margin: 2px 0 4px; }
.event-card p { font-size: 13.5px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Toppers ---------- */
.toppers { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 24px; scrollbar-width: none; }
.toppers::-webkit-scrollbar { display: none; }
.topper { flex: 0 0 250px; scroll-snap-align: start; background: #fff; border-radius: 22px; padding: 26px 22px; text-align: center; border: 1.5px solid var(--line); transition: .35s var(--ease); position: relative; }
.topper:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.topper .medal { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--navy); display: grid; place-items: center; font-weight: 900; font-size: 13px; box-shadow: 0 4px 0 var(--sun-2); }
.topper .ph { width: 110px; height: 110px; margin: 0 auto 14px; border-radius: 50%; padding: 5px; background: conic-gradient(var(--coral), var(--sun), var(--mint), var(--sky), var(--coral)); animation: spin 8s linear infinite; }
.topper .ph img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; animation: spin 8s linear infinite reverse; }
.topper h4 { font-size: 18px; }
.topper .cls { font-size: 13.5px; color: var(--muted); font-weight: 700; }
.topper .pct { font-family: "Lexend"; font-weight: 700; font-size: 34px; color: var(--coral); line-height: 1.2; margin-top: 6px; }
.topper .sub { font-size: 12.5px; color: var(--muted); }
.carousel-nav { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.carousel-nav button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; display: grid; place-items: center; transition: .2s; }
.carousel-nav button:hover { background: var(--navy); color: #fff; }
.carousel-nav svg { width: 18px; height: 18px; }

/* ---------- Facilities ---------- */
.facilities { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 18px; }
.fac { position: relative; border-radius: 22px; overflow: hidden; }
.fac.big { grid-row: span 2; }
.fac img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fac::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(11,22,64,.85)); transition: .4s; }
.fac:hover img { transform: scale(1.08); }
.fac-body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: #fff; display: flex; gap: 14px; align-items: flex-end; }
.fac-body .fi { width: 46px; height: 46px; border-radius: 14px; background: var(--sun); color: var(--navy); display: grid; place-items: center; flex: 0 0 46px; transition: .4s var(--ease); }
.fac:hover .fi { transform: rotate(-10deg); }
.fac-body .fi svg { width: 22px; height: 22px; }
.fac-body h3 { color: #fff; font-size: 20px; }
.fac-body p { font-size: 14px; opacity: .85; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.fac:hover .fac-body p { max-height: 60px; }

/* ---------- Principal / split ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.split.rev { grid-template-columns: 1.1fr .9fr; }
.portrait { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.portrait img { border-radius: 200px 200px 24px 24px; aspect-ratio: 4/4.8; object-fit: cover; width: 100%; position: relative; z-index: 1; }
.portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 200px 200px 24px 24px; border: 3px dashed var(--coral); }
.portrait .sig { position: absolute; z-index: 2; left: -24px; bottom: 30px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); }
.portrait .sig b { display: block; font-family: "Patrick Hand"; font-size: 24px; color: var(--navy); line-height: 1; }
.portrait .sig span { font-size: 13px; color: var(--muted); font-weight: 700; }
.quote { font-family: "Lexend"; font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; color: var(--navy); line-height: 1.35; margin-bottom: 20px; position: relative; }
.quote::before { content: "“"; position: absolute; left: -10px; top: -46px; font-size: 110px; color: var(--sun); line-height: 1; font-family: Georgia, serif; }
.split p { color: var(--muted); margin-bottom: 16px; font-size: 17px; }

/* ---------- Testimonials ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: #fff; border-radius: 22px; padding: 30px; border: 1.5px solid var(--line); position: relative; transition: .35s var(--ease); }
.testi:nth-child(2) { transform: rotate(1deg); }
.testi:nth-child(3) { transform: rotate(-1deg); }
.testi:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--shadow-lg); }
.testi .pin { position: absolute; top: -10px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--coral); box-shadow: inset -3px -3px 0 rgba(0,0,0,.15); }
.testi .stars { color: var(--sun-2); letter-spacing: 2px; margin-bottom: 10px; }
.testi p { color: var(--ink); margin-bottom: 20px; }
.who { display: flex; gap: 12px; align-items: center; }
.who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.who b { display: block; font-size: 15px; color: var(--navy); }
.who span { font-size: 13px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 100px; }
.cta-box { background: var(--sun); border-radius: 30px; padding: 60px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-box h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 10px; }
.cta-box p { color: #5a4300; font-size: 17px; font-weight: 600; }
.cta-box .cta-row { justify-content: flex-end; position: relative; z-index: 1; }
.cta-box .doodle { opacity: .35; }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 80px 0 90px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--paper); clip-path: polygon(0 100%, 100% 100%, 100% 0, 75% 70%, 50% 20%, 25% 70%, 0 0); }
.page-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.crumbs { font-size: 14px; color: #b9c3e3; margin-bottom: 14px; font-weight: 700; }
.crumbs a:hover { color: var(--sun); }
.page-hero h1 { color: #fff; font-size: clamp(36px, 4.8vw, 58px); margin-bottom: 16px; }
.page-hero p { color: #c9d2ee; font-size: 18px; max-width: 620px; margin-bottom: 18px; }
.page-hero .hero-pic { border-radius: 24px; overflow: hidden; transform: rotate(3deg); box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 8px solid #fff; animation: dropIn 1s .2s var(--ease) both; --r: 3deg; aspect-ratio: 4/3; }
.page-hero .hero-pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tabs (generic) ---------- */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.tabs button { padding: 11px 20px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-weight: 800; font-size: 15px; color: var(--muted); transition: .25s; }
.tabs button:hover { border-color: var(--navy); color: var(--navy); }
.tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 4px 0 var(--navy-2); }
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: fadeUp .5s var(--ease); }

/* ---------- Academics ---------- */
.level { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 26px; padding: 40px; }
.level img { border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.level h3 { font-size: 30px; margin-bottom: 10px; }
.level p { color: var(--muted); margin-bottom: 18px; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 24px; }
.checks li { padding-left: 30px; position: relative; font-weight: 700; font-size: 15px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; background: var(--mint); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--cream); border: 1.5px solid #f3e2b0; padding: 5px 12px; border-radius: 20px; font-size: 13.5px; font-weight: 700; color: #7a5a00; }
.streams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stream { border-radius: 22px; padding: 30px; color: #fff; position: relative; overflow: hidden; transition: .35s var(--ease); }
.stream:hover { transform: translateY(-8px); }
.stream::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 30px solid rgba(255,255,255,.1); right: -60px; bottom: -60px; }
.stream h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.stream p { opacity: .9; font-size: 15px; margin-bottom: 14px; }
.stream .chips span { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.25); color: #fff; }
.timetable { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 20px; overflow: hidden; border: 1.5px solid var(--line); font-size: 14.5px; }
.timetable th, .timetable td { padding: 13px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.timetable th { background: var(--navy); color: #fff; font-family: "Lexend"; font-weight: 500; }
.timetable td:first-child { font-weight: 800; color: var(--navy); background: var(--cream); }
.timetable tr:last-child td { border-bottom: 0; }
.timetable .brk td { background: #fff7e0; color: #9a7400; font-weight: 800; letter-spacing: .1em; }
.sub-pill { display: inline-block; padding: 4px 10px; border-radius: 8px; font-weight: 700; font-size: 13px; }
.table-wrap { overflow-x: auto; border-radius: 20px; }

/* ---------- Admissions ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 4px; background: var(--line); border-radius: 4px; }
.process .fill { position: absolute; top: 34px; left: 10%; height: 4px; width: 0; background: linear-gradient(90deg, var(--coral), var(--sun)); border-radius: 4px; transition: width 2.2s var(--ease); }
.process.in .fill { width: 80%; }
.p-step { text-align: center; position: relative; z-index: 1; }
.p-step .num { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 4px solid var(--sun); display: grid; place-items: center; font-family: "Lexend"; font-weight: 700; font-size: 24px; color: var(--navy); box-shadow: var(--shadow); transition: .4s var(--ease); }
.p-step:hover .num { background: var(--sun); transform: scale(1.1) rotate(-8deg); }
.p-step h4 { font-size: 17px; margin-bottom: 6px; }
.p-step p { font-size: 14px; color: var(--muted); }
.fee-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 20px; overflow: hidden; font-size: 15px; }
.fee-table th { background: var(--navy); color: #fff; padding: 15px; font-family: "Lexend"; font-weight: 500; text-align: left; }
.fee-table td { padding: 14px 15px; border-bottom: 1px solid var(--line); }
.fee-table tr:hover td { background: var(--cream); }
.fee-table td:last-child, .fee-table th:last-child { text-align: right; font-weight: 800; }
.fee-table tfoot td { background: var(--sun); font-weight: 900; color: var(--navy); font-size: 16px; }
.docs { list-style: none; display: grid; gap: 12px; }
.docs li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; font-weight: 700; cursor: pointer; transition: .2s; user-select: none; }
.docs li:hover { border-color: var(--mint); }
.docs li i { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line); flex: 0 0 24px; display: grid; place-items: center; transition: .25s; font-style: normal; color: #fff; font-size: 13px; font-weight: 900; }
.docs li.ok { background: #effbf6; border-color: var(--mint); }
.docs li.ok i { background: var(--mint); border-color: var(--mint); }
.docs-progress { height: 8px; background: var(--line); border-radius: 8px; overflow: hidden; margin: 6px 0 16px; }
.docs-progress i { display: block; height: 100%; width: 0; background: var(--mint); border-radius: 8px; transition: width .4s var(--ease); }

/* Application form (multi-step) */
.apply-card { background: #fff; border-radius: 28px; border: 1.5px solid var(--line); box-shadow: var(--shadow-lg); padding: 40px; }
.apply-steps { display: flex; gap: 10px; margin-bottom: 28px; }
.apply-steps div { flex: 1; }
.apply-steps i { display: block; height: 6px; border-radius: 6px; background: var(--line); margin-bottom: 8px; overflow: hidden; position: relative; }
.apply-steps i::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--coral); transition: width .5s var(--ease); }
.apply-steps .on i::after, .apply-steps .done i::after { width: 100%; }
.apply-steps span { font-size: 13px; font-weight: 800; color: var(--muted); }
.apply-steps .on span { color: var(--navy); }
.a-step { display: none; }
.a-step.on { display: block; animation: fadeUp .45s var(--ease); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 800; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 13px 15px; border-radius: 12px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); outline: none; transition: .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px #e2f2ff; }
.field textarea { min-height: 100px; resize: vertical; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.review-box { background: var(--cream); border-radius: 16px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 15px; }
.review-box span { color: var(--muted); font-size: 13px; display: block; font-weight: 700; }
.review-box b { color: var(--navy); }
.form-ok { display: none; text-align: center; padding: 30px 10px; }
.form-ok.show { display: block; animation: fadeUp .5s var(--ease); }
.form-ok .ok { width: 90px; height: 90px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; animation: popIn .5s var(--ease); }
.form-ok .ok svg { width: 44px; height: 44px; }
.form-ok h3 { font-size: 28px; margin-bottom: 8px; }
.form-ok p { color: var(--muted); max-width: 440px; margin: 0 auto; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: var(--sun); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-weight: 800; font-size: 16px; color: var(--navy); }
.faq-q i { flex: 0 0 30px; height: 30px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; font-style: normal; font-size: 18px; transition: .35s var(--ease); }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--sun); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Gallery ---------- */
.g-filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.g-filters button { padding: 9px 18px; border-radius: 30px; border: 2px solid var(--line); background: #fff; font-weight: 800; font-size: 14.5px; color: var(--muted); transition: .2s; }
.g-filters button.on, .g-filters button:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.gallery { columns: 3; column-gap: 16px; }
.g-item { break-inside: avoid; margin-bottom: 16px; border-radius: 18px; overflow: hidden; position: relative; cursor: zoom-in; }
.g-item img { width: 100%; transition: transform .7s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item span { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--navy); font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 20px; transform: translateY(50px); transition: .35s var(--ease); }
.g-item:hover span { transform: none; }
.g-item.hide { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(11,22,64,.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 14px; animation: popIn .4s var(--ease); border: 8px solid #fff; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--sun); color: var(--navy); display: grid; place-items: center; }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Faculty ---------- */
.faculty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fac-card { background: #fff; border-radius: 22px; overflow: hidden; border: 1.5px solid var(--line); text-align: center; transition: .35s var(--ease); }
.fac-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.fac-card .fp { aspect-ratio: 1; overflow: hidden; position: relative; }
.fac-card .fp img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.fac-card:hover .fp img { transform: scale(1.07); }
.fac-card .fb { padding: 18px; }
.fac-card h4 { font-size: 18px; }
.fac-card .role { color: var(--coral); font-weight: 800; font-size: 14px; }
.fac-card .q { font-size: 13px; color: var(--muted); display: block; }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: repeating-linear-gradient(var(--line) 0 10px, transparent 10px 18px); }
.tl { width: 50%; padding: 0 40px 40px; position: relative; }
.tl:nth-child(odd) { text-align: right; }
.tl:nth-child(even) { margin-left: 50%; }
.tl::before { content: ""; position: absolute; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--sun); }
.tl:nth-child(odd)::before { right: -10px; }
.tl:nth-child(even)::before { left: -10px; }
.tl .yr { font-family: "Lexend"; font-weight: 700; color: var(--coral); font-size: 22px; }
.tl h4 { font-size: 19px; margin: 2px 0 6px; }
.tl p { color: var(--muted); font-size: 15px; }
.affil { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.affil div { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 22px; display: flex; gap: 12px; align-items: center; font-weight: 800; color: var(--navy); transition: .3s; }
.affil div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.affil svg { width: 30px; height: 30px; color: var(--coral); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.c-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 20px; transition: .3s; }
.c-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.c-card .ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 48px; }
.c-card .ci svg { width: 22px; height: 22px; }
.c-card b { display: block; color: var(--navy); font-size: 16px; }
.c-card span, .c-card a { color: var(--muted); font-size: 15px; display: block; }
.map { border-radius: 24px; overflow: hidden; height: 380px; border: 1.5px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Modals: portal + results ---------- */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(11,22,64,.6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.show { display: flex; }
.modal-box { background: #fff; border-radius: 26px; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; padding: 34px; position: relative; animation: modalIn .4s var(--ease); }
.modal-box.wide { max-width: 860px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--cream); display: grid; place-items: center; }
.modal-close svg { width: 18px; height: 18px; }
.modal h3 { font-size: 24px; margin-bottom: 4px; }
.modal .sub { color: var(--muted); margin-bottom: 22px; font-size: 15px; }
.demo-creds { background: var(--cream); border: 1.5px dashed #e8cf80; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 18px; font-weight: 700; color: #7a5a00; }
.loader { width: 46px; height: 46px; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--coral); animation: spin .8s linear infinite; margin: 30px auto; }
.dash-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; padding-right: 40px; }
.dash-head img { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; }
.dash-head h3 { margin: 0; }
.dash-head span { color: var(--muted); font-size: 14px; font-weight: 700; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.dash-card { border-radius: 18px; padding: 18px; border: 1.5px solid var(--line); }
.dash-card small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.dash-card b { font-family: "Lexend"; font-size: 26px; color: var(--navy); }
.dash-card .mini-ring { width: 64px; height: 64px; float: right; }
.dash-card .mini-ring circle { fill: none; stroke-width: 7; }
.dash-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dash-list { list-style: none; display: grid; gap: 10px; }
.dash-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.dash-list li:last-child { border: 0; padding: 0; }
.dash-list .tag { font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 8px; white-space: nowrap; height: fit-content; }
.result-card { border: 2px solid var(--line); border-radius: 20px; overflow: hidden; }
.rc-head { background: var(--navy); color: #fff; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.rc-head b { display: block; font-family: "Lexend"; font-size: 19px; }
.rc-head span { color: #b9c3e3; font-size: 13.5px; }
.rc-grade { background: var(--sun); color: var(--navy); font-family: "Lexend"; font-weight: 700; font-size: 26px; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; }
.rc-body { padding: 20px 22px; display: grid; gap: 12px; }
.subj { display: grid; grid-template-columns: 130px 1fr 50px; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 700; }
.subj .bar { height: 10px; background: var(--line); border-radius: 10px; overflow: hidden; }
.subj .bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--sky), var(--mint)); transition: width 1.2s var(--ease); }
.subj b { text-align: right; color: var(--navy); }
.rc-foot { background: var(--cream); padding: 14px 22px; display: flex; justify-content: space-between; font-weight: 800; color: var(--navy); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); color: #b9c3e3; padding: 80px 0 0; font-size: 15px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--coral) 0 25%, var(--sun) 25% 50%, var(--mint) 50% 75%, var(--sky) 75%); }
.footer .logo b { color: #fff; }
.footer .logo small { color: #8d98bf; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.f-grid p { margin: 16px 0 20px; max-width: 300px; }
.f-grid h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.f-grid ul { list-style: none; display: grid; gap: 9px; }
.f-grid a:hover { color: var(--sun); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: .25s; }
.socials a:hover { background: var(--sun); color: var(--navy); transform: translateY(-3px) rotate(-6deg); }
.socials svg { width: 18px; height: 18px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.f-bottom a { color: var(--sun); font-weight: 800; }

/* ---------- Floating ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.45); transition: .25s; }
.wa:hover { transform: scale(1.08) rotate(-8deg); }
.wa svg { width: 28px; height: 28px; }
.ribbon { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 95; background: #111; color: #fff; border-radius: 40px; padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 14px; font-size: 13.5px; box-shadow: 0 14px 40px rgba(0,0,0,.3); max-width: calc(100% - 120px); }
.ribbon b { color: #ffd55a; }
.ribbon a.r-go { background: #ffd55a; color: #111; font-weight: 800; padding: 7px 14px; border-radius: 30px; white-space: nowrap; }
.ribbon button { background: none; border: 0; color: #999; width: 26px; height: 26px; display: grid; place-items: center; }
.ribbon button:hover { color: #fff; }
.ribbon.hide { display: none; }
.toast { position: fixed; left: 50%; top: 100px; z-index: 300; transform: translate(-50%, -20px); opacity: 0; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-lg); transition: .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.pop { transform: scale(.9) rotate(-2deg); }
.reveal.in { opacity: 1; transform: none; }
.testi.reveal.in:nth-child(2) { transform: rotate(1deg); }
.testi.reveal.in:nth-child(3) { transform: rotate(-1deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .features, .programs, .faculty { grid-template-columns: repeat(2, 1fr); }
  .adm-box { grid-template-columns: auto 1fr; }
  .adm-box .countdown, .adm-box .btn { grid-column: 1 / -1; }
  .adm-box .btn { justify-self: start; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .process::before, .process .fill { display: none; }
}
@media (max-width: 960px) {
  .util { display: none; }
  .menu-toggle { display: grid; }
  .header .btn-sun { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 20px 22px; border-bottom: 1.5px solid var(--line); box-shadow: var(--shadow-lg); clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease); }
  .nav.open { clip-path: inset(0 0 0 0); }
  .nav a { padding: 13px 10px; font-size: 17px; }
  .nav .m-cta { display: block; margin-top: 8px; }
  .hero-grid, .board-grid, .split, .split.rev, .level, .contact-grid, .cta-box, .page-hero .wrap { grid-template-columns: 1fr; }
  .collage { height: 460px; max-width: 520px; margin: 20px auto 0; width: 100%; }
  .page-hero .hero-pic { max-width: 440px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .facilities { grid-template-columns: 1fr 1fr; }
  .testis, .streams { grid-template-columns: 1fr 1fr; }
  .cta-box .cta-row { justify-content: flex-start; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 961px) { .nav .m-cta { display: none; } }
@media (max-width: 640px) {
  section { padding: 70px 0; }
  .wrap { padding: 0 16px; }
  .topbar .wrap { gap: 10px; }
  .hero { padding: 40px 0 90px; }
  .collage { height: 360px; }
  .stat-pop { padding: 8px 12px; }
  .stat-pop b { font-size: 16px; }
  .stat-pop .sp-ico { width: 34px; height: 34px; }
  .adm-box { padding: 24px 20px; grid-template-columns: 1fr; }
  .countdown div { min-width: 0; flex: 1; }
  .features, .programs, .faculty, .testis, .streams, .facilities, .form-grid, .checks, .dash-grid, .dash-two, .review-box { grid-template-columns: 1fr; }
  .fac.big { grid-row: span 1; }
  .gallery { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .process { grid-template-columns: 1fr 1fr; }
  .level { padding: 22px; }
  .timeline::before { left: 10px; }
  .tl, .tl:nth-child(even) { width: 100%; margin-left: 0; text-align: left !important; padding: 0 0 30px 40px; }
  .tl::before, .tl:nth-child(odd)::before { left: 0; right: auto; }
  .apply-card, .modal-box { padding: 24px 18px; }
  .subj { grid-template-columns: 90px 1fr 40px; font-size: 13px; }
  .cta-box { padding: 40px 24px; }
  .f-grid { grid-template-columns: 1fr; }
  .ribbon { left: 16px; right: 86px; transform: none; max-width: none; font-size: 12px; padding-left: 14px; }
  .ribbon .r-text span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
