:root {
  /* ── MKBU-inspired modern palette · Deep Maroon + Burnt Saffron ── */
  --ink: #1c0e0a;             /* deeper warm near-black            */
  --muted: #6b5c55;            /* slightly darker warm gray         */
  --line: #e4d8cc;             /* warm neutral border (a bit darker)*/
  --paper: #ffffff;
  --soft: #f5ebde;             /* richer warm cream                 */

  --brand: #6a1422;            /* deep wine maroon (logo primary)   */
  --brand-dark: #3d0a13;       /* very dark maroon (hero/footer bg) */
  --accent: #d6571f;            /* burnt saffron orange (signature) */
  --accent-light: #ffba85;     /* warm light orange (text on dark)  */
  --accent-soft: #ffefe0;      /* very light cream/peach            */
  --logo-red: #6a1422;         /* deep maroon (buttons/active)      */
  --logo-red-hover: #4a0d18;   /* even darker maroon (hover)        */
  --logo-red-soft: #f3dadd;    /* light blush                       */
  --maroon: #7f1d2d;           /* legacy alias                      */
  --green: #4a6b40;            /* deeper warm green                 */
  --shadow: 0 18px 45px rgba(40, 10, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #faf0e2 0%, var(--soft) 44%, #ecdec8 100%);
  font-family: "Inter", "Noto Sans Gujarati", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Headings use Poppins; Gujarati falls back to Noto Sans Gujarati */
h1, h2, h3, h4, h5, h6,
.section-heading h2,
.home-hero-content h1,
.prog-degree,
.brand strong {
  font-family: "Poppins", "Noto Sans Gujarati", "Segoe UI", Arial, sans-serif;
}

/* ── Footer social icons (populated by site-config.js) ── */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: white;
  letter-spacing: 0.02em;
  font-family: "Poppins", sans-serif;
}

.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.10);
  color: white;
  text-decoration: none;
  transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease, color 0.22s ease;
  border: 1px solid rgba(255,255,255,0.14);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Each platform — brand-color fill on hover */
.social-icon.social-facebook:hover  { background: #1877f2; color: white; border-color: #1877f2; box-shadow: 0 6px 18px rgba(24,119,242,0.45); transform: translateY(-3px); }
.social-icon.social-instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; border-color: transparent; box-shadow: 0 6px 18px rgba(220,39,67,0.45); transform: translateY(-3px); }
.social-icon.social-youtube:hover   { background: #ff0000; color: white; border-color: #ff0000; box-shadow: 0 6px 18px rgba(255,0,0,0.45); transform: translateY(-3px); }
.social-icon.social-twitter:hover   { background: #000000; color: white; border-color: #000000; box-shadow: 0 6px 18px rgba(0,0,0,0.55); transform: translateY(-3px); }
.social-icon.social-linkedin:hover  { background: #0a66c2; color: white; border-color: #0a66c2; box-shadow: 0 6px 18px rgba(10,102,194,0.45); transform: translateY(-3px); }

/* ── WhatsApp Floating Action Button ── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0,0,0,0.18);
  z-index: 90;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  /* iOS safe-area for home indicator */
  margin-bottom: env(safe-area-inset-bottom, 0px);
}

.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.45;
  z-index: -1;
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(0.92); opacity: 0.55; }
  70%  { transform: scale(1.42); opacity: 0; }
  100% { transform: scale(1.42); opacity: 0; }
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0,0,0,0.22);
}

.whatsapp-fab svg {
  width: 34px;
  height: 34px;
  display: block;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--brand-dark);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--brand-dark);
}

.whatsapp-fab:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Mobile — sit above bottom nav (56px) and tighten */
@media (max-width: 980px) {
  .whatsapp-fab {
    bottom: 78px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-fab svg { width: 30px; height: 30px; }
  .whatsapp-tooltip { display: none; }   /* no hover on touch */
}

/* ── GCAS Apply Button — attention-grabbing animation ──
   Applies automatically to any .btn.primary that points to GCAS, so:
   - Homepage hero CTA
   - B.A. / B.Com programme card CTAs
   …all pulse and shimmer to draw the eye, without affecting other primary buttons. */

.btn.primary[href*="gcas.gujgov"] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-weight: 800;
  letter-spacing: 0.02em;
  /* Strong saffron glow pulse — never sits still */
  animation: gcasGlow 2.4s ease-in-out infinite;
  z-index: 1;
}

/* Pulsing ring around the button — like the WhatsApp FAB but warm saffron */
.btn.primary[href*="gcas.gujgov"]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(214, 87, 31, 0.55);
  animation: gcasRing 2.4s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}

/* Shimmer / shine sweep — moves across the button every few seconds */
.btn.primary[href*="gcas.gujgov"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%);
  transform: skewX(-22deg);
  animation: gcasShine 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Pause animations on hover so user can interact calmly */
.btn.primary[href*="gcas.gujgov"]:hover,
.btn.primary[href*="gcas.gujgov"]:focus-visible {
  animation-play-state: paused;
}
.btn.primary[href*="gcas.gujgov"]:hover::before,
.btn.primary[href*="gcas.gujgov"]:focus-visible::before,
.btn.primary[href*="gcas.gujgov"]:hover::after,
.btn.primary[href*="gcas.gujgov"]:focus-visible::after {
  animation-play-state: paused;
}

@keyframes gcasGlow {
  0%, 100% {
    box-shadow: 0 6px 18px rgba(106, 20, 34, 0.32),
                0 0 0 0 rgba(214, 87, 31, 0.35);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 12px 32px rgba(106, 20, 34, 0.5),
                0 0 20px 4px rgba(214, 87, 31, 0.45);
    transform: translateY(-2px);
  }
}

@keyframes gcasRing {
  0%   { box-shadow: 0 0 0 0    rgba(214, 87, 31, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(214, 87, 31, 0);    }
  100% { box-shadow: 0 0 0 0    rgba(214, 87, 31, 0);    }
}

@keyframes gcasShine {
  0%   { left: -120%; }
  40%  { left: 140%;  }
  100% { left: 140%;  }   /* hold then loop */
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .btn.primary[href*="gcas.gujgov"],
  .btn.primary[href*="gcas.gujgov"]::before,
  .btn.primary[href*="gcas.gujgov"]::after {
    animation: none !important;
  }
}

/* ── Admission Banner (2026-27) ── */
.admission-banner {
  position: relative;
  background: linear-gradient(95deg, var(--brand-dark) 0%, var(--brand) 38%, var(--accent) 100%);
  color: white;
  border-bottom: 1px solid rgba(0,0,0,0.18);
  overflow: hidden;
  z-index: 49;
}

/* Subtle moving shimmer across the banner */
.admission-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255,255,255,0.18) 50%,
    transparent 70%);
  background-size: 250% 100%;
  background-position: 200% 0;
  animation: admissionShimmer 4s linear infinite;
  pointer-events: none;
}

@keyframes admissionShimmer {
  to { background-position: -50% 0; }
}

.admission-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

/* "Live" pulsing badge */
.admission-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ade5a;
  box-shadow: 0 0 0 0 rgba(42, 222, 90, 0.7);
  animation: pulseDot 1.6s ease-out infinite;
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0   rgba(42, 222, 90, 0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(42, 222, 90, 0); }
  100% { box-shadow: 0 0 0 0   rgba(42, 222, 90, 0); }
}

/* Main text block */
.admission-text {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.admission-text strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: white;
  font-family: "Poppins", "Noto Sans Gujarati", sans-serif;
}

.admission-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.02em;
}

.admission-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
}

/* CTA button */
.admission-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.admission-cta:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.admission-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.admission-cta:hover svg {
  transform: translateX(3px);
}

/* Tablet */
@media (max-width: 980px) {
  .admission-inner {
    padding: 10px 16px;
    gap: 12px;
  }
  .admission-sub { display: none; }
  .admission-text strong { font-size: 0.9rem; }
  .admission-year { font-size: 0.78rem; }
}

