/* ==========================================================================
   THE SALVATION ARMY SHS, AKIM WENCHI (GREAT SASEC)
   Theme: Classic Crimson Maroon, Heritage Navy & Warm Ivory Gold
   Optimized for: Direct Browser Preview & InfinityFree Hosting
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --crimson: #881337;
  --crimson-dark: #6e0f2b;
  --crimson-light: #9f1239;
  --crimson-soft: #fff1f2;
  --crimson-border: #fecdd3;

  --navy: #0f172a;
  --navy-light: #1e293b;
  --navy-soft: #f1f5f9;

  --gold: #b45309;
  --gold-accent: #d97706;
  --gold-warm: #f59e0b;
  --gold-soft: #fef3c7;
  --gold-border: #fde68a;

  /* Surfaces & Backgrounds */
  --bg-page: #faf8f5;        /* Warm Ivory Page Background */
  --bg-surface: #ffffff;     /* Pure White Card Surfaces */
  --bg-subtle: #f4efe8;      /* Soft Warm Cream */
  --bg-contrast: #0f172a;    /* Deep Contrast Dark Navy */
  
  --border-light: #e5e0d8;
  --border-card: #ece6dc;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-white: #ffffff;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
  --shadow-crimson: 0 8px 20px rgba(136, 19, 55, 0.22);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --transition: 0.22s ease-in-out;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-title);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--crimson-soft);
  color: var(--crimson);
  border: 1px solid var(--crimson-border);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-badge.gold {
  background: var(--gold-soft);
  color: var(--gold);
  border-color: var(--gold-border);
}

.section-badge.navy {
  background: var(--navy-soft);
  color: var(--navy);
  border-color: #cbd5e1;
}

.section-title {
  font-size: 2.35rem;
  color: var(--text-title);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.72rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-crimson {
  background: var(--crimson);
  color: #ffffff;
  box-shadow: var(--shadow-crimson);
}

.btn-crimson:hover {
  background: var(--crimson-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(136, 19, 55, 0.3);
}

.btn-navy {
  background: var(--navy);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

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

.btn-outline {
  background: var(--bg-surface);
  color: var(--text-title);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--crimson);
}

/* ==========================================================================
   Top Announcement Bar & Header
   ========================================================================== */
.top-bar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-item a:hover {
  color: var(--gold-warm);
}

.top-badge {
  background: rgba(217, 119, 6, 0.2);
  color: #fde68a;
  border: 1px solid rgba(217, 119, 6, 0.35);
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.8rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-crest {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  border: 2px solid var(--gold-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-crest-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-warm);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
  background: var(--crimson);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--crimson);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav Menu Items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

.nav-link {
  color: var(--text-title);
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--crimson);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--crimson);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 0.45rem;
  border-radius: var(--radius-md);
  color: var(--navy);
  cursor: pointer;
}

/* ==========================================================================
   Grand Academic Hero Banner (Full-Width & Professional)
   ========================================================================== */
.hero-banner {
  position: relative;
  background-color: var(--navy);
  color: #ffffff;
  padding: 5.5rem 0 5rem 0;
  text-align: center;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-accent);
}

/* Background Slider Container */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Individual Slides with Smooth Crossfade & Subtle Ken Burns Zoom */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease-in-out, transform 7s ease-out;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.06);
}

/* Rich Gradient Overlay for High Contrast & Text Legibility */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.78) 0%,
    rgba(112, 26, 53, 0.74) 45%,
    rgba(15, 23, 42, 0.94) 100%
  );
  pointer-events: none;
}

.hero-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.banner-crest-large {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--gold-warm);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35), 0 10px 20px rgba(0, 0, 0, 0.35);
  margin: 0 auto 1.25rem auto;
  object-fit: cover;
  background: var(--crimson);
  display: block;
  transition: transform var(--transition);
}

.banner-crest-large:hover {
  transform: scale(1.05);
}

.banner-motto-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--gold-soft);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.35rem;
  backdrop-filter: blur(8px);
}

.banner-heading {
  font-size: 3.4rem;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.banner-heading-gold {
  color: #fde68a;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.banner-desc {
  font-size: 1.15rem;
  color: #ffe4e6;
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 2.25rem auto;
}

.banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 0.98rem;
}

/* Banner Stats Bar */
.banner-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.banner-stat-item {
  display: flex;
  flex-direction: column;
}

