/* =========================================================
   ST. PETER'S UNIVERSITY (SPU) — CORE DESIGN SYSTEM
   ========================================================= */

:root {
pill-filter
  /* --- Brand palette (from SPU crest) --- */
  --spu-navy: #1B2A5B;
  --spu-navy-dark: #121d40;
  --spu-navy-light: #2c407f;

  /* Apply Now / accent buttons — brightened to match reference */
  --spu-maroon: #cc6600;
  --spu-maroon-dark: #B84A09;

 

  /* NEW: lime/olive accent used for topbar contact icons */
  --spu-lime: #C6D22F;
  --spu-lime-dark: #A9B520;

  --spu-white: #FFFFFF;
  --spu-offwhite: #F8F9FA;
  --spu-gray-900: #222831;
  --spu-gray-700: #333333;
  --spu-gray-500: #666666;
  --spu-gray-300: #999999;
  --spu-gray-200: #e2e5ea;
  --spu-gray-100: #f1f2f5;
  /* --- Brand palette (from SPU crest) --- */
  --spu-navy: #1B2A5B;
  --spu-navy-dark: #121d40;
  --spu-navy-light: #2c407f;
  
  --spu-gold: #F2C94C;
  --spu-gold-dark: #d9ac2c;
  --spu-white: #FFFFFF;
  --spu-offwhite: #F8F9FA;
  --spu-gray-900: #222831;
  --spu-gray-700: #333333;
  --spu-gray-500: #666666;
  --spu-gray-300: #999999;
  --spu-gray-200: #e2e5ea;
  --spu-gray-100: #f1f2f5;

  /* --- Semantic aliases --- */
  --spu-primary: var(--spu-navy);
  --spu-accent: var(--spu-maroon);
  --spu-highlight: var(--spu-gold);

  /* --- Radii & shadows --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(27, 42, 91, 0.08);
  --shadow-md: 0 8px 24px rgba(27, 42, 91, 0.12);
  --shadow-lg: 0 16px 40px rgba(27, 42, 91, 0.18);

  /* --- Spacing scale --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  /* --- Transitions --- */
  --ease: 250ms ease;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--spu-gray-700);
  background: var(--spu-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--spu-navy-light);
  margin: 0 0 var(--space-3);
}

h1 { font-size: 2.75rem; line-height: 1.15; }
h2 { font-size: 2.1rem;  line-height: 1.2; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 var(--space-3); color: var(--spu-gray-500); }

a { color: var(--spu-navy-light); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--spu-maroon); }

img { max-width: 100%; display: block; }

ul { padding-left: 1.25rem; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

section { padding: var(--space-7) 0; }

/* =========================================================
   EYEBROW LABELS
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--spu-maroon);
  margin-bottom: var(--space-2);
}
.eyebrow.gold { color: var(--spu-gold-dark); }
.eyebrow i, .eyebrow svg { font-size: 0.9em; }

.section-heading { text-align: center; max-width: 700px; margin: 0 auto var(--space-6); }
.section-heading.left { text-align: left; margin: 0 0 var(--space-6); }
.section-heading p { font-size: 1.05rem; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 0px;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--spu-navy-light);
  color: var(--spu-white);
}
.btn-primary:hover { background: var(--spu-maroon); color: var(--spu-white); transform: translateY(-2px); }

.btn-accent {
  background: var(--spu-maroon);
  color: var(--spu-white);
}
.btn-accent:hover { background: var(--spu-maroon-dark); color: var(--spu-white); transform: translateY(-2px); }

.btn-gold {
  background: var(--spu-gold);
  color: var(--spu-navy-dark);
}
.btn-gold:hover { background: var(--spu-gold-dark); color: var(--spu-navy-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--spu-white);
  color: var(--spu-white);
}
.btn-outline:hover { background: var(--spu-white); color: var(--spu-navy); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--spu-navy);
  color: var(--spu-navy);
}
.btn-outline-navy:hover { background: var(--spu-navy); color: var(--spu-white); }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: var(--spu-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* =========================================================
   HEADER / NAV — 3-tier (topbar + infobar + overlapping navbar)
   ========================================================= */
.spu-header { background: transparent; }

/* --- Logo (both instances: infobar + navbar) --- */
.spu-logo { display: flex; align-items: center; gap: 12px; }
.spu-logo-img {
  height: 48px !important;
  width: 48px !important;
  max-height: 48px !important;
  max-width: 48px !important;
  min-height: 48px !important;
  min-width: 48px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.infobar .spu-logo-img,
.mobile-sidebar-head img {
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.spu-logo-text { line-height: 1.1; }
.spu-logo-text .name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.spu-logo-text .tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Top utility bar --- */
.topbar {
  background: var(--spu-navy-dark);
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.social-icons-top { display: flex; gap: 10px; }
.social-icons-top a {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.75rem;
}
.social-icons-top a:hover { background: var(--spu-gold); border-color: var(--spu-gold); color: var(--spu-navy-dark); }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { color: #fff; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar-links a:hover { color: var(--spu-gold); }

/* --- Info bar (logo + contact) --- */
.infobar {
  background: var(--spu-navy-light);
  padding: 16px 0 40px;
  position: relative;
  z-index: 1;
}
.infobar-inner { display: flex; justify-content: space-between; align-items: center; }
.infobar .spu-logo-text .name { color: #fff; }
.infobar .spu-logo-text .tagline { color: rgba(255,255,255,0.7); }
.infobar-contact { display: flex; gap: 32px; }
.infobar-item { display: flex; gap: 10px; align-items: center; color: #fff; }
.icon-circle-mini {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--spu-lime);
  flex-shrink: 0;
}
.infobar-item .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.65); font-weight: 700; }
.infobar-item .value { font-weight: 700; font-size: 0.92rem; }

/* --- Main nav bar: overlapping white card that "cuts" into infobar --- */
.main-navbar {
  background: var(--spu-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 50;
  margin: -28px auto 0;
  max-width: 1100px;
  width: calc(100% - 48px);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
  padding: 0 24px;
}
.main-navbar .spu-logo-text .name { color: var(--spu-navy); }
.main-navbar .spu-logo-text .tagline { color: var(--spu-gray-300); }

.navbar-logo { display: none; opacity: 0; }

/* --- Scrolled state: hide topbar/infobar, snap navbar to fixed full-width bar --- */
.spu-header.scrolled .topbar,
.spu-header.scrolled .infobar { display: none; }
.spu-header.scrolled .navbar-logo { display: flex; opacity: 1; }

.spu-header.scrolled .main-navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--spu-gray-200);
  box-shadow: var(--shadow-md);
  z-index: 1000;
}
.spu-header.scrolled .navbar-inner { max-width: 1280px; margin: 0 auto; }

body.header-scrolled main { padding-top: 74px; }

/* --- Nav links + dropdowns --- */
.spu-nav { display: flex; align-items: center; gap: var(--space-5); }
.spu-nav ul { list-style: none; display: flex; gap: var(--space-4); margin: 0; padding: 0; }
.spu-nav > ul > li { position: relative; }
.spu-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--spu-gray-700);
  padding: 8px 2px;
  white-space: nowrap;
}
.spu-nav > ul > li > a:hover,
.spu-nav > ul > li.active > a { color: var(--spu-maroon); }
.spu-nav > ul > li > a .chev { font-size: 0.65em; transition: transform var(--ease); }
.spu-nav > ul > li:hover > a .chev { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--spu-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--ease);
  border-top: 3px solid var(--spu-gold);
  z-index: 2000;
}

/* --- Multi-column dropdown variant (for long menus like Students, About Us) --- */
.dropdown-panel.dropdown-columns {
  display: flex;
  gap: 0;
  padding: 0;
  min-width: 480px;
}
.dropdown-panel.dropdown-columns .dropdown-col {
  flex: 1;
  padding: var(--space-3) 0;
}
.dropdown-panel.dropdown-columns .dropdown-col + .dropdown-col {
  border-left: 1px solid var(--spu-gray-100);
}
.dropdown-panel.dropdown-columns .dropdown-col-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--spu-gray-300);
  padding: 4px 22px 10px;
}