/* Mobile — stack vertically */
@media (max-width: 640px) {
  .admission-inner {
    flex-wrap: wrap;
    padding: 10px 14px 12px;
    gap: 8px 12px;
  }
  .admission-live { font-size: 0.65rem; padding: 3px 8px; }
  .admission-text {
    width: 100%;
    gap: 6px;
    order: 2;
  }
  .admission-text strong { font-size: 0.88rem; }
  .admission-year { font-size: 0.76rem; }
  .admission-cta {
    margin-left: auto;
    font-size: 0.78rem;
    padding: 7px 14px;
    order: 1;
  }
}

/* ── Modern Polish · MKBU palette ── */

/* Saffron accent strip at the very top of the page — institutional flourish */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--brand) 50%, var(--accent) 100%);
  z-index: 100;
  pointer-events: none;
}

/* Decorative underline accent for section headings */
.section-heading h2 {
  position: relative;
  padding-bottom: 14px;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  border-radius: 2px;
}

/* When section-heading is left-aligned, anchor the underline left */
.section-heading[style*="text-align:left"] h2::after,
.section-heading.left h2::after {
  left: 0;
  transform: none;
}

/* Subtle card lift on hover — modern feel */
.prog-card,
.detail-card,
.professor-card,
.contact-card,
.notice-board article,
.timeline-item {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.prog-card:hover,
.detail-card:hover,
.contact-card:hover,
.notice-board article:hover,
.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(60, 20, 25, 0.14);
  border-color: rgba(245, 116, 50, 0.30);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 248, 0.97);
  border-bottom: 1px solid rgba(139, 28, 42, 0.14);
  box-shadow: 0 2px 16px rgba(60, 20, 25, 0.08);
  backdrop-filter: blur(16px);
  /* iOS notch / status bar safe-area */
  padding-top: env(safe-area-inset-top, 0px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--brand-dark);
  text-decoration: none;
}

.brand-logo {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border: 2.5px solid rgba(184, 29, 34, 0.32);
  background: white;
  object-fit: contain;
  padding: 3px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(13, 37, 57, 0.14);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.brand:hover .brand-logo {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px rgba(13, 37, 57, 0.2);
}

.brand strong {
  display: block;
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
  max-width: 300px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.3;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.brand > span:last-child {
  min-width: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-link {
  border: 1px solid rgba(23, 62, 89, 0.16);
  border-radius: 999px;
  background: rgba(245, 248, 250, 0.9);
  color: var(--brand);
  padding: 8px 13px;
  text-decoration: none;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-link:hover {
  border-color: var(--logo-red);
  background: var(--logo-red-soft);
  box-shadow: 0 8px 18px rgba(13, 37, 57, 0.1);
  transform: translateY(-1px);
}

.main-nav {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg,
.nav-menu svg {
  width: 16px;
  height: 16px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a,
.nav-menu button {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu button:hover,
.nav-menu button[aria-expanded="true"] {
  background: var(--logo-red-soft);
  color: var(--logo-red);
}

.nav-menu a.active {
  color: var(--logo-red);
  font-weight: 700;
}

.has-submenu ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(13, 37, 57, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.13s ease, transform 0.13s ease;
}

/* JS adds/removes .open — pointer-events stays active until JS removes the class */
.has-submenu.open ul {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.has-submenu ul a {
  color: var(--ink);
  padding: 9px 16px;
  font-weight: 500;
  font-size: 0.88rem;
  height: auto;
  border-radius: 0;
}

.has-submenu ul a:hover {
  background: var(--logo-red-soft);
  color: var(--logo-red);
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes hero-img-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.01); }
}

@keyframes hero-bar-in {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

.hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--brand-dark);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(13, 37, 57, 0.9) 0%, rgba(80, 32, 40, 0.66) 50%, rgba(13, 37, 57, 0.18) 82%);
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(13, 25, 37, 0.72) 0%, transparent 45%);
}

.hero > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.05) contrast(1.04) brightness(0.93);
  animation: hero-img-zoom 9s ease-out forwards;
}

.hero-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--logo-red), var(--accent), rgba(194, 24, 91, 0.22));
  z-index: 2;
  animation: hero-bar-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.hero-panel {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 46px;
  color: white;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--logo-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27, 63, 114, 0.10);
  border: 1px solid rgba(27, 63, 114, 0.42);
  color: var(--accent-light);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: hero-fade-up 0.55s ease-out 0.05s both;
}

.hero-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.08;
  max-width: 16ch;
  overflow-wrap: anywhere;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  animation: hero-fade-up 0.6s ease-out 0.18s both;
}

.hero h1 span {
  display: block;
}

.hero-accent {
  color: var(--accent-light);
}

.hero p:not(.hero-badge) {
  max-width: 560px;
  margin: 14px 0 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
  overflow-wrap: anywhere;
  line-height: 1.6;
  animation: hero-fade-up 0.6s ease-out 0.32s both;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 24px;
  flex-wrap: wrap;
  animation: hero-fade-up 0.6s ease-out 0.46s both;
}

.hero-stat {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stat + .hero-stat {
  margin-left: 8px;
}

.hero-stat strong {
  display: block;
  color: var(--accent-light);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.76rem;
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  animation: hero-fade-up 0.6s ease-out 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--logo-red));
  color: white;
  box-shadow: 0 12px 30px rgba(27, 63, 114, 0.38);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--logo-red), var(--logo-red-hover));
  box-shadow: 0 16px 38px rgba(27, 63, 114, 0.48);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.13);
  color: white;
  backdrop-filter: blur(10px);
}

.btn.secondary:hover {
  background: rgba(194, 24, 91, 0.10);
  border-color: rgba(255, 255, 255, 0.78);
}

.news-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0;
  width: 100%;
  background: var(--brand-dark);
  border-bottom: 2px solid rgba(27, 63, 114, 0.35);
  position: relative;
  z-index: 3;
  overflow: hidden;
}

.news-label {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  background: linear-gradient(135deg, var(--logo-red), var(--accent));
  color: white;
  padding: 13px 20px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-label svg { width: 16px; height: 16px; }

.ticker-wrap {
  overflow: hidden;
  position: relative;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--brand-dark), transparent);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--brand-dark), transparent);
}

.ticker {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-run 28s linear infinite;
  width: max-content;
}

.ticker:hover { animation-play-state: paused; }

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px 13px 0;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 0.9rem;
}

.ticker span::before {
  content: "◆";
  color: var(--accent);
  font-size: 0.6rem;
  flex-shrink: 0;
}

@keyframes ticker-run {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 20px 0;
}

.grid-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 46px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.notice-board h2,
.principal-message h2,
.contact-band h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.quick-links h2 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.section-copy p:not(.eyebrow),
.principal-message p:not(.eyebrow),
.contact-band p {
  color: var(--muted);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.text-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration-color: var(--logo-red);
  text-decoration-thickness: 2px;
}

.info-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-stack article,
.departments-grid article {
  background: white;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 10px 22px rgba(13, 37, 57, 0.07);
}

.info-stack strong {
  display: block;
  color: var(--brand);
  font-size: 2.25rem;
  line-height: 1;
}

.info-stack span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.mission-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.mission-band article {
  background: white;
  border-top: 5px solid var(--logo-red);
  padding: 34px;
  box-shadow: var(--shadow);
}

