:root {
  --navy: #071124;
  --ink: #101827;
  --muted: #657184;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #2563eb;
  --sky: #7dd3fc;
  --gold: #f5c451;
  --silver: #94a3b8;
  --bronze: #cd7c52;
  --green: #10b981;
  --line: rgba(16, 24, 39, 0.12);
  --shadow: 0 20px 60px rgba(7, 17, 36, 0.14);
  --radius: 24px;
  --font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  background:
    radial-gradient(circle at 14% 6%, rgba(125, 211, 252, 0.24), transparent 24rem),
    radial-gradient(circle at 86% 8%, rgba(245, 196, 81, 0.16), transparent 20rem),
    linear-gradient(180deg, #f8fbff, #eef4ff 46%, #ffffff);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 17, 36, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 36, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin-top: 0; }

.shell {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  color: var(--white);
  background: var(--navy);
}

/* ── Animated placeholders ──────────────────────────────────── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes shimmerDark {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.avatar-placeholder {
  border-radius: 50%;
  background: linear-gradient(90deg, #dde8f8 25%, #c8daf5 50%, #dde8f8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}

.avatar-placeholder--sm {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.avatar-placeholder--md {
  width: 72px;
  height: 72px;
}

.avatar-placeholder--lg {
  width: 96px;
  height: 96px;
}

.avatar-placeholder--xl {
  width: 120px;
  height: 120px;
}

.avatar-placeholder--rect {
  width: 100%;
  height: 120px;
  border-radius: 16px;
  margin-bottom: 14px;
}

.avatar-placeholder--rect-sm {
  width: 100%;
  height: 64px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.card-photo { flex-shrink: 0; }

/* ── Ambient background ─────────────────────────────────────── */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: min(36vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.18;
  animation: floatOrb 12s ease-in-out infinite;
}

.orb--blue { left: -12vw; top: 20vh; background: var(--sky); }
.orb--gold { right: -10vw; bottom: 14vh; background: var(--gold); animation-delay: -5s; }

.orbit {
  position: absolute;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 50%;
  animation: rotateOrbit 40s linear infinite;
}

.orbit--one { top: 18vh; right: 8vw; width: 240px; height: 240px; }
.orbit--two { left: 8vw; bottom: 12vh; width: 180px; height: 180px; animation-direction: reverse; }

/* ── Marquee strip — very top ───────────────────────────────── */
.marquee {
  overflow: hidden;
  padding: 10px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #1e3a8a);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 22px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.marquee__track span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.marquee__track em {
  font-style: normal;
  opacity: 0.4;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(248, 251, 255, 0.88);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 10px 18px rgba(37, 99, 235, 0.18));
}

.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 1rem; font-weight: 900; letter-spacing: -0.04em; }
.brand em { color: var(--muted); font-size: 0.7rem; font-style: normal; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  padding: 8px 11px;
  border-radius: 999px;
  color: rgba(16, 24, 39, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
}

.nav a:hover { color: var(--ink); background: rgba(37, 99, 235, 0.08); }

.nav__cta {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--navy);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: clamp(44px, 6vw, 80px) 0 60px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: var(--gold);
  flex-shrink: 0;
}

h1, h2, h3 { margin-top: 0; letter-spacing: -0.06em; }

h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 0.96;
}

h3 { font-size: 1.1rem; margin-bottom: 8px; }

h1::first-letter,
h2::first-letter { font-family: var(--display); color: var(--blue); }

.hero__copy > p,
.section__head p,
.campus-grid p,
.admissions p,
.contact p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.hero__copy > p { max-width: 580px; font-size: 1rem; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #0f172a);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.22);
}

.btn--soft {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.hero__metrics div {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 36px rgba(7, 17, 36, 0.07);
  backdrop-filter: blur(12px);
}

.hero__metrics dt { font-size: 1.1rem; font-weight: 900; }
.hero__metrics dd { margin: 3px 0 0; color: var(--muted); font-size: 0.78rem; }

.hero__panel {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.38), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.58));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.student-card--main {
  padding: 20px;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #1d4ed8);
  margin-bottom: 16px;
}

