/* ==========================================================================
   MOUNT TABOR INTERNATIONAL COLLEGE (MTIS) - OFFICIAL STYLESHEET
   Design System, Rich Modern Aesthetics, Responsive Layout & Micro-animations
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors from MTIS Crest */
  --brand-red: #E5232A;
  --brand-red-hover: #C41920;
  --brand-red-active: #A81319;
  --brand-red-soft: rgba(229, 35, 42, 0.1);

  --brand-blue: #009EE2;
  --brand-blue-hover: #0084C0;
  --brand-blue-soft: rgba(0, 158, 226, 0.1);

  --brand-green: #00A651;
  --brand-green-hover: #008C44;
  --brand-green-soft: rgba(0, 166, 81, 0.12);

  --brand-gold: #F59E0B;
  --brand-gold-glow: rgba(245, 158, 11, 0.25);

  /* Deep Oceanic / Slate Foundations */
  --navy-darkest: #070D1E;
  --navy-dark: #0B132B;
  --navy-surface: #121D3B;
  --navy-card: #172449;
  --navy-border: rgba(255, 255, 255, 0.1);

  /* Light Theme / Neutral Foundations */
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-focus: #009EE2;

  /* Typography Colors */
  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-light-muted: #94A3B8;

  /* Global Typography - Lato */
  --font-display: 'Lato', sans-serif;
  --font-sans: 'Lato', system-ui, -apple-system, sans-serif;
  --font-serif: 'Lato', sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(11, 19, 43, 0.08), 0 2px 6px -1px rgba(11, 19, 43, 0.04);
  --shadow-lg: 0 12px 28px -6px rgba(11, 19, 43, 0.12), 0 6px 12px -3px rgba(11, 19, 43, 0.06);
  --shadow-xl: 0 20px 40px -10px rgba(11, 19, 43, 0.2);
  --shadow-portal: 0 10px 30px -5px rgba(229, 35, 42, 0.35);

  /* Micro-Interaction Curves (Emil Kowalski standards) */
  --ease-spring: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 160ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Container width */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-page);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: transparent;
}

button {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   3. UTILITY & CONTAINER
   -------------------------------------------------------------------------- */
.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 2rem);
  padding-right: clamp(1rem, 3.5vw, 2rem);
}

.text-white {
  color: #FFFFFF !important;
}

.text-muted-light {
  color: var(--text-light-muted) !important;
}

.text-highlight {
  color: var(--brand-blue);
  position: relative;
  display: inline-block;
}

/* Section Common Headers */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-red);
  margin-bottom: 0.75rem;
}

.section-tag.center {
  justify-content: center;
}

.tag-line {
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--brand-red);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-heading);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 680px;
}

.section-center-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-spring),
    background-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease,
    border-color var(--duration-fast) ease;
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 158, 226, 0.35);
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  box-shadow: 0 6px 20px rgba(0, 158, 226, 0.45);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.btn-portal {
  background-color: var(--brand-red);
  color: #FFFFFF;
  box-shadow: var(--shadow-portal);
}

.btn-portal:hover {
  background-color: var(--brand-red-hover);
  box-shadow: 0 12px 28px -4px rgba(229, 35, 42, 0.5);
  transform: translateY(-2px);
}

.btn-portal:active {
  transform: translateY(0) scale(0.97);
}

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

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.24);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-white:active {
  transform: translateY(0) scale(0.97);
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.btn-arrow-icon {
  width: 17px;
  height: 17px;
  transition: transform var(--duration-fast) ease;
}

.btn:hover .btn-arrow-icon {
  transform: translateX(3px) translateY(-1px);
}

.icon-sm {
  width: 17px;
  height: 17px;
}

/* --------------------------------------------------------------------------
   4. STICKY HEADER
   -------------------------------------------------------------------------- */
.whsb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 100;
  background: linear-gradient(180deg, rgba(7, 13, 30, 0.75) 0%, rgba(7, 13, 30, 0.25) 60%, transparent 100%);
  transition: background-color var(--duration-normal) ease,
    backdrop-filter var(--duration-normal) ease,
    box-shadow var(--duration-normal) ease,
    padding var(--duration-normal) ease;
}