.spu-nav > ul > li:hover .dropdown-panel,
.dropdown-panel.force-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-panel a {
  display: block;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--spu-navy);
}
.dropdown-panel a:hover { color: var(--spu-maroon); background: var(--spu-gray-100); }

/* --- Navbar right: search + hamburger --- */
.navbar-right { display: flex; align-items: center; gap: 18px; }
.nav-search {
  display: flex; align-items: center;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 16px;
}
.nav-search input { border: none; outline: none; font-size: 0.85rem; width: 150px; }
.nav-search button {
  background: var(--spu-navy);
  color: #fff;
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-search button:hover { background: var(--spu-maroon); }

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--spu-navy);
  cursor: pointer;
}

/* --- Close the gap between header and hero section --- */
main { margin: 0; padding: 0; }
main > .hero:first-child,
main .hero:first-of-type {
  margin-top: -46px;
}

/* =========================================================
   MOBILE OFF-CANVAS SIDEBAR
   ========================================================= */
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  display: none;
}
.mobile-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 320px;
  max-width: 88vw;
  height: 100%;
  background: var(--spu-white);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 320ms ease;
  display: flex;
  flex-direction: column;
}
.mobile-sidebar.open { transform: translateX(0); }
.mobile-overlay.open { display: block; }

.mobile-sidebar-head {
  background: var(--spu-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
}
.mobile-sidebar-head img { height: 36px; }
.mobile-sidebar-head .close-btn {
  background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer;
}
.mobile-sidebar-body { flex: 1; overflow-y: auto; padding: var(--space-3) 0; }
.mobile-sidebar-body .section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--spu-maroon);
  padding: var(--space-3) var(--space-4) var(--space-1);
}
.mobile-sidebar-body a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px var(--space-4);
  font-weight: 600;
  color: var(--spu-navy);
  border-bottom: 1px solid var(--spu-gray-100);
  position: relative;
}
.mobile-sidebar-body a.sub { padding-left: var(--space-5); font-weight: 500; color: var(--spu-gray-500); }
.mobile-sidebar-body a:hover { color: var(--spu-maroon); background: var(--spu-gray-100); }

.mobile-sidebar-body a.active {
  color: var(--spu-maroon);
  background: var(--spu-navy-light);
  color: white;
  font-weight: 700;
}
.mobile-sidebar-body a.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--spu-gold);
}
.mobile-sidebar-foot {
  display: flex; gap: 10px; padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--spu-gray-200);
}
.mobile-sidebar-foot .btn { flex: 1; padding: 10px; font-size: 0.85rem; }

/* =========================================================
   HERO / WAVE DIVIDER
   ========================================================= */
.hero {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(74,35,8,0.0) 0%, rgba(122,61,20,0.4) 50%, rgba(143,72,24,0.9) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: var(--space-8);
  padding-bottom: calc(var(--space-8) + 40px);
}
.hero.hero-lg .hero-inner { min-height: 560px; display: flex; flex-direction: column; justify-content: center; }
.hero.hero-sm .hero-inner {
  padding-top: var(--space-6);
  padding-bottom: calc(var(--space-6) + 40px);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-3);
}
.hero .breadcrumb a { color: rgba(255,255,255,0.75); }
.hero .breadcrumb a:hover { color: var(--spu-gold); }

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  max-width: 720px;
}
.hero h1 .accent { color: var(--spu-gold); }
.hero p.lead {
  max-width: 560px;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
}
.hero .hero-ctas { display: flex; gap: 14px; margin-top: var(--space-4); flex-wrap: wrap; }

programme-card
.hero-scroll {
  position: absolute;
  right: var(--space-4);
  bottom: 60px;
  writing-mode: vertical-rl;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll::after { content: ''; width: 1px; height: 40px; background: rgba(255,255,255,0.5); }

.wave-divider {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}
.wave-divider svg { width: 100%; height: 140px; display: block; }
.wave-divider path { fill: var(--spu-white); }

.hero-dots {
  position: absolute;
  bottom: 70px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 3;
}
.hero-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.hero-dots span.active { background: var(--spu-gold); width: 26px; border-radius: var(--radius-pill); }


/* =========================================================
   HERO CAROUSEL (multi-slide)
   ========================================================= */
.hero-carousel { padding: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transform: scale(1.06);
  transition: opacity 900ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 1200ms cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 900ms;
}

.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(74,35,8,0.0) 0%, rgba(122,61,20,0.2) 50%, rgba(143,72,24,0.6) 100%);
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transform: scale(1);
  transition: opacity 900ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 1200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide .hero-inner {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease 250ms, transform 700ms ease 250ms;
}
.hero-slide.active .hero-inner {
  opacity: 1;
  transform: translateY(0);
}

/* Keep hero container sized even though slides are absolutely positioned */
.hero-carousel.hero-lg { min-height: 780px; }
.hero-carousel .hero-slide { min-height: 780px; display: flex; align-items: center; }
.hero-carousel .hero-inner {
  padding-top: var(--space-8);
  padding-bottom: calc(var(--space-8) + 40px);
  width: 100%;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--ease);
}
.hero-arrow:hover { background: rgba(255,255,255,0.35); }
.hero-arrow-left { left: 24px; }
.hero-arrow-right { right: 24px; }

.hero-dots { z-index: 5; }


/* =========================================================
   DISCOVER SPU / FEATURE STRIP (navy band below hero)
   ========================================================= */
.discover-strip {
  background: var(--spu-navy);
  position: relative;
  overflow: hidden;
  padding: var(--space-7) 0;
}
/* subtle repeating pattern overlay, optional decorative touch matching reference */
.discover-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.discover-strip-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.discover-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.discover-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  transition: all var(--ease);
}
.discover-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--spu-gold);
  transform: translateY(-4px);
}
.discover-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--spu-gold);
  color: var(--spu-navy-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto var(--space-3);
}
.discover-card h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.discover-card p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 0; }

.discover-text h2 { color: #fff; font-size: 1.9rem; margin-bottom: var(--space-4); }
.discover-text .eyebrow.gold { color: var(--spu-gold); }

.btn-white-block {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  color: var(--spu-navy);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 18px 28px;
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow-md);
  transition: all var(--ease);
}
.btn-white-block:hover {
  background: var(--spu-gold);
  color: var(--spu-navy-dark);
  transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .discover-strip-grid { grid-template-columns: 1fr; }
  .discover-text { order: -1; text-align: center; }
  .btn-white-block { margin: 0 auto; }
}
@media (max-width: 576px) {
  .discover-cards { grid-template-columns: repeat(2, 1fr); }
}




/* =========================================================
   WELCOME TO SPU SECTION
   ========================================================= */
.welcome-section { padding: var(--space-8) 0; }
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-6);
  align-items: center;
}

.welcome-media { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1/1; }
.welcome-circle {
  width: 100%;
  height: 100%;
  border-radius: 5px 5px 5px 5px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.welcome-play-btn {
  position: absolute;
  bottom: 8%; right: 6%;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(230,96,12,0.9);
  border: 4px solid rgba(255,255,255,0.85);
  color: #fff;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(230,96,12,0.6);
  animation: welcomePulse 2.4s infinite;
  transition: transform var(--ease);
}
.welcome-play-btn:hover { transform: scale(1.08); }
.welcome-play-btn i { margin-left: 4px; }

@keyframes welcomePulse {
  0%   { box-shadow: 0 0 0 0 rgba(230,96,12,0.45); }
  70%  { box-shadow: 0 0 0 18px rgba(230,96,12,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,96,12,0); }
}

.welcome-text .eyebrow { color: var(--spu-gray-300); font-size: 0.8rem; }
.welcome-text h2 { font-size: 2.2rem; margin-bottom: var(--space-4); }

.welcome-quote {
  margin: 0 0 var(--space-4);
  padding: 18px 24px;
  border-left: 4px solid var(--spu-navy);
  background: var(--spu-gray-100);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--spu-gray-900);
  font-style: normal;
}