.student-card--main > span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-card--main > strong {
  display: block;
  margin-top: 8px;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.progress {
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--sky));
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-grid b { display: block; margin-bottom: 4px; font-size: 0.88rem; }
.mini-grid span { color: var(--muted); font-size: 0.78rem; line-height: 1.4; }

/* ── Top 5 Students Podium ──────────────────────────────────── */
.toppers {
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 196, 81, 0.18), transparent 30rem),
    linear-gradient(180deg, rgba(37, 99, 235, 0.05), transparent);
}

.center { text-align: center; max-width: 680px; margin-inline: auto; }
.center .eyebrow::before { display: none; }

.podium-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  margin-top: 52px;
  padding-bottom: 40px;
  overflow-x: auto;
}

.topper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.topper__crown {
  font-size: 1.6rem;
  animation: crownBounce 2.4s ease-in-out infinite;
  line-height: 1;
  margin-bottom: 4px;
}

.topper__photo {
  border: 3px solid var(--white);
  box-shadow: 0 10px 30px rgba(7, 17, 36, 0.16);
  flex-shrink: 0;
}

.topper--1 .topper__photo { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold), 0 14px 40px rgba(245, 196, 81, 0.4); }
.topper--2 .topper__photo { border-color: var(--silver); }
.topper--3 .topper__photo { border-color: var(--bronze); }

.topper__trophy {
  width: 56px;
  animation: trophyFloat 3s ease-in-out infinite;
}

.topper--1 .topper__trophy { width: 72px; animation-delay: 0s; }

.topper__info {
  text-align: center;
}

.topper__info strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 900;
}

.topper__score {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--blue);
}

.topper--1 .topper__score { font-size: 1.7rem; color: #d97706; }
.topper--2 .topper__score { color: var(--silver); }
.topper--3 .topper__score { color: var(--bronze); }

.topper__info em {
  display: block;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

[data-rank] .topper__info strong { font-size: 0.78rem; }
[data-rank] .topper__score { font-size: 0.9rem; }
[data-rank] .topper__info { text-align: center; }

.topper__bar {
  width: 80px;
  height: var(--h);
  border-radius: 10px 10px 0 0;
  background: var(--c);
  display: grid;
  align-items: end;
  justify-items: center;
  padding-bottom: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.topper--1 .topper__bar { width: 100px; }
.topper--4 .topper__bar,
.topper--5 .topper__bar { width: 68px; background: linear-gradient(180deg, rgba(37, 99, 235, 0.7), rgba(37, 99, 235, 0.4)); }

.topper__bar span {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
}

.topper--4, .topper--5 { opacity: 0.88; }

/* real images in podium */
.topper__photo--xl,
.topper__photo--lg,
.topper__photo--md,
.topper__photo--sm {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(7, 17, 36, 0.14);
  background: #dde8f8;
}

.topper__photo--xl { width: 120px; height: 120px; }
.topper__photo--lg { width: 96px; height: 96px; }
.topper__photo--md { width: 72px; height: 72px; }
.topper__photo--sm { width: 58px; height: 58px; }

.topper--1 .topper__photo--xl { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold), 0 14px 40px rgba(245, 196, 81, 0.4); }
.topper--2 .topper__photo--lg { border-color: var(--silver); }
.topper--3 .topper__photo--lg { border-color: var(--bronze); }

.mini-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #dde8f8;
  margin-bottom: 8px;
}

/* Glory board real photos */
.glory-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  flex-shrink: 0;
}

/* Program card real photos */
.card-photo {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
  background: #dde8f8;
}

/* Campus tile real photos */
.tile-img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.12);
}

/* ── Leaderboard ranks 4–15 ──────────────────────────────────── */
.leaderboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.lb-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(7, 17, 36, 0.07);
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(7, 17, 36, 0.12);
}

.lb-rank {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
}

.lb-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  background: #dde8f8;
  flex-shrink: 0;
}

.lb-info {
  flex: 1;
  min-width: 0;
}

.lb-info strong {
  display: block;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-info em {
  display: block;
  font-size: 0.74rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 2px;
}

.lb-score {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.04em;
}

/* ── Section ────────────────────────────────────────────────── */
.section { padding: clamp(54px, 7vw, 88px) 0; }

.section__head { max-width: 780px; margin-bottom: 28px; }

.section__head p,
.section__head--invert p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.program-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 42px rgba(7, 17, 36, 0.07);
  backdrop-filter: blur(12px);
}