.banner-stat-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.banner-stat-lbl {
  font-size: 0.8rem;
  color: #fecdd3;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Hero Carousel Controls & Indicators */
.hero-slider-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.85rem;
  padding: 0.4rem 0.85rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.hero-slider-arrow {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: scale(1.1);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dot {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
  width: 42px;
  background: var(--gold-warm);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.hero-caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.35rem 1.1rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(253, 230, 138, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-border);
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-caption-pill .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* Quick Access Feature Cards Under Hero Banner */
.banner-feature-strip {
  margin-top: 0;
  padding: 3rem 0 2rem 0;
  position: relative;
  z-index: 10;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.banner-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.b-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  text-align: left;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.b-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--b-accent, var(--crimson));
}

.b-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  border-color: var(--crimson-border);
}

.b-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--crimson-soft);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.b-card-title {
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.b-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   About SASEC & Leadership
   ========================================================================== */
.about-section {
  background: var(--bg-surface);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text-col h3 {
  font-size: 2.1rem;
  margin-bottom: 1.25rem;
  color: var(--crimson);
}

.about-lead {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.about-body {
  color: var(--text-body);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.quote-box {
  border-left: 4px solid var(--gold-accent);
  background: var(--bg-subtle);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--navy);
  margin: 1.5rem 0;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  list-style: none;
  margin-top: 1.5rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.check-item svg {
  color: #16a34a;
  flex-shrink: 0;
}

.about-photo-wrapper {
  position: relative;
}

.about-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--bg-page);
}

.about-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.year-stamp {
  position: absolute;
  top: -1.2rem;
  left: -1.2rem;
  background: var(--navy);
  color: #ffffff;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-bottom: 4px solid var(--gold-accent);
}

.year-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-soft);
  line-height: 1;
}

.year-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #cbd5e1;
}

/* Core Values & Pillars */
.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all var(--transition);
}

.pillar-box:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: var(--crimson-border);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--crimson-soft);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-box:hover .pillar-icon {
  background: var(--crimson);
  color: #ffffff;
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Academics & Learning Areas Explorer
   ========================================================================== */
.academics-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.search-bar-wrap {
  max-width: 580px;
  margin: 0 auto 2rem auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1.2rem 0.85rem 2.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: #ffffff;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border var(--transition);
}

.search-input:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(136, 19, 55, 0.12);
}

.search-icon-pos {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.program-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.prog-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition);
}

.prog-tab-btn:hover {
  color: var(--crimson);
  border-color: var(--crimson);
}

.prog-tab-btn.active {
  background: var(--crimson);
  color: #ffffff;
  border-color: var(--crimson);
  box-shadow: var(--shadow-crimson);
}

/* Program Card Detail */
.prog-detail-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}

.prog-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.prog-header-row h3 {
  font-size: 1.85rem;
  color: var(--crimson);
  margin-bottom: 0.4rem;
}

.prog-summary {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 800px;
}

/* Combinations Grid */
.combos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.single-combo-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}

.single-combo-card:hover {
  background: #ffffff;
  border-color: var(--crimson);
  box-shadow: var(--shadow-sm);
}

.combo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.combo-code {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
}

.combo-count-tag {
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.electives-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.electives-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  list-style: none;
}

.el-tag {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.target-careers {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px dashed #cbd5e1;
  padding-top: 0.75rem;
}

.target-careers strong {
  color: var(--navy);
}

/* Core Curriculum Banner */
.core-banner {
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.core-banner h4 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.core-banner p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.core-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.c-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==========================================================================
   Campus Life & The 4 Pillar Houses
   ========================================================================== */
.campus-section {
  background: var(--bg-surface);
}

.houses-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.single-house-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.single-house-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--h-accent, var(--crimson));
}

.single-house-box:hover {
  transform: translateY(-6px);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.h-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--h-accent, var(--crimson));
  opacity: 0.85;
  margin-bottom: 0.25rem;
}

.h-title {
  font-size: 1.22rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.h-motto {
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold-accent);
  margin-bottom: 0.85rem;
}

.h-color-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--navy);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.h-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Clubs & Societies */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.club-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: all var(--transition);
}

.club-box:hover {
  background: #ffffff;
  border-color: var(--crimson-border);
  box-shadow: var(--shadow-sm);
}

.club-top-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.club-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--crimson-soft);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.club-title {
  font-size: 1.15rem;
  color: var(--navy);
}

.club-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 0.5rem;
}

.club-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.club-star {
  font-size: 0.8rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* ==========================================================================
   Admissions Hub & Roadmaps
   ========================================================================== */
.admissions-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
}

.admission-cards-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.admit-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.admit-card.priority {
  border: 2px solid var(--crimson);
  box-shadow: var(--shadow-md);
  position: relative;
}

.priority-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--crimson);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
}

.admit-card h4 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.admit-features-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admit-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--navy);
}

.admit-features-list li svg {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* 4 Step Roadmap */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.step-item-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.step-watermark {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bg-subtle);
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  line-height: 1;
}

.step-card-title {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  max-width: 80%;
}