.mission-band article:nth-child(2) {
  background: linear-gradient(135deg, var(--brand-dark), #3a0e16);
  color: white;
  border-color: var(--logo-red);
}

.mission-band svg {
  width: 42px;
  height: 42px;
  color: var(--logo-red);
}

.mission-band h2 {
  margin: 16px 0 10px;
  font-size: 2rem;
}

.mission-band p,
.mission-band li {
  color: inherit;
  opacity: 0.88;
}

.mission-band ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.principal {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: stretch;
}

.principal-card,
.principal-message,
.notice-board {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(13, 37, 57, 0.07);
}

/* Quick Links — saffron + maroon theme */
.quick-links {
  background: var(--accent-soft);
  border: 1px solid rgba(245, 116, 50, 0.30);
  border-top: 4px solid var(--accent);
  box-shadow: 0 10px 22px rgba(245, 116, 50, 0.12);
}

.principal-card {
  padding: 26px;
  text-align: center;
}

.principal-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;          /* circle avatar */
  object-fit: cover;
  object-position: center top; /* prioritise face, not chest */
  display: block;
  margin: 0 auto 18px;
  border: 4px solid white;
  outline: 3px solid var(--logo-red);
  box-shadow: 0 8px 28px rgba(27, 63, 114, 0.22);
}

.principal-card h3 {
  margin: 0;
  color: var(--brand-dark);
}

.principal-card p {
  margin: 4px 0 10px;
  color: var(--muted);
}

.principal-card a {
  color: var(--brand);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.principal-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border-left: 5px solid var(--accent);
}

.updated {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) 1fr;
  gap: 26px;
}

.quick-links,
.notice-board {
  padding: 30px;
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(139, 28, 42, 0.18);
  padding: 13px 0;
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  transition: color 150ms, padding-left 150ms;
}

.quick-links a:hover {
  color: var(--logo-red-hover);
  padding-left: 6px;
}

.quick-links a:last-child {
  border-bottom: 0;
}

.quick-links svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}







.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.departments-grid article {
  min-height: 136px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.departments-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--logo-red);
}

.departments-grid svg {
  width: 34px;
  height: 34px;
  color: var(--brand);
}

.departments-grid h3 {
  margin: 18px 0 0;
  color: var(--brand-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery figure {
  position: relative;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  background: var(--brand-dark);
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery-feature {
  grid-column: span 1;
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 14px;
  color: white;
  font-weight: 800;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 78px auto 0;
  padding: 34px 20px;
  color: white;
  background: var(--brand);
}

.contact-band h2,
.contact-band .eyebrow,
.contact-band p {
  color: white;
}

.contact-band address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.contact-band a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.contact-band svg {
  width: 19px;
}

.page-hero {
  position: relative;
  min-height: 340px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--brand-dark);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg, rgba(40, 10, 15, 0.92) 0%, rgba(60, 18, 25, 0.74) 50%, rgba(106, 20, 34, 0.42) 100%);
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 70px 20px 58px;
  color: white;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
}

/* Eyebrow inside dark page-hero — needs light colour to be visible
   over the dark maroon overlay (default maroon eyebrow disappears) */
.page-hero .eyebrow {
  color: var(--accent-light);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-card,
.download-card,
.timeline-item,
.contact-card,
.missing-card {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(13, 37, 57, 0.07);
  padding: 26px;
}

.detail-card svg,
.download-card svg,
.contact-card svg {
  width: 34px;
  height: 34px;
  color: var(--brand);
}

.detail-card h2,
.detail-card h3,
.download-card h3,
.timeline-item h3,
.contact-card h3,
.missing-card h3 {
  margin: 14px 0 8px;
  color: var(--brand-dark);
  line-height: 1.18;
}

.detail-card p,
.timeline-item p,
.contact-card p,
.missing-card p {
  color: var(--muted);
}

/* Contact details list (phone / email / hours) */
.contact-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-list li svg {
  width: 18px !important;
  height: 18px !important;
  color: var(--accent) !important;
  flex-shrink: 0;
}

.contact-list a {
  color: var(--brand);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 14px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 8px 10px;
}

.contact-note svg {
  width: 14px !important;
  height: 14px !important;
  color: var(--accent) !important;
  flex-shrink: 0;
}

/* ── Contact page map ── */
.map-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(13,37,57,0.08);
  height: 420px;
  background: var(--soft);
}

.map-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn.outline {
  border: 1.5px solid var(--brand);
  background: white;
  color: var(--brand);
}

.btn.outline:hover {
  background: var(--logo-red-soft);
  border-color: var(--logo-red-hover);
}

/* Map: smaller height on tablets/mobile so it fits the viewport */
@media (max-width: 980px) {
  .map-frame { height: 360px; }
}

@media (max-width: 640px) {
  .map-frame { height: 300px; }
  .map-actions { flex-direction: column; }
  .map-actions .btn { width: 100%; justify-content: center; }
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 26px;
}

.highlight-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.highlight-list li {
  margin-bottom: 8px;
}

.affiliation-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}

.affiliation-logos figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 12px;
}

.affiliation-logos img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 10px;
}

.affiliation-logos figcaption {
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.professors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.professor-card {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(13, 37, 57, 0.08);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.professor-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 63, 114, 0.45);
  box-shadow: 0 18px 34px rgba(27, 63, 114, 0.10);
}

.professor-card[role="button"] {
  cursor: pointer;
}

.professor-card img {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  object-position: center 24%;
}

.professor-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  display: grid;
  place-items: center;
  color: white;
  background:
    linear-gradient(135deg, rgba(13, 37, 57, 0.95), rgba(127, 29, 45, 0.84)),
    var(--brand);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
}

.professor-card > div:not(.professor-photo-placeholder) {
  padding: 18px;
}

.professor-card span {
  display: inline-flex;
  border: 1px solid rgba(23, 62, 89, 0.15);
  background: var(--soft);
  color: var(--brand);
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.professor-card h3 {
  margin: 0 0 6px;
  color: var(--brand-dark);
  font-size: 1.05rem;
  line-height: 1.22;
}

.professor-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.professor-card strong {
  color: var(--green);
  font-size: 0.9rem;
}

.principal-professor {
  border-top: 4px solid var(--logo-red);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: start;
}

.timeline-date {
  color: var(--green);
  font-weight: 800;
}

.download-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  display: grid;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.download-card:hover {
  border-color: var(--logo-red);
}

.download-card span {
  color: var(--muted);
}

.page-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-gallery figure {
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(13, 37, 57, 0.07);
}

.page-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-gallery figcaption {
  padding: 14px 16px;
  color: var(--brand-dark);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
}

.missing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pdf-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 800;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(13, 37, 57, 0.07);
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: white;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-dark) 56%, #2a0a10);
  color: rgba(255, 255, 255, 0.84);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) 0.75fr 0.9fr 0.8fr;
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 20px 34px;
}