.program-card > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.program-card p,
.program-card li { color: var(--muted); font-size: 0.86rem; line-height: 1.65; }

.program-card ul { padding-left: 16px; margin-bottom: 0; font-size: 0.84rem; }

/* ── Dark Section ───────────────────────────────────────────── */
.section--dark {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(125, 211, 252, 0.18), transparent 20rem),
    linear-gradient(135deg, var(--navy), #172554);
}

.section__head--invert p { color: rgba(255, 255, 255, 0.64); }

.glory__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 38px;
  align-items: center;
}

.glory-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.glory-board article {
  display: flex;
  flex-direction: column;
  min-height: 130px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(7, 17, 36, 0.08);
}

.glory-board article .avatar-placeholder--sm {
  background: linear-gradient(90deg, rgba(255,255,255,0.18) 25%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.18) 75%);
  background-size: 200% 100%;
  animation: shimmerDark 1.8s ease-in-out infinite;
}

.glory-board b { display: block; margin-bottom: 6px; font-size: 0.96rem; }
.glory-board span { color: rgba(255, 255, 255, 0.64); font-size: 0.82rem; }

/* ── Campus ─────────────────────────────────────────────────── */
.campus-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.9fr);
  gap: 44px;
  align-items: center;
}

.campus-visual {
  position: relative;
  min-height: 440px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.88), rgba(7, 17, 36, 0.9)),
    var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.campus-visual::before {
  position: absolute;
  inset: 28px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
}

.campus-tile {
  position: absolute;
  max-width: 180px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
  font-weight: 800;
  font-size: 0.82rem;
  animation: tileFloat 7s ease-in-out infinite;
}

.campus-tile--one { top: 60px; left: 44px; }
.campus-tile--two { top: 140px; right: 40px; animation-delay: -2s; }
.campus-tile--three { bottom: 100px; left: 58px; animation-delay: -4s; }
.campus-tile--four { right: 54px; bottom: 48px; animation-delay: -1s; }

.campus-list { display: grid; gap: 10px; margin-top: 22px; }

.campus-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(7, 17, 36, 0.06);
  backdrop-filter: blur(12px);
}

.campus-list strong { display: block; margin-bottom: 4px; font-size: 0.9rem; }
.campus-list span { color: var(--muted); font-size: 0.82rem; }

/* ── Admissions ─────────────────────────────────────────────── */
.admissions {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.05), transparent);
}

.admissions__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1.2fr);
  gap: 32px;
  align-items: start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(7, 17, 36, 0.06);
  backdrop-filter: blur(12px);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.steps strong { display: block; margin-bottom: 8px; font-size: 1rem; }
.steps p { color: var(--muted); font-size: 0.84rem; margin: 0; }

/* ── Contact ────────────────────────────────────────────────── */
.contact {
  padding: 74px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 14%, rgba(245, 196, 81, 0.22), transparent 18rem),
    linear-gradient(135deg, var(--navy), #1e3a8a);
}

.contact__inner { max-width: 760px; text-align: center; }
.contact__inner .eyebrow { color: var(--gold); }
.contact p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 0.15s ease, background 0.15s ease;
}

.contact-actions a:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.18); }

.social-btn--wa { background: #25d366; color: #fff; border-color: transparent; }
.social-btn--wa:hover { background: #1ebe5d !important; }

/* Social media icon row */
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 900;
  color: var(--white);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-link:hover { transform: translateY(-3px); opacity: 0.9; }

.social-link--ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); box-shadow: 0 10px 28px rgba(131,58,180,0.3); }
.social-link--fb { background: #1877f2; box-shadow: 0 10px 28px rgba(24,119,242,0.3); }
.social-link--li { background: #0a66c2; box-shadow: 0 10px 28px rgba(10,102,194,0.3); }
.social-link--yt { background: #ff0000; box-shadow: 0 10px 28px rgba(255,0,0,0.28); }

/* ── Hero download bar ───────────────────────────────────────── */
.hero-downloads {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-downloads__label { color: var(--muted); }
.hero-downloads__sep   { color: var(--muted); opacity: 0.4; }

.hero-dl-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-weight: 900;
  transition: color 0.15s ease;
}

.hero-dl-link:hover { color: var(--ink); }

.hero-dl-link em {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(37, 99, 235, 0.08);
}

/* ── Floating download button ────────────────────────────────── */
.float-download {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 30;
  display: flex;
  gap: 8px;
  flex-direction: column;
  align-items: flex-end;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.float-download.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.float-download__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.36);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.float-download__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.44);
}

.float-download__btn--outline {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(7, 17, 36, 0.14);
}

.float-download__btn--outline:hover {
  box-shadow: 0 16px 38px rgba(7, 17, 36, 0.2);
}

/* ── PDF Downloads ───────────────────────────────────────────── */
.pdf-downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pdf-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }

