/* =========================================================
   Vitthal Pratishthan College of Pharmacy, Madha — theme v1
   Palette from the college logo: royal violet (trust),
   coral red (the logo ring) and electric cyan (the outer ring)
   ========================================================= */

:root {
  --plum: #2E1065;
  --plum-2: #3B0F80;
  --violet: #5B21B6;
  --violet-2: #7C3AED;
  --lilac: #EDE9FE;
  --lilac-2: #DDD6FE;
  --coral: #F2545B;
  --coral-deep: #D93C44;
  --coral-soft: #FFE8E9;
  --cyan: #22D3EE;
  --cyan-deep: #0891B2;
  --bg: #F8F7FF;
  --white: #FFFFFF;
  --ink: #1C1530;
  --muted: #625A7A;
  --line: #E4E0F5;

  --f-head: "Urbanist", "Segoe UI", system-ui, sans-serif;
  --f-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --wrap: 1240px;
  --shadow: 0 18px 40px -20px rgba(46, 16, 101, .35);
  --shadow-lg: 0 34px 80px -28px rgba(46, 16, 101, .55);
  --out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; display: block; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--plum); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.1; margin: 0 0 .5em; color: var(--plum); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 400; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.admin-key { position: absolute; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; font: 700 .96rem/1.2 var(--f-body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--out), box-shadow .4s var(--out), color .3s, border-color .3s;
}
.btn::before { /* fill that slides in from the left */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--out); border-radius: inherit;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { transform: translateY(-3px); }
.btn .ic { transition: transform .4s var(--out); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn-lg { padding: 1em 1.8em; font-size: 1.02rem; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 14px 28px -12px rgba(242,84,91,.75); }
.btn-coral::before { background: var(--plum); }
.btn-coral:hover { color: #fff; }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 14px 28px -12px rgba(91,33,182,.7); }
.btn-violet::before { background: var(--coral); }
.btn-violet:hover { color: #fff; }
.btn-glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); color: #fff; backdrop-filter: blur(8px); }
.btn-glass::before { background: #fff; }
.btn-glass:hover { color: var(--plum); }
.btn-ghost { border-color: var(--violet); color: var(--violet); }
.btn-ghost::before { background: var(--violet); }
.btn-ghost:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--plum); color: #CBBEF0; font-size: .84rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.tb-item, .tb-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ic { color: var(--cyan); }
.tb-links { display: flex; gap: 22px; }
.topbar a { color: #EEE9FF; text-decoration: none; }
.topbar a:hover { color: var(--cyan); }

/* ---------- Masthead ---------- */
.masthead { background: #fff; position: relative; z-index: 70; }
.mast-in { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-logo { position: relative; flex: none; }
.brand-logo::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px dashed var(--cyan); animation: spin 18s linear infinite; }
.brand-logo img { width: 84px; height: 84px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.brand-trust { font-size: .84rem; font-weight: 700; color: var(--coral-deep); }
.brand-name { font-family: var(--f-head); font-weight: 900; font-size: clamp(1.25rem, 2.4vw, 1.95rem); color: var(--plum); letter-spacing: -0.02em; }
.brand-name em { font-style: normal; background: linear-gradient(90deg, var(--violet), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.mast-side { display: flex; align-items: center; gap: 16px; }
.dte-badge { display: flex; flex-direction: column; align-items: center; line-height: 1; padding: 9px 14px; border-radius: 14px; background: var(--lilac); border: 1px solid var(--lilac-2); }
.dte-badge small { font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.dte-badge strong { font: 900 1.35rem var(--f-head); color: var(--violet); margin-top: 3px; }

/* ---------- Navigation: floating pill bar ---------- */
.nav { position: sticky; top: 10px; z-index: 90; padding: 0 0 10px; margin-top: 0; }
.nav-in { position: relative; }
.nav .wrap { max-width: 1300px; padding-left: 14px; padding-right: 14px; }
.nav-list {
  list-style: none; margin: 0; padding: 6px; display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(100deg, var(--plum), var(--violet) 60%, var(--plum-2)); border-radius: 999px;
  box-shadow: 0 16px 34px -18px rgba(46,16,101,.7);
}
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 3px; height: 44px; padding: 0 9px; border-radius: 999px;
  color: #fff; text-decoration: none; font: 700 .87rem/1 var(--f-body); background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color .3s;
}
.nav-link:hover, .nav-item.is-open > .nav-link { background: rgba(255,255,255,.12); color: #fff; }
.nav-item.is-active > .nav-link { background: #fff; color: var(--plum); }
.nav-item.is-active > .nav-link .roll::after { color: var(--coral); }
/* text roll: label slides up, a cyan copy slides in from below */
.roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; }
.roll > span { display: inline-block; transition: transform .45s var(--out); }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--cyan); transition: transform .45s var(--out); }
.nav-link:hover .roll > span, .nav-item.is-open .roll > span { transform: translateY(-100%); }
.nav-link:hover .roll::after, .nav-item.is-open .roll::after { transform: translateY(-100%); }
.caret { width: 14px; height: 14px; transition: transform .4s var(--out); }
.nav-item:hover .caret, .nav-item.is-open .caret { transform: rotate(180deg); }
.nav-foot { display: none; }

/* Glass dropdown that "materialises" */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 95; min-width: 290px;
  background: rgba(46, 16, 101, .93); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 10px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.94); filter: blur(6px); transform-origin: top left;
  transition: opacity .35s var(--out), transform .45s var(--out), filter .45s var(--out), visibility 0s linear .45s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.dropdown.wide { min-width: 380px; }
.nav-item.drop-right > .dropdown { left: auto; right: 0; transform-origin: top right; }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1261px) {
  .nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.is-open > .dropdown {
    opacity: 1; visibility: visible; transform: none; filter: none;
    transition: opacity .35s var(--out), transform .45s var(--out), filter .45s var(--out), visibility 0s;
  }
}
.d-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #EEE9FF; text-decoration: none; font: 600 .93rem/1.35 var(--f-body); transition: background-color .25s; }
.d-text { flex: 1; }
.d-ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.1); color: var(--cyan); transition: background-color .3s, color .3s, transform .45s var(--out); }
.d-ic .ic { width: 17px; height: 17px; }
.d-go { width: 16px; height: 16px; color: var(--cyan); opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .4s var(--out); }
.d-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.d-link:hover .d-ic { background: var(--coral); color: #fff; transform: scale(1.08); }
.d-link:hover .d-go { opacity: 1; transform: none; }
.d-link[aria-current="page"] { background: rgba(34,211,238,.16); color: #fff; }
.d-link em { font-style: normal; font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--coral); color: #fff; }
.d-link.is-soon { opacity: .55; cursor: default; }
.d-link.is-soon:hover { background: none; }
.d-link.is-soon em { background: rgba(255,255,255,.2); }

/* Menu button */
.menu-btn { display: none; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 14px; border-radius: 999px; border: 0; background: var(--plum); color: #fff; font: 700 .92rem var(--f-body); cursor: pointer; position: relative; z-index: 160; flex: none; }
.mb-lines { display: grid; gap: 4px; width: 20px; }
.mb-lines span { height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--out), opacity .3s, width .3s; }
.mb-lines span:nth-child(2) { width: 70%; }
.menu-btn[aria-expanded="true"] { background: var(--coral); }
.menu-btn[aria-expanded="true"] .mb-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .mb-lines span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .mb-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Full-screen menu on tablets & phones ---------- */
@media (max-width: 1260px) {
  .tb-item { display: none; }
  .topbar-in { justify-content: center; }
  .mast-side { display: none; }
  .menu-btn { display: inline-flex; }
  .masthead { position: sticky; top: 0; z-index: 150; box-shadow: 0 8px 22px -14px rgba(46,16,101,.45); }
  .brand-logo img { width: 56px; height: 56px; }
  .brand-sub { display: none; }
  .nav { position: fixed; inset: 0; top: 0; z-index: 140; padding: 96px 0 30px; overflow-y: auto; overscroll-behavior: contain;
    background: radial-gradient(800px 500px at 100% 0%, rgba(34,211,238,.25), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(242,84,91,.3), transparent 60%), linear-gradient(160deg, var(--plum), var(--violet));
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--out), visibility 0s linear .6s; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--out), visibility 0s; }
  body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; background: none; box-shadow: none; padding: 0; border-radius: 0; }
  .nav-item { border-bottom: 1px solid rgba(255,255,255,.12); opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .5s var(--out); }
  .nav.is-open .nav-item { opacity: 1; transform: none; transition-delay: calc(var(--n) * .035s + .15s); }
  .nav-link { height: auto; padding: 16px 4px; border-radius: 0; font: 800 1.35rem var(--f-head); justify-content: space-between; width: 100%; }
  .nav-link:hover, .nav-item.is-open > .nav-link { background: none; }
  .nav-item.is-active > .nav-link { background: none; color: var(--cyan); }
  .nav-link:hover .roll > span, .nav-link:hover .roll::after { transform: none; }
  .nav-item.is-open .roll > span, .nav-item.is-open .roll::after { transform: none; }
  .nav-item.is-open > .nav-link { color: var(--cyan); }
  .caret { width: 20px; height: 20px; }
  .nav-item:hover .caret { transform: none; }
  .nav-item.is-open .caret { transform: rotate(180deg); }
  .dropdown, .dropdown.wide { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; filter: none; display: none; background: rgba(255,255,255,.08); backdrop-filter: none; box-shadow: none; margin: 0 0 14px; transition: none; }
  .nav-item.is-open > .dropdown { display: block; animation: sub-in .45s var(--out); }
  .nav-foot { display: grid; gap: 10px; margin-top: 26px; }
}
@keyframes sub-in { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 560px) {
  .topbar .hide-sm { display: none; }
  .brand { gap: 10px; }
  .brand-logo img { width: 48px; height: 48px; }
  .brand-name { font-size: 1.08rem; }
  .brand-name em { display: block; }
  .brand-trust { font-size: .7rem; }
  .mb-text { display: none; }
  .menu-btn { padding: 0 14px; }
}

/* ---------- Decorations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
.mesh { position: absolute; inset: -30%; pointer-events: none; opacity: .9;
  background: conic-gradient(from 0deg at 50% 50%, rgba(124,58,237,.0), rgba(34,211,238,.35), rgba(242,84,91,.32), rgba(124,58,237,.35), rgba(124,58,237,0));
  filter: blur(80px); animation: spin 26s linear infinite; }
.helix { position: absolute; width: 70px; height: 360px; pointer-events: none; }
.helix line { stroke: rgba(255,255,255,.25); stroke-width: 2; }
.helix .a { fill: var(--cyan); } .helix .b { fill: var(--coral); }
.helix .rung { transform-origin: 40px center; transform-box: fill-box; animation: twist 3.2s ease-in-out infinite; animation-delay: calc(var(--k) * -.2s); }
@keyframes twist { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
.squiggle { display: block; width: 140px; height: 12px; margin: 4px 0 0; overflow: visible; }
.squiggle path { fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.4s var(--out) .2s; }
.center .squiggle { margin-left: auto; margin-right: auto; }
.in .squiggle path, .squiggle.in path { stroke-dashoffset: 0; }

/* Blur-in scroll reveal */
.js [data-reveal] { opacity: 0; filter: blur(12px); transform: translateY(26px) scale(.97); transition: opacity .9s var(--out), filter .9s var(--out), transform 1s var(--out); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; filter: none; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; background: #fff; margin-top: -64px; padding-top: 64px; }
.hero .mesh { inset: -40% -20% auto auto; width: 1100px; height: 1100px; opacity: .55; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; padding-top: 50px; padding-bottom: 70px; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--lilac); color: var(--violet); font-weight: 700; font-size: .92rem; margin-bottom: 18px; animation: up .9s var(--out) both; }
.hero-pill b { background: var(--violet); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: .78rem; }
.hero h1 { margin-bottom: 18px; animation: up .9s var(--out) .1s both; }
.type-line { display: block; min-height: 1.05em; }
.type { color: var(--coral); white-space: nowrap; }
.type::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 4px; background: var(--coral); vertical-align: -0.08em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 33em; animation: up .9s var(--out) .2s both; }
.hero .btn-row { margin: 28px 0 30px; animation: up .9s var(--out) .3s both; }
@keyframes up { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; animation: up .9s var(--out) .4s both; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--plum); box-shadow: 0 8px 18px -14px rgba(46,16,101,.5); }
.hero-meta .ic { color: var(--coral); }