.btn-pill-lg {
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
}

/* --- Video modal --- */
.video-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.video-modal-overlay.open { display: flex; }
.video-modal-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-modal-close {
  position: absolute;
  top: 24px; right: 32px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.video-modal-close:hover { background: rgba(255,255,255,0.25); }

/* --- Responsive --- */
@media (max-width: 991px) {
  .welcome-grid { grid-template-columns: 1fr; text-align: center; }
  .welcome-media { margin: 0 auto var(--space-5); }
  .welcome-quote { text-align: left; }
}

/* =========================================================
   KEY ACHIEVEMENTS / STATS COUNTER STRIP
   ========================================================= */
.stats-strip {
  position: relative;
  background-color: #4A2308; /* fallback if image fails to load */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: var(--space-8) 0;
}
.stats-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(122,61,20,0.88) 0%, rgba(74,35,8,0.92) 100%);
  z-index: 0;
}
.stats-strip .container {
  position: relative;
  z-index: 1;
}

.stats-strip .eyebrow.gold { color: var(--spu-gold); }
.stats-strip .section-heading h2 { color: #fff; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.stat-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-3);
  text-align: center;
  transition: all var(--ease);
}
.stat-card:hover {
  background: rgba(0,0,0,0.45);
  transform: translateY(-4px);
}
.stat-icon {
  font-size: 2.2rem;
  color: var(--spu-gold);
  margin-bottom: var(--space-3);
}
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 0.95rem;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2.2rem; }
}


/* =========================================================
   PROGRAMME LEVEL ICON CARDS (homepage catalogue)
   ========================================================= */
.level-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.level-card {
  text-align: center;
  padding: var(--space-4) var(--space-3);
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  transition: all var(--ease);
}
.level-card:hover { border-color: var(--spu-gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.level-card .icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--spu-gray-100);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-3);
  font-size: 1.6rem;
  color: var(--spu-navy);
}
.level-card h4 { margin: 0; font-size: 1rem; }

/* =========================================================
   PROGRAMME CATALOGUE (search/filter/grid)
   ========================================================= */
.catalogue-layout { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-5); align-items: start; }
.filter-sidebar {
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.filter-sidebar .filter-head {
  background: var(--spu-gray-100);
  padding: 14px var(--space-3);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--spu-gray-500);
}
.filter-sidebar label {
  display: flex; align-items: center; gap: 8px;
  padding: 12px var(--space-3);
  border-bottom: 1px solid var(--spu-gray-100);
  cursor: pointer;
  font-size: 0.92rem;
}
.filter-sidebar label.active { background: var(--spu-gray-100); color: var(--spu-navy); font-weight: 700; }

.search-row { display: flex; gap: 10px; margin-bottom: var(--space-3); }
.search-input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
}

.pill-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--space-2); align-items: center; max-width: 100%; }
.pill-filter {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--spu-gray-200);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0px;
}
.pill-filter.active,
.gallery-filter-btn.active {
  background: var(--spu-navy);
  color: #fff;
  border-color: var(--spu-navy);
}
.pill-filter .count { background: var(--spu-gray-100); border-radius: var(--radius-pill); padding: 1px 8px; font-size: 0.75rem; }
.pill-filter.active { background: var(--spu-navy); color: #fff; border-color: var(--spu-navy); }
.pill-filter.active .count { background: rgba(255,255,255,0.2); color: #fff; }



.active-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--spu-gray-100);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  margin-bottom: var(--space-3);
}
.active-chip button { background: none; border: none; cursor: pointer; color: var(--spu-gray-500); }

.programme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.programme-card { border: 1px solid var(--spu-gray-200); }
.programme-card img { height: 190px; width: 100%; object-fit: cover; }
.programme-card .body { padding: var(--space-3); }
.programme-card .eyebrow { font-size: 0.7rem; }
.programme-card h4 { margin-bottom: 4px; }
.programme-card .code { color: var(--spu-gray-300); font-size: 0.85rem; }
.programme-card .chevron-link {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--space-2);
  font-weight: 700;
  color: var(--spu-navy);
  font-size: 0.85rem;
}

/* list-view variant */
.programme-list-row {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3);
  border-left: 4px solid var(--spu-maroon);
  background: var(--spu-gray-100);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.programme-list-row .info { flex: 1; }
.programme-list-row h4 { margin: 0 0 2px; font-size: 1.05rem; }
.programme-list-row .faculty { font-size: 0.85rem; color: var(--spu-gray-500); }
.badge-duration { color: #1a7f37; font-weight: 700; font-size: 0.85rem; }
.badge-level { color: var(--spu-gray-500); font-size: 0.85rem; }


/* =========================================================
   PROGRAMME CATALOGUE — FACULTY BANNER (shown on faculty select)
   ========================================================= */
.faculty-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
  min-height: 400px;
}
.faculty-banner-item {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faculty-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18,29,64,0.85) 0%, rgba(27,42,91,0.5) 60%, rgba(27,42,91,0.2) 100%);
  display: flex;
  align-items: center;
  padding: var(--space-5);
}
.faculty-banner-text .eyebrow.gold { color: var(--spu-gold); }
.faculty-banner-text h3 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.faculty-banner-text p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.92rem; }

@media (max-width: 576px) {
  .faculty-banner, .faculty-banner-item { min-height: 160px; }
  .faculty-banner-text h3 { font-size: 1.2rem; }
}

/* =========================================================
   PROGRAMME DETAIL PAGE
   ========================================================= */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-6);
  align-items: start;
  min-width: 0;
}
.detail-layout > * {
  min-width: 0;
}
.tab-sidebar { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 8px; }
.tab-sidebar a {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--spu-navy);
  display: flex; align-items: center; justify-content: space-between;
}
.tab-sidebar a.active { background: var(--spu-navy); color: #fff; border-color: var(--spu-navy); }
.tab-sidebar a:hover:not(.active) { border-color: var(--spu-gold); }

.quickfacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-5); }
.quickfact-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--spu-gray-100);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
}
.quickfact-card .icon-box {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: #fff; display: flex; align-items: center; justify-content: center;
  color: var(--spu-navy); flex-shrink: 0;
}
.quickfact-card .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--spu-gray-300); font-weight: 700; }
.quickfact-card .value { font-weight: 700; color: var(--spu-gray-900); }

.accordion-item { border: 1px solid var(--spu-gray-200); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 12px; }
.accordion-head {
  background: #994d00;
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.accordion-body { padding: var(--space-4); display: none; }
.accordion-item.open .accordion-body { display: block; }
.accordion-item.open .accordion-head .chev { transform: rotate(180deg); }
.accordion-head .chev { transition: transform var(--ease); }

/* Fee table */
.fee-table-wrap {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--spu-gray-200);
  max-width: 100%;
  overflow: hidden;
}