.pdf-btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.3);
}

.pdf-btn span { font-size: 0.74rem; opacity: 0.65; font-weight: 700; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #050b18;
  font-size: 0.82rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* ── Keyframes ──────────────────────────────────────────────── */
@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -16px, 0); }
}

@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes tileFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes trophyFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes crownBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.12); }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav.is-open { display: flex; }
  .nav a { text-align: center; }

  .hero__grid,
  .glory__grid,
  .campus-grid,
  .admissions__grid { grid-template-columns: 1fr; }

  .program-grid,
  .steps { grid-template-columns: 1fr 1fr; }

  .podium-wrap {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
  }

  .leaderboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .header__inner { min-height: 64px; }
  .brand img { width: 36px; height: 36px; }

  .hero__metrics,
  .mini-grid,
  .glory-board,
  .program-grid,
  .steps { grid-template-columns: 1fr; }

  .campus-visual { min-height: 360px; }
  .campus-tile { max-width: 140px; padding: 11px; font-size: 0.76rem; }
  .footer__inner { display: grid; }

  .podium-wrap { gap: 6px; }
  .topper--1 .topper__bar { width: 80px; }
  .topper__bar { width: 60px; }
  .leaderboard { grid-template-columns: 1fr; }
}

/* ── Success background ──────────────────────────────────────── */
.success-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Graduation caps — float upward with sway */
.grad-cap {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0;
  animation: capRise var(--dur, 14s) var(--delay, 0s) ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.2));
}

.grad-cap--1 { left:  6%; --dur: 13s; --delay: 0s; }
.grad-cap--2 { left: 18%; --dur: 17s; --delay: -4s; font-size: 1.2rem; }
.grad-cap--3 { left: 38%; --dur: 15s; --delay: -8s; font-size: 2.2rem; }
.grad-cap--4 { left: 56%; --dur: 12s; --delay: -2s; font-size: 1.4rem; }
.grad-cap--5 { left: 74%; --dur: 18s; --delay: -6s; }
.grad-cap--6 { left: 88%; --dur: 14s; --delay: -10s; font-size: 1.6rem; }

@keyframes capRise {
  0%   { bottom: -8vh; opacity: 0; transform: rotate(-12deg) scale(0.7); }
  10%  { opacity: 0.22; }
  45%  { transform: rotate(8deg) scale(1); }
  70%  { opacity: 0.18; transform: rotate(-5deg) scale(0.9); }
  90%  { opacity: 0.06; }
  100% { bottom: 108vh; opacity: 0; transform: rotate(14deg) scale(0.6); }
}

/* Rising stars — twinkle and drift upward */
.rise-star {
  position: absolute;
  font-style: normal;
  color: var(--gold);
  opacity: 0;
  animation: starRise var(--dur, 10s) var(--delay, 0s) ease-in-out infinite;
}

.rise-star--1 { left: 12%; font-size: 1.4rem; --dur: 11s; --delay: -1s; }
.rise-star--2 { left: 30%; font-size: 0.9rem; --dur:  9s; --delay: -5s; }
.rise-star--3 { left: 52%; font-size: 1.8rem; --dur: 13s; --delay: -2s; }
.rise-star--4 { left: 70%; font-size: 1rem;   --dur: 10s; --delay: -7s; }
.rise-star--5 { left: 84%; font-size: 1.6rem; --dur: 12s; --delay: -3s; }