.whsb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 3.5vw, 3.5rem);
  width: 100%;
  box-sizing: border-box;
  transition: padding var(--duration-normal) ease;
}

.whsb-header.scrolled {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.whsb-header.scrolled .whsb-header-inner {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.whsb-header.scrolled .menu-text {
  color: var(--navy-darkest);
}

.whsb-header.scrolled .header-hairline-line {
  background: rgba(15, 23, 42, 0.08);
}

.whsb-header.scrolled .header-crest-img {
  width: 46px;
  max-height: 48px;
}

.whsb-header.scrolled .header-brand-copy {
  display: none;
}

/* Header Left: Menu Trigger */
.header-left {
  flex-shrink: 0;
}

.menu-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
  color: #FFFFFF;
  transition: opacity var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-spring);
}

.menu-toggle-btn:active {
  transform: scale(0.96);
}

.menu-icon-bars {
  width: 15px;
  height: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-icon-bars .bar {
  display: block;
  width: 100%;
  height: 1.6px;
  background-color: var(--brand-red);
  transition: transform var(--duration-fast) ease,
    background-color var(--duration-fast) ease;
}

.menu-text {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  text-transform: uppercase;
  user-select: none;
  transition: color var(--duration-fast) ease;
}

/* Hairline horizontal divider lines */
.header-hairline-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 clamp(1rem, 2.5vw, 2.5rem);
  transition: background-color var(--duration-fast) ease;
}

/* Header Center: Crest & School Name */
.header-center {
  flex-shrink: 0;
  text-align: center;
}

.center-brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #FFFFFF;
}

.header-crest-img {
  width: 58px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  transition: width var(--duration-normal) var(--ease-spring),
    max-height var(--duration-normal) var(--ease-spring),
    transform var(--duration-normal) var(--ease-spring);
}

.header-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  margin-top: 0.1rem;
}

.brand-name-main {
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  line-height: 1.15;
}

.brand-name-sub {
  font-family: var(--font-display);
  font-size: clamp(0.66rem, 0.8vw, 0.74rem);
  font-weight: 500;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.15;
}

/* Header Right: Portal Button */
.header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  padding: 0.42rem 1.25rem;
  background: var(--brand-red);
}

.header-portal-btn:hover {
  background: var(--brand-red-hover);
  color: #FFFFFF;
}

.header-portal-btn:active {
  transform: scale(0.96);
}

/* --------------------------------------------------------------------------
   5. NAVIGATION DRAWER (Split Two-Pane Westcliff Style)
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 12, 28, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
  display: flex;
  justify-content: flex-start;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.drawer-modal.split-drawer-modal {
  width: min(1080px, 86vw);
  height: 100vh;
  background: #FFFFFF;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  padding: 0;
  overflow: hidden;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.45);
  transform: translateX(-100%);
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.drawer-backdrop.open .drawer-modal.split-drawer-modal {
  transform: translateX(0);
}

/* --- LEFT PANE --- */
.drawer-pane-left {
  position: relative;
  background: #FFFFFF;
  padding: clamp(2rem, 3.5vw, 3.5rem) clamp(2rem, 4vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 2;
}

/* Subtle Watermark Crest */
.drawer-watermark-bg {
  position: absolute;
  right: -50px;
  bottom: 8%;
  width: 420px;
  height: 420px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  user-select: none;
}

.drawer-watermark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Close Button (Gold × CLOSE in top-left) */
.drawer-left-header {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.drawer-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #070D1E;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.drawer-close-btn .close-x {
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 300;
}

.drawer-close-btn .close-label {
  font-size: 0.92rem;
  letter-spacing: 0.14em;
}

.drawer-close-btn:hover {
  color: var(--brand-red, #af0000);
  transform: translateX(2px);
}

/* Navigation List */
.drawer-nav-container {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.15rem, 2vw, 1.85rem);
}

.drawer-nav-list li a.drawer-nav-anchor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #0F172A;
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
  padding: 0.25rem 0;
}