.step-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Admissions Action Box */
.admit-cta-banner {
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.admit-cta-banner h3 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.admit-cta-banner p {
  color: #ffe4e6;
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 2rem auto;
}

/* ==========================================================================
   News & Press Dispatches
   ========================================================================== */
.news-section {
  background: var(--bg-surface);
}

.news-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.news-filter-btn {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.news-filter-btn.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.news-card-box {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card-box:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: var(--crimson-border);
  box-shadow: var(--shadow-md);
}

.news-media {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card-box:hover .news-media img {
  transform: scale(1.05);
}

.news-cat-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.news-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.news-heading {
  font-size: 1.22rem;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.news-snippet {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.read-btn {
  background: transparent;
  border: none;
  color: var(--crimson);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
}

.read-btn:hover {
  color: var(--crimson-dark);
  text-decoration: underline;
}

/* ==========================================================================
   Campus Gallery & Lightbox (Premium Card Design)
   ========================================================================== */
.gallery-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.gallery-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-tab-btn:hover {
  border-color: var(--crimson);
  color: var(--crimson);
  transform: translateY(-2px);
}

.gallery-tab-btn.active {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(136, 19, 55, 0.28);
}

.gallery-tab-btn .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
  transition: background var(--transition);
}

.gallery-tab-btn.active .tab-count {
  background: rgba(255, 255, 255, 0.22);
}

/* Gallery Grid & Cards */
.gallery-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .gallery-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-cards-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.gallery-card-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--navy);
}

.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-card-media img {
  transform: scale(1.08);
}

.gallery-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold-warm);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.gallery-card-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
}

.gallery-card:hover .gallery-card-zoom-overlay {
  opacity: 1;
}

.zoom-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--crimson);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.gallery-card:hover .zoom-circle {
  transform: scale(1);
}

.gallery-card-zoom-overlay span {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Card Body Under The Picture */
.gallery-card-body {
  padding: 1.25rem 1.35rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.gallery-card:hover .gallery-card-title {
  color: var(--crimson);
}

.gallery-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.15rem;
  flex: 1;
}

.gallery-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
}

.gallery-card-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-weight: 500;
}

.gallery-card-link {
  color: var(--crimson);
  font-weight: 700;
  font-size: 0.82rem;
}

/* Load More Area */
.gallery-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* Lightbox Modal Enhancements */
.lightbox-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-backdrop.active {
  display: flex;
}

.lightbox-inner {
  max-width: 980px;
  width: 100%;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-frame {
  max-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  background: #000000;
}

.lightbox-img-frame img {
  max-height: 68vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -2.8rem;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: var(--crimson);
  transform: scale(1.1);
}

.lightbox-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-nav-btn.prev {
  left: -1rem;
}

.lightbox-nav-btn.next {
  right: -1rem;
}

.lightbox-nav-btn:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .lightbox-nav-btn.prev { left: 0.5rem; }
  .lightbox-nav-btn.next { right: 0.5rem; }
}

.lightbox-caption-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  max-width: 800px;
  width: 100%;
  backdrop-filter: blur(10px);
  text-align: left;
}

.lightbox-caption-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.lightbox-counter-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-warm);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.lightbox-title-text {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.lightbox-desc-text {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Contact & Administration Directory
   ========================================================================== */
.contact-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-details h3 {
  font-size: 2.1rem;
  color: var(--crimson);
  margin-bottom: 1rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.info-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--crimson-soft);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.info-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQs */
.faq-wrap {
  margin-top: 2rem;
}

.faq-box {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.faq-box.open .faq-answer {
  display: block;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h4 {
  font-size: 1.55rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--navy);
  font-size: 0.92rem;
  outline: none;
  transition: border var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(136, 19, 55, 0.12);
}

/* ==========================================================================
   Modals (Admissions & News)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-subtle);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
}

.modal-close:hover {
  background: #e2e8f0;
}

.modal-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--crimson);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-sub-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: var(--navy);
  z-index: 2000;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1999;
}

.drawer-overlay.open {
  display: block;
}

.drawer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.drawer-link-item {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  padding: 0.4rem 0;
}

.drawer-link-item:hover {
  color: var(--gold-warm);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-split {
    grid-template-columns: 1fr;
  }
  .pillars-row {
    grid-template-columns: 1fr;
  }
  .banner-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner-heading {
    font-size: 2.8rem;
  }
  .houses-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-split {
    grid-template-columns: 1fr;
  }
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .banner-heading {
    font-size: 2.15rem;
  }
  .banner-desc {
    font-size: 1rem;
  }
  .banner-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem 1rem;
  }
  .banner-cards-grid {
    grid-template-columns: 1fr;
  }
  .banner-feature-strip {
    margin-top: 0;
    padding: 2rem 0 1.25rem 0;
  }
  .houses-row {
    grid-template-columns: 1fr;
  }
  .admission-cards-wrap {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .top-bar,
  .top-bar-inner {
    display: none !important;
  }
}

/* ==========================================================================
   Micro-Animations & Smooth Motion System
   ========================================================================== */

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatEmblem {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.35), 0 10px 20px rgba(0, 0, 0, 0.35);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.55), 0 14px 28px rgba(0, 0, 0, 0.4);
  }
}