.fee-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.fee-table-scroll table.fee-table {
  min-width: 500px;
  width: 100%;
}
.fee-table-header {
  background: linear-gradient(90deg, var(--spu-maroon) 0%, var(--spu-maroon) 55%, var(--spu-navy) 55%, var(--spu-navy) 100%);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  display: flex; align-items: center; justify-content: space-between;
}
.fee-table-header .school-tag { background: var(--spu-navy); padding: 4px 14px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 700; }
table.fee-table { width: 100%; border-collapse: collapse; }
table.fee-table th, table.fee-table td { padding: 12px 16px; border-bottom: 1px solid var(--spu-gray-100); font-size: 0.92rem; }
table.fee-table thead th { background: var(--spu-gray-100); color: var(--spu-navy); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
table.fee-table td:first-child { font-weight: 700; color: var(--spu-maroon); background: var(--spu-gray-100); }
.fee-note { font-size: 0.85rem; color: var(--spu-gray-500); padding: var(--space-3) var(--space-4); background: #fff; }
.bank-bar { background: var(--spu-navy); color: #fff; padding: 10px var(--space-4); font-size: 0.85rem; font-weight: 600; }
.bank-bar + .bank-bar { background: var(--spu-maroon); }
.contact-strip { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr; }
.contact-strip > div { padding: 12px var(--space-3); font-size: 0.85rem; }
.contact-strip .social { background: var(--spu-navy); color: #fff; }
.contact-strip .emails { background: var(--spu-gray-100); }
.contact-strip .addr { background: var(--spu-navy); color: #fff; }
.contact-strip .web { background: var(--spu-maroon); color: #fff; font-weight: 700; }

/* CTA banner (bottom of programme page) */
.cta-banner {
  background: var(--spu-navy);
  color: #fff;
  text-align: center;
  padding: var(--space-7) 0;
}
.cta-banner .icon-badge {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-3);
  font-size: 1.6rem;
}
.cta-banner .eyebrow { color: var(--spu-gold); justify-content: center; display: flex; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto var(--space-4); }
.cta-banner .ctas { display: flex; justify-content: center; gap: 14px; }

/* "Need more information" sub-footer */
.info-banner {
  background: var(--spu-navy);
  color: #fff;
  text-align: center;
  padding: var(--space-6) 0;
  position: relative;
}
.info-banner .icon-badge {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-3);
  font-size: 1.4rem;
}
.info-banner h3 { color: #fff; margin-bottom: 6px; }
.info-banner p { color: rgba(255,255,255,0.7); margin-bottom: var(--space-4); }
.info-banner .ctas { display: flex; justify-content: center; gap: 14px; }
.info-banner::after {
  content: '';
  position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--spu-gold), var(--spu-navy));
}


/* =========================================================
   JOIN US TODAY (split panel: text + photo)
   ========================================================= */
.join-us-section { padding: 0; }
.join-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.join-us-text {
  background: var(--spu-navy);
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
}
.join-us-text .eyebrow.gold { color: var(--spu-gold); }
.join-us-text h2 { color: #fff; font-size: 2.3rem; margin-bottom: var(--space-4); }
.join-us-text p { color: rgba(255,255,255,0.8); font-size: 1rem; max-width: 480px; margin-bottom: var(--space-5); }

.join-us-media {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .join-us-grid { grid-template-columns: 1fr; min-height: auto; }
  .join-us-media { min-height: 320px; order: -1; }
  .join-us-text { padding: var(--space-6) var(--space-4); }
}



/* =========================================================
   LATEST NEWS SECTION
   ========================================================= */
.news-section { background: var(--spu-offwhite); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
  display: block;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.news-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.news-card-body { padding: var(--space-4); }

.news-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.news-tag {
  background: var(--spu-navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 3px;
}

.news-card h4 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--spu-gray-100);
}
.news-date {
  color: var(--spu-gray-300);
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .news-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   OUR COLLABORATIONS / PARTNERS STRIP
   ========================================================= */
.partners-section { background: #fff; }

.partners-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 60px 0 var(--space-3);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-marquee-track {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  animation-name: partnersScroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.partners-marquee-wrap:hover .partners-marquee-track {
  animation-play-state: paused;
}

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-logo {
  position: relative;
  flex: 0 0 auto;
  width: 140px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(40%);
  opacity: 0.85;
  transition: all var(--ease);
}
.partner-logo:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* --- Hover tooltip showing partner name --- */
.partner-logo::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--spu-gray-900);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), transform var(--ease);
  z-index: 9999;
  pointer-events: none;
}
.partner-logo::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--spu-gray-900);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease);
  z-index: 20;
  pointer-events: none;
}
.partner-logo:hover::after,
.partner-logo:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


@media (max-width: 576px) {
  .partner-logo { width: 110px; height: 70px; }
}

/* =========================================================
   FOOTER
   ========================================================= */


.spu-footer {
  position: relative;
  background-color: var(--spu-navy-dark); /* fallback if image fails to load */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgba(255,255,255,0.8);
 
  padding-top: var(--space-7);
  overflow: hidden;
}
.spu-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,29,64,0.93) 0%, rgba(18,29,64,0.96) 100%);
  z-index: 0;
}
.spu-footer .container {
  position: relative;
  z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-5); padding-bottom: var(--space-6); }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: var(--space-3); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--spu-gold); }
.footer-brand .logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-3); }
.footer-brand .logo-row img { height: 44px; background: #fff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);}
.footer-brand .motto { color: var(--spu-gold); font-style: italic; font-weight: 700; margin-bottom: 8px; }
.social-icons { display: flex; gap: 10px; margin-top: var(--space-3); }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.social-icons a:hover { background: var(--spu-gold); border-color: var(--spu-gold); color: var(--spu-navy-dark); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.88rem; }
.footer-contact-item i { color: var(--spu-gold); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: var(--space-3) 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.6); margin-left: 16px; }
.footer-bottom a:hover { color: var(--spu-gold); }

/* =========================================================
   FLOATING ELEMENTS (Apply Now + Chatbot)
   ========================================================= */
/* =========================================================
   FLOATING WHATSAPP WIDGET
   ========================================================= */
.whatsapp-bubble {
  position: fixed;
  left: 17px; bottom: 24px;
  z-index: 900;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--ease);
  animation: whatsappPulse 2.4s infinite;
}
.whatsapp-bubble:hover { transform: scale(1.06); background: #1fbd5a; }

@keyframes whatsappPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), var(--shadow-lg); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), var(--shadow-lg); }
}
.whatsapp-panel {
  position: fixed;
  left: 24px; bottom: 92px;
  width: 320px;
  max-width: 88vw;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 899;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.whatsapp-panel.open { display: flex; }

.whatsapp-head {
  background: #075E54;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.whatsapp-head img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 3px; flex-shrink: 0; }
.whatsapp-head-text { flex: 1; line-height: 1.3; }
.whatsapp-head-text strong { display: block; font-size: 0.9rem; }
.whatsapp-head-text span { font-size: 0.72rem; color: rgba(255,255,255,0.75); }
.whatsapp-head button { background: none; border: none; color: #fff; font-size: 1rem; cursor: pointer; }

.whatsapp-body {
  background: #E5DDD5;
  padding: 16px;
  min-height: 300px;
}
.whatsapp-greeting {
  background: #fff;
  padding: 10px 14px;
  border-radius: 0 10px 10px 10px;
  font-size: 0.85rem;
  color: var(--spu-gray-900);
  max-width: 85%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.whatsapp-input-row { display: flex; border-top: 1px solid var(--spu-gray-200); background: #fff; }
.whatsapp-input-row input { flex: 1; border: none; padding: 14px; font-size: 0.9rem; }
.whatsapp-input-row input:focus { outline: none; }
.whatsapp-input-row button {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 0 18px;
  cursor: pointer;
}
.whatsapp-input-row button:hover { background: #1fbd5a; }

/* =========================================================
   BACK TO TOP BUTTON
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 900;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--spu-maroon-dark);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 300ms ease, transform 300ms ease, background var(--ease);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--spu-maroon); }

/* =========================================================
   FORMS (contact, application, login)
   ========================================================= */
.form-group { margin-bottom: var(--space-3); }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--spu-gray-900); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--ease);
}
.form-control:focus { outline: none; border-color: var(--spu-navy); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-msg { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: var(--space-3); display: none; }
.form-msg.success { background: #e6f6ec; color: #1a7f37; display: block; }
.form-msg.error { background: #fdecea; color: #b3261e; display: block; }

/* split-screen auth layout */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-panel { display: flex; flex-direction: column; justify-content: center; padding: var(--space-7); }
.auth-panel .logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-5); }
.auth-panel .logo-row img { height: 48px; }
.auth-photo {
  position: relative;
  background-size: cover;
  background-position: center;
}
.auth-photo::before { content: ''; position: absolute; inset: 0; background: rgba(18,29,64,0.35); }
.auth-photo-content {
  position: relative; z-index: 2;
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: var(--space-6);
  background: rgba(27,42,91,0.55);
}
.auth-photo-content .icon-badge {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: var(--space-3);
}
.password-field { position: relative; }
.password-field .toggle-pw { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--spu-gray-300); background: none; border: none; }
.auth-links { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); font-size: 0.9rem; }

/* =========================================================
   MISC UTILITIES
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.bg-offwhite { background: var(--spu-offwhite); }
.bg-navy { background: var(--spu-navy); color: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }

/* Breadcrumb strip (non-hero pages) */
.page-breadcrumb { background: var(--spu-gray-100); padding: 14px 0; font-size: 0.85rem; }

/* Gallery */
/* Gallery */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: var(--space-4); }

.gallery-filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--spu-gray-200);
  background: #fff;
  color: var(--spu-gray-700);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--ease);
}
.gallery-filter-btn:hover {
  border-color: var(--spu-navy);
  color: var(--spu-navy);
}
.gallery-filter-btn.active {
  background: var(--spu-maroon);
  color: #fff;
  border-color: var(--spu-maroon);
}
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.gallery-grid .g-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; aspect-ratio: 1/1; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ease); }
.gallery-grid .g-item:hover img { transform: scale(1.08); }