.hero-art { position: relative; height: 540px; }
.arch { position: absolute; inset: 0 60px 0 30px; border-radius: 280px 280px 30px 30px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--plum); animation: arch-in 1.3s var(--out) .15s both; }
@keyframes arch-in { from { clip-path: inset(100% 0 0 0 round 280px 280px 30px 30px); } to { clip-path: inset(0 0 0 0 round 280px 280px 30px 30px); } }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: settle 2.4s var(--out) .2s forwards; }
@keyframes settle { to { transform: scale(1); } }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(46,16,101,.55)); }
.arch-cap { position: absolute; left: 50px; right: 80px; bottom: 26px; z-index: 2; color: #fff; font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.arch-cap .ic { color: var(--cyan); }
.spin-badge { position: absolute; right: 0; top: 40px; width: 140px; height: 140px; z-index: 3; }
.spin-badge svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.spin-badge text { font: 800 10px var(--f-body); letter-spacing: 2.4px; fill: var(--plum); text-transform: uppercase; }
.spin-badge .core { position: absolute; inset: 34px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.spin-badge .core img { width: 62px; height: 62px; border-radius: 50%; }
.spin-badge::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); box-shadow: var(--shadow); }
.spin-badge svg, .spin-badge .core { position: absolute; }
.hero-helix { left: -38px; bottom: 120px; z-index: 3; height: 300px; }
.hero-helix line { stroke: var(--lilac-2); }
.notice-card { position: absolute; left: -10px; bottom: 34px; z-index: 4; width: 280px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 14px 16px; border: 1px solid var(--line); }
.notice-card h3 { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin: 0 0 8px; color: var(--coral-deep); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(242,84,91,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(242,84,91,0); } 100% { box-shadow: 0 0 0 0 rgba(242,84,91,0); } }
.notice-view { height: 110px; overflow: hidden; mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); }
.notice-roll { list-style: none; margin: 0; padding: 0; animation: roll-up var(--dur, 18s) linear infinite; }
.notice-view:hover .notice-roll { animation-play-state: paused; }
.notice-roll li { font-size: .86rem; line-height: 1.4; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
@keyframes roll-up { to { transform: translateY(-50%); } }
@media (max-width: 960px) {
  .hero { margin-top: 0; padding-top: 0; }
  .hero-in { grid-template-columns: 1fr; gap: 34px; padding-top: 30px; padding-bottom: 50px; }
  .hero-art { height: 440px; }
  .arch { inset: 0 30px 0 0; border-radius: 220px 220px 24px 24px; }
  .spin-badge { width: 110px; height: 110px; top: 10px; right: -6px; }
  .spin-badge .core { inset: 26px; }
  .spin-badge .core img { width: 48px; height: 48px; }
  .notice-card { left: 0; bottom: -24px; width: min(300px, 86%); }
  .hero-helix { display: none; }
}

/* ---------- Ring stats ---------- */
.rings { position: relative; z-index: 2; margin-top: 10px; }
.rings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ring-card { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--r-lg); padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ring { position: relative; width: 78px; height: 78px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: var(--lilac); }
.ring .fg { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 1.8s var(--out); }
.ring-card.in .ring .fg { stroke-dashoffset: var(--to, 0); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 900 1.25rem var(--f-head); color: var(--plum); }
.ring-card strong { display: block; font: 800 1.05rem/1.2 var(--f-head); color: var(--plum); }
.ring-card small { color: var(--muted); font-size: .86rem; }
@media (max-width: 960px) { .rings-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .ring-card { padding: 14px; gap: 12px; } .ring { width: 62px; height: 62px; } .ring b { font-size: 1.05rem; } }
@media (max-width: 480px) { .rings-grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-tint { background: linear-gradient(180deg, var(--lilac), var(--bg)); }
.section-dark { background: linear-gradient(140deg, var(--plum), var(--violet)); color: #EEE9FF; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 700px; margin-bottom: 44px; position: relative; z-index: 2; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section-dark .section-head p { color: #D9CFFB; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .86rem; color: var(--violet); background: #fff; border: 1px solid var(--lilac-2); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.tag .ic { width: 16px; height: 16px; color: var(--coral); }
.section-dark .tag { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 760px) { .section { padding: 64px 0; } .section-head { margin-bottom: 30px; } }

/* About split */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-photos { position: relative; height: 480px; }
.ap { position: absolute; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.ap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.ap:hover img { transform: scale(1.06); }
.ap1 { left: 0; top: 0; width: 72%; height: 70%; }
.ap2 { right: 0; bottom: 0; width: 56%; height: 52%; }
.motto { position: absolute; left: 6%; bottom: 6%; z-index: 3; background: var(--coral); color: #fff; padding: 14px 18px; border-radius: var(--r-md); max-width: 230px; box-shadow: var(--shadow); font-weight: 700; line-height: 1.35; font-size: .9rem; }
.motto span { display: block; font: 800 1.05rem var(--f-head); margin-bottom: 4px; }
.about-text p { color: #463E5E; }
.points { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.points li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--plum); background: #fff; border: 1px solid var(--line); padding: 10px 12px; border-radius: 12px; }
.points .ic { width: 22px; height: 22px; color: var(--coral); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } .about-photos { height: 380px; } .points { grid-template-columns: 1fr; } }

/* Course cards with cursor spotlight */
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.course {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 34px; background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--out), box-shadow .5s var(--out);
}
.course::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(124,58,237,.14), transparent 60%); }
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course:hover::before { opacity: 1; }
.course > * { position: relative; }
.course-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.course-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--violet-2)); color: #fff; box-shadow: 0 14px 26px -12px rgba(91,33,182,.7); transform: rotate(-6deg); transition: transform .6s var(--out); }
.course:hover .course-ic { transform: rotate(6deg) scale(1.06); }
.course-ic .ic { width: 30px; height: 30px; }
.course-alt .course-ic { background: linear-gradient(135deg, var(--coral), #FF8A65); box-shadow: 0 14px 26px -12px rgba(242,84,91,.7); }
.course h3 { font-size: 1.8rem; margin: 0; }
.course-head small { color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--lilac); color: var(--violet); font-weight: 700; font-size: .85rem; }
.course-alt .chips span { background: var(--coral-soft); color: var(--coral-deep); }
.course p { color: var(--muted); }
@media (max-width: 860px) { .courses { grid-template-columns: 1fr; } .course { padding: 26px 20px; } }

/* Facilities */
.facs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.fac { text-align: center; padding: 30px 16px 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); transition: transform .5s var(--out), background-color .3s; }
.fac:hover { transform: translateY(-8px); background: rgba(255,255,255,.14); }
.fac-ic { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--violet); position: relative; }
.fac-ic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .5s var(--out); }
.fac:hover .fac-ic::after { opacity: 1; transform: none; }
.fac-ic .ic { width: 30px; height: 30px; }
.fac h3 { font-size: 1.05rem; margin: 0; }
.section-dark .helix { right: 3%; top: 40px; opacity: .7; }
@media (max-width: 1000px) { .facs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .facs { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Vision / mission tabs with sliding indicator */
.vtabs { max-width: 920px; margin: 0 auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.vtab-bar { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--lilac); padding: 6px; }
.vtab-bar button { position: relative; z-index: 1; border: 0; background: none; padding: 14px 10px; font: 800 1rem var(--f-head); color: var(--violet); cursor: pointer; border-radius: 14px; transition: color .3s; }
.vtab-bar button[aria-selected="true"] { color: #fff; }
.vtab-ind { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 3); border-radius: 14px; background: linear-gradient(120deg, var(--violet), var(--coral)); transition: transform .55s var(--out); }
.vtab-panel { padding: 34px 38px; display: grid; grid-template-columns: 90px 1fr; gap: 24px; align-items: start; }
.vtab-panel[hidden] { display: none; }
.vtab-panel.show { animation: up .7s var(--out); }
.vtab-ic { width: 90px; height: 90px; border-radius: 26px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); }
.vtab-ic .ic { width: 42px; height: 42px; }
.vtab-panel p { font-size: 1.15rem; line-height: 1.65; color: var(--ink); margin: 0; }
.vtab-panel ul { margin: 0; padding-left: 1.2em; }
.vtab-panel li { margin-bottom: 6px; }
@media (max-width: 640px) { .vtab-panel { grid-template-columns: 1fr; padding: 24px 20px; } .vtab-ic { width: 64px; height: 64px; } .vtab-bar button { font-size: .9rem; padding: 12px 4px; } }

/* Messages */
.msgs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.msg { position: relative; border-radius: var(--r-lg); padding: 30px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.msg::after { content: "”"; position: absolute; right: 18px; top: -30px; font: 900 10rem/1 var(--f-head); color: var(--lilac); pointer-events: none; }
.msg > * { position: relative; z-index: 1; }
.msg p { color: #463E5E; margin: 0; }
.who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.who img, .who .av { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid var(--lilac-2); }
.who .av { display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--coral)); color: #fff; font: 900 1.4rem var(--f-head); border: 0; }
.who strong { display: block; font-family: var(--f-head); color: var(--plum); font-size: 1.05rem; }
.who small { color: var(--coral-deep); font-weight: 700; }
@media (max-width: 860px) { .msgs { grid-template-columns: 1fr; } }

/* Approvals wall (flip cards) */
.wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flip { perspective: 900px; height: 150px; }
.flip-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--out); }
.flip:hover .flip-in, .flip:focus-within .flip-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px; text-align: center; }
.face.front { background: #fff; border: 1px solid var(--line); }
.face.front strong { font: 900 1.6rem var(--f-head); color: var(--violet); }
.face.front small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.face.back { transform: rotateY(180deg); background: linear-gradient(135deg, var(--violet), var(--coral)); color: #fff; font-weight: 700; font-size: .9rem; }
.face.back a { color: #fff; }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .wall { grid-template-columns: 1fr 1fr; } .flip { height: 130px; } }

/* Gallery: filters + masonry */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { border: 1.5px solid var(--lilac-2); background: #fff; color: var(--violet); padding: 8px 16px; border-radius: 999px; font: 700 .88rem var(--f-body); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--out); }
.chip:hover { border-color: var(--violet); transform: translateY(-2px); }
.chip.is-on { background: var(--violet); border-color: var(--violet); color: #fff; }
.masonry { columns: 4 240px; column-gap: 14px; }
.tile { position: relative; display: block; margin: 0 0 14px; break-inside: avoid; border-radius: var(--r-md); overflow: hidden; background: var(--lilac); transition: opacity .4s, transform .5s var(--out); }
.tile img { width: 100%; transition: transform 1s var(--out); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(46,16,101,.8), transparent 55%); opacity: 0; transition: opacity .4s; }
.tile-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 700; font-size: .92rem; transform: translateY(12px); opacity: 0; transition: transform .45s var(--out), opacity .3s; }
.tile:hover img { transform: scale(1.08); }
.tile:hover::after { opacity: 1; }
.tile:hover .tile-cap { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }
.tile.pop { animation: pop .6s var(--out); }
@keyframes pop { from { opacity: 0; transform: scale(.9); filter: blur(6px); } }
.gal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.gal-tabs a { padding: 9px 18px; border-radius: 12px; text-decoration: none; font-weight: 800; color: var(--plum); background: #fff; border: 1px solid var(--line); }
.gal-tabs a[aria-current="page"] { background: var(--plum); color: #fff; border-color: var(--plum); }

/* CTA band */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--coral-deep), var(--coral) 45%, #FF8A65); color: #fff; }
.cta .mesh { opacity: .5; }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; color: #FFE4E5; }
.cta .btn-glass:hover { color: var(--coral-deep); }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.25fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.visit-info { padding: 40px; }
.v-row { display: flex; gap: 14px; margin-bottom: 18px; }
.v-ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--lilac); color: var(--violet); }
.v-row strong { display: block; font-size: .8rem; color: var(--muted); }
.v-row a { color: var(--plum); font-weight: 700; text-decoration: none; }
.v-row a:hover { color: var(--coral); }
.map { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .visit-info { padding: 26px 20px; } .map { min-height: 300px; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(130deg, var(--plum), var(--violet)); color: #fff; margin-top: -64px; }
.page-hero .mesh { opacity: .7; }
.ph-helix { right: 6%; top: 70px; height: 240px; opacity: .75; }
.ph-in { position: relative; z-index: 2; padding-top: 118px; padding-bottom: 70px; }
.ph-title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0; animation: up .9s var(--out) both; }
.page-intro { color: #E2D9FF; margin: 12px 0 0; max-width: 44em; font-size: 1.06rem; animation: up .9s var(--out) .12s both; }
.crumbs { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .86rem; font-weight: 600; margin-bottom: 16px; animation: up .9s var(--out) both; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs .ic { width: 14px; height: 14px; }
.page-body { padding: 48px 0 90px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; }
.panel + .panel { margin-top: 22px; }
.panel h2 { font-size: 1.5rem; }
.panel h3 { margin-top: 1.4em; }
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }
@media (max-width: 960px) { .page-hero { margin-top: 0; } .ph-in { padding-top: 46px; padding-bottom: 54px; } .ph-helix { display: none; } }
@media (max-width: 600px) { .panel { padding: 22px 18px; border-radius: var(--r-md); } .page-body { padding: 26px 0 60px; } }

.prose { max-width: 76ch; }
.prose li { margin-bottom: .55em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.two-col .panel + .panel { margin-top: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 68px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); transition: transform .4s var(--out), border-color .3s; }
.steps li:hover { transform: translateX(6px); border-color: var(--violet-2); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 900 1rem var(--f-head); color: #fff; background: linear-gradient(135deg, var(--violet), var(--coral)); }

.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.oc { position: relative; padding: 26px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--out), box-shadow .5s var(--out); }
.oc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.oc-letter { position: absolute; right: 14px; top: 4px; font: 900 4rem/1 var(--f-head); color: var(--lilac); }
.oc h3 { position: relative; font-size: 1.12rem; color: var(--violet); }
.oc p { position: relative; color: #463E5E; font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .outcomes { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.tbl th { background: var(--plum); color: #fff; text-align: left; padding: 13px 16px; font-size: .88rem; }
.tbl td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl tbody tr { transition: background-color .2s; }
.tbl tbody tr:hover { background: var(--lilac); }
@media (max-width: 600px) { .tbl { min-width: 0; font-size: .88rem; } .tbl th, .tbl td { padding: 10px; } }

.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.person { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--out), box-shadow .45s var(--out); }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.p-av { width: 60px; height: 60px; flex: none; border-radius: 18px; display: grid; place-items: center; font: 900 1.4rem var(--f-head); color: #fff; background: linear-gradient(135deg, var(--violet), var(--violet-2)); transform: rotate(-4deg); transition: transform .5s var(--out); }
.person:nth-child(even) .p-av { background: linear-gradient(135deg, var(--coral), #FF8A65); }
.person:hover .p-av { transform: rotate(4deg); }
.person img.p-av { object-fit: cover; }
.p-info { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.p-info strong { color: var(--plum); font-size: 1.02rem; }
.p-role { color: var(--coral-deep); font-weight: 700; font-size: .88rem; }
.p-sub { color: var(--muted); font-size: .86rem; }
.p-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--violet); font-weight: 700; font-size: .88rem; text-decoration: none; }
.p-phone:hover { color: var(--coral); }

.lead-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 26px; }
.lead { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--plum), var(--violet)); color: #fff; }
.lead img, .lead .p-av { width: 90px; height: 90px; border-radius: 22px; object-fit: cover; border: 3px solid rgba(255,255,255,.4); }
.lead strong { display: block; font: 800 1.2rem var(--f-head); }
.lead small { color: var(--cyan); font-weight: 700; }
@media (max-width: 700px) { .lead-cards { grid-template-columns: 1fr; } }

.message { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.message-card { position: sticky; top: 90px; text-align: center; padding: 28px 20px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--plum), var(--violet)); color: #fff; }
.message-card img, .message-card .p-av { width: 130px; height: 130px; margin: 0 auto 14px; border-radius: 34px; object-fit: cover; border: 4px solid rgba(255,255,255,.3); font-size: 2.6rem; }
.message-card strong { display: block; font: 800 1.15rem var(--f-head); }
.message-card small { color: var(--cyan); font-weight: 700; }
.message-body { font-size: 1.07rem; line-height: 1.8; }
.message-body > p:first-child::first-letter { float: left; font: 900 3.4rem/1 var(--f-head); margin: 6px 10px 0 0; color: var(--coral); }
.sign { margin-top: 22px; padding-top: 16px; border-top: 2px dashed var(--line); text-align: right; }
.sign strong { display: block; font-family: var(--f-head); color: var(--plum); font-size: 1.1rem; }
.sign small { color: var(--muted); }
@media (max-width: 800px) { .message { grid-template-columns: 1fr; } .message-card { position: static; } }

.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.fact { padding: 18px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.fact::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--violet), var(--coral)); transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--out); }
.fact:hover::after { transform: scaleX(1); }
.fact small { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; }
.fact strong { font: 900 1.3rem var(--f-head); color: var(--plum); }
@media (max-width: 760px) { .fact-row { grid-template-columns: 1fr 1fr; gap: 10px; } }

.doc-img { border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; padding: 10px; }
.doc-img img { margin: 0 auto; border-radius: 10px; }
.pdfs { display: grid; gap: 12px; }
.pdf { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--plum); font-weight: 700; transition: transform .4s var(--out), border-color .3s, box-shadow .4s; }
.pdf .ic:first-child { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--coral-soft); color: var(--coral); }
.pdf span { flex: 1; }
.pdf:hover { transform: translateX(6px); border-color: var(--violet); box-shadow: var(--shadow); color: var(--plum); }