.drawer-nav-list li a.drawer-nav-anchor .nav-label {
  transition: color var(--duration-fast) ease;
}

.drawer-nav-list li a.drawer-nav-anchor .nav-chevron {
  font-size: 1.6rem;
  color: #d19f43;
  font-weight: 400;
  transition: transform var(--duration-fast) ease, color var(--duration-fast) ease;
  margin-left: 1rem;
}

.drawer-nav-list li a.drawer-nav-anchor:hover {
  color: var(--brand-red, #af0000);
  transform: translateX(6px);
}

.drawer-nav-list li a.drawer-nav-anchor:hover .nav-label {
  color: var(--brand-red, #af0000);
}

.drawer-nav-list li a.drawer-nav-anchor:hover .nav-chevron {
  color: var(--brand-red, #af0000);
  transform: translateX(4px);
}

/* Left Pane Footer / Utilities */
.drawer-left-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.drawer-utility-links {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.drawer-utility-links li a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.drawer-utility-links li a:hover {
  color: var(--brand-red, #af0000);
}

/* --- RIGHT PANE: 3 Stacked Photo Cards (Creche, Primary, Secondary) --- */
.drawer-pane-right {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  height: 100%;
  overflow: hidden;
  background: #0F172A;
}

.drawer-photo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.25rem, 2vw, 2.25rem);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.drawer-photo-card:last-child {
  border-bottom: none;
}

.drawer-photo-card .photo-card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.drawer-photo-card .photo-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.drawer-photo-card .photo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.25) 45%,
      rgba(0, 0, 0, 0.8) 100%);
  transition: background 0.35s ease;
}

.drawer-photo-card .photo-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.drawer-photo-card .photo-card-title {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.15;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Card Hover Interactions */
.drawer-photo-card:hover .photo-card-bg img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

.drawer-photo-card:hover .photo-card-overlay {
  background: rgba(0, 0, 0, 0.72);
}

.drawer-photo-card:hover .photo-card-title {
  transform: translateY(-2px);
}

/* Split Drawer Responsiveness */
@media (max-width: 900px) {
  .drawer-modal.split-drawer-modal {
    width: min(520px, 100vw);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    overflow-y: auto;
  }

  .drawer-pane-left {
    padding: 2.25rem 1.75rem;
    overflow-y: visible;
  }

  .drawer-pane-right {
    grid-template-rows: none;
    grid-template-columns: repeat(3, 1fr);
    height: 170px;
    min-height: 170px;
  }

  .drawer-photo-card {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1rem 0.75rem;
  }

  .drawer-photo-card:last-child {
    border-right: none;
  }

  .drawer-photo-card .photo-card-title {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 520px) {
  .drawer-pane-right {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 120px);
    height: auto;
  }

  .drawer-photo-card {
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    padding: 1rem 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   6. FULL VH HERO SECTION
   -------------------------------------------------------------------------- */
.full-vh-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--navy-darkest);
  overflow: hidden;
}

.full-vh-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  transition: transform 8000ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide.active .slide-bg-img {
  transform: scale(1);
}

/* Westcliff Signature Vignette & Contrast Overlay */
.westcliff-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.45) 45%,
      rgba(0, 0, 0, 0.2) 75%,
      rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.6) 0%,
      transparent 35%,
      rgba(0, 0, 0, 0.7) 100%);
}

/* Westcliff Typography Overlay (UNLOCK YOUR POTENTIAL) */
.hero-impact-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 6vh, 5.5rem);
}

.hero-impact-inner {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero-impact-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.8vw, 6.6rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.impact-row {
  display: block;
}

.impact-gold {
  color: #EAA824;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   8. ABOUT SECTION (Centered Editorial Layout)
   -------------------------------------------------------------------------- */
.about-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background-color: var(--bg-page);
}

.about-centered-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.about-content-centered {
  max-width: 860px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}

.about-content-centered .section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 500;
  text-align: center;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-content-centered .section-lead {
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--navy-darkest);
  font-weight: 500;
  text-align: center;
  margin: 0 auto 1.25rem;
  max-width: 780px;
}