.footer-brand {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.footer-logo {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border: 2px solid var(--accent);
  background: white;
  object-fit: contain;
  padding: 4px;
}

.footer-brand strong {
  display: block;
  color: white;
  font-size: 1.12rem;
  line-height: 1.25;
  margin-bottom: 9px;
}

.footer-brand span,
.footer-contact p {
  display: block;
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-links-panel h3,
.footer-contact h3 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.footer-links-panel a {
  display: block;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links-panel a:hover {
  color: white;
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(13, 37, 57, 0.11);
    z-index: 49;
    margin-left: 0;
  }

  .main-nav.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
    gap: 0;
  }

  .nav-menu a,
  .nav-menu button {
    width: 100%;
    height: auto;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: 0;
    font-size: 0.95rem;
  }

  .has-submenu ul {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--soft);
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-submenu.open ul {
    display: block;
  }

  .hero {
    min-height: 380px;
  }

  .hero-panel {
    width: min(760px, calc(100% - 40px));
  }

  .grid-intro,
  .mission-band,
  .principal,
  .split-section {
    grid-template-columns: 1fr;
  }

  .content-grid,
  .two-column,
  .download-list,
  .contact-layout,
  .professors-grid,
  .missing-grid {
    grid-template-columns: 1fr;
  }

  .departments-grid,
  .gallery-grid,
  .page-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body {
    padding-bottom: 62px; /* room for mobile bottom bar */
  }

  .section {
    padding-top: 56px;
  }

  .contact-band {
    margin-top: 56px;
  }
}

@media (max-width: 640px) {
  .identity-bar {
    padding: 14px 20px;
    max-width: 100vw;
  }

  .brand {
    align-items: flex-start;
    max-width: calc(100vw - 40px);
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand strong {
    font-size: 0.78rem;
    line-height: 1.25;
    max-width: min(270px, calc(100vw - 118px));
  }

  .brand small {
    font-size: 0.8rem;
    max-width: min(270px, calc(100vw - 118px));
  }

  .brand > span:last-child {
    max-width: calc(100vw - 118px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  main,
  .hero,
  .section,
  .grid-intro,
  .section-copy,
  .news-strip {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero {
    min-height: 420px;
    align-items: end;
  }

  .hero-panel {
    padding: 52px 0 36px;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    margin-left: 20px;
    margin-right: 20px;
  }

  .hero h1 {
    max-width: min(320px, calc(100vw - 40px));
    font-size: 1.65rem;
    line-height: 1.12;
  }

  .hero p:not(.hero-badge) {
    font-size: 0.95rem;
    max-width: min(320px, calc(100vw - 40px));
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 22px;
    width: min(350px, calc(100vw - 40px));
  }

  .hero-stat {
    min-width: 0;
    padding: 9px 10px;
  }

  .hero-stat + .hero-stat {
    margin-left: 0;
  }

  .hero-stat strong {
    font-size: 1.6rem;
  }

  .hero-stat span {
    font-size: 0.68rem;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 24px;
    max-width: min(270px, calc(100vw - 40px));
  }

  .hero-actions .btn {
    width: 100%;
    padding: 10px 12px;
  }

  .section-copy h2,
  .section-heading h2,
  .quick-links h2,
  .notice-board h2,
  .principal-message h2,
  .contact-band h2 {
    font-size: 1.48rem;
    line-height: 1.22;
    max-width: min(320px, calc(100vw - 40px));
  }

  .section-copy p:not(.eyebrow),
  .principal-message p:not(.eyebrow),
  .contact-band p {
    max-width: min(320px, calc(100vw - 40px));
  }

  .news-strip {
    grid-template-columns: auto 1fr;
  }

  .ticker {
    animation-duration: 36s;
  }

  .info-stack,
  .departments-grid,
  .gallery-grid,
  .page-gallery {
    grid-template-columns: 1fr;
  }

  .affiliation-logos {
    grid-template-columns: 1fr;
  }

  .page-hero-content {
    padding: 58px 20px 46px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  

  .header-inner {
    min-height: 64px;
    padding: 10px 16px;
    gap: 10px;
  }

  .section {
    padding-top: 42px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .contact-band {
    margin-top: 42px;
    padding: 28px 16px;
    gap: 20px;
  }

  .page-hero {
    min-height: 280px;
  }

  .page-hero-content {
    padding: 44px 16px 36px;
  }

  .page-hero h1 {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .page-hero p:not(.eyebrow) {
    font-size: 0.92rem;
    margin-top: 10px;
  }

  .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.88rem;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
    min-width: 110px;
    white-space: normal;
  }

  .footer-inner {
    padding: 28px 16px 22px;
    gap: 22px;
  }

  .footer-bottom {
    padding: 12px 16px;
    font-size: 0.82rem;
    gap: 6px;
  }

  .detail-card,
  .download-card,
  .contact-card {
    padding: 20px 16px;
  }

  .quick-links,
  .notice-board {
    padding: 22px 16px;
  }

  .principal-message {
    padding: 24px 18px;
  }

  .mission-band article {
    padding: 26px 20px;
  }

  .professor-card > div:not(.professor-photo-placeholder) {
    padding: 14px 14px 16px;
  }

  /* ── Mobile UX optimisations ── */

  /* Bigger tap targets for standalone CTA links */
  .contact-list li {
    min-height: 44px;
    padding: 4px 0;
  }

  .contact-list a {
    padding: 6px 0;
    display: inline-block;
  }

  /* Eyebrow CTAs at bottom of cards/sections — bigger tap area */
  .quick-links a,
  .info-stack a,
  .notice-board a {
    padding: 10px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* GCAS / View All buttons inside cards — full width on mobile */
  .contact-band .btn,
  .admission-cta .btn,
  .dept-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Data table — better mobile readability */
  .data-table th,
  .data-table td {
    min-width: 130px;          /* was 110px → less cramped */
    padding: 12px 12px;
    font-size: 0.9rem;
  }

  /* News ticker speed — slower on mobile so it can be read */
  .ticker { animation-duration: 60s !important; }

  /* Reduce hero section heading scale on very small screens */
  .home-hero-content h1 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  /* Slightly smaller hero badge (yeh narrow phones pe text wrap kar deta tha) */
  .home-hero-badge {
    font-size: 0.65rem;
    padding: 6px 14px;
  }

  /* News ticker label — chhota and tighter on phone */
  .news-label {
    font-size: 0.78rem;
    padding: 0 12px;
  }

  /* Tap target — for any inline section CTA arrow link like "About the college →" */
  .section a[href]:not(.btn):not(.dot):where(:has(svg)) {
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  /* Page hero — smaller padding so above-the-fold content fits */
  .page-hero { min-height: 240px; }

  /* Programme card head — slightly smaller numbers on small phones */
  .prog-degree { font-size: 2.4rem; }
}

/* ── Full-Bleed Cinematic Hero (homepage) ── */
.home-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Full-width background slider */
.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* All slides are GPU-composited fades */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease-in-out;
  will-change: opacity;
  transform: translateZ(0);
  z-index: 1;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

/* Left-to-right gradient: opaque dark left → transparent right (shows photo) */
.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(40,10,15,0.96) 0%,
    rgba(45,15,22,0.89) 26%,
    rgba(45,15,22,0.62) 50%,
    rgba(45,15,22,0.22) 74%,
    rgba(45,15,22,0.04) 100%
  );
  pointer-events: none;
}

/* Extra bottom vignette — keeps stats bar readable */
.home-hero-overlay::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(35,8,12,0.80));
  pointer-events: none;
}

/* Content panel — left side, z-index above overlay */
.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 590px;
  padding: 48px 0 28px 7vw;
  flex: 1;
  color: white;
}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.24);
  padding: 7px 18px;
  border-radius: 999px;
  color: var(--accent-light);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.home-hero-badge img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  padding: 2px;
  flex-shrink: 0;
}

.home-hero-content h1 {
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.06;
  color: white;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 22px rgba(0,0,0,0.32);
}

.home-hero-content h1 em {
  font-style: normal;
  color: var(--accent-light);
}

.home-hero-sub {
  color: rgba(255,255,255,0.80);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 460px;
}

.home-hero-features {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.home-hero-features li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,0.88);
  font-size: 0.94rem;
  font-weight: 600;
}

.home-hero-features li svg {
  width: 17px;
  height: 17px;
  color: var(--accent-light);
  flex-shrink: 0;
}

.home-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn.outline-white {
  border: 1.5px solid rgba(255,255,255,0.46);
  background: rgba(255,255,255,0.08);
  color: white;
  backdrop-filter: blur(8px);
}

.btn.outline-white:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.80);
}

/* Slide dots — absolute bottom-right over the photo area */
.hero-slider-dots {
  position: absolute;
  bottom: 76px;
  right: 6vw;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 28px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255,255,255,0.32);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.35s ease, width 0.35s ease;
  flex-shrink: 0;
}

.dot.active {
  width: 48px;
  background: white;
}

.dot:hover:not(.active) {
  background: rgba(255,255,255,0.60);
}

/* Frosted-glass stats bar — spans full width at the bottom */
.home-hero-stats-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  background: rgba(38,10,15,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 0 7vw;
}

.stat-item {
  padding: 18px 32px;
  text-align: center;
  flex: 1;
}