/* --- Thumbnail hover caption --- */
.gallery-grid .g-item { position: relative; }
.g-title-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 24px 12px 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--ease), transform var(--ease);
  pointer-events: none;
}
.gallery-grid .g-item:hover .g-title-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* --- Lightbox caption --- */
.lightbox-caption {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
  max-width: 80vw;
}
.g-item .g-cat {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(0,0,0,0.6); color: #fff; font-size: 0.7rem; padding: 3px 10px; border-radius: var(--radius-pill);
}

/* =========================================================
   LIGHTBOX (zoom, rotate, fullscreen, next/prev)
   ========================================================= */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 2000;
  display: none; align-items: center; justify-content: center;
  flex-direction: column;
}
.lightbox-overlay.open { display: flex; }

.lightbox-stage {
  width: 100%;
  height: calc(100% - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox-overlay img {
  max-width: 85vw;
  max-height: 78vh;
  border-radius: var(--radius-sm);
  transition: transform 250ms ease;
  transform-origin: center center;
  user-select: none;
  cursor: grab;
}

.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  color: #fff; font-size: 1.4rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  cursor: pointer; border: none;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-toolbar {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  margin-top: 10px;
}
.lightbox-toolbar button {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.lightbox-toolbar button:hover { background: var(--spu-gold); color: var(--spu-navy-dark); }



/* =========================================================
   ABOUT US — INFO CARDS (campus locations, journey highlights)
   ========================================================= */
.info-card-grid {
  display: grid;
  gap: var(--space-4);
}
.info-card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.info-card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.info-card {
  background: #fff;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}

.info-card-photo {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}
.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: transparent;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--spu-navy), var(--spu-gold));
  opacity: 0;
  transition: opacity var(--ease);
}
.info-card:hover::before { opacity: 1; }

.info-card .icon-circle-lg {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
}
.info-card:nth-child(1) .icon-circle-lg { background: #E7ECFB; color: var(--spu-navy); }
.info-card:nth-child(2) .icon-circle-lg { background: #FBE9E2; color: var(--spu-maroon); }
.info-card:nth-child(3) .icon-circle-lg { background: #FEF6DC; color: var(--spu-gold-dark); }

.info-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.info-card .info-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--spu-maroon);
  background: var(--spu-gray-100);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.info-card p { color: var(--spu-gray-500); font-size: 0.92rem; margin: 0; }
.info-card .info-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--spu-navy);
}

/* =========================================================
   HISTORY TIMELINE (About Us — Evolution)
   ========================================================= */
.history-timeline {
  border-left: 3px solid var(--spu-gray-200);
  padding-left: var(--space-5);
  margin-top: var(--space-3);
}
.timeline-year {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--spu-navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  position: relative;
}
.timeline-year::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--spu-gold);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--spu-navy);
}

/* =========================================================
   ACCREDITATION BADGE STRIP
   ========================================================= */