.about-content-centered .about-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-body);
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
}

.about-media-full {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.about-full-img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   9. VISION & MISSION SECTION (Detailed Faith & Curriculum Mandate)
   -------------------------------------------------------------------------- */
.vision-mission-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(180deg, var(--navy-darkest) 0%, var(--navy-dark) 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.vision-mission-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 158, 226, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.vision-mission-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 35, 42, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.vm-card {
  background: rgba(18, 29, 59, 0.75);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-normal) var(--ease-spring),
    border-color var(--duration-normal) ease,
    box-shadow var(--duration-normal) ease;
}

.vm-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.vision-card {
  border-top: 4px solid var(--brand-gold);
}

.mission-card {
  border-top: 4px solid var(--brand-red);
}

.vm-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.vm-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.vision-glow {
  background: rgba(245, 158, 11, 0.15);
  color: var(--brand-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.mission-glow {
  background: rgba(229, 35, 42, 0.15);
  color: #FF5A60;
  border: 1px solid rgba(229, 35, 42, 0.3);
}

.vm-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light-muted);
}

.vm-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.vm-statement-box {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
}

.vision-statement {
  background: rgba(245, 158, 11, 0.1);
  border-left: 3px solid var(--brand-gold);
  color: #FEF3C7;
  font-size: 1.15rem;
}

.mission-statement {
  background: rgba(229, 35, 42, 0.1);
  border-left: 3px solid var(--brand-red);
  color: #FFE4E6;
}

.statement-text {
  font-style: italic;
}

/* Vision 3 Pillars Breakdown */
.vm-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: auto;
}

.v-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.v-pillar-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.dot-spirit {
  background-color: var(--brand-gold);
  box-shadow: 0 0 8px var(--brand-gold);
}

.dot-academic {
  background-color: var(--brand-blue);
  box-shadow: 0 0 8px var(--brand-blue);
}

.dot-physical {
  background-color: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
}

.v-pillar-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.15rem;
}

.v-pillar-desc {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.5;
}

/* Mission Commitments */
.mission-commitments {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: auto;
}

.m-commit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.commit-number {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1;
}

.commit-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

.commit-desc {
  font-size: 0.86rem;
  color: var(--text-light-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   10. FACILITIES SECTION (Westcliff Style Split: Left Intro + Right Scrollable Cards)
   -------------------------------------------------------------------------- */
.facilities-whsb-section {
  background: #08152e;
  padding: clamp(3.5rem, 5vw, 5rem) 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.facilities-whsb-wrapper {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: clamp(2rem, 3.5vw, 4rem);
  align-items: center;
  max-width: 100%;
  margin: 0;
  padding-left: clamp(1.5rem, 4.5vw, 5rem);
  padding-right: 0;
}

/* Left Intro Content (Unboxed, Seamless) */
.facilities-intro-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #FFFFFF;
}

.facilities-intro-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-red);
  display: block;
  margin-bottom: 0.85rem;
}

.facilities-intro-title {
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 500;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0 0 1.35rem 0;
}

.facilities-intro-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 2rem 0;
  max-width: 360px;
}

.facilities-scroll-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fac-arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.fac-arrow-btn svg {
  width: 20px;
  height: 20px;
}

.fac-arrow-btn:hover {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
  transform: scale(1.06);
}

/* Right Scrollable Cards Track (No Gap, No Scrollbar) */
.facilities-cards-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 0;
  scrollbar-width: none;
  /* Hide Firefox scrollbar */
  -ms-overflow-style: none;
  /* Hide IE/Edge scrollbar */
  align-items: stretch;
  cursor: grab;
}

.facilities-cards-track:active {
  cursor: grabbing;
}