@keyframes starRise {
  0%   { bottom: -5vh; opacity: 0; transform: scale(0.5); }
  15%  { opacity: 0.55; transform: scale(1.2); }
  50%  { opacity: 0.35; transform: scale(1) rotate(20deg); }
  80%  { opacity: 0.15; }
  100% { bottom: 105vh; opacity: 0; transform: scale(0.4) rotate(-15deg); }
}

/* Floating trophies — gentle bob */
.float-trophy {
  position: absolute;
  font-size: 2.2rem;
  opacity: 0.11;
  filter: drop-shadow(0 6px 14px rgba(245, 196, 81, 0.28));
  animation: trophyBob var(--dur, 8s) var(--delay, 0s) ease-in-out infinite;
}

.float-trophy--1 { left:  8%; top: 35%; --dur:  9s; --delay: 0s;  }
.float-trophy--2 { left: 62%; top: 60%; --dur: 11s; --delay: -4s; font-size: 1.6rem; }
.float-trophy--3 { left: 90%; top: 24%; --dur:  7s; --delay: -2s; font-size: 1.8rem; }

@keyframes trophyBob {
  0%,  100% { transform: translateY(0) rotate(-6deg); opacity: 0.11; }
  30%        { transform: translateY(-24px) rotate(4deg); opacity: 0.18; }
  60%        { transform: translateY(-12px) rotate(-3deg); opacity: 0.14; }
}

/* Score particles — float and fade */
.score-particle {
  position: absolute;
  font-family: var(--font);
  font-weight: 900;
  letter-spacing: -0.05em;
  opacity: 0;
  animation: scoreDrift var(--dur, 16s) var(--delay, 0s) ease-in-out infinite;
}

.score-particle--1 { left: 22%; font-size: 1.1rem; color: var(--blue); --dur: 15s; --delay: -3s; }
.score-particle--2 { left: 45%; font-size: 0.9rem; color: var(--gold); --dur: 18s; --delay: -8s; }
.score-particle--3 { left: 68%; font-size: 1rem;   color: var(--green); --dur: 14s; --delay: -1s; }
.score-particle--4 { left: 80%; font-size: 1.6rem; --dur: 12s; --delay: -5s; }
.score-particle--5 { left: 35%; font-size: 1.4rem; --dur: 17s; --delay: -11s; }

@keyframes scoreDrift {
  0%   { bottom: -6vh; opacity: 0; transform: translateX(0) scale(0.6); }
  12%  { opacity: 0.28; transform: translateX(18px) scale(1); }
  50%  { transform: translateX(-12px); opacity: 0.2; }
  78%  { opacity: 0.1; }
  100% { bottom: 106vh; opacity: 0; transform: translateX(8px) scale(0.5); }
}

/* Sparkles — tiny bursts at fixed positions */
.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0;
  animation: sparklePop var(--dur, 4s) var(--delay, 0s) ease-in-out infinite;
}

/* Alternate gold and blue sparkles */
.sparkle--1, .sparkle--3, .sparkle--5, .sparkle--7 { background: var(--gold); }
.sparkle--2, .sparkle--4, .sparkle--6, .sparkle--8 { background: var(--sky); }

.sparkle--1 { left:  5%; top: 20%; --dur: 3.8s; --delay: 0s; }
.sparkle--2 { left: 14%; top: 65%; --dur: 4.2s; --delay: -1.4s; width: 4px; height: 4px; }
.sparkle--3 { left: 28%; top: 40%; --dur: 3.4s; --delay: -0.7s; width: 8px; height: 8px; }
.sparkle--4 { left: 48%; top: 78%; --dur: 5s;   --delay: -2s; }
.sparkle--5 { left: 60%; top: 15%; --dur: 3.6s; --delay: -0.4s; width: 5px; height: 5px; }
.sparkle--6 { left: 72%; top: 52%; --dur: 4.6s; --delay: -3s; width: 7px; height: 7px; }
.sparkle--7 { left: 84%; top: 33%; --dur: 3.9s; --delay: -1.8s; width: 4px; height: 4px; }
.sparkle--8 { left: 94%; top: 70%; --dur: 4.4s; --delay: -0.9s; }

@keyframes sparklePop {
  0%,  90%, 100% { opacity: 0; transform: scale(0); }
  15%            { opacity: 0.9; transform: scale(1.6); }
  35%            { opacity: 0.6; transform: scale(1); }
  55%            { opacity: 0.4; transform: scale(1.2); }
  70%            { opacity: 0.1; }
}