.accreditation-strip {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: #804000;
  border-radius: var(--radius-md);
  padding: var(--space-5);
  color: #fff;
  margin-top: var(--space-5);
}
.accreditation-strip .badge-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(242,201,76,0.15);
  border: 2px solid var(--spu-gold);
  color: var(--spu-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.accreditation-strip h4 { color: #fff; margin-bottom: 6px; }
.accreditation-strip p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.9rem; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .info-card-grid.cols-2,
  .info-card-grid.cols-3 { grid-template-columns: 1fr; }
  .accreditation-strip { flex-direction: column; text-align: center; }
}

/* =========================================================
   MISSION & VISION — SPLIT PANELS
   ========================================================= */
.mv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mv-panel {
  padding: var(--space-6) var(--space-5);
  position: relative;
  overflow: hidden;
}
.mv-panel.mv-mission {
  background: linear-gradient(150deg, var(--spu-navy-dark) 0%, var(--spu-navy) 100%);
  color: #fff;
}
.mv-panel.mv-vision {
  background: linear-gradient(150deg, #7A3D14 0%, #4A2308 100%);
  color: #fff;
}
.mv-panel::before {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -80px; right: -80px;
}
.mv-panel::after {
  content: '';
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -50px; left: -40px;
}
.mv-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid var(--spu-gold);
  color: var(--spu-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}
.mv-panel h3 { color: #fff; font-size: 1.5rem; margin-bottom: 14px; position: relative; z-index: 1; }
.mv-panel p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.7; position: relative; z-index: 1; margin: 0; }

/* =========================================================
   CORE VALUES — COLORFUL ICON GRID
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.value-tile {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
  border: 1px solid var(--spu-gray-200);
  transition: all var(--ease);
  position: relative;
}
.value-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.value-tile .value-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto var(--space-3);
  color: #fff;
}
.value-tile h5 { font-size: 0.98rem; margin-bottom: 6px; }
.value-tile p { font-size: 0.82rem; color: var(--spu-gray-500); margin: 0; }

/* Rotating palette for value icons (cycles through brand + accent tones) */
.value-tile:nth-child(7n+1) .value-icon { background: linear-gradient(135deg, var(--spu-navy), var(--spu-navy-light)); }
.value-tile:nth-child(7n+2) .value-icon { background: linear-gradient(135deg, var(--spu-maroon), var(--spu-maroon-dark)); }
.value-tile:nth-child(7n+3) .value-icon { background: linear-gradient(135deg, var(--spu-gold-dark), var(--spu-gold)); }
.value-tile:nth-child(7n+4) .value-icon { background: linear-gradient(135deg, #2c407f, #1B2A5B); }
.value-tile:nth-child(7n+5) .value-icon { background: linear-gradient(135deg, #B84A09, #7A3D14); }
.value-tile:nth-child(7n+6) .value-icon { background: linear-gradient(135deg, #d9ac2c, #b8891a); }
.value-tile:nth-child(7n+7) .value-icon { background: linear-gradient(135deg, var(--spu-navy-light), var(--spu-maroon)); }

/* =========================================================
   OBJECTIVES — CHECKLIST CARDS
   ========================================================= */
.objectives-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.objective-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--spu-gray-200);
  border-left: 4px solid var(--spu-gold);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  transition: all var(--ease);
}
.objective-item:hover {
  border-left-color: var(--spu-maroon);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.objective-item .obj-check {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--spu-gray-100);
  color: var(--spu-navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.objective-item p { margin: 0; font-size: 0.92rem; color: var(--spu-gray-900); font-weight: 500; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .mv-split { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .objectives-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   POLICIES PAGE — WAVE INTRO BAND
   ========================================================= */
.policy-intro-band {
  position: relative;
  background: linear-gradient(120deg, #4A2308 0%, #7A3D14 60%, #8f4818 100%);
  color: #fff;
  padding: var(--space-7) 0 calc(var(--space-7) + 50px);
  overflow: hidden;
}
.policy-intro-band .eyebrow { color: var(--spu-gold); justify-content: center; display: flex; }
.policy-intro-band h2 { color: #fff; text-align: center; }
.policy-intro-band p { color: rgba(255,255,255,0.8); text-align: center; max-width: 640px; margin: 0 auto; }
.policy-intro-band .wave-divider path { fill: var(--spu-offwhite); }

/* Floating decorative shapes (subtle motion) */
.policy-intro-band .float-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  animation: floatShape 8s ease-in-out infinite;
}
.policy-intro-band .float-shape.s1 { width: 160px; height: 160px; top: -40px; left: 6%; animation-delay: 0s; }
.policy-intro-band .float-shape.s2 { width: 90px; height: 90px; bottom: 30px; right: 10%; animation-delay: 2s; }
.policy-intro-band .float-shape.s3 { width: 50px; height: 50px; top: 40%; right: 25%; animation-delay: 4s; background: rgba(242,201,76,0.12); }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.05); }
}

/* =========================================================
   POLICY ACCORDION CARDS
   ========================================================= */
.policy-list { background: var(--spu-offwhite); padding-top: var(--space-6); }

.policy-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--spu-gray-200);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease, box-shadow var(--ease);
}
/* JS adds this BEFORE reveal, only once confirmed running — keeps cards visible if JS fails */
.js-ready .policy-card.pre-reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js-ready .policy-card.pre-reveal.reveal {
  opacity: 1;
  transform: translateY(0);
}
.policy-card:hover { box-shadow: var(--shadow-md); }

.policy-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  cursor: pointer;
}
.policy-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
  transition: transform var(--ease);
}
.policy-card.open .policy-card-icon { transform: rotate(-8deg) scale(1.08); }

.policy-card-head h4 { margin: 0; font-size: 1.05rem; flex: 1; }
.policy-card-chev {
  color: var(--spu-gray-300);
  transition: transform var(--ease);
  flex-shrink: 0;
}
.policy-card.open .policy-card-chev { transform: rotate(180deg); color: var(--spu-maroon); }

.policy-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease, padding var(--ease);
  padding: 0 22px;
}
.policy-card.open .policy-card-body {
  max-height: 400px;
  padding: 0 22px 22px 88px;
}
.policy-card-body p { color: var(--spu-gray-500); font-size: 0.92rem; margin: 0; }

/* Rotating icon palette (cycles through brand tones) */
.policy-card:nth-child(10n+1) .policy-card-icon { background: linear-gradient(135deg, var(--spu-navy), var(--spu-navy-light)); }
.policy-card:nth-child(10n+2) .policy-card-icon { background: linear-gradient(135deg, var(--spu-maroon), var(--spu-maroon-dark)); }
.policy-card:nth-child(10n+3) .policy-card-icon { background: linear-gradient(135deg, var(--spu-gold-dark), var(--spu-gold)); }
.policy-card:nth-child(10n+4) .policy-card-icon { background: linear-gradient(135deg, #2c407f, #1B2A5B); }
.policy-card:nth-child(10n+5) .policy-card-icon { background: linear-gradient(135deg, #B84A09, #7A3D14); }
.policy-card:nth-child(10n+6) .policy-card-icon { background: linear-gradient(135deg, #d9ac2c, #b8891a); }
.policy-card:nth-child(10n+7) .policy-card-icon { background: linear-gradient(135deg, var(--spu-navy-light), var(--spu-maroon)); }
.policy-card:nth-child(10n+8) .policy-card-icon { background: linear-gradient(135deg, var(--spu-maroon-dark), var(--spu-gold-dark)); }
.policy-card:nth-child(10n+9) .policy-card-icon { background: linear-gradient(135deg, var(--spu-navy), var(--spu-gold-dark)); }
.policy-card:nth-child(10n+10) .policy-card-icon { background: linear-gradient(135deg, var(--spu-gold), var(--spu-maroon)); }

@media (max-width: 576px) {
  .policy-card.open .policy-card-body { padding-left: 22px; }
}


/* =========================================================
   POLICIES AT A GLANCE — RADIAL HUB INFOGRAPHIC
   ========================================================= */
.policy-hub-section {
  position: relative;
  padding: var(--space-8) 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.policy-hub-section::before {
  content: '';
  position: absolute;
  inset: 0;
  
  z-index: 0;
}
.policy-hub-section .container {
  position: relative;
  z-index: 1;
}

.policy-hub {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  min-height: 560px;
}

.policy-hub-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--spu-navy), var(--spu-navy-dark));
  box-shadow: 0 0 0 10px rgba(27,42,91,0.08), var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  z-index: 3;
}
.policy-hub-center i { font-size: 2rem; color: var(--spu-gold); margin-bottom: 6px; }
.policy-hub-center span { font-size: 0.78rem; font-weight: 700; line-height: 1.2; padding: 0 12px; }

/* connecting line (SVG-free, pure CSS) */
.policy-node-line {
  position: absolute;
  top: 50%; left: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--spu-gray-200) 0 6px, transparent 6px 12px);
  transform-origin: left center;
  z-index: 1;
}

.policy-node {
  position: absolute;
  width: 210px;
  background: #fff;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: all var(--ease);
}
.policy-node:hover { box-shadow: var(--shadow-md); transform: translateY(-4px) scale(1.02); }
.policy-node .node-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
}
.policy-node h5 { font-size: 0.92rem; margin-bottom: 4px; }
.policy-node p { font-size: 0.78rem; color: var(--spu-gray-500); margin: 0; line-height: 1.4; }

/* Fixed positions for 6 nodes around the hub (desktop) */
.policy-node[data-pos="1"] { top: 0; left: 50%; transform: translateX(-50%); }
.policy-node[data-pos="2"] { top: 8%; right: 0; }
.policy-node[data-pos="3"] { bottom: 8%; right: 0; }
.policy-node[data-pos="4"] { bottom: 0; left: 50%; transform: translateX(-50%); }
.policy-node[data-pos="5"] { bottom: 8%; left: 0; }
.policy-node[data-pos="6"] { top: 8%; left: 0; }

.policy-node[data-pos="1"] .node-icon { background: linear-gradient(135deg, var(--spu-navy), var(--spu-navy-light)); }
.policy-node[data-pos="2"] .node-icon { background: linear-gradient(135deg, var(--spu-maroon), var(--spu-maroon-dark)); }
.policy-node[data-pos="3"] .node-icon { background: linear-gradient(135deg, var(--spu-gold-dark), var(--spu-gold)); }
.policy-node[data-pos="4"] .node-icon { background: linear-gradient(135deg, #2c407f, #1B2A5B); }
.policy-node[data-pos="5"] .node-icon { background: linear-gradient(135deg, #B84A09, #7A3D14); }
.policy-node[data-pos="6"] .node-icon { background: linear-gradient(135deg, #d9ac2c, #b8891a); }

/* --- Mobile: hide the radial hub entirely, full accordion below still works fine --- */
@media (max-width: 900px) {
  .policy-hub-section {
    display: none !important;
  }
}


@media (max-width: 576px) {
  .lightbox-nav { width: 38px; height: 38px; font-size: 0.9rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-toolbar { flex-wrap: wrap; justify-content: center; }
}
/* Shop */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.shop-card img { height: 200px; width: 100%; object-fit: cover; }
.shop-card .body { padding: var(--space-3); }
.shop-price { font-weight: 800; color: var(--spu-navy); font-size: 1.1rem; }
.qty-stepper { display: flex; align-items: center; gap: 10px; border: 1px solid var(--spu-gray-200); border-radius: var(--radius-pill); padding: 4px 8px; width: fit-content; }
.qty-stepper button { background: none; border: none; font-size: 1rem; cursor: pointer; width: 26px; height: 26px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .topbar, .infobar { display: none; }
  .navbar-logo { display: flex; opacity: 1; }
  .nav-search { display: none; }
  .spu-nav > ul { display: none; }
  .hamburger-btn { display: block; }
  .catalogue-layout, .detail-layout, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .catalogue-layout, .catalogue-layout > * { min-width: 0; }
  .level-grid, .programme-grid, .feature-grid, .gallery-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-photo { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .quickfacts-grid { grid-template-columns: 1fr; }
  .main-navbar { margin: 0; width: 100%; border-radius: 0; }

}

@media (max-width: 576px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2rem; }
  .level-grid, .programme-grid, .feature-grid, .gallery-grid, .shop-grid { grid-template-columns: 1fr; }
  .floating-apply span { display: none; }
  .contact-strip { grid-template-columns: 1fr; }
  .hero-carousel.hero-lg { min-height: 480px; }
  .hero-carousel .hero-slide { min-height: 480px; }
}


/* =========================================================
   ANTHEM LYRIC SHEET (one continuous card, colored section accents)
   ========================================================= */
.anthem-sheet {
  background: #fff;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}

.anthem-section {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--spu-gray-100);
}
.anthem-section:first-child { padding-top: 0; }
.anthem-section:last-child { border-bottom: none; padding-bottom: 0; }

/* Verses: navy accent */
.anthem-section.anthem-verse .anthem-section-label h4 { color: var(--spu-navy); }
.anthem-section.anthem-verse .anthem-section-icon { background: #E7ECFB; color: var(--spu-navy); border-color: var(--spu-navy); }

/* Chorus: maroon accent */
.anthem-section.anthem-chorus .anthem-section-label h4 { color: var(--spu-maroon); }
.anthem-section.anthem-chorus .anthem-section-icon { background: #FBE9E2; color: var(--spu-maroon); border-color: var(--spu-maroon); }

/* Bridge: navy-light accent */
.anthem-section.anthem-bridge .anthem-section-label h4 { color: var(--spu-navy-light); }
.anthem-section.anthem-bridge .anthem-section-icon { background: #E7ECFB; color: var(--spu-navy-light); border-color: var(--spu-navy-light); }

/* Outro: gold accent */
.anthem-section.anthem-outro .anthem-section-label h4 { color: var(--spu-gold-dark); }
.anthem-section.anthem-outro .anthem-section-icon { background: #FEF6DC; color: var(--spu-gold-dark); border-color: var(--spu-gold-dark); }

.anthem-section-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.anthem-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.anthem-section-label h4 {
  font-size: 1.1rem;
  margin: 0;
}
.anthem-section-key {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--spu-gray-100);
  color: var(--spu-gray-500);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.anthem-section-lines {
  font-family: '', sans-serif;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--spu-gray-900);
  margin: 0 0 0 50px;
}

@media (max-width: 576px) {
  .anthem-sheet { padding: var(--space-4); }
  .anthem-section-lines { margin-left: 0; margin-top: 8px; font-size: 0.92rem; }
}

/* =========================================================
   ANTHEM INTRO BAND (matches Mission/Vision panel treatment)
   ========================================================= */
.anthem-intro-band {
  position: relative;
  background: #7A3D14;
  color: #fff;
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-6);
  text-align: center;
}
.anthem-intro-band::before {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -80px; left: -60px;
}
.anthem-intro-band::after {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  bottom: -60px; right: -40px;
}
.anthem-intro-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid var(--spu-gold);
  color: var(--spu-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto var(--space-3);
  position: relative;
  z-index: 1;
}
.anthem-intro-band h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.anthem-intro-band p {
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.anthem-chorus {
  background: var(--spu-gray-100);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  border-bottom: none;
  font-weight: 700;
  margin: 12px 0;
  font-size: 7px;
  font-style: italic;
}

/* =========================================================
   ANTHEM AUDIO PLAYER
   ========================================================= */
.anthem-audio-player {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-top: var(--space-4);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.anthem-play-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--spu-gold);
  color: var(--spu-navy-dark);
  border: none;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--ease);
}
.anthem-play-btn:hover { background: #fff; transform: scale(1.05); }
.anthem-play-btn i.fa-pause { margin: 0; }
.anthem-play-btn i.fa-play { margin-left: 3px; }

.anthem-audio-info { flex: 1; min-width: 0; text-align: left; }
.anthem-audio-title {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.anthem-audio-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
}
.anthem-audio-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--spu-gold);
  border-radius: var(--radius-pill);
  transition: width 100ms linear;
}

.anthem-audio-time {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 576px) {
  .anthem-audio-player { padding: 12px 16px; gap: 12px; }
  .anthem-play-btn { width: 44px; height: 44px; font-size: 1rem; }
}

/* =========================================================
   GOVERNANCE PROFILE (Chancellor, VC, etc.)
   ========================================================= */
.profile-section { padding: var(--space-8) 0; }
.profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-6);
  align-items: start;
}

.profile-photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.profile-photo-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.profile-photo-frame::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  background: linear-gradient(to top, rgba(18,29,64,0.85), transparent);
}
.profile-photo-caption {
  position: absolute;
  bottom: 14px; left: 18px;
  color: #fff;
  z-index: 1;
}
.profile-photo-caption strong { display: block; font-size: 1rem; }
.profile-photo-caption span { font-size: 0.78rem; color: var(--spu-gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

.profile-text .eyebrow { color: var(--spu-maroon); }
.profile-text h2 { margin-bottom: 4px; }
.profile-text .profile-role { color: var(--spu-gray-300); font-weight: 600; font-size: 0.95rem; margin-bottom: var(--space-4); }

.profile-text .read-more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms ease;
}
.profile-text .read-more-content.expanded {
  max-height: 5000px;
}
.profile-text .read-more-content .rm-inner { padding-top: var(--space-3); }

.read-more-toggle.btn {
  margin-top: var(--space-3);
}
.read-more-toggle i { transition: transform var(--ease); }
.read-more-toggle.open i { transform: rotate(180deg); }

.profile-quote {
  border-left: 4px solid var(--spu-gold);
  background: var(--spu-gray-100);
  padding: 16px 20px;
  margin: var(--space-4) 0;
  font-style: italic;
  color: var(--spu-gray-900);
  font-size: 0.95rem;
}

@media (max-width: 576px) {
    .profile-text .read-more-content.expanded {
    max-height: 100000px;
  }
}

@media (max-width: 850px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo-frame { max-width: 340px; margin: 0 auto; }
}


/* =========================================================
   PROFILE CONTACT STRIP (Vice Chancellor, etc.)
   ========================================================= */
.profile-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-4) 0;
  padding: 16px 20px;
  background: var(--spu-gray-100);
  border-radius: var(--radius-sm);
}
.profile-contact-strip .pc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--spu-gray-900);
}
.profile-contact-strip .pc-item i { color: var(--spu-maroon); width: 16px; }

/* =========================================================
   NUMBERED EXPERIENCE LIST
   ========================================================= */
.numbered-list { list-style: none; padding: 0; margin: 0; }
.numbered-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--spu-gray-100);
}
.numbered-list li:last-child { border-bottom: none; }
.numbered-list .num-badge {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--spu-navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.numbered-list strong { display: block; color: var(--spu-gray-900); margin-bottom: 2px; }
.numbered-list span { color: var(--spu-gray-500); font-size: 0.9rem; }

/* =========================================================
   QUALIFICATIONS LIST
   ========================================================= */
.qualifications-list { list-style: none; padding: 0; margin: 0; }
.qualifications-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--spu-gray-200);
}
.qualifications-list li:last-child { border-bottom: none; }
.qualifications-list i { color: var(--spu-gold-dark); margin-top: 3px; }
.qualifications-list strong { display: block; color: var(--spu-gray-900); }
.qualifications-list span { color: var(--spu-gray-500); font-size: 0.88rem; }


/* =========================================================
   ROLE & RESPONSIBILITIES CARDS (Governance profile pages)
   ========================================================= */
.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.responsibility-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  border-left: 4px solid var(--spu-maroon);
  transition: all var(--ease);
}
.responsibility-card:hover {
  border-left-color: var(--spu-navy);
  background: var(--spu-gray-100);
  box-shadow: var(--shadow-sm);
}
.responsibility-card .rc-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--spu-navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: 12px;
}
.responsibility-card h5 { font-size: 0.98rem; color: var(--spu-maroon); margin-bottom: 8px; }
.responsibility-card p { font-size: 0.88rem; color: var(--spu-gray-500); margin: 0; }