.stat-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-item span {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  color: rgba(255,255,255,0.54);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 5px;
}

.stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.13);
  flex-shrink: 0;
}

/* Bottom accent bar */
.home-hero-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--logo-red), var(--accent), rgba(194,24,91,0.20));
  position: relative;
  z-index: 2;
}

@media (max-width: 980px) {
  .home-hero-content {
    padding: 56px 48px 36px;
    max-width: 520px;
  }
  .hero-slider-dots {
    bottom: 74px;
    right: 32px;
  }
  .home-hero-stats-bar { padding: 0 32px; }
}

@media (max-width: 640px) {
  .home-hero { min-height: auto; }
  .home-hero-content {
    padding: 56px 20px 24px;
    max-width: 100%;
  }
  .home-hero-sub { max-width: 100%; }
  .home-hero-overlay {
    background: linear-gradient(
      175deg,
      rgba(40,10,15,0.91) 0%,
      rgba(45,15,22,0.80) 55%,
      rgba(45,15,22,0.58) 100%
    );
  }
  /* On mobile dots move below content, centered */
  .hero-slider-dots {
    position: relative;
    bottom: auto;
    right: auto;
    justify-content: center;
    padding: 10px 0 4px;
  }
  .home-hero-stats-bar { padding: 0 4px; }
  .stat-item { padding: 13px 6px; }
  .stat-item strong { font-size: 1.2rem; }
  .stat-item span { font-size: 0.7rem; letter-spacing: 0.05em; }
  .stat-sep { height: 26px; }
}

/* ── Staff Toggle Tabs ── */
.staff-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--line);
}

.staff-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 2px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  bottom: -2px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  font-family: inherit;
}

.staff-tab svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.staff-tab:hover:not(.active) {
  color: var(--brand);
  background: var(--logo-red-soft);
}

.staff-tab.active {
  color: var(--brand);
  background: white;
  border-color: var(--line);
  border-bottom-color: white;
}

/* Tab panels */
.staff-panel {
  display: none;
}

.staff-panel.active {
  display: block;
  animation: fadeIn 0.22s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 600;
}

.tab-note svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Non-teaching staff table */
.staff-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.staff-table thead {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: white;
}

.staff-table th {
  padding: 13px 18px;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.staff-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}

.staff-table tbody tr:last-child {
  border-bottom: none;
}

.staff-table tbody tr:hover {
  background: var(--logo-red-soft);
}

.staff-table td {
  padding: 13px 18px;
  color: var(--ink);
  vertical-align: middle;
}

.staff-table tbody tr:nth-child(even) {
  background: var(--soft);
}

.staff-table tbody tr:nth-child(even):hover {
  background: var(--logo-red-soft);
}

.staff-role {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.staff-role.admin {
  background: var(--logo-red-soft);
  color: var(--brand);
}

.staff-role.support {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ── Legal pages (Privacy / Terms) ── */
.legal-page .detail-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 44px;
}

.legal-page .detail-card > p:first-of-type {
  background: var(--accent-soft);
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  margin: 0 0 28px;
  font-size: 0.92rem;
  color: var(--ink);
}

.legal-page h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
  color: var(--brand-dark);
  font-family: "Poppins", sans-serif;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-right: 18px;
}

.legal-page h2:first-of-type { margin-top: 8px; }

.legal-page p {
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 12px;
}

.legal-page ul.highlight-list {
  margin: 8px 0 18px 0;
  padding-left: 22px;
  color: var(--ink);
}

.legal-page ul.highlight-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-page a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(106, 20, 34, 0.35);
  text-underline-offset: 2px;
  font-weight: 600;
}

.legal-page a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

@media (max-width: 640px) {
  .legal-page .detail-card { padding: 28px 22px; }
  .legal-page h2 { font-size: 1.12rem; }
}

/* Department detail cards — make them feel clickable */
.dept-link {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.dept-link h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--brand);
  transition: color 0.18s;
}

.dept-arrow {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.dept-link:hover {
  border-color: var(--accent) !important;
}

.dept-link:hover .dept-arrow {
  background: var(--accent);
  color: white;
  transform: translateX(4px);
}

.dept-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Non-teaching staff table photo column */
.staff-table-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.staff-table-photo.placeholder {
  background: var(--accent-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}

/* ── Programme Cards (homepage) ── */
.programmes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.prog-card {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.prog-card-head {
  padding: 30px 30px 26px;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: white;
}

.prog-card-head.comm {
  background: linear-gradient(135deg, #8c3c14 0%, var(--accent) 100%);
}

.prog-card-head.comm .prog-degree {
  color: #fff3e8;
}

.prog-card-head.comm .prog-full {
  color: rgba(255,255,255,0.95);
}

.prog-degree {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-light);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.prog-full {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin: 0 0 16px;
}

.prog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prog-tags span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.9);
  padding: 4px 13px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
}

.prog-card-body {
  padding: 26px 30px 28px;
}

.prog-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin: 0 0 14px;
}

.prog-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.prog-subjects a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(23,62,89,0.16);
  background: var(--soft);
  color: var(--brand-dark);
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 150ms, border-color 150ms, color 150ms;
}

.prog-subjects a:hover {
  background: var(--logo-red-soft);
  border-color: var(--logo-red);
  color: var(--logo-red);
}

/* ── Highlights strip ── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  background: var(--brand-dark);
  overflow: hidden;
}

.highlight-item {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.1);
  color: white;
}

.highlight-item:last-child { border-right: 0; }

.highlight-item svg {
  width: 36px;
  height: 36px;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.highlight-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: white;
}

.highlight-item p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .programmes-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .highlight-item:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .prog-card-head, .prog-card-body { padding: 22px 20px; }
  .prog-degree { font-size: 2.2rem; }
}

/* ── Quick Links Rail ── */
.ql-rail {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  background: var(--brand-dark);
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  box-shadow: -4px 0 22px rgba(13, 37, 57, 0.22);
  width: 52px;
  transition: width 220ms ease;
}

.ql-rail:hover {
  width: 158px;
}

.ql-head {
  background: var(--logo-red);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.ql-nav {
  display: flex;
  flex-direction: column;
}

.ql-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  transition: background 150ms ease, color 150ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ql-nav a:last-child {
  border-bottom: 0;
}

.ql-nav a:hover,
.ql-nav a.ql-active {
  background: rgba(255, 255, 255, 0.13);
  color: white;
}

.ql-nav a svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.ql-nav a span {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1100px) {
  .ql-rail {
    display: none;
  }
}

/* ── Mobile Bottom Navigation Bar ── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--brand-dark);
  border-top: 2px solid rgba(27, 63, 114, 0.42);
  box-shadow: 0 -4px 22px rgba(13, 37, 57, 0.28);
  /* iOS safe-area for home indicator */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 3px;
  min-height: 56px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 150ms ease, background 150ms ease;
  border-top: 2px solid transparent;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav a.mbn-active {
  color: var(--logo-red);
  background: rgba(255, 255, 255, 0.06);
  border-top-color: var(--logo-red);
}

.mobile-bottom-nav a:active {
  background: rgba(255, 255, 255, 0.11);
}

.mobile-bottom-nav svg {
  width: 22px;
  height: 22px;
}

.mobile-bottom-nav span {
  display: block;
  line-height: 1;
}

/* Show the bar on tablet/mobile — placed AFTER the base rule so it
   wins the cascade (equal specificity → later source order). */
@media (max-width: 980px) {
  .mobile-bottom-nav {
    display: flex;
  }
}

/* ── Faculty Profile Modal ── */
.faculty-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 37, 57, 0.74);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow-y: auto;
  padding: 24px 16px 40px;
  cursor: pointer;
}

.faculty-modal.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.fmodal-card {
  position: relative;
  background: white;
  max-width: 660px;
  width: 100%;
  margin: auto;
  cursor: default;
  box-shadow: 0 36px 90px rgba(13, 37, 57, 0.42);
  border-bottom: 4px solid var(--logo-red);
}