.facilities-cards-track::-webkit-scrollbar {
  display: none;
  /* Hide Chrome/Safari/Edge scrollbar */
  width: 0;
  height: 0;
}

/* Facility Cards */
.facility-whsb-card {
  position: relative;
  flex: 0 0 clamp(290px, 24vw, 360px);
  min-height: 520px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(2rem, 3vw, 2.75rem) clamp(1.35rem, 2vw, 1.85rem);
  user-select: none;
}

.facility-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.facility-whsb-card:hover .facility-card-img {
  transform: scale(1.08);
  filter: blur(1.5px);
}

/* Default subtle gradient overlay */
.facility-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(8, 21, 46, 0.2) 40%,
      rgba(8, 21, 46, 0.85) 85%,
      rgba(8, 21, 46, 0.98) 100%);
  transition: background 0.45s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.45s ease;
  z-index: 1;
}

/* Full Overlay on Hover covering entire card - Default */
.facility-whsb-card:hover .facility-card-overlay {
  background: rgba(8, 21, 46, 0.93);
  backdrop-filter: blur(4px);
}

/* Card 1: Science Laboratories - Brand Red */
.facility-whsb-card.card-red:hover .facility-card-overlay,
.facility-whsb-card:nth-child(1):hover .facility-card-overlay {
  background: linear-gradient(180deg, rgba(229, 35, 42, 0.92) 0%, rgba(165, 18, 24, 0.96) 100%);
  backdrop-filter: blur(4px);
}

/* Card 2: Academic Library - Brand Blue */
.facility-whsb-card.card-blue:hover .facility-card-overlay,
.facility-whsb-card:nth-child(2):hover .facility-card-overlay {
  background: linear-gradient(180deg, rgba(0, 158, 226, 0.92) 0%, rgba(0, 105, 175, 0.96) 100%);
  backdrop-filter: blur(4px);
}

/* Card 3: Computer Laboratory - Brand Green */
.facility-whsb-card.card-green:hover .facility-card-overlay,
.facility-whsb-card:nth-child(3):hover .facility-card-overlay {
  background: linear-gradient(180deg, rgba(0, 166, 81, 0.92) 0%, rgba(0, 115, 55, 0.96) 100%);
  backdrop-filter: blur(4px);
}

/* Card 4: Student Dormitories - Brand Gold */
.facility-whsb-card.card-gold:hover .facility-card-overlay,
.facility-whsb-card:nth-child(4):hover .facility-card-overlay {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.92) 0%, rgba(185, 112, 8, 0.96) 100%);
  backdrop-filter: blur(4px);
}

/* Card 5: Home Economics - Brand Ruby / Crimson */
.facility-whsb-card.card-ruby:hover .facility-card-overlay,
.facility-whsb-card:nth-child(5):hover .facility-card-overlay {
  background: linear-gradient(180deg, rgba(188, 22, 32, 0.92) 0%, rgba(128, 10, 18, 0.96) 100%);
  backdrop-filter: blur(4px);
}

/* Card 6: Sports Facilities - Brand Royal / Teal Blue */
.facility-whsb-card.card-navy-blue:hover .facility-card-overlay,
.facility-whsb-card:nth-child(6):hover .facility-card-overlay {
  background: linear-gradient(180deg, rgba(0, 138, 195, 0.92) 0%, rgba(8, 85, 150, 0.96) 100%);
  backdrop-filter: blur(4px);
}

/* Facility Card Content & Seal Badge */
.facility-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-whsb-card:hover .facility-card-content {
  transform: translateY(-8px);
}

.facility-seal-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, background 0.3s ease;
}

.facility-whsb-card:hover .facility-seal-badge {
  transform: scale(1.08);
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.16);
}

.facility-seal-badge .seal-icon {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
  stroke-width: 1.8;
}