@media (max-width: 700px) {
  .responsibility-grid { grid-template-columns: 1fr; }
}



/* =========================================================
   GOVERNANCE MEMBER CARDS + MODAL
   ========================================================= */
.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

/* Chairman card: solo row, stacked layout (photo on top, content below), scaled up */
.member-card.chairman-card {
  grid-column: 1 / -1;
  max-width: 420px;
  display: block;
}
.member-card.chairman-card img {
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
}
.member-card.chairman-card .mc-body {
  padding: var(--space-4);
  text-align: left;
}
.member-card.chairman-card h5 { font-size: 1.25rem; }
.member-card.chairman-card .mc-title { font-size: 0.9rem; }
.member-card.chairman-card .mc-bio {
  -webkit-line-clamp: 3;
  font-size: 0.9rem;
}
.member-card {
  background: #fff;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}
.member-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.member-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.member-card .mc-body { padding: var(--space-3); }
.member-card h5 { font-size: 1rem; margin-bottom: 2px; }
.member-card .mc-title { color: var(--spu-maroon); font-weight: 700; font-size: 0.82rem; margin-bottom: 10px; }
.member-card .mc-bio {
  font-size: 0.85rem;
  color: var(--spu-gray-500);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.member-card .mc-readmore {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--spu-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Modal --- */
.member-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(18,29,64,0);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  transition: background 300ms ease;
}
.member-modal-overlay.open {
  display: flex;
  background: rgba(18,29,64,0.6);
}
.member-modal {
  background: #fff;
  border-radius: var(--radius-md);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-5);
  position: relative;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.member-modal-overlay.open .member-modal {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.member-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--spu-gray-100);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--spu-gray-500);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.member-modal-close:hover { background: var(--spu-gray-200); }
.member-modal-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--space-4);
  padding-right: 30px;
}
.member-modal-head img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.member-modal-head h3 { margin-bottom: 2px; }
.member-modal-head .mm-title { color: var(--spu-maroon); font-weight: 700; font-size: 0.9rem; }
.member-modal-body {
  border-top: 1px solid var(--spu-gray-100);
  padding-top: var(--space-4);
  color: var(--spu-gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .members-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .members-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   STAFF DIRECTORY (photo, name, designation only)
   ========================================================= */
.staff-category-block { margin-bottom: var(--space-6); }
.staff-category-title {
  font-size: 1.3rem;
  color: var(--spu-navy);
  margin-bottom: var(--space-4);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--spu-gold);
  display: inline-block;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.staff-card {
  background: #fff;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}
.staff-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.staff-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.staff-card .sc-body { padding: 16px; }
.staff-card h5 { font-size: 0.98rem; margin-bottom: 4px; }
.staff-card .sc-designation { color: var(--spu-maroon); font-weight: 700; font-size: 0.82rem; }

@media (max-width: 991px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .staff-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   DOCUMENT LISTS (Admission Lists, Graduate Lists)
   ========================================================= */
.doc-list { display: flex; flex-direction: column; gap: 12px; }
.doc-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: all var(--ease);
}
.doc-item:hover { box-shadow: var(--shadow-sm); border-color: var(--spu-gold); }
.doc-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--spu-gray-100);
  color: var(--spu-maroon);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.doc-info { flex: 1; min-width: 0; }
.doc-info h5 { font-size: 1rem; margin-bottom: 4px; }
.doc-info p { font-size: 0.85rem; color: var(--spu-gray-500); margin: 0 0 4px; }
.doc-info .doc-date { font-size: 0.78rem; color: var(--spu-gray-300); font-weight: 600; }
.doc-download {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 8px;
  background: var(--spu-navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
}
.doc-download:hover { background: var(--spu-maroon); color: #fff; }

@media (max-width: 576px) {
  .doc-item { flex-wrap: wrap; }
  .doc-download { width: 100%; justify-content: center; }
}

/* =========================================================
   TIMETABLES / ACADEMIC CALENDAR — FILTER BAR
   ========================================================= */
.doc-filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
  align-items: center;
}
.doc-filter-bar select {
  padding: 10px 16px;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--spu-gray-700);
  background: #fff;
  cursor: pointer;
}
.doc-filter-bar .search-input { flex: 1; min-width: 220px; }
.doc-item.hidden-by-filter { display: none; }

/* =========================================================
   UPCOMING EVENTS
   ========================================================= */
.event-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
  display: block;
  position: relative;
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.event-card-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.event-date-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  line-height: 1.1;
}
.event-date-badge .day { display: block; font-size: 1.3rem; font-weight: 800; color: var(--spu-maroon); }
.event-date-badge .month { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--spu-navy); letter-spacing: 0.04em; }
.event-card-body { padding: var(--space-4); }
.event-card-body h4 { font-size: 1.05rem; margin-bottom: 10px; }
.event-meta { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--spu-gray-500); margin-bottom: 10px; }
.event-meta span { display: flex; align-items: center; gap: 8px; }
.event-meta i { color: var(--spu-maroon); width: 14px; }