.fmodal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}

.fmodal-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.fmodal-close svg {
  width: 17px;
  height: 17px;
}

.fmodal-header {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 28px 22px;
  background: linear-gradient(130deg, var(--brand-dark) 0%, var(--brand) 60%, #a14817 100%);
}

.fmodal-avatar {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 2.5px solid var(--logo-red);
  color: white;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  overflow: hidden;
}

.fmodal-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.fmodal-title {
  flex: 1;
  min-width: 0;
  padding-right: 36px;
}

.fmodal-title h2 {
  margin: 0 0 4px;
  color: white;
  font-size: 1.28rem;
  line-height: 1.2;
}

.fmodal-title p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.fmodal-badge {
  display: inline-flex;
  background: var(--logo-red);
  color: white;
  padding: 3px 11px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.fmodal-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.fmodal-stat {
  padding: 14px 20px;
  border-right: 1px solid var(--line);
}

.fmodal-stat:last-child {
  border-right: 0;
}

.fmodal-stat label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 5px;
}

.fmodal-stat span {
  display: block;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.35;
}

.fmodal-body {
  padding: 22px 26px 28px;
}

.fmodal-section {
  margin-bottom: 18px;
}

.fmodal-section:last-child {
  margin-bottom: 0;
}

.fmodal-section h4 {
  margin: 0 0 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  font-weight: 800;
}

.fmodal-section p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.65;
}

.fmodal-section ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.fmodal-section ul li {
  margin-bottom: 5px;
}

@media (max-width: 640px) {
  .fmodal-header {
    padding: 22px 16px 18px;
    gap: 14px;
  }

  .fmodal-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    flex-basis: 60px;
  }

  .fmodal-title h2 {
    font-size: 1.08rem;
  }

  .fmodal-stats {
    grid-template-columns: 1fr 1fr;
  }

  .fmodal-stat:nth-child(2) {
    border-right: 0;
  }

  .fmodal-stat:nth-child(3) {
    border-top: 1px solid var(--line);
    border-right: 0;
    grid-column: 1 / -1;
  }

  .fmodal-body {
    padding: 18px 16px 24px;
  }
}
/* ── Page loader ── */
#pg-loader{position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important;z-index:99999!important;background:#0d2448;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-transition:opacity .4s ease,visibility .4s;transition:opacity .4s ease,visibility .4s;}
#pg-loader.pg-loader-hidden{opacity:0;visibility:hidden;pointer-events:none;}
.pg-loader-ring-wrap{position:relative;width:90px;height:90px;margin-bottom:22px;-webkit-animation:ldr-appear .5s ease both;animation:ldr-appear .5s ease both;}
.pg-loader-ring{position:absolute;top:-10px;left:-10px;right:-10px;bottom:-10px;border-radius:50%;border:3px solid rgba(255,255,255,.12);border-top-color:#f0c040;-webkit-animation:ldr-spin .85s linear infinite;animation:ldr-spin .85s linear infinite;}
.pg-loader-logo{width:90px;height:90px;border-radius:50%;-o-object-fit:cover;object-fit:cover;display:block;background:#fff;}
.pg-loader-name{color:rgba(255,255,255,.55);font-size:.7rem;letter-spacing:.07em;margin:0;max-width:210px;line-height:1.6;text-align:center;-webkit-animation:ldr-appear .6s .15s ease both;animation:ldr-appear .6s .15s ease both;}
@-webkit-keyframes ldr-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg);}}
@keyframes ldr-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg);}}
@-webkit-keyframes ldr-appear{from{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px);}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);}}
@keyframes ldr-appear{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}

/* ── Mobile footer compact fix ── */
@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px 16px 12px;
  }

  .footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .footer-logo {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 3px;
  }

  .footer-brand strong {
    font-size: .88rem;
    margin-bottom: 4px;
  }

  .footer-brand span {
    font-size: .74rem;
    margin-bottom: 3px;
  }

  /* Quick Links + College Office side-by-side 2-col grid */
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-links-panel h3,
  .footer-contact h3 {
    margin-bottom: 6px;
    font-size: .78rem;
  }

  .footer-links-panel a {
    padding: 3px 0;
    font-size: .82rem;
    display: block;
  }

  .footer-contact {
    display: block;
  }

  .footer-contact p {
    font-size: .82rem;
    margin-bottom: 4px;
  }

  /* Bottom bar: 2-col grid */
  .footer-bottom {
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 8px;
    padding: 10px 16px;
    font-size: .72rem;
  }

  .footer-bottom span {
    width: 48%;
  }

  .footer-bottom span:first-child {
    width: 100%;
  }
}

