/* Divine College of Pharmacy - site theme. Mobile-first, blue, professional.
   Built on Bootstrap 5 grid/utilities; everything visual comes from the tokens below. */
:root {
  --p: #1D4ED8;          /* royal blue: primary actions, links */
  --p-600: #1E40AF;      /* hover */
  --p-900: #0B1E4F;      /* deep navy: footer, headings on light */
  --p-50: #EFF5FF;       /* soft blue surface */
  --p-100: #DBE8FE;
  --sky: #0EA5E9;        /* secondary accent */
  --gold: #F5B300;       /* sparing highlight (badges, ratings) */
  --ink: #0F172A; --ink-2: #334155; --muted: #64748B; --line: #E2E8F0; --bg: #F7F9FC; --card: #fff;
  --ok: #047857; --ok-bg: #ECFDF5; --err: #B91C1C; --err-bg: #FEF2F2;
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --pill: 999px;
  --sh-1: 0 1px 2px rgba(15,23,42,.06), 0 2px 8px rgba(15,23,42,.04);
  --sh-2: 0 10px 30px -12px rgba(15,23,42,.18);
  --sh-blue: 0 12px 28px -10px rgba(29,78,216,.45);
  --hdr: 64px;
  --ff-h: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ff: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15.5px/1.65 var(--ff); color: var(--ink-2); background: #fff; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ff-h); color: var(--ink); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
a { color: var(--p); text-decoration: none; }
a:hover { color: var(--p-600); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--p) 45%, transparent); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn-x { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1.5px solid transparent;
  border-radius: var(--r-sm); font: 700 14.5px/1 var(--ff); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, box-shadow .2s, transform .12s; text-decoration: none; }