/* Reduced motion — freeze everything */
@media (prefers-reduced-motion: reduce) {
  .success-bg { display: none; }
}

/* ── Section-scoped animated objects ────────────────────────── */
.section-anim {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Sections with this layer need position relative */
.section,
.achievements,
.hostel,
.section--dark,
.section--light {
  position: relative;
}

/* Make sure shell/content sits on top */
.section > .shell,
.achievements > .shell,
.hostel > .shell,
.section--dark > .shell,
.section--light > .shell {
  position: relative;
  z-index: 1;
}

.sa {
  position: absolute;
  font-size: var(--fz, 1.5rem);
  opacity: 0;
  top: var(--top, 50%);
  left: var(--left, 50%);
  animation: saFloat var(--dur, 8s) var(--delay, 0s) ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.08));
}

/* Unique positions, sizes and timings for each of the 8 slots */
.sa--1 { --top: 12%; --left:  4%; --fz: 2rem;   --dur:  9s; --delay:    0s; }
.sa--2 { --top: 68%; --left:  8%; --fz: 1.4rem; --dur: 11s; --delay: -3.2s; }
.sa--3 { --top: 28%; --left: 18%; --fz: 1.6rem; --dur:  8s; --delay: -1.5s; }
.sa--4 { --top: 78%; --left: 28%; --fz: 1.2rem; --dur: 13s; --delay: -6s;   }
.sa--5 { --top: 14%; --left: 78%; --fz: 1.8rem; --dur: 10s; --delay: -4s;   }
.sa--6 { --top: 55%; --left: 88%; --fz: 1.3rem; --dur:  9s; --delay: -2s;   }
.sa--7 { --top: 82%; --left: 76%; --fz: 2.2rem; --dur: 12s; --delay: -7s;   }
.sa--8 { --top: 38%; --left: 92%; --fz: 1.1rem; --dur:  7s; --delay: -0.8s; }

@keyframes saFloat {
  0%,  100% { opacity: 0.08; transform: translateY(0)       rotate(-5deg)  scale(0.9);  }
  25%        { opacity: 0.18; transform: translateY(-18px)   rotate(4deg)   scale(1.05); }
  50%        { opacity: 0.12; transform: translateY(-8px)    rotate(-2deg)  scale(1);    }
  75%        { opacity: 0.16; transform: translateY(-22px)   rotate(6deg)   scale(1.08); }
}

/* Dark section variant — slightly brighter */
.section-anim--dark .sa { filter: drop-shadow(0 4px 12px rgba(255,255,255,0.12)); }
.section-anim--dark .sa { opacity: 0; }

@keyframes saFloatDark {
  0%,  100% { opacity: 0.14; transform: translateY(0)     rotate(-4deg) scale(0.9);  }
  30%        { opacity: 0.28; transform: translateY(-20px) rotate(5deg)  scale(1.06); }
  60%        { opacity: 0.18; transform: translateY(-10px) rotate(-3deg) scale(1);    }
}

.section-anim--dark .sa {
  animation-name: saFloatDark;
}

/* ── Achievements ────────────────────────────────────────────── */
.achievements {
  background:
    radial-gradient(circle at 80% 50%, rgba(245, 196, 81, 0.14), transparent 22rem),
    var(--paper);
}

.achieve-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.achieve-stat {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(7, 17, 36, 0.07);
  backdrop-filter: blur(12px);
  text-align: center;
}

.achieve-stat__num {
  display: block;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
}

.achieve-stat__num small {
  font-size: 0.5em;
  vertical-align: super;
}

.achieve-stat p {
  color: var(--muted);
  font-size: 0.84rem;
  margin: 0;
}

.achieve-awards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.achieve-awards article {
  padding: 20px;
  border: 1px solid rgba(245, 196, 81, 0.4);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 220, 0.7));
  box-shadow: 0 10px 28px rgba(7, 17, 36, 0.07);
}

.achieve-awards article span {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.achieve-awards article strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 6px;
}

.achieve-awards article p {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}