/* ─── CV button on professor cards ─── */
.professor-card { position: relative; }
.professor-card.has-cv { cursor: pointer; }
.professor-card.has-cv:hover {
  box-shadow: 0 8px 24px rgba(106,20,34,0.15);
  transform: translateY(-2px);
  transition: box-shadow 0.25s, transform 0.25s;
}
.professor-card > div { display: flex; flex-direction: column; }
a.cv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  padding: 7px 18px;
  margin-top: 10px;
  background: linear-gradient(135deg, #6a1422, #d6571f);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
  text-decoration: none !important;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 10px rgba(106,20,34,0.25);
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 2;
}
a.cv-btn:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 5px 16px rgba(106,20,34,0.35);
}
a.cv-btn svg {
  width: 13px; height: 13px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ─── Modern Notice Board ───────────────────────────────── */
.notice-board {
  position: relative;
}
.notice-board .notice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.notice-board article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff 0%, #fef8f3 100%);
  border: 1px solid rgba(214, 87, 31, 0.18);
  border-left: 4px solid var(--logo-red, #6a1422);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(13, 37, 57, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-left-color 0.22s ease;
}
.notice-board article:hover {
  transform: translateX(3px);
  box-shadow: 0 6px 18px rgba(106, 20, 34, 0.12);
  border-left-color: #d6571f;
}
.notice-board article::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6571f;
  box-shadow: 0 0 0 4px rgba(214, 87, 31, 0.15);
  flex-shrink: 0;
  margin-left: 4px;
  animation: notice-pulse 2.2s infinite;
}
@keyframes notice-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(214, 87, 31, 0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(214, 87, 31, 0.05); }
}
.notice-board article > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.notice-board span {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #6a1422, #d6571f);
  border-radius: 10px;
  white-space: nowrap;
}
.notice-board strong {
  color: var(--ink, #0d2538);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}
.notice-board article:empty,
.notice-list:empty {
  display: none;
}
@media (max-width: 640px) {
  .notice-board article {
    padding: 12px 14px;
    gap: 10px;
  }
  .notice-board strong { font-size: 0.9rem; }
  .notice-board span { font-size: 0.65rem; padding: 2px 8px; }
}

/* ─── Notice NEW badge — neon yellow/green glow ─── */
.notice-board .notice-new-badge {
  display: inline-block;
  align-self: flex-start;
  margin-left: 6px;
  padding: 3px 11px;
  font-size: 0.68rem;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #0a3a0a;
  background: linear-gradient(135deg, #d9f99d 0%, #84cc16 50%, #22c55e 100%);
  border: 1px solid rgba(132, 204, 22, 0.6);
  border-radius: 10px;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
  box-shadow:
    0 0 6px rgba(132, 204, 22, 0.65),
    0 0 14px rgba(34, 197, 94, 0.45),
    0 0 22px rgba(217, 249, 157, 0.30),
    inset 0 0 6px rgba(255, 255, 255, 0.40);
  animation: notice-new-glow 1.4s ease-in-out infinite;
  white-space: nowrap;
  vertical-align: middle;
}
@keyframes notice-new-glow {
  0%, 100% {
    box-shadow:
      0 0 6px rgba(132, 204, 22, 0.65),
      0 0 14px rgba(34, 197, 94, 0.45),
      0 0 22px rgba(217, 249, 157, 0.30),
      inset 0 0 6px rgba(255, 255, 255, 0.40);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 10px rgba(132, 204, 22, 0.95),
      0 0 24px rgba(34, 197, 94, 0.75),
      0 0 38px rgba(217, 249, 157, 0.55),
      inset 0 0 10px rgba(255, 255, 255, 0.70);
    transform: scale(1.06);
  }
}
.notice-board article > div {
  flex-wrap: wrap;
}

/* ─── Notice badges row ─── */
.notice-board .notice-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.notice-board .notice-badges span,
.notice-board .notice-badges em {
  align-self: auto !important;
  margin: 0 !important;
}

/* ───── SLIGHTLY COMPACT MAIN SITE (desktop only) ───── */
@media (min-width: 981px) {
html { font-size: 15px; }

/* Tighten sections vertically */
.section { padding-top: 56px; padding-bottom: 56px; }
.page-hero { min-height: 320px; }
.page-hero-content h1 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }

/* Header */
.site-header .header-inner { padding-top: 10px; padding-bottom: 10px; }
.brand-logo { width: 42px; height: 42px; }
.brand strong { font-size: 0.95rem; }
.brand small { font-size: 0.72rem; }

/* Nav */
.nav-menu a, .nav-menu button {
  height: 36px;
  padding: 0 10px;
  font-size: 0.82rem;
}

/* Cards & details */
.detail-card { padding: 22px; }
.detail-card h2 { font-size: 1.4rem; }
.detail-card h3 { font-size: 1.05rem; }
.detail-card p { font-size: 0.92rem; line-height: 1.55; }
.highlight-list li { font-size: 0.88rem; }

/* Info stack stats */
.info-stack article strong { font-size: 1.6rem; }
.info-stack article span { font-size: 0.78rem; }

/* Section headings */
.section-heading h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.eyebrow { font-size: 0.78rem; }

/* Professor & staff cards */
.professor-card { padding: 16px; }
.professor-card strong { font-size: 0.95rem; }
.professor-card span { font-size: 0.78rem; }

/* Notice board */
.notice-board { padding: 22px; }
.notice-board h2 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
.notice-board strong { font-size: 0.9rem; }
.notice-board span { font-size: 0.66rem; padding: 2px 9px; }

/* Footer */
.site-footer { padding: 36px 0 0; font-size: 0.86rem; }
.footer-brand strong { font-size: 0.95rem; }
.footer-bottom { padding: 14px 22px; font-size: 0.76rem; }

/* Quick-link rail */



/* Contact band */
.contact-band { padding: 32px; }
.contact-band h2 { font-size: 1.4rem; }
.contact-band p { font-size: 0.92rem; }

/* Admission banner */
.admission-banner .admission-inner { padding: 8px 16px; gap: 12px; }
.admission-text strong { font-size: 0.95rem; }
.admission-text .admission-year { font-size: 0.84rem; }
.admission-text .admission-sub { font-size: 0.74rem; }
.admission-cta { padding: 7px 14px; font-size: 0.82rem; }

/* News strip */
.news-strip { padding: 8px 16px; font-size: 0.85rem; }


/* Main top nav Fees button — full neon cycle */
.nav-menu a.fees-btn {
  color: #fff !important;
  font-weight: 800 !important;
  padding: 0 14px !important;
  border-radius: 18px !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  height: 32px !important;
  animation: fees-neon-cycle 6s infinite linear, fees-pulse-glow 1.8s infinite ease-in-out;
  background: linear-gradient(135deg, #00e5ff, #ff00ff);
  position: relative;
  overflow: hidden;
}
.nav-menu a.fees-btn:hover {
  transform: translateY(-1px) scale(1.05);
  color: #fff !important;
}

/* Quick Links rail — subtle highlight (no full cycle, just glow) */
.ql-nav a.fees-link {
  color: #fff !important;
  background: linear-gradient(135deg, #ff00ff, #ffd400);
  font-weight: 700;
  border-radius: 8px;
  margin: 4px 6px;
  padding: 8px 4px !important;
  font-size: 0.66rem !important;
  animation: fees-pulse-glow 2s infinite ease-in-out;
}
.ql-nav a.fees-link i { color: #fff; }

/* Mobile bottom nav — middle Fees button highlighted */
.mobile-bottom-nav a.fees-mobile {
  position: relative;
  color: #fff !important;
  background: linear-gradient(135deg, #00e5ff, #ff00ff, #ffd400);
  background-size: 200% 200%;
  animation: fees-neon-cycle 6s infinite linear;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  margin-top: -18px;
  box-shadow: 0 6px 20px rgba(255,0,255,.5);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.mobile-bottom-nav a.fees-mobile span { font-size: 0.62rem; margin-top: 1px; }
.mobile-bottom-nav a.fees-mobile i { width: 18px; height: 18px; }

}

/* ───── PREMIUM FEES BUTTON ───── */
@keyframes fees-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes fees-soft-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(212,175,55,.28), 0 0 0 1px rgba(212,175,55,.18) inset; }
  50%      { box-shadow: 0 6px 22px rgba(212,175,55,.45), 0 0 0 1px rgba(255,225,140,.35) inset; }
}

/* Top nav — premium gold-on-dark pill with shimmer sweep */
.nav-menu a.fees-btn {
  position: relative;
  color: #f5deb3 !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 16px !important;
  height: 32px !important;
  border-radius: 18px !important;
  background:
    linear-gradient(110deg, transparent 35%, rgba(255,225,140,0.35) 50%, transparent 65%),
    linear-gradient(135deg, #1a1410 0%, #2d2018 50%, #1a1410 100%);
  background-size: 200% 100%, 100% 100%;
  background-repeat: no-repeat;
  border: 1px solid rgba(212,175,55,0.5);
  animation: fees-shimmer 4s infinite linear, fees-soft-glow 3s infinite ease-in-out;
  text-shadow: 0 1px 0 rgba(0,0,0,0.4);
  overflow: hidden;
}
.nav-menu a.fees-btn::before {
  content: "₹";
  margin-right: 6px;
  color: #d4af37;
  font-weight: 900;
  font-size: 0.95rem;
  vertical-align: -1px;
}
.nav-menu a.fees-btn:hover {
  color: #fff8e0 !important;
  border-color: rgba(255,225,140,0.85);
  transform: translateY(-1px);
}

/* Quick Links rail — premium gold accent */
.ql-nav a.fees-link {
  position: relative;
  color: #f5deb3 !important;
  background: linear-gradient(135deg, #1a1410, #2d2018);
  border-left: 2px solid #d4af37 !important;
  font-weight: 700;
}
.ql-nav a.fees-link i { color: #d4af37; }
.ql-nav a.fees-link:hover {
  background: linear-gradient(135deg, #2d2018, #3d2a1c);
  color: #fff8e0 !important;
}

/* Mobile bottom — premium raised pill, gold-on-dark */
.mobile-bottom-nav a.fees-mobile {
  position: relative;
  color: #f5deb3 !important;
  background: linear-gradient(135deg, #1a1410 0%, #2d2018 50%, #1a1410 100%);
  border: 1.5px solid rgba(212,175,55,0.6);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  margin-top: -18px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(212,175,55,.32), 0 0 0 4px rgba(26,20,16,0.4);
  animation: fees-soft-glow 3s infinite ease-in-out;
}
.mobile-bottom-nav a.fees-mobile span {
  font-size: 0.6rem;
  margin-top: 1px;
  letter-spacing: 0.05em;
  color: #d4af37;
  font-weight: 800;
}
.mobile-bottom-nav a.fees-mobile i {
  width: 18px;
  height: 18px;
  color: #d4af37;
}

/* ───── MOBILE FIXES ───── */
@media (max-width: 980px) {
  /* Restore admission banner default mobile layout */
  .admission-banner .admission-inner {
    padding: 10px 14px !important;
    gap: 8px !important;
    flex-wrap: wrap;
  }
  .admission-text strong { font-size: 0.95rem !important; }
  .admission-text .admission-year { font-size: 0.8rem !important; }
  .admission-text .admission-sub { font-size: 0.72rem !important; display: block; }
  .admission-cta {
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
    white-space: nowrap;
  }

  /* Mobile Fees button — cleaner premium pill in middle of bottom nav */
  .mobile-bottom-nav { padding: 4px 0 !important; }
  .mobile-bottom-nav a.fees-mobile {
    width: 48px !important;
    height: 48px !important;
    margin-top: -14px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #1a1410 0%, #3d2a1c 100%) !important;
    border: 1.5px solid #d4af37 !important;
    box-shadow: 0 4px 14px rgba(212,175,55,.4), 0 0 0 3px rgba(26,20,16,0.3) !important;
    animation: fees-soft-glow 3s infinite ease-in-out;
  }
  .mobile-bottom-nav a.fees-mobile i {
    width: 16px !important;
    height: 16px !important;
    color: #d4af37 !important;
  }
  .mobile-bottom-nav a.fees-mobile span {
    font-size: 0.56rem !important;
    margin-top: 0 !important;
    color: #d4af37 !important;
    letter-spacing: 0.04em;
    font-weight: 700;
  }
}

/* MOBILE ADMISSION MARQUEE */
.admission-marquee,
.admission-marquee-track {
  display: contents;
}

@media (max-width: 640px) {
  .admission-banner .admission-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
  }
  .admission-banner .admission-marquee {
    display: block !important;
    width: 100%;
    overflow: hidden;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  }
  .admission-banner .admission-marquee-track {
    display: inline-flex !important;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    padding-left: 100%;
    animation: admission-scroll 18s linear infinite;
    will-change: transform;
  }
  .admission-banner .admission-marquee .admission-live { flex: 0 0 auto; }
  .admission-banner .admission-marquee .admission-text {
    flex: 0 0 auto;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: baseline;
    gap: 10px;
    width: auto !important;
    order: initial !important;
  }
  .admission-banner .admission-marquee .admission-text strong,
  .admission-banner .admission-marquee .admission-text .admission-year,
  .admission-banner .admission-marquee .admission-text .admission-sub {
    display: inline !important;
    white-space: nowrap !important;
  }
  .admission-banner .admission-text .admission-sub { display: inline !important; }

  .admission-banner .admission-cta {
    margin: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    justify-content: center;
    padding: 10px 14px !important;
    order: 99 !important;
    background: rgba(255,255,255,0.97);
  }
}

@keyframes admission-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Fees capsule + header bigger */
.nav-menu a.fees-btn {
  border-radius: 999px !important;
  padding: 0 20px !important;
  height: 34px !important;
  margin-left: 6px;
}
.site-header .header-inner { padding-top: 14px !important; padding-bottom: 14px !important; }
.brand-logo { width: 52px !important; height: 52px !important; }
.brand strong { font-size: 1.02rem !important; }
.brand small { font-size: 0.78rem !important; }

/* Refined mobile Fees floating circle */
.mobile-bottom-nav { position: relative; }
.mobile-bottom-nav a.fees-mobile {
  width: 48px !important;
  height: 48px !important;
  margin-top: -14px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 30% 25%, #3d2a1c 0%, #1a1410 70%) !important;
  border: 2px solid #d4af37 !important;
  box-shadow:
    0 4px 14px rgba(212,175,55,.45),
    0 0 0 4px rgba(26,20,16,0.92),
    inset 0 1px 0 rgba(255,225,140,0.4) !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mobile-bottom-nav a.fees-mobile:hover,
.mobile-bottom-nav a.fees-mobile:active {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 8px 22px rgba(212,175,55,.6),
    0 0 0 4px rgba(26,20,16,0.95),
    inset 0 1px 0 rgba(255,225,140,0.5) !important;
}
.mobile-bottom-nav a.fees-mobile i {
  width: 20px !important;
  height: 20px !important;
  color: #f5deb3 !important;
  stroke-width: 2.4 !important;
}
.mobile-bottom-nav a.fees-mobile span {
  font-size: 0.56rem !important;
  font-weight: 800 !important;
  color: #d4af37 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-top: 1px !important;
  line-height: 1 !important;
}

/* FIX: mobile-bottom-nav stuck at bottom + fees round */
.mobile-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 60 !important;
  background: rgba(255,255,255,0.98) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(13,37,57,0.08);
  box-shadow: 0 -4px 18px rgba(13,37,57,0.08);
  display: none;
  padding: 6px 4px max(6px, env(safe-area-inset-bottom)) 4px;
}
@media (max-width: 640px) {
  .mobile-bottom-nav {
    display: flex !important;
    justify-content: space-around;
    align-items: center;
  }
  body { padding-bottom: 70px; }
}
.mobile-bottom-nav > a {
  flex: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 0;
  text-decoration: none;
  color: var(--ink, #1c0e0a);
  font-size: 0.66rem;
  font-weight: 600;
}
.mobile-bottom-nav > a i { width: 20px; height: 20px; }

/* FORCE Fees mobile = proper circle */
.mobile-bottom-nav a.fees-mobile {
  flex: 0 0 auto !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  border-radius: 50% !important;
  margin: -22px 6px 0 !important;
  padding: 0 !important;
  background: radial-gradient(circle at 30% 25%, #3d2a1c 0%, #1a1410 70%) !important;
  border: 2px solid #d4af37 !important;
  box-shadow:
    0 4px 14px rgba(212,175,55,.45),
    0 0 0 4px rgba(255,255,255,0.95),
    inset 0 1px 0 rgba(255,225,140,0.4) !important;
  align-self: center !important;
  position: relative !important;
  z-index: 2 !important;
}
.mobile-bottom-nav a.fees-mobile i {
  width: 22px !important;
  height: 22px !important;
  color: #f5deb3 !important;
}
.mobile-bottom-nav a.fees-mobile span {
  font-size: 0.55rem !important;
  font-weight: 800 !important;
  color: #d4af37 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-top: 1px !important;
  line-height: 1 !important;
}

/* IQAC nav link styling — subtle accent */
.nav-menu a.iqac-link {
  position: relative;
}
.nav-menu a.iqac-link::after {
  content: "↗";
  margin-left: 4px;
  font-size: 0.7em;
  opacity: 0.7;
}

/* Desktop admission-text — tight inline, no wide gap */
@media (min-width: 641px) {
  .admission-banner .admission-text {
    flex: 0 0 auto !important;
    gap: 8px !important;
    margin-right: auto;
  }
  .admission-banner .admission-text strong,
  .admission-banner .admission-text .admission-year,
  .admission-banner .admission-text .admission-sub {
    margin: 0;
    padding: 0;
  }
  /* Dot separator between year and sub */
  .admission-banner .admission-text .admission-year + .admission-sub::before {
    content: "·";
    margin: 0 6px;
    opacity: 0.6;
  }
}

/* ───── Trustees grid ───── */
.trustees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 18px;
}
.trustee-card {
  background: white;
  border: 1px solid var(--line, #e4d8cc);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(60,20,25,0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.trustee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(60,20,25,0.10);
}
.trustee-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--saffron, #d6571f);
  padding: 2px;
  background: white;
}
.trustee-photo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.trustee-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #6a1422, #d6571f);
  border-radius: 50%;
}
.trustee-card h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: var(--brand-dark, #0d2538);
  font-family: "Poppins", sans-serif;
}
.trustee-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted, #7a6c66);
  font-weight: 600;
}

/* Hero h1 — whole title in accent color */
.home-hero-content h1,
.home-hero-content h1 em {
  color: var(--accent-light) !important;
}