.btn-x:active { transform: translateY(1px); }
.btn-primary-x { background: var(--p); color: #fff; box-shadow: var(--sh-blue); }
.btn-primary-x:hover { background: var(--p-600); color: #fff; }
.btn-ghost { background: #fff; color: var(--p); border-color: var(--p-100); }
.btn-ghost:hover { border-color: var(--p); color: var(--p); background: var(--p-50); }
.btn-light-x { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-light-x:hover { background: #fff; color: var(--p-900); }
.btn-gold { background: var(--gold); color: #1F1600; }
.btn-gold:hover { background: #FFC21A; color: #1F1600; }
.btn-sm-x { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.link-arrow { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "\2192"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Top bar (desktop only) ---------- */
.topbar { display: none; background: var(--p-900); color: #C7D5F5; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #DCE6FB; } .topbar a:hover { color: #fff; }
.topbar .tb-l, .topbar .tb-r { display: flex; align-items: center; gap: 18px; }
.topbar i { margin-right: 6px; color: #7FA6F5; }
.topbar .soc a { width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 50%; }
.topbar .soc a i { margin: 0; color: inherit; }
.topbar .soc a:hover { background: rgba(255,255,255,.1); }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 12px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); }
.brand img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.brand b { display: block; font: 800 15px/1.15 var(--ff-h); color: var(--p-900); letter-spacing: .01em; white-space: nowrap; }
.brand small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr-actions .btn-x { display: none; }
.burger { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.mainnav { display: none; }
@media (min-width: 1100px) {
  .hdr .brand { flex: none; }
  .mainnav > .mi > a { white-space: nowrap; }
}
@media (min-width: 1100px) and (max-width: 1399px) {
  .brand small { display: none; }
  .mainnav { margin-left: 8px !important; }
  .mainnav > .mi > a { padding: 0 9px !important; font-size: 14px !important; }
  .mainnav > .mi:first-child, .hdr-actions .btn-ghost { display: none !important; }
}

/* Desktop mega menu */
@media (min-width: 1100px) {
  :root { --hdr: 76px; }
  .topbar { display: block; }
  .brand img { width: 52px; height: 52px; }
  .brand b { font-size: 17px; } .brand small { font-size: 11.5px; max-width: 330px; }
  .burger { display: none; }
  .hdr-actions .btn-x { display: inline-flex; }
  .mainnav { display: flex; align-items: stretch; height: 100%; margin-left: 18px; }
  .mainnav > .mi { position: static; display: flex; }
  .mainnav > .mi > a { display: flex; align-items: center; gap: 6px; padding: 0 14px; font: 600 14.5px var(--ff); color: var(--ink); position: relative; }
  .mainnav > .mi > a .fa-chevron-down { font-size: 10px; color: var(--muted); transition: transform .2s; }
  .mainnav > .mi > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--p); transform: scaleX(0); transition: transform .2s; }
  .mainnav > .mi:hover > a, .mainnav > .mi.is-on > a { color: var(--p); }
  .mainnav > .mi:hover > a::after, .mainnav > .mi.is-on > a::after { transform: scaleX(1); }
  .mainnav > .mi:hover > a .fa-chevron-down { transform: rotate(180deg); }
  .mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(15,23,42,.25);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
  .mainnav > .mi:hover > .mega, .mainnav > .mi:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
  .mega .wrap { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; padding: 26px 16px 30px; height: auto; align-items: start; }
  .mega-intro { background: linear-gradient(135deg, var(--p-900), var(--p)); color: #DCE6FB; border-radius: var(--r); padding: 22px; }
  .mega-intro h4 { color: #fff; font-size: 20px; margin-bottom: 6px; }
  .mega-intro p { font-size: 14px; margin: 0 0 14px; }
  .mega h5 { font: 700 12px var(--ff); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 4px 0 10px; }
  .mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .mega li a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-sm); color: var(--ink); font-weight: 500; }
  .mega li a i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--p-50); color: var(--p); font-size: 14px; }
  .mega li a:hover { background: var(--p-50); color: var(--p); }
  .mainnav .mi-plain > a::after { display: none; }
}

/* ---------- Mobile drawer ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(11,30,79,.45); opacity: 0; visibility: hidden; transition: .25s; z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: #fff; z-index: 90; transform: translateX(100%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; visibility: hidden; }
body.nav-open .drawer { transform: none; visibility: visible; box-shadow: -20px 0 40px rgba(15,23,42,.2); } body.nav-open .drawer-bg { opacity: 1; visibility: visible; } body.nav-open { overflow: hidden; }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-bd { overflow-y: auto; overscroll-behavior: contain; padding: 8px 8px 24px; flex: 1; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 10px; font: 700 15.5px var(--ff-h); color: var(--ink); cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary i { color: var(--muted); transition: transform .2s; font-size: 12px; }
.drawer details[open] summary i { transform: rotate(180deg); }
.drawer details[open] summary { color: var(--p); }
.drawer .dg { padding: 0 6px 12px; }
.drawer .dg h6 { font: 700 11px var(--ff); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 8px 6px 4px; }
.drawer .dg a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 500; }
.drawer .dg a i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--p-50); color: var(--p); font-size: 13px; flex: none; }
.drawer .dg a:active, .drawer .dg a:hover { background: var(--p-50); }
.drawer .d-plain { display: block; padding: 14px 10px; font: 700 15.5px var(--ff-h); color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer-ft { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Notice ticker ---------- */
.ticker { background: var(--p-50); border-bottom: 1px solid var(--p-100); font-size: 14px; }
.ticker .wrap { display: flex; align-items: center; gap: 12px; min-height: 42px; overflow: hidden; }
.ticker .tk-label { flex: none; background: var(--p); color: #fff; font: 700 11.5px var(--ff); letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.ticker .tk-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker .tk-move { display: inline-flex; gap: 40px; white-space: nowrap; animation: tk 40s linear infinite; padding-left: 100%; }
.ticker .tk-move a { color: var(--p-900); font-weight: 500; }
.ticker .tk-move a::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: middle; }
.ticker:hover .tk-move { animation-play-state: paused; }
@keyframes tk { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker .tk-move { animation: none; padding-left: 0; } }

/* ---------- Sections ---------- */
.sec { padding: 56px 0; }
.sec-alt { background: var(--bg); }
.sec-blue { background: linear-gradient(135deg, var(--p-900) 0%, #13308A 55%, var(--p) 100%); color: #DCE6FB; }
.sec-blue h2, .sec-blue h3 { color: #fff; }
.sec-hd { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.sec-hd.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; font: 700 12px var(--ff); letter-spacing: .14em; text-transform: uppercase; color: var(--p); margin-bottom: 10px; }
.sec-blue .eyebrow { color: #9DBBFA; }
.sec-hd h2 { font-size: clamp(26px, 5vw, 38px); font-weight: 800; }
.sec-hd p { color: var(--muted); font-size: 16px; margin: 0; }
.sec-blue .sec-hd p { color: #C7D5F5; }
@media (min-width: 992px) { .sec { padding: 88px 0; } .sec-hd { margin-bottom: 44px; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; min-height: 560px; display: flex; align-items: center; }
.hero video, .hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,22,64,.92) 0%, rgba(11,30,79,.78) 45%, rgba(29,78,216,.35) 100%); }
.hero .wrap { padding-top: 56px; padding-bottom: 64px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--pill); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); margin-bottom: 18px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.hero h1 { color: #fff; font-size: clamp(32px, 7.2vw, 60px); font-weight: 800; letter-spacing: -.02em; max-width: 780px; margin-bottom: 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #93C5FD, #FDE68A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead-x { font-size: clamp(16px, 2.4vw, 19px); color: #DCE6FB; max-width: 620px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn-x { flex: 1 1 auto; }
@media (min-width: 576px) { .hero-cta .btn-x { flex: 0 0 auto; } }
.hero-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 34px; max-width: 760px; }
.hero-facts div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); padding: 12px 14px; backdrop-filter: blur(6px); }
.hero-facts b { display: block; color: #fff; font: 800 18px var(--ff-h); }
.hero-facts span { font-size: 12.5px; color: #C7D5F5; }
@media (min-width: 768px) { .hero { min-height: 640px; } .hero-facts { grid-template-columns: repeat(4, 1fr); } }

/* Accreditation strip */
.accr { background: #fff; border-bottom: 1px solid var(--line); }
.accr .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.accr a { display: flex; align-items: center; gap: 12px; padding: 16px 10px; color: var(--ink); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.accr a:nth-child(2n) { border-right: 0; }
.accr img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.accr b { display: block; font: 700 13.5px/1.25 var(--ff-h); }
.accr span { font-size: 12px; color: var(--muted); line-height: 1.3; display: block; }
@media (min-width: 992px) { .accr .wrap { grid-template-columns: repeat(4, 1fr); } .accr a { border-bottom: 0; padding: 22px 18px; } .accr a:nth-child(2n) { border-right: 1px solid var(--line); } .accr a:last-child { border-right: 0; } }

/* Generic card */
.cardx { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.cardx { display: block; color: inherit; }
a.cardx:hover, .cardx.hov:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--p-100); }
.cardx .cx-body { padding: 20px; }
.cardx h3 { font-size: 19px; margin-bottom: 6px; }
.cardx p { color: var(--muted); font-size: 14.5px; margin: 0; }
.cardx .cx-img { aspect-ratio: 16/10; overflow: hidden; background: var(--p-50); }
.cardx .cx-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.cardx:hover .cx-img img { transform: scale(1.05); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); background: var(--p-50); color: var(--p); font: 700 11.5px var(--ff); letter-spacing: .04em; text-transform: uppercase; }

/* Grids (mobile first) */
.g2, .g3, .g4 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .g2, .g3, .g4 { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 992px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g2, .g3, .g4 { gap: 24px; } }

/* About split */
.about-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 4/3; background: var(--p-50); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .am-badge { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: var(--r); padding: 12px 16px; box-shadow: var(--sh-2); display: flex; gap: 12px; align-items: center; }
.about-media .am-badge b { font: 800 26px var(--ff-h); color: var(--p); }
.about-media .am-badge span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.checks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: "\f00c"; font: 900 11px "Font Awesome 6 Free"; width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--p-50); color: var(--p); margin-top: 2px; }
@media (min-width: 768px) { .checks { grid-template-columns: 1fr 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 20px 16px; text-align: center; }
.stat b { display: block; font: 800 clamp(30px, 6vw, 44px)/1 var(--ff-h); color: #fff; margin-bottom: 6px; }
.stat span { font-size: 13.5px; color: #C7D5F5; }
@media (min-width: 992px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Programme cards */
.prog { display: flex; flex-direction: column; }
.prog .cx-img { position: relative; aspect-ratio: 16/9; }
.prog .cx-img .chip { position: absolute; left: 14px; top: 14px; background: #fff; }
.prog .cx-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prog h3 { font-size: 24px; margin: 0; }
.prog .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: var(--ink-2); }
.prog .meta i { color: var(--p); margin-right: 6px; }
.prog .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }

/* Why cards */
.why { padding: 22px; }
.why .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--p-50); color: var(--p); font-size: 20px; margin-bottom: 14px; transition: .2s; }
.why:hover .ic { background: var(--p); color: #fff; }
.why h3 { font-size: 17px; }

/* Horizontal scroller (snap) used for highlights, labs, placed students, testimonials */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--p-100) transparent; }
.hscroll > * { scroll-snap-align: start; }
.hscroll::-webkit-scrollbar { height: 6px; } .hscroll::-webkit-scrollbar-thumb { background: var(--p-100); border-radius: 6px; }
@media (min-width: 576px) { .hscroll { grid-auto-columns: 46%; } }
@media (min-width: 992px) { .hscroll { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; } .hscroll.four { grid-auto-columns: calc((100% - 72px) / 4); } }
.hs-nav { display: flex; gap: 8px; }
.hs-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: .15s; }
.hs-nav button:hover { background: var(--p); color: #fff; border-color: var(--p); }
.row-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.row-hd .sec-hd { margin: 0; }

/* Highlight cards */
.hl .cx-img { aspect-ratio: 4/3; }
.hl .cx-body { padding: 16px 18px 18px; }
.hl h3 { font-size: 17px; margin: 8px 0 6px; }
.hl p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Lab tiles */
.lab { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; display: block; background: var(--p-900); }
.lab img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .92; }
.lab span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font: 700 16px var(--ff-h); background: linear-gradient(transparent, rgba(8,22,64,.88)); }
.lab:hover img { transform: scale(1.06); opacity: 1; }

/* Placement */
.place-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.place-kpis div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.place-kpis b { display: block; font: 800 24px var(--ff-h); color: var(--p); }
.place-kpis span { font-size: 13px; color: var(--muted); }
.placed { text-align: center; padding: 22px 16px; }
.placed img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid var(--p-50); margin: 0 auto 12px; display: block; background: var(--p-50); }
.placed h3 { font-size: 16.5px; margin-bottom: 2px; }
.placed .co { font-weight: 700; color: var(--p); font-size: 13.5px; }
.placed .pr { font-size: 12.5px; color: var(--muted); }
.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track { display: flex; gap: 18px; width: max-content; animation: logos 40s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-track span { flex: none; width: 150px; height: 76px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; padding: 10px; }
.logos-track img { max-height: 54px; max-width: 120px; object-fit: contain; filter: grayscale(.2); }
@keyframes logos { to { transform: translateX(-50%); } }

/* Testimonials */
.tst { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.tst .q { font-size: 15.5px; color: var(--ink-2); position: relative; padding-top: 30px; }
.tst .q::before { content: "\201C"; position: absolute; top: -14px; left: -2px; font: 800 64px/1 Georgia, serif; color: var(--p-100); }
.tst .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tst .av { width: 44px; height: 44px; border-radius: 50%; background: var(--p); color: #fff; display: grid; place-items: center; font: 800 16px var(--ff-h); }
.tst .who b { display: block; color: var(--ink); } .tst .who span { font-size: 13px; color: var(--muted); }

/* Institutions */
.inst .cx-img { aspect-ratio: 16/10; }
.inst .cx-body { padding: 16px 18px; }
.inst h3 { font-size: 15.5px; margin-bottom: 4px; }
.inst p { font-size: 13px; }

/* Anti-ragging band */
.ragband { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 20px; box-shadow: var(--sh-1); }
.ragband .rb-ic { width: 56px; height: 56px; border-radius: 14px; background: var(--err-bg); color: var(--err); display: grid; place-items: center; font-size: 24px; }
.ragband h3 { font-size: 22px; }
.ragband ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.ragband .rb-contacts { display: grid; gap: 8px; }
.ragband .rb-contacts a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg); color: var(--ink); font-weight: 600; font-size: 14px; }
.ragband .rb-contacts a i { color: var(--p); width: 18px; }
@media (min-width: 992px) { .ragband { grid-template-columns: auto 1.2fr 1fr; align-items: center; padding: 32px; } }

/* CTA band */
.cta-band { border-radius: var(--r-lg); padding: 32px 24px; background: linear-gradient(120deg, var(--p-900), var(--p)); color: #DCE6FB; display: grid; gap: 18px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta-band h2 { color: #fff; font-size: clamp(24px, 4.5vw, 34px); margin: 0; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (min-width: 992px) { .cta-band { grid-template-columns: 1.4fr auto; align-items: center; padding: 44px 48px; } }

/* Video */
.vid { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); background: #000; }
.vid iframe, .vid video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Inner page header ---------- */
.phead { background: linear-gradient(120deg, var(--p-900), #163A9C 60%, var(--p)); color: #C7D5F5; position: relative; overflow: hidden; }
.phead::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); }
.phead .wrap { padding-top: 34px; padding-bottom: 36px; position: relative; z-index: 1; }
.phead h1 { color: #fff; font-size: clamp(26px, 5vw, 42px); font-weight: 800; margin: 8px 0 0; }
.phead p { margin: 10px 0 0; max-width: 680px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; list-style: none; padding: 0; margin: 0; }
.crumbs a { color: #C7D5F5; } .crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
@media (min-width: 992px) { .phead .wrap { padding-top: 54px; padding-bottom: 56px; } }

.page-layout { display: grid; gap: 28px; padding: 32px 0 56px; }
@media (min-width: 1100px) { .page-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 48px 0 80px; } }
.side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1100px) { .side { position: sticky; top: calc(var(--hdr) + 20px); } }
.side-box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; background: #fff; }
.side-box h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.side-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-box li a { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 500; font-size: 14.5px; }
.side-box li a:hover { background: var(--p-50); color: var(--p); }
.side-box li a.on { background: var(--p); color: #fff; }
.side-cta { background: linear-gradient(135deg, var(--p-900), var(--p)); color: #DCE6FB; border: 0; }
.side-cta h4 { color: #9DBBFA; } .side-cta p { font-size: 14px; } .side-cta .btn-x { width: 100%; }

/* Imported page content: tame old styles so they fit the new look */
.legacy { min-width: 0; color: var(--ink-2); }
.legacy section, .legacy .container { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
.legacy section { padding-top: 0 !important; margin-top: 0 !important; background: none !important; color: inherit; }
.legacy { background: none !important; }
.legacy section + section { margin-top: 28px !important; }
.legacy .position-absolute.w-100.h-100, .legacy [class*="overlay"] { display: none !important; }
.legacy > div, .legacy > section, .legacy [class$="-section"], .legacy [class*="-section "] { background: none !important; color: var(--ink-2) !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; animation: none !important; }
.legacy [class$="-section"] .container, .legacy [class*="-section "] .container { padding: 0 !important; }
.legacy h1, .legacy h2 { font-size: clamp(22px, 3.6vw, 30px); color: var(--ink) !important; }
.legacy h3 { font-size: 20px; } .legacy h4 { font-size: 17px; }
.legacy p, .legacy li { color: var(--ink-2); }
.legacy img { max-width: 100%; height: auto; border-radius: var(--r); }
.legacy table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legacy .table-responsive, .legacy table { display: block; overflow-x: auto; }
.legacy th { background: var(--p-50) !important; color: var(--p-900) !important; }
.legacy th, .legacy td { padding: 10px 12px; border: 1px solid var(--line) !important; }
.legacy .text-white { color: var(--ink) !important; }
.legacy .bg-dark, .legacy .bg-primary { background: var(--p-50) !important; color: var(--ink) !important; }
.legacy .btn-primary, .legacy .btn { border-radius: var(--r-sm); }
.legacy .btn-primary { background: var(--p) !important; border-color: var(--p) !important; }
.legacy .card { border-radius: var(--r-lg); border-color: var(--line); box-shadow: var(--sh-1); }
.legacy iframe { max-width: 100%; }
.legacy .row { --bs-gutter-x: 1.25rem; }

/* ---------- Forms ---------- */
.fx label { display: block; font: 600 13px var(--ff); color: var(--ink-2); margin-bottom: 6px; }
.fx input[type=text], .fx input[type=tel], .fx input[type=email], .fx input[type=date], .fx input[type=number], .fx select, .fx textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; font: 500 15px var(--ff); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.fx textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.fx input:focus, .fx select:focus, .fx textarea:focus { outline: 0; border-color: var(--p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 15%, transparent); }
.fx input[type=file] { width: 100%; padding: 8px; border: 1.5px dashed var(--p-100); border-radius: var(--r-sm); background: var(--p-50); font-size: 14px; }
.fx .fgrid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fx .fgrid { grid-template-columns: 1fr 1fr; } .fx .fgrid .full { grid-column: 1 / -1; } .fx .fgrid.three { grid-template-columns: repeat(3, 1fr); } }
.fx fieldset { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin: 0 0 20px; background: #fff; }
.fx legend { float: none; width: auto; padding: 0 8px; font: 800 16px var(--ff-h); color: var(--p-900); margin: 0; }
.hp { position: absolute !important; left: -9999px !important; }
.msg { padding: 12px 16px; border-radius: var(--r-sm); font-weight: 600; margin-bottom: 16px; }
.msg.ok { background: var(--ok-bg); color: var(--ok); } .msg.err { background: var(--err-bg); color: var(--err); }
.msg:empty { display: none; }

/* Enquiry modal */
.modal-x { position: fixed; inset: 0; z-index: 120; display: none; align-items: flex-end; justify-content: center; background: rgba(11,30,79,.55); padding: 0; }
.modal-x.open { display: flex; }
.modal-x .mx-box { background: #fff; width: 100%; max-width: 520px; border-radius: 20px 20px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); max-height: 92dvh; overflow-y: auto; animation: up .25s ease-out; }
@media (min-width: 640px) { .modal-x { align-items: center; padding: 20px; } .modal-x .mx-box { border-radius: 20px; padding: 28px; } }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.mx-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mx-hd h3 { font-size: 22px; margin: 0; } .mx-hd p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.mx-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; flex: none; }

/* ---------- Faculty ---------- */
.fac-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; }
.fac-filter button { flex: none; height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; font: 600 14px var(--ff); color: var(--ink-2); cursor: pointer; }
.fac-filter button.on { background: var(--p); color: #fff; border-color: var(--p); }
.fac { text-align: center; padding: 24px 18px; display: flex; flex-direction: column; align-items: center; }
.fac img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid var(--p-50); margin-bottom: 14px; background: var(--p-50); }
.fac h3 { font-size: 17px; margin-bottom: 2px; }
.fac .ds { color: var(--p); font-weight: 600; font-size: 14px; }
.fac .dp { color: var(--muted); font-size: 13.5px; }
.fac .rs { margin-top: 8px; }
.fac .acts { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.leader { display: grid; gap: 20px; align-items: center; padding: 24px; }
.leader img { width: 160px; height: 160px; border-radius: var(--r-lg); object-fit: cover; object-position: top; }
@media (min-width: 768px) { .leader { grid-template-columns: auto 1fr; padding: 28px 32px; } }

/* ---------- Gallery ---------- */
.gal { columns: 2; column-gap: 12px; }
.gal a { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--r); overflow: hidden; position: relative; background: var(--p-50); }
.gal img { width: 100%; display: block; transition: transform .4s; }
.gal a:hover img { transform: scale(1.04); }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: #fff; font-size: 13px; font-weight: 600; background: linear-gradient(transparent, rgba(8,22,64,.85)); }
@media (min-width: 768px) { .gal { columns: 3; column-gap: 16px; } .gal a { margin-bottom: 16px; } }
@media (min-width: 1200px) { .gal { columns: 4; } }
.lb { position: fixed; inset: 0; z-index: 130; background: rgba(6,14,40,.94); display: none; align-items: center; justify-content: center; padding: 56px 12px; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb button { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 18px; cursor: pointer; }
.lb .lb-x { top: 10px; right: 10px; } .lb .lb-p { left: 10px; top: 50%; } .lb .lb-n { right: 10px; top: 50%; }
.lb .lb-c { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #DCE6FB; font-size: 14px; padding: 0 16px; }

/* ---------- Footer ---------- */
.ftr { background: var(--p-900); color: #AFC2EA; font-size: 14.5px; padding: 52px 0 0; }
.ftr h4 { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 14px; }
.ftr a { color: #C7D5F5; } .ftr a:hover { color: #fff; }
.ftr .fgrid-x { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ftr .fgrid-x { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ftr .fgrid-x { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; } }
.ftr .f-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.ftr .f-brand img { width: 52px; height: 52px; background: #fff; border-radius: 12px; padding: 4px; }
.ftr .f-brand b { color: #fff; font: 800 17px/1.2 var(--ff-h); }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr .f-contact li { display: flex; gap: 10px; } .ftr .f-contact i { color: #7FA6F5; margin-top: 4px; width: 16px; }
.ftr .f-soc { display: flex; gap: 8px; margin-top: 16px; }
.ftr .f-soc a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.ftr .f-soc a:hover { background: var(--p); }
.ftr .f-map { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background: #0E2766; }
.ftr .f-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.8); }
.ftr .f-bot { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 calc(84px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13px; }
@media (min-width: 1100px) { .ftr .f-bot { padding-bottom: 18px; } }

/* ---------- Mobile action bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -12px rgba(15,23,42,.2); transition: transform .25s; }
.mbar.hide { transform: translateY(100%); }
.mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 60px; color: var(--ink-2); font: 600 11.5px var(--ff); background: none; border: 0; cursor: pointer; }
.mbar i { font-size: 18px; color: var(--p); }
.mbar .mb-apply { color: var(--p); }
.mbar .mb-apply i { width: 40px; height: 28px; border-radius: 14px; background: var(--p); color: #fff; display: grid; place-items: center; font-size: 14px; }
@media (min-width: 1100px) { .mbar { display: none; } }
.fab-wa { display: none; position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; place-items: center; font-size: 28px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); }
.fab-wa:hover { color: #fff; transform: scale(1.05); }
@media (min-width: 1100px) { .fab-wa { display: grid; } }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Hand-written content pages (.doc) ---------- */
.doc { min-width: 0; color: var(--ink-2); }
.doc > * + * { margin-top: 0; }
.doc h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 14px; }
.doc h2:not(:first-child) { margin-top: 40px; }
.doc h3 { font-size: 18px; margin: 0 0 6px; }
.doc p { line-height: 1.75; }
.doc .lead { font-size: 17px; color: var(--ink); }
.mv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mv-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.mv-list b { flex: none; min-width: 40px; height: 32px; padding: 0 8px; display: grid; place-items: center; border-radius: 8px; background: var(--p-50); color: var(--p); font: 800 13px var(--ff-h); }
.tl { list-style: none; padding: 0 0 0 22px; margin: 18px 0 0; border-left: 2px solid var(--p-100); display: grid; gap: 16px; }
.tl li { position: relative; }
.tl li::before { content: ""; position: absolute; left: -29px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--p); box-shadow: 0 0 0 4px var(--p-50); }
.tl b { display: block; font: 800 15px var(--ff-h); color: var(--p); }
.tl span { color: var(--ink-2); }
.person { display: grid; gap: 18px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.person + .person { margin-top: 18px; }
.person img { width: 100%; max-width: 220px; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: var(--r); background: var(--p-50); }
.person blockquote { margin: 0 0 10px; padding-left: 14px; border-left: 3px solid var(--p); font-style: italic; color: var(--ink); }
.person .who { margin-top: 12px; font-weight: 700; color: var(--ink); } .person .who small { display: block; font-weight: 500; color: var(--muted); }
@media (min-width: 768px) { .person { grid-template-columns: 200px 1fr; align-items: start; } }
.icards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 16px 0 20px; }
.icards > div { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.icards i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--p-50); color: var(--p); margin-bottom: 10px; }
.icards b { display: block; color: var(--ink); } .icards span { font-size: 14px; color: var(--muted); }
.cardx .checks, .doc .cardx .checks { grid-template-columns: 1fr !important; } 

/* ======================= v6: home slider, endless strips, labs, anti-ragging, calendar ======================= */

/* Hero slider */
.hero-slider { display: block; min-height: 0; height: clamp(520px, 82vh, 720px); }
.hero-slider::before { display: none; }
.hero-slider .slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; isolation: isolate; }
.hero-slider .slide.on { opacity: 1; visibility: visible; transition: opacity .8s ease; z-index: 1; }
.hero-slider .slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,22,64,.92) 0%, rgba(11,30,79,.74) 45%, rgba(11,30,79,.25) 100%); }
.hero-slider .slide video, .hero-slider .slide .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-slider .slide .hero-img { transform: scale(1.06); transition: transform 8s ease-out; }
.hero-slider .slide.on .hero-img { transform: scale(1); }
.hero-slider .slide .wrap { padding-top: 40px; padding-bottom: 96px; width: 100%; }
.hero-slider .slide h1, .hero-slider .slide h2 { color: #fff; font-size: clamp(30px, 6.4vw, 56px); font-weight: 800; letter-spacing: -.02em; max-width: 760px; margin-bottom: 14px; line-height: 1.1; }
.hero-slider .slide h2 em, .hero-slider .slide h1 em { font-style: normal; background: linear-gradient(90deg, #93C5FD, #FDE68A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-slider .slide.on .wrap > * { animation: slideUp .7s ease both; }
.hero-slider .slide.on .wrap > *:nth-child(2) { animation-delay: .08s; } .hero-slider .slide.on .wrap > *:nth-child(3) { animation-delay: .16s; } .hero-slider .slide.on .wrap > *:nth-child(4) { animation-delay: .24s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hs-ctrl { position: absolute; z-index: 5; left: 50%; transform: translateX(-50%); bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(8,22,64,.45); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15); }
.hs-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.hs-btn:hover, .hs-btn:focus-visible { background: rgba(255,255,255,.28); }
.hs-dots { display: flex; gap: 6px; padding: 0 4px; }
.hs-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.hs-dots button.on { width: 26px; background: var(--gold, #F5B300); }
.hs-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 5; background: rgba(255,255,255,.12); }
.hs-prog span { display: block; height: 100%; width: 0; background: var(--gold, #F5B300); }
.hero-slider.single .hs-ctrl, .hero-slider.single .hs-prog { display: none; }
@media (max-width: 575px) { .hero-slider { height: auto; min-height: 600px; } .hero-slider .slide .wrap { padding-bottom: 110px; } .hero-slider .hero-cta .btn-x { flex: 1 1 100%; } }

.hero-facts-bar { background: var(--p-900); color: #C7D5F5; border-top: 1px solid rgba(255,255,255,.08); }
.hero-facts-bar .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.hero-facts-bar .wrap > div { padding: 14px 10px; border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.hero-facts-bar b { display: block; color: #fff; font: 800 16px var(--ff-h); } .hero-facts-bar span { font-size: 12.5px; }
@media (min-width: 992px) { .hero-facts-bar .wrap { grid-template-columns: repeat(4, 1fr); } .hero-facts-bar .wrap > div { border-bottom: 0; padding: 18px 20px; } .hero-facts-bar .wrap > div:last-child { border-right: 0; } }

/* Endless strips: content scrolls by itself, pauses on hover / touch / focus */
.marq { overflow: hidden; padding: 6px 0 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marq-track { display: flex; gap: 20px; width: max-content; padding-left: 20px; }
.marq.run .marq-track { animation: marq 60s linear infinite; }
.marq:hover .marq-track, .marq.hold .marq-track, .marq:focus-within .marq-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marq.static { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.marq-track > * { flex: none; }
.marq-track > .hl { width: 300px; }
.marq-track > .placed { width: 220px; }
.marq-track > .fac { width: 240px; }
.marq-track > .tst { width: min(380px, 82vw); }
.marq-track > .inst { width: 260px; }
.marq-track > .lab-x { width: 320px; }
.marq-track > .cardx { height: auto; }

/* Labs & amenities band */
.labs-band { background: linear-gradient(180deg, #fff 0%, var(--p-50) 100%); }
.lab-x { aspect-ratio: 4/3; box-shadow: 0 14px 30px -18px rgba(11,30,79,.55); border: 3px solid #fff; }
.lab-x span { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 60px 16px 14px; }
.lab-x span b { font: 700 16px var(--ff-h); color: #fff; }
.lab-x span small { flex: none; font: 600 12px var(--ff); padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: .25s; }
.lab-x:hover span small, .lab-x:focus-visible span small { opacity: 1; transform: none; }
.amen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
@media (min-width: 768px) { .amen { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .amen { grid-template-columns: repeat(6, 1fr); } }
.amen a { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink-2); transition: .2s; }
.amen a i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--p-50); color: var(--p); font-size: 18px; margin-bottom: 8px; transition: .2s; }
.amen a b { color: var(--ink); font: 700 15px var(--ff-h); } .amen a span { font-size: 12.5px; color: var(--muted); }
.amen a:hover { border-color: var(--p-100); transform: translateY(-3px); box-shadow: var(--sh-1); } .amen a:hover i { background: var(--p); color: #fff; }

/* Programme cards: compact, side-by-side image on wider screens */
.prog-grid { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 1060px; margin: 0 auto; }
@media (min-width: 992px) { .prog-grid { grid-template-columns: 1fr 1fr; } }
.prog-sm .cx-img { aspect-ratio: 16/7; }
.prog-sm .cx-body { padding: 16px 18px 18px; gap: 8px; }
.prog-sm h3 { font-size: 20px; }
.prog-sm p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prog-sm .meta { font-size: 12.5px; }
@media (min-width: 576px) and (max-width: 991px) { .prog-sm { flex-direction: row; } .prog-sm .cx-img { flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; } }

/* Anti-ragging */
.rag-sec { background: linear-gradient(135deg, #FFF5F5 0%, #FFFBEB 100%); }
.rag-posters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
@media (min-width: 768px) { .rag-posters { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.rag-posters a { display: block; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 4px solid #fff; box-shadow: 0 12px 28px -18px rgba(127,29,29,.5); aspect-ratio: 3/4; }
.rag-posters img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; } .rag-posters a:hover img { transform: scale(1.04); }
.rag-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 992px) { .rag-cards { grid-template-columns: 1fr 1fr; } }
.rag-card { background: #fff; border: 1px solid #FBD5D5; border-radius: var(--r-lg); padding: 22px; }
.rag-card h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; } .rag-card h3 i { color: var(--err, #B91C1C); }
.rag-card .checks li::before { background: #FEE2E2; color: #B91C1C; }
.rag-card .rb-contacts { display: grid; gap: 8px; }
.rag-card .rb-contacts a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #FFF7F7; color: var(--ink); }
.rag-card .rb-contacts a i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #FEE2E2; color: #B91C1C; flex: none; }
.rag-card .rb-contacts b { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.rag-note { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #FEF2F2; color: #991B1B; font-weight: 600; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.rag-slogan { margin-top: 20px; text-align: center; padding: 18px; border-radius: var(--r-lg); background: linear-gradient(90deg, #B91C1C, #1D4ED8); color: #fff; }
.rag-slogan b { display: block; font: 800 clamp(18px, 3vw, 24px) var(--ff-h); } .rag-slogan span { font-size: 14.5px; opacity: .9; }

/* Back to top, stacked above the WhatsApp button */
.to-top { position: fixed; right: 26px; bottom: 90px; z-index: 69; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--p-900); color: #fff; box-shadow: 0 10px 24px -8px rgba(11,30,79,.6); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--p); }
@media (max-width: 1099px) { .to-top { right: 16px; bottom: 84px; } }

/* Academic calendar */
.cal-sess { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.cal-sess label { font-weight: 700; color: var(--ink); }
.cal-sess select { height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; font: 600 14.5px var(--ff); min-width: 260px; max-width: 100%; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tagp { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 700 12px var(--ff); white-space: nowrap; }
.tagp.t-event { background: #DBEAFE; color: #1E40AF; } .tagp.t-exam { background: #EDE9FE; color: #5B21B6; }
.tagp.t-holiday { background: #DCFCE7; color: #166534; } .tagp.t-awareness { background: #FEE2E2; color: #991B1B; }
.tbl-x { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); }
table.cal { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
table.cal th { background: var(--p-900); color: #fff; text-align: left; font: 700 12px var(--ff); letter-spacing: .06em; text-transform: uppercase; padding: 12px 14px; white-space: nowrap; }
table.cal td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); }
table.cal td b { color: var(--ink); display: block; } table.cal td small { color: var(--muted); font-size: 13px; }
table.cal tr:nth-child(even) td { background: #FAFCFF; }
table.cal td.c-date { font-weight: 700; color: var(--p-900); white-space: nowrap; }
table.cal tr.t-holiday td.c-date { color: #166534; } table.cal tr.t-exam td.c-date { color: #5B21B6; }
table.cal tr.past td { opacity: .8; }
.hd-ic { width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center; background: #FEE2E2; color: #B91C1C; margin-right: 10px; font-size: 13px; vertical-align: middle; }
.cal-note { margin-top: 26px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--p-50); border: 1px solid var(--p-100); }
.cal-note h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; } .cal-note ul { margin: 0; padding-left: 20px; }
.cal-motto { margin-top: 16px; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(90deg, var(--p-900), var(--p)); color: #fff; text-align: center; }
.cal-motto p { font: 800 clamp(17px, 2.6vw, 22px) var(--ff-h); color: #fff; margin: 0 0 12px; }
.cal-motto div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cal-motto span { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-weight: 600; font-size: 14px; }