/* ── Staff ───────────────────────────────────────────────────── */
.section--light {
  background:
    radial-gradient(circle at 10% 50%, rgba(125, 211, 252, 0.12), transparent 20rem),
    #f0f6ff;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.staff-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(7, 17, 36, 0.08);
}

.staff-card--principal { border-color: rgba(245, 196, 81, 0.6); }
.staff-card--vp { border-color: rgba(37, 99, 235, 0.3); }

.staff-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--line);
  background: #dde8f8;
  flex-shrink: 0;
}

.staff-card--principal img { border-color: var(--gold); }
.staff-card--vp img { border-color: var(--blue); }

.staff-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.staff-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.staff-card em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.staff-card p { color: var(--muted); font-size: 0.84rem; margin: 0; }

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.faculty-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(7, 17, 36, 0.06);
  text-align: center;
}

.faculty-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  background: #dde8f8;
  margin: 0 auto 10px;
}

.faculty-card strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.faculty-card em { display: block; font-style: normal; color: var(--blue); font-size: 0.76rem; font-weight: 800; margin-bottom: 6px; }
.faculty-card p { color: var(--muted); font-size: 0.78rem; margin: 0; }

/* ── Facilities ──────────────────────────────────────────────── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.facility-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, background 0.18s ease;
}

.facility-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.facility-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.facility-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: var(--white);
}

.facility-card p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.facility-card ul {
  padding-left: 16px;
  margin: 0;
}

.facility-card li {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

/* ── Hostel ──────────────────────────────────────────────────── */
.hostel {
  background:
    radial-gradient(circle at 90% 30%, rgba(37, 99, 235, 0.1), transparent 20rem),
    var(--paper);
}

.hostel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: start;
}

.hostel-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hostel-highlights div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(7, 17, 36, 0.06);
}

.hostel-highlights span { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.hostel-highlights strong { display: block; font-size: 0.88rem; margin-bottom: 3px; }
.hostel-highlights p { color: var(--muted); font-size: 0.8rem; margin: 0; }

.hostel-visual { display: grid; gap: 16px; }

.hostel-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(7, 17, 36, 0.08);
}

.hostel-card--boys { border-top: 4px solid var(--blue); }
.hostel-card--girls { border-top: 4px solid #ec4899; }

.hostel-card__icon { font-size: 2rem; margin-bottom: 10px; }
.hostel-card strong { display: block; font-size: 1.1rem; font-weight: 900; margin-bottom: 4px; }
.hostel-card span { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 14px; }
.hostel-card ul { padding-left: 16px; margin: 0; }
.hostel-card li { color: var(--muted); font-size: 0.82rem; margin-bottom: 5px; }

/* ── Amenities ───────────────────────────────────────────────── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.amenity-card {
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(7, 17, 36, 0.06);
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(7, 17, 36, 0.1);
}

.amenity-card span { display: block; font-size: 1.8rem; margin-bottom: 10px; }
.amenity-card strong { display: block; font-size: 0.9rem; margin-bottom: 6px; }
.amenity-card p { color: var(--muted); font-size: 0.8rem; margin: 0; line-height: 1.6; }

/* ── Map / Location ─────────────────────────────────────────── */
.section--map {
  background:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.08), transparent 22rem),
    #f0f6ff;
}

.map-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 28px;
}

.map-frame {
  position: relative;
  height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.map-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.map-info__badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  font-size: 1.4rem;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.map-info strong {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.map-info > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.map-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.8);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(7, 17, 36, 0.1);
}

.map-btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.map-reach {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.map-reach div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.map-reach span { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.map-reach strong { display: block; font-size: 0.84rem; margin-bottom: 1px; }
.map-reach p { color: var(--muted); font-size: 0.78rem; margin: 0; line-height: 1.5; }

/* ── Responsive additions ────────────────────────────────────── */
@media (max-width: 960px) {
  .achieve-grid,
  .facilities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .achieve-awards,
  .amenities-grid,
  .faculty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hostel__grid,
  .map-wrap { grid-template-columns: 1fr; }

  .map-frame { height: 340px; }
}

@media (max-width: 620px) {
  .achieve-grid,
  .achieve-awards,
  .staff-grid,
  .faculty-grid,
  .facilities-grid,
  .hostel-highlights,
  .amenities-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