.empty { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: var(--r-md); border: 2px dashed var(--lilac-2); background: #fff; color: var(--muted); }
.empty-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lilac); color: var(--violet); flex: none; }
.empty p { margin: 0; }

.iqac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.iqac-item { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.iqac-item .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--lilac); color: var(--violet); margin-bottom: 12px; }
.iqac-item h3 { font-size: 1.08rem; }
.iqac-item p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .iqac-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .iqac-grid { grid-template-columns: 1fr; } }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.cc { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--out), box-shadow .45s var(--out); }
.cc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cc .v-ic { margin-bottom: 14px; width: 52px; height: 52px; }
.cc h2 { font-size: 1.15rem; }
.cc a { display: block; font-weight: 700; color: var(--plum); text-decoration: none; padding: 2px 0; word-break: break-word; }
.cc a:hover { color: var(--coral); }
.cc p { margin: 0 0 6px; }
.map-box { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-box iframe { display: block; width: 100%; height: 440px; border: 0; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* Legacy pages (admission / feedback forms) keep their old content inside the new frame */
.legacy-wrap { display: block; max-width: var(--wrap); margin: 0 auto; padding: 30px 22px 60px; }
body.is-legacy .nav-list { margin: 0; }
body.is-legacy .nav a:hover { text-decoration: none; }
body.is-legacy .foot ul { padding-left: 0; }

/* ---------- Footer ---------- */
.foot { position: relative; overflow: hidden; background: #160933; color: #BDB3D9; font-size: .94rem; margin-top: 30px; }
.foot-glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(124,58,237,.55), transparent); pointer-events: none; }
.foot-cta { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; padding-top: 50px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.1); }
.fc-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 700; margin: 0 0 6px; }
.foot-cta h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.foot-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; padding-top: 44px; padding-bottom: 36px; }
.f-logos { display: flex; gap: 10px; margin-bottom: 14px; }
.f-logos img { width: 70px; height: 70px; border-radius: 50%; background: #fff; padding: 3px; }
.f-name { font: 800 1.15rem var(--f-head); color: #fff; margin-bottom: 6px; }
.f-muted { color: #9D92BD; }
.f-head { font: 800 1.05rem var(--f-head); color: #fff; margin-bottom: 16px; }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: 9px; }
.f-links a { color: #DAD2F5; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color .25s, gap .35s var(--out); }
.f-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); transition: width .35s var(--out); }
.f-links a:hover { color: #fff; }
.f-links a:hover::before { width: 16px; border-radius: 3px; }
.f-line { display: flex; gap: 10px; margin-bottom: 12px; color: #DAD2F5; }
.f-line .ic { margin-top: 4px; color: var(--cyan); }
.f-line a { color: #fff; text-decoration: none; }
.f-line a:hover { color: var(--cyan); }
.f-mail { word-break: break-all; }
.f-bottom { position: relative; background: rgba(0,0,0,.3); font-size: .85rem; }
.f-bottom-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 16px; padding-bottom: 16px; }
.f-bottom a { color: var(--cyan); }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } .f-bottom-in { flex-direction: column; } }

.to-top { position: fixed; right: 20px; bottom: 22px; z-index: 80; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--coral)); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(30px) rotate(-20deg); pointer-events: none; transition: opacity .4s, transform .6s var(--out); }
.to-top .ic { transform: rotate(180deg); width: 22px; height: 22px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #fff; }
.to-top:hover .ic { animation: hop .6s var(--out); }
@keyframes hop { 50% { transform: rotate(180deg) translateY(4px); } }

.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 85; border-radius: 20px; overflow: hidden; background: rgba(46,16,101,.95); backdrop-filter: blur(10px); box-shadow: 0 16px 34px -10px rgba(46,16,101,.6); margin-bottom: env(safe-area-inset-bottom); }
  .callbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; color: #fff; text-decoration: none; font-weight: 700; font-size: .78rem; }
  .callbar a .ic { width: 20px; height: 20px; color: var(--cyan); }
  .callbar a:first-child { background: var(--coral); }
  .callbar a:first-child .ic { color: #fff; }
  .to-top { bottom: 88px; right: 14px; width: 44px; height: 44px; }
  body { padding-bottom: 80px; }
}

.lightbox { position: fixed; inset: 0; z-index: 600; background: rgba(22,9,51,.95); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 12px; animation: pop .5s var(--out); }
.lightbox figcaption { color: #E2D9FF; margin-top: 12px; font-weight: 600; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--coral); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-close .ic { width: 22px; height: 22px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 66px; border: 0; border-radius: 14px; background: rgba(255,255,255,.12); color: #fff; font-size: 2.2rem; cursor: pointer; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; filter: none !important; transform: none !important; }
  .squiggle path { stroke-dashoffset: 0; }
}
@media print { .topbar, .nav, .callbar, .foot, .to-top { display: none !important; } }