.facility-card-title {
  font-family: var(--font-sans);
  font-size: clamp(1.18rem, 1.65vw, 1.45rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.22;
  text-align: center;
}

/* Facility Card Divider (Reveals on Hover) */
.facility-card-divider {
  width: 40px;
  height: 2px;
  background: #FFFFFF;
  margin: 0 auto;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin 0.35s ease;
}

.facility-whsb-card:hover .facility-card-divider {
  opacity: 1;
  transform: scaleX(1);
  margin: 0.9rem auto 0.75rem;
}

/* Facility Card Description (Reveals on Hover) */
.facility-card-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  margin: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    margin-top 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.facility-whsb-card:hover .facility-card-desc {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.65rem;
}

/* Facilities Section Responsiveness */
@media (max-width: 960px) {
  .facilities-whsb-wrapper {
    grid-template-columns: 1fr;
    padding-left: clamp(1.25rem, 3vw, 2.5rem);
    padding-right: clamp(1.25rem, 3vw, 2.5rem);
    gap: 2.25rem;
  }

  .facilities-cards-track {
    margin: 0 calc(-1 * clamp(1.25rem, 3vw, 2.5rem));
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  }

  .facility-whsb-card {
    flex: 0 0 clamp(280px, 75vw, 340px);
    min-height: 480px;
  }
}

/* --------------------------------------------------------------------------
   11. STUDENT EXPERIENCE SECTION
   -------------------------------------------------------------------------- */
.student-experience-section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background-color: #FFFFFF;
  position: relative;
}

.student-experience-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 5.5vw, 6rem);
  align-items: center;
}

/* Left Media Column */
.student-experience-media {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.student-experience-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.student-experience-media:hover .student-experience-img {
  transform: scale(1.02);
}

/* Right Content Column */
.student-experience-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
}

.student-exp-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  color: #111827;
  letter-spacing: -0.01em;
  margin: 0 0 1.75rem 0;
}

.student-exp-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.student-exp-body p {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.75;
  color: #374151;
  margin: 0;
}

.student-exp-body strong {
  color: #111827;
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .student-experience-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .student-experience-content {
    max-width: 100%;
  }

  .student-experience-img {
    aspect-ratio: 16 / 10;
  }
}

/* --------------------------------------------------------------------------
   12. ACADEMICS & STUDENT LIFE SECTION
   -------------------------------------------------------------------------- */
.academics-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background-color: var(--bg-page);
}

.academics-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: flex-start;
}

.curriculum-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.curr-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: transform var(--duration-normal) var(--ease-spring),
    border-color var(--duration-normal) ease;
}

.curr-card:hover {
  transform: translateX(6px);
  border-color: var(--brand-blue);
}

.curr-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-darkest);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.curr-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-darkest);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.curr-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-body);
}

/* Routine Timeline Card */
.routine-card {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-darkest) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  color: #FFFFFF;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--navy-border);
}

.routine-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-gold);
  margin-bottom: 0.4rem;
}

.routine-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2rem;
}

.routine-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.routine-timeline::before {
  content: '';
  position: absolute;
  left: 38px;
  top: 15px;
  bottom: 25px;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
}

.step-time {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--navy-surface);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 158, 226, 0.3);
  flex-shrink: 0;
  min-width: 76px;
  text-align: center;
  z-index: 2;
}

.step-details {
  display: flex;
  flex-direction: column;
}

.step-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

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

/* --------------------------------------------------------------------------
   12. ADMISSIONS & EDMAN SCHOOL PORTAL SECTION
   -------------------------------------------------------------------------- */
.admissions-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(135deg, #09122C 0%, #172554 100%);
  color: #FFFFFF;
  position: relative;
}

.admissions-banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.admissions-pill {
  display: inline-block;
  background: rgba(229, 35, 42, 0.2);
  border: 1px solid var(--brand-red);
  color: #FF8A8E;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.admissions-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.admissions-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #CBD5E1;
  margin-bottom: 2rem;
}

.admission-steps {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

.adm-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.adm-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.adm-step strong {
  display: block;
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 0.15rem;
}

.adm-step p {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.45;
}

.admissions-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Portal Feature Card */
.portal-feature-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 2.75rem);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.portal-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
}