/* =========================================================
   FAQ ACCORDION (plus/minus toggle)
   ========================================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--spu-gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.faq-item:hover { border-color: var(--spu-gold); }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--spu-navy); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--spu-navy);
}
.faq-item.open .faq-question { color: var(--spu-maroon); }

.faq-toggle-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--spu-gray-100);
  color: var(--spu-navy);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background var(--ease), transform var(--ease);
}
.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}
.faq-toggle-icon::before { width: 12px; height: 2px; }
.faq-toggle-icon::after { width: 2px; height: 12px; }

.faq-item.open .faq-toggle-icon {
  background: var(--spu-maroon);
  color: #fff;
}
.faq-item.open .faq-toggle-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
}
.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--spu-gray-500);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-category-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--spu-gray-300);
  margin: var(--space-5) 0 var(--space-3);
}
.faq-category-label:first-child { margin-top: 0; }


/* =========================================================
   REGISTRATION ALERT BOX (deadline / surcharge warning)
   ========================================================= */
.reg-alert {
  display: flex;
  gap: 16px;
  background: #FBE9E2;
  border-left: 4px solid var(--spu-maroon);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  margin: var(--space-4) 0;
}
.reg-alert-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--spu-maroon);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.reg-alert h4 { color: var(--spu-maroon); margin-bottom: 6px; font-size: 1.05rem; }
.reg-alert p { color: var(--spu-gray-900); margin: 0; font-size: 0.92rem; }
.reg-alert strong { color: var(--spu-maroon); }

.reg-timeline { display: flex; flex-direction: column; gap: 0; }
.reg-timeline-item {
  display: flex;
  gap: 18px;
  position: relative;
  padding-bottom: var(--space-5);
}
.reg-timeline-item:last-child { padding-bottom: 0; }
.reg-timeline-item::before {
  content: '';
  position: absolute;
  left: 21px; top: 44px; bottom: 0;
  width: 2px;
  background: var(--spu-gray-200);
}
.reg-timeline-item:last-child::before { display: none; }

.reg-timeline-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  z-index: 1;
  color: #fff;
}
.reg-timeline-item.reg-step-normal .reg-timeline-num { background: var(--spu-navy); }
.reg-timeline-item.reg-step-late .reg-timeline-num { background: var(--spu-maroon); }
.reg-timeline-item.reg-step-final .reg-timeline-num { background: var(--spu-gold-dark); }

.reg-timeline-content h4 { margin-bottom: 6px; }
.reg-timeline-content p { color: var(--spu-gray-500); margin: 0; font-size: 0.92rem; }