@keyframes pulseGlowGold {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
  }
  50% {
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.6);
  }
}

/* Hero Banner Staggered Entrance Animations */
.banner-crest-large {
  animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both, floatEmblem 4s ease-in-out infinite 0.8s;
}

.banner-motto-ribbon {
  animation: fadeInDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.banner-heading {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.banner-desc {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.banner-buttons {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.banner-stats-bar {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.btn-gold {
  animation: pulseGlowGold 3s infinite ease-in-out;
}

/* Scroll Reveal Classes (Driven by IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal-fade.active {
  opacity: 1;
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Interactive Hover Enhancements */
.b-card,
.pillar-box,
.single-combo-card,
.single-house-box,
.club-box,
.admit-card,
.step-item-card,
.news-card-box,
.gallery-tile {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

/* Modal Smooth Pop */
.modal-overlay.active .modal-card {
  animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Accessibility: Honor reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Prestige Watermark System (Section Ghost Typography & Authentic Crests)
   ========================================================================== */
.about-section,
.academics-section,
.campus-section,
.admissions-section {
  position: relative;
  overflow: hidden;
}

.about-section > .container,
.academics-section > .container,
.campus-section > .container,
.admissions-section > .container {
  position: relative;
  z-index: 2;
}

.section-watermark {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-3.5deg);
  font-family: var(--font-heading);
  font-size: clamp(4rem, 11vw, 10.5rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  line-height: 1;
}

.watermark-crimson {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(136, 19, 55, 0.045);
}

.watermark-navy {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(15, 23, 42, 0.04);
}

.watermark-gold {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(217, 119, 6, 0.05);
}

/* Official Crest Watermark in Priority Boarding Card */
.admit-card.priority {
  position: relative;
  overflow: hidden;
}

.admit-card.priority::after {
  content: '';
  position: absolute;
  bottom: -25px;
  right: -25px;
  width: 175px;
  height: 175px;
  background: url('school-logo.jpg') center/contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  filter: grayscale(40%);
}

.admit-card > * {
  position: relative;
  z-index: 2;
}

/* Quote Box Watermark */
.quote-box {
  position: relative;
  overflow: hidden;
}

.quote-box::after {
  content: 'SASEC 1991';
  position: absolute;
  right: 15px;
  bottom: -6px;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.04);
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.06em;
}

/* Official Admission Voucher Slip Watermark */
.voucher-slip {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 2px dashed var(--crimson-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  margin: 1.25rem 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.voucher-watermark-crest {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.voucher-watermark-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(30%);
}

.voucher-slip > *:not(.voucher-watermark-crest) {
  position: relative;
  z-index: 2;
}



/* ==========================================================================
   Developer & Alumni Spotlight Section (Joel Mensah - SAOSA Class of 2024)
   ========================================================================== */
.developer-spotlight-bar {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 50%, rgba(136, 19, 55, 0.45) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2.25rem;
  margin: 2.75rem 0 2rem 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.developer-spotlight-bar::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dev-spotlight-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.dev-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.dev-avatar-img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--gold);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4), 0 8px 16px rgba(0, 0, 0, 0.35);
  display: block;
  background: #1e293b;
  transition: transform var(--transition-bounce), box-shadow var(--transition-normal);
}

.dev-avatar-img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.65), 0 12px 24px rgba(0, 0, 0, 0.4);
}

.dev-status-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-warm), #b45309);
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dev-info-wrap {
  flex: 1;
}

.dev-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.dev-pill-role {
  background: rgba(225, 29, 72, 0.22);
  border: 1px solid rgba(225, 29, 72, 0.45);
  color: #fecdd3;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dev-pill-alumni {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fde68a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dev-name {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0.2rem 0 0.35rem;
  line-height: 1.25;
}

.dev-name .highlight {
  color: var(--gold-warm);
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
}

.dev-bio {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}

.dev-actions {
  flex-shrink: 0;
}

.dev-profile-card-modal {
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
}

.dev-modal-header {
  position: relative;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.dev-modal-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--gold);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.45), 0 10px 25px rgba(0, 0, 0, 0.25);
  margin: 0 auto;
}

.dev-modal-name {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.dev-modal-role {
  color: var(--crimson);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.dev-modal-alumni-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.dev-quote-box {
  background: #f8fafc;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1.1rem 1.35rem;
  font-style: italic;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  text-align: left;
}

.dev-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.dev-skill-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
  .dev-spotlight-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  
  .dev-badge-row {
    justify-content: center;
  }
  
  .dev-name {
    justify-content: center;
  }
  
  .dev-actions {
    width: 100%;
  }
  
  .dev-actions button {
    width: 100%;
    justify-content: center;
  }
}