.portal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.portal-badge-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.portal-badge-pill {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(0, 158, 226, 0.2);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.portal-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.portal-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: 1.5rem;
}

.portal-check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.portal-check-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #E2E8F0;
}

.portal-check-icon {
  color: #34D399;
  font-weight: 800;
  font-size: 0.85rem;
}

.portal-help-note {
  font-size: 0.78rem;
  color: #94A3B8;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   13. CONTACT & INQUIRY SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background-color: var(--bg-subtle);
}

.contact-grid {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-form-col {
  width: 100%;
  max-width: 780px;
}

/* Contact Form */
.form-container {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: clamp(2rem, 5vw, 3.25rem);
}

.form-header {
  margin-bottom: 2rem;
  text-align: left;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy-darkest);
  margin-bottom: 0.4rem;
}

.form-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

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

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
}

.required {
  color: var(--brand-red);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 0;
  border: 1px solid var(--border-light);
  background-color: var(--bg-subtle);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-heading);
  transition: border-color var(--duration-fast) ease,
    background-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: #FFFFFF;
  border-color: var(--brand-red);
}

.form-input.input-error,
.form-textarea.input-error {
  border-color: var(--brand-red);
  background-color: #FFF5F5;
}

.field-error {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-red);
  min-height: 1rem;
}

/* Submit Inquiry Button - Brand Red, No Border Radius */
.btn-submit-inquiry {
  background-color: var(--brand-red, #E5232A);
  color: #FFFFFF;
  border: none;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1.05rem 2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  transition: background-color var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-spring);
}

.btn-submit-inquiry:hover {
  background-color: var(--brand-red-hover, #C41920);
  transform: translateY(-2px);
}

.btn-submit-inquiry:active {
  transform: translateY(0);
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* --------------------------------------------------------------------------
   13.5 CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  text-align: center;
  color: #FFFFFF;
  background-color: var(--navy-darkest);
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-banner-section:hover .cta-bg-image {
  transform: scale(1.06);
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(8, 24, 60, 0.88) 0%,
      rgba(5, 14, 38, 0.94) 100%);
}

.cta-banner-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.cta-banner-content {
  max-width: 780px;
  margin: 0 auto;
}

.cta-banner-content .section-tag {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.cta-banner-content .section-tag .tag-line {
  background: #FFFFFF;
}

.cta-banner-title {
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.01em;
}

.cta-banner-lead {
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0 auto 2.4rem;
  max-width: 660px;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-cta-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 2.5rem;
  background-color: var(--brand-red, #E5232A);
  color: #FFFFFF;
  border: none;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-spring);
}

.btn-cta-apply:hover {
  background-color: var(--brand-red-hover, #C41920);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-cta-apply:active {
  transform: translateY(0);
}

.cta-arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn-cta-apply:hover .cta-arrow-icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   14. SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--navy-darkest);
  padding: clamp(4.5rem, 7vw, 6.5rem) 0 clamp(3.5rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-sans);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.35fr 1.15fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

/* Column 1: Brand / Crest / Legal */
.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-crest-wrapper {
  margin-bottom: 2.2rem;
}

.footer-crest-img {
  width: 120px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
  display: block;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-copy {
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-legal-links .sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  user-select: none;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.65rem;
}

.powered-by-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.credit-edman-logo {
  height: 18px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Headings for Column 2 and 3 */
.footer-heading {
  font-family: var(--font-sans);
  font-size: 1.18rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

/* Column 2: Contact Info */
.footer-contact-details {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact-details .contact-line {
  margin: 0 0 0.25rem 0;
}

.footer-contact-details .contact-line-school {
  font-weight: 600;
  color: #FFFFFF;
}

.footer-contact-details .contact-line-phone {
  margin-top: 0.4rem;
}

.footer-contact-details .contact-line-email a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.footer-contact-details .contact-line-email a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Circular Social Icons */
.footer-social-circles {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-circle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  text-decoration: none;
  background: transparent;
  transition: all var(--duration-fast) ease;
}

.social-circle-btn:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.social-circle-btn .social-text-icon {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
}

.social-circle-btn .social-svg-icon {
  width: 16px;
  height: 16px;
}

/* Column 3: Quick Links */
.footer-quick-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-quick-list li a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  display: inline-block;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.footer-quick-list li a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* Floating Back-To-Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-darkest);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transition: opacity var(--duration-normal) ease,
    visibility var(--duration-normal) ease,
    transform var(--duration-normal) var(--ease-spring),
    background-color var(--duration-fast) ease;
  z-index: 45;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--brand-red);
}

.back-to-top:active {
  transform: scale(0.96);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  .about-grid,
  .academics-grid,
  .admissions-banner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-col-brand {
    grid-column: span 2;
  }

}

@media (max-width: 860px) {
  .top-bar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .top-links {
    width: 100%;
    justify-content: space-between;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .pillars-ribbon {
    margin-top: -2rem;
  }

  .carousel-controls {
    display: none;
    /* Mobile users swipe or use dots */
  }

  .full-vh-hero {
    height: 100vh;
    height: 100svh;
    min-height: 500px;
  }

  .carousel-container.full-vh-carousel {
    height: 100%;
  }

  /* Header mobile optimization */
  .whsb-header-inner {
    padding: 0.85rem 1.25rem;
  }

  .header-hairline-line {
    display: none;
  }

  .header-crest-img {
    width: 48px;
    max-height: 52px;
  }

  .brand-name-main {
    font-size: 0.82rem;
  }

  .brand-name-sub {
    font-size: 0.65rem;
  }

  .header-portal-btn {
    padding: 0.42rem 1.1rem;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  .menu-toggle-btn {
    gap: 0.5rem;
  }

  .menu-text {
    font-size: 0.82rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer mobile ordering: Logo -> Quick Links -> Contact -> Legal/Copyright */
  .footer-layout {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
  }

  .footer-col-brand {
    display: contents;
  }

  .footer-crest-wrapper {
    order: 1;
    margin-bottom: 0;
  }

  .footer-crest-img {
    width: 65px;
    max-height: 70px;
  }

  .footer-col-links {
    order: 2;
  }

  .footer-col-contact {
    order: 3;
  }

  .footer-brand-info {
    order: 4;
    margin-top: 0.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 600px) {

  /* Compact header on narrow mobile screens (320px - 600px) */
  .whsb-header-inner {
    padding: 0.75rem 1rem;
  }

  .header-crest-img {
    width: 42px;
    max-height: 46px;
  }

  .brand-name-main {
    font-size: 0.76rem;
  }

  .brand-name-sub {
    font-size: 0.6rem;
  }

  .header-portal-btn {
    padding: 0.38rem 0.95rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .hero-impact-headline {
    font-size: clamp(2.3rem, 7.5vw, 4rem);
  }

  .hero-impact-container {
    padding-bottom: clamp(1.75rem, 4vh, 3rem);
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile footer reordering: Logo -> Quick Links -> Contact -> Legal/Copyright */
  .footer-layout {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
  }

  .footer-col-brand {
    display: contents;
  }

  .footer-crest-wrapper {
    order: 1;
    margin-bottom: 0;
  }

  .footer-crest-img {
    width: 60px;
    max-height: 64px;
  }

  .footer-col-links {
    order: 2;
  }

  .footer-col-contact {
    order: 3;
  }

  .footer-brand-info {
    order: 4;
    margin-top: 0.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-legal-links {
    gap: 0.35rem 0.6rem;
  }

  .slide-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .slide-actions .btn {
    width: 100%;
  }

  .about-badges {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   16. ACCESSIBILITY & PREFERS REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .slide-bg-img {
    transform: none !important;
    transition: none !important;
  }

  .carousel-progress-fill {
    transition: none !important;
  }
}

/* Fine pointer hover safeguard */
@media (hover: hover) and (pointer: fine) {
  .pillar-card:hover {
    transform: translateY(-5px);
  }

  .facility-card:hover {
    transform: translateY(-6px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}