/* ============================================================
   CHEENA PUBLIC SCHOOL — PREMIUM PURPLE/AMBER DESIGN SYSTEM
   Override file: loads AFTER inline <style> blocks
   ============================================================ */

/* ---------- 1. CSS VARIABLES ---------- */
:root {
  --primary: #5C4A9C;
  --primary-dark: #3D2F7A;
  --primary-light: #7B6BB7;
  --accent: #D4953E;
  --accent-light: #E8AD5D;
  --accent-hover: #B8812F;
  --white: #ffffff;
  --light-bg: #F9F7FC;
  --card-bg: #F5F2FA;
  --text-dark: #2D2D3D;
  --text-gray: #7A7A8E;
  --border: #D4A986;
  --shadow: 0 12px 40px rgba(93, 74, 156, 0.12);
  --shadow-hover: 0 20px 60px rgba(93, 74, 156, 0.18);
  --shadow-soft: 0 8px 24px rgba(93, 74, 156, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Legacy variable overrides */
  --navy: #5C4A9C;
  --navy-2: #3D2F7A;
  --navy-3: #7B6BB7;
  --gold: #D4953E;
  --gold-soft: rgba(212, 149, 62, 0.12);
  --bg: #F9F7FC;
  --text: #2D2D3D;
  --muted: #7A7A8E;
}

/* ---------- 2. GLOBAL / TYPOGRAPHY ---------- */
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: #FAF0FF !important;
  animation: pageLoad 0.5s ease both;
}

@keyframes pageLoad {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
}

.section h2,
.hero h1,
.hero .hero-subtitle,
.hero .hero-desc,
.nav-brand span,
.card-title,
.program-title,
.footer-brand h3,
.soon-card h1,
.page-hero h1,
.contact-card h4,
.step-card h4,
.faq-item h4 {
  font-family: 'Poppins', sans-serif;
}

.section h2 {
  color: var(--primary);
}

.section p.lead {
  color: var(--text-gray);
}

/* ---------- 3. SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #F3E5F5;
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

/* ---------- 4. INSTITUTIONAL BRANDING ---------- */
.brand-mark,
.footer-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(249, 168, 37, 0.25);
  flex-shrink: 0;
  border: 2px solid var(--gold);
}

.brand-mark img,
.footer-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

/* ---------- 4. SELECTION ---------- */
::selection {
  background: var(--accent);
  color: #fff;
}

::-moz-selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- 5. NAVBAR — PREMIUM ---------- */
.site-header {
  height: 68px !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  padding: 0 40px !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  /* overflow: visible !important; */
}

.site-header.scrolled {
  background: rgba(6, 13, 46, 0.95) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25) !important;
}

.header-inner {
  height: 68px !important;
  display: flex !important;
  align-items: center !important;
}

.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  max-width: 220px !important;
  flex-shrink: 0 !important;
}

.brand-mark {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  background: linear-gradient(135deg, #D4953E, #E8AD5D) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #2D2D3D !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 16px rgba(212, 149, 62, 0.3) !important;
}

.footer-mark,
.soon-mark {
  background: linear-gradient(135deg, #D4953E, #E8AD5D) !important;
  color: #2D2D3D !important;
  box-shadow: 0 4px 16px rgba(212, 149, 62, 0.3) !important;
}

.nav-brand span {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #fff !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  display: block !important;
}

.nav-brand small {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 400 !important;
  font-size: 10px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  display: block !important;
  opacity: 1 !important;
}

.nav-link,
.nav-toggle {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  position: relative !important;
  transition: color 0.3s ease !important;
  white-space: nowrap !important;
  padding: 8px 10px !important;
}

.nav-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: 6px !important;
  left: 50% !important;
  width: 0 !important;
  height: 2px !important;
  background: #D4953E !important;
  transition: width 0.3s ease, left 0.3s ease !important;
  display: block !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60% !important;
  left: 20% !important;
}

.nav-link:hover,
.nav-toggle:hover,
.nav-item.open>.nav-toggle {
  color: #fff !important;
}

.nav-menu {
  gap: 4px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  overflow: visible !important;
}

.submenu {
  background: rgba(6, 13, 46, 0.96) !important;
  border: 1px solid rgba(212, 149, 62, 0.12) !important;
  border-radius: 12px !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3) !important;
}

.submenu li a:hover {
  background: rgba(212, 149, 62, 0.1) !important;
  color: #E8AD5D !important;
}

.cta-pill {
  background: linear-gradient(135deg, #D4953E, #E8AD5D) !important;
  color: #2D2D3D !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  border-radius: 50px !important;
  padding: 9px 16px !important;
  border: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 20px rgba(212, 149, 62, 0.25) !important;
  transition: all 0.3s ease !important;
  animation: none !important;
}

@media (max-width: 1366px) {

  .nav-link,
  .nav-toggle {
    font-size: 12px !important;
  }

  .nav-brand small {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .nav-brand span {
    font-size: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }
}

.cta-pill:hover {
  box-shadow: 0 4px 20px rgba(212, 149, 62, 0.4) !important;
  transform: scale(1.03) !important;
}

.menu-toggle {
  background: linear-gradient(135deg, #D4953E, #E8AD5D) !important;
  color: #2D2D3D !important;
  box-shadow: 0 4px 16px rgba(212, 149, 62, 0.3) !important;
}

/* Mobile nav */
@media (max-width: 992px) {
  .menu-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 0 16px !important;
  }

  .nav-wrap {
    background: rgba(6, 13, 46, 0.98) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.4) !important;
  }
}

/* ---------- 6. EYEBROW ---------- */
.eyebrow {
  background: rgba(255, 111, 0, 0.1) !important;
  color: var(--accent) !important;
}

.eyebrow::before {
  background: var(--accent) !important;
  box-shadow: 0 0 0 8px rgba(255, 111, 0, 0.1) !important;
}

/* ---------- 7. HERO (index.html) — PREMIUM ---------- */
.hero {
  background: #0b0720 !important;
  position: relative !important;
  /* overflow: visible !important; */
  color: #fff;
}

/* min-height handled by inline CSS */
/* .hero-slide layout handled by inline CSS */
/* Ensure header stays fixed above hero and hero content starts below it */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1200 !important;
}

/* Hero and slides use inline CSS for sizing */

/* Tidy homepage: hide noisy floating elements and extras */
.ticker-track,
.floating-shape,
.soon-card,
.cta-pil,
.badge-since {
  display: none !important;
}

/* Floating buttons — always visible */
.floating-btns {
  display: grid !important;
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 1200 !important;
  gap: 12px !important;
}

.back-top {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: var(--navy, #3d2f7a) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.back-top.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.wa-float {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: #25d366 !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2) !important;
}

/* Hide the entire ticker bar (parent) */
.ticker-bar {
  display: none !important;
}

/* hero-content — transparent so slides show through */
.hero .hero-content {
  position: relative !important;
  z-index: 3 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Tidy navigation dropdown appearance */
.nav-wrap {
  z-index: 1300 !important;
}

.nav-menu {
  position: relative;
}

.nav-item .submenu {
  background: rgba(8, 12, 30, 0.96) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  min-width: 200px !important;
  box-shadow: 0 12px 40px rgba(6, 10, 30, 0.45) !important;
  transform: translateY(6px) !important;
  transition: transform 0.18s ease, opacity 0.18s ease !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.nav-item:hover>.submenu,
.nav-item.open>.submenu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.nav-item .submenu a {
  color: #fff !important;
  padding: 8px 12px !important;
  display: block !important;
}

.nav-item .submenu li {
  border: 0 !important;
}

/* Remove heavy outlines/borders from header submenu in desktop */
.nav-menu .submenu {
  border: none !important;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem) !important;
  margin: 0 0 12px !important;
  color: #fff !important;
}

.hero .hero-cta {
  display: inline-flex !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

.hero .btn-primary {
  background: var(--gold) !important;
  color: #08102a !important;
  padding: 12px 18px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  padding: 12px 18px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
}

/* Floating orbs */
.hero::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  /* soft shapes to add depth but keep center visible */
  background: radial-gradient(ellipse 60% 45% at 50% 40%, rgba(2, 6, 30, 0.10), transparent 38%),
    radial-gradient(ellipse 40% 28% at 90% 80%, rgba(2, 6, 30, 0.06), transparent 45%);
  pointer-events: none !important;
  z-index: 1 !important;
}

.hero::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  /* gentler vignette so center image reads clearly */
  background: radial-gradient(circle at center, rgba(2, 6, 30, 0.00) 0%, rgba(2, 6, 30, 0.04) 26%, rgba(2, 6, 30, 0.12) 52%, rgba(2, 6, 30, 0.28) 100%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/*
.hero-slide::before {
  background: linear-gradient(
    to right,
    rgba(8, 20, 56, 0.28) 0%,
    rgba(8, 20, 56, 0.12) 50%,
    rgba(8, 20, 56, 0.06) 100%
  ) !important;
}
.hero-slide::before,
.hero-slider::before,
.slide-overlay,
.hero-overlay {
  background: linear-gradient(
    to right,
    rgba(13, 27, 75, 0.75) 0%,
    rgba(13, 27, 75, 0.45) 50%,
    rgba(13, 27, 75, 0.25) 100%
  ) !important;
}
*/

.hero-slide img,
.hero img,
.slide img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  filter: none !important;
  image-rendering: auto !important;
}

.hero-slide {
  background-size: cover !important;
  background-position: center center !important;
  transform: translateZ(0);
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ensure background-images fill and are centered */
.hero-slide {
  background-size: cover !important;
  background-position: center center !important;
}

/* Slide backgrounds with gradient overlays are defined in index.html inline CSS.
   Do NOT override here — the inline CSS uses correct filenames + gradient overlays. */
/* Hero content */
.hero-content {
  position: relative !important;
  z-index: 5 !important;
  text-align: center !important;
  max-width: 880px !important;
  margin: 0 auto !important;
  padding: 8px 12px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border-left: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

.hero h1 {
  font-size: clamp(44px, 6.8vw, 80px) !important;
  color: #fff !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
  font-weight: 900 !important;
  text-shadow: 0 10px 48px rgba(2, 6, 30, 0.55) !important;
  margin-bottom: 12px !important;
  max-width: 12ch !important;
}

.hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  opacity: 0.98 !important;
}

.hero .hero-desc,
.hero p {
  font-size: 16.5px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  max-width: 680px !important;
  margin: 0 auto 20px !important;
  line-height: 1.6 !important;
}

/* Badge with pulsing dot */
.hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(212, 149, 62, 0.12) !important;
  border: 1px solid rgba(212, 149, 62, 0.35) !important;
  border-radius: 50px !important;
  padding: 6px 20px !important;
  color: #E8AD5D !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin-bottom: 20px !important;
}

.hero-badge::before {
  content: '' !important;
  width: 6px !important;
  height: 6px !important;
  background: #D4953E !important;
  border-radius: 50% !important;
  display: inline-block !important;
  animation: badgePulse 2s infinite !important;
}

@keyframes badgePulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* Hero CTA buttons */
.hero-actions {
  display: flex !important;
  gap: 16px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin-top: 10px !important;
}

.hero-actions .btn {
  padding: 14px 32px !important;
  border-radius: 999px !important;
}

.hero-actions .btn .fa {
  margin-left: 8px;
}

.btn-gold.primary-cta {
  position: relative;
  overflow: visible;
}

.btn-gold.primary-cta::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, rgba(212, 149, 62, 0.12), transparent 28%);
  filter: blur(14px);
  z-index: -1;
  opacity: 0.95;
}

.btn-gold.primary-cta {
  animation: primaryPulse 3.8s ease-in-out infinite;
}

@keyframes primaryPulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 12px 32px rgba(212, 149, 62, 0.28);
  }

  50% {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(212, 149, 62, 0.36);
  }

  100% {
    transform: translateY(0);
    box-shadow: 0 12px 32px rgba(212, 149, 62, 0.28);
  }
}

/* subtle accent underline for section titles */
.section h2 {
  position: relative;
}

.section h2::after {
  content: '';
  width: 64px;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 6px;
  display: block;
  margin: 12px auto 0;
  opacity: 0.95;
}

.btn-gold {
  background: linear-gradient(135deg, #D4953E 0%, #E8AD5D 100%) !important;
  color: #2D2D3D !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  border-radius: 50px !important;
  padding: 14px 36px !important;
  border: none !important;
  box-shadow: 0 8px 32px rgba(212, 149, 62, 0.35) !important;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.btn-gold:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 40px rgba(212, 149, 62, 0.5) !important;
}

.btn-gold:active {
  transform: scale(0.98) !important;
}

.btn-outline {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border-radius: 50px !important;
  padding: 14px 36px !important;
}

.btn-outline:hover {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Slider dots — pill style */
.dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.32) !important;
  transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
  box-shadow: 0 6px 18px rgba(2, 6, 30, 0.25) !important;
}

.dot.active {
  width: 36px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #E8AD5D, #D4953E) !important;
  box-shadow: 0 8px 30px rgba(232, 173, 93, 0.28) !important;
}

.slider-arrow {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  display: grid;
  place-items: center;
  transition: transform 0.22s ease, background 0.22s ease;
}

.slider-arrow:hover {
  transform: translateY(-4px) scale(1.04);
  background: linear-gradient(135deg, rgba(212, 149, 62, 0.12), rgba(255, 255, 255, 0.02));
  border-color: rgba(212, 149, 62, 0.28) !important;
}

.floating-shape {
  border-color: rgba(212, 149, 62, 0.08) !important;
  background: linear-gradient(135deg, rgba(212, 149, 62, 0.04), rgba(30, 58, 138, 0.06)) !important;
}

/* Hero load animations */
.hero-badge {
  animation: fadeDown 0.6s ease 0.2s both !important;
}

.hero h1 {
  animation: fadeUp 0.7s ease 0.4s both !important;
}

.hero .hero-subtitle {
  animation: fadeUp 0.7s ease 0.5s both !important;
}

.hero .hero-desc {
  animation: fadeUp 0.7s ease 0.6s both !important;
}

.hero-actions {
  animation: fadeUp 0.7s ease 0.8s both !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 8. BUTTONS ---------- */
.btn-gold {
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(255, 111, 0, 0.25) !important;
  border-radius: 50px !important;
}

.btn-gold:hover {
  box-shadow: 0 12px 32px rgba(255, 111, 0, 0.4) !important;
  transform: translateY(-3px) scale(1.05) !important;
}

.btn-gold:active {
  transform: scale(0.98) !important;
}

.btn-outline {
  border-color: rgba(206, 147, 216, 0.5) !important;
  border-radius: 50px !important;
}

.btn-outline:hover {
  background: rgba(206, 147, 216, 0.15) !important;
  border-color: rgba(206, 147, 216, 0.8) !important;
}

.btn {
  border-radius: 50px !important;
  transition: var(--transition) !important;
}

.btn-dark-text {
  color: #fff !important;
}

/* Submit buttons in forms */
.submit-btn,
button[type="submit"] {
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.submit-btn:hover,
button[type="submit"]:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 12px 32px rgba(255, 111, 0, 0.35) !important;
}

/* ---------- 9. CARDS ---------- */
.feature-card,
.program-card,
.facility-card,
.panel,
.contact-card,
.action-card,
.faq-item,
.doc-item,
.step-card {
  border: 1px solid rgba(206, 147, 216, 0.15) !important;
  border-radius: 16px !important;
  transition: var(--transition) !important;
}

.feature-card:hover,
.program-card:hover,
.facility-card:hover,
.contact-card:hover,
.action-card:hover,
.step-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: var(--shadow-hover) !important;
  border-color: var(--accent) !important;
}

.feature-card::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-light)) !important;
}

.feature-ico {
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.1), rgba(255, 111, 0, 0.12)) !important;
  color: var(--primary) !important;
}

.card-title {
  color: var(--primary) !important;
}

/* Program cards */
.program-head {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark) 70%, var(--primary-light)) !important;
}

/* Ensure text is visible on dark card headers */
.program-head,
.program-head .program-title,
.program-head span,
.program-head .program-icon {
  color: #fff !important;
}

/* Feature cards should use dark title and muted body for readability on light background */
.feature-card .card-title {
  color: var(--primary) !important;
}

.feature-card p {
  color: var(--muted) !important;
}

/* Stats banner text visibility */
.stats-banner .banner-label {
  color: rgba(255, 255, 255, 0.92) !important;
}

.stats-banner .banner-value {
  color: #E8AD5D !important;
}

.program-head::after {
  background: rgba(255, 111, 0, 0.14) !important;
}

.learn-more {
  color: var(--primary) !important;
}

/* Facility cards */
.facility-card {
  background: linear-gradient(180deg, #ffffff, #FAF0FF) !important;
}

.facility-ico {
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
  box-shadow: 0 12px 24px rgba(74, 20, 140, 0.25) !important;
}

/* Action cards */
.action-icon {
  background: rgba(255, 111, 0, 0.1) !important;
  color: var(--accent) !important;
}

.action-link {
  color: var(--accent) !important;
}

/* ---------- 10. STATS BANNER ---------- */
.stats-banner {
  background: linear-gradient(135deg, #2D0057, var(--primary) 54%, #1a0030) !important;
}

.stats-banner::before {
  background-image: radial-gradient(rgba(255, 111, 0, 0.18) 1px, transparent 1px),
    radial-gradient(rgba(206, 147, 216, 0.1) 1px, transparent 1px) !important;
}

.banner-value {
  color: var(--accent-light) !important;
}

.stat-value {
  color: var(--primary) !important;
}

/* ---------- 11. TICKER ---------- */
.ticker-bar {
  background: var(--primary) !important;
  color: var(--accent-light) !important;
  border-color: rgba(206, 147, 216, 0.12) !important;
}

/* ---------- 12. CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 56%, #1a0030) !important;
}

.cta-section::before {
  background:
    linear-gradient(135deg, rgba(206, 147, 216, 0.08) 25%, transparent 25%) -30px 0/60px 60px,
    linear-gradient(225deg, rgba(206, 147, 216, 0.06) 25%, transparent 25%) -30px 0/60px 60px,
    linear-gradient(315deg, rgba(255, 111, 0, 0.06) 25%, transparent 25%) 0 0/60px 60px !important;
}

.cta-section::after {
  background: radial-gradient(circle at 15% 20%, rgba(255, 111, 0, 0.18), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(206, 147, 216, 0.1), transparent 24%) !important;
}

.cta-inner h2 {
  color: #fff !important;
}

.step-pill {
  border-color: rgba(206, 147, 216, 0.2) !important;
}

.step-pill i {
  color: var(--accent) !important;
}

.admissions-eyebrow {
  color: #ffcc80 !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.admissions-lead {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* ---------- 13. ABOUT SECTION ---------- */
.about-visual {
  position: relative;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.about-visual::before {
  display: none !important;
}

.sun-glow {
  display: none !important;
}

.badge-since {
  display: none !important;
}

.floating-card {
  display: none !important;
}

.campus-hill {
  display: none !important;
}

.building {
  display: none !important;
}

/* ---------- 14. PAGE HERO (inner pages) — PROFESSIONAL ---------- */
.page-hero {
  background: linear-gradient(135deg, #1a0033 0%, #2D0057 35%, #4A148C 65%, #3a1175 100%) !important;
  position: relative;
  overflow: hidden;
  padding: 180px 0 100px !important;
  text-align: center;
}

.page-hero * {
  color: #fff !important;
}

.page-hero::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(ellipse 500px 350px at 10% 40%, rgba(255, 111, 0, 0.12), transparent),
    radial-gradient(ellipse 400px 300px at 90% 30%, rgba(206, 147, 216, 0.08), transparent),
    radial-gradient(ellipse 300px 250px at 50% 90%, rgba(255, 143, 0, 0.06), transparent) !important;
  animation: heroMesh 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroMesh {
  0% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

.page-hero::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(160deg,
      transparent 40%,
      rgba(255, 255, 255, 0.03) 50%,
      transparent 60%) !important;
  pointer-events: none !important;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #ffffff !important;
  font-size: clamp(2.4rem, 5vw, 3.8rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
  margin-bottom: 16px !important;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero p,
.page-hero .hero-desc,
.page-hero .lead {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.05rem !important;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.hero-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffcc80 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin-bottom: 20px !important;
}

/* Hero buttons */
.page-hero .btn-gold,
.page-hero .btn {
  color: #fff !important;
}

.page-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
}

.page-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #fff !important;
}

/* Bottom transition */
.page-hero+.section,
.page-hero+section {
  position: relative;
}

/* ---------- 15. FORMS ---------- */
.form-group label,
.field label {
  color: var(--primary) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 500 !important;
}

.form-control,
.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--border) !important;
  border-radius: 10px !important;
  background: #fff !important;
  transition: var(--transition) !important;
}

.form-control:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.12) !important;
  background: #fff !important;
}

/* ---------- 16. TABLES ---------- */
.data-table,
.fee-table,
table {
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: var(--shadow) !important;
}

.data-table thead,
.fee-table thead,
table thead {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}

.data-table thead th,
.fee-table thead th,
table thead th {
  background: transparent !important;
  color: #fff !important;
}

.data-table tbody tr:nth-child(even),
.fee-table tbody tr:nth-child(even),
table tbody tr:nth-child(even) {
  background: #FAF0FF !important;
}

.data-table tbody tr:hover,
.fee-table tbody tr:hover,
table tbody tr:hover {
  background: rgba(255, 111, 0, 0.06) !important;
  border-left: 3px solid var(--accent);
}

.status-badge {
  background: rgba(255, 111, 0, 0.12) !important;
  color: var(--accent) !important;
}

/* ---------- 17. CONTACT SECTION ---------- */
.contact-item {
  background: linear-gradient(180deg, #fff, #FAF0FF) !important;
  border-color: rgba(206, 147, 216, 0.12) !important;
}

.contact-item .ico {
  background: rgba(74, 20, 140, 0.1) !important;
  color: var(--primary) !important;
}

.contact-item strong {
  color: var(--primary) !important;
}

.whatsapp-direct {
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.24) !important;
}

.panel h3 {
  color: var(--primary) !important;
}

/* ---------- 18. FOOTER ---------- */
.footer {
  background: linear-gradient(180deg, var(--primary-dark), #1a1a2e) !important;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
}

.footer-col h4 {
  color: var(--accent) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600 !important;
}

.footer-links a:hover {
  color: var(--accent) !important;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.15);
}

.footer-bottom a {
  color: var(--accent) !important;
}

/* Footer CTA compact bar */
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 111, 0, 0.06), rgba(206, 147, 216, 0.04));
  border: 1px solid rgba(206, 147, 216, 0.08);
  margin-bottom: 20px;
}

.footer-cta .cta-copy {
  max-width: 60%;
}

.footer-cta .cta-copy h3 {
  margin: 6px 0 4px;
  color: #fff;
  font-size: 1.15rem;
}

.footer-cta .cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-actions-compact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-actions-compact .btn {
  padding: 10px 18px;
}

.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease, background 0.18s ease;
}

.social-links a:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #0D1B4B;
}

@media (max-width: 860px) {
  .footer-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-cta .cta-copy {
    max-width: 100%;
  }

  .cta-actions-compact {
    justify-content: flex-start;
  }
}

/* ---------- 19. WHATSAPP BUTTON ---------- */
.wa-float {
  width: 60px !important;
  height: 60px !important;
  font-size: 1.5rem !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35) !important;
  animation: waBounce 4s ease-in-out infinite !important;
  position: relative;
}

.wa-float:hover {
  transform: scale(1.1) !important;
}

.back-top {
  background: var(--primary) !important;
}

/* ---------- 20. SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

/* ---------- ACCESSIBILITY / FOCUS STATES ---------- */
:focus {
  outline: none;
}

/* Visible focus for keyboard users */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.18), 0 6px 24px rgba(10, 10, 30, 0.12);
  border-radius: 10px;
}

/* ---------- SHARED HEADER & NAVIGATION ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.22s ease, padding 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  color: #fff;
  padding: 18px 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: linear-gradient(120deg, rgba(10, 20, 60, 0.92), rgba(24, 52, 120, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  background: rgba(10, 18, 55, 0.92);
  box-shadow: 0 10px 24px rgba(7, 12, 45, 0.22);
  padding: 12px 0;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 240px;
}

.brand-mark,
.footer-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #fff6cf, var(--gold) 52%, #c88400 100%);
  color: #2a1f54;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 12px 25px rgba(249, 168, 37, 0.35);
  flex-shrink: 0;
  object-fit: cover;
}

.nav-brand span {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  display: block;
  letter-spacing: -0.01em;
}

.nav-brand small {
  display: block;
  font-size: 9px;
  opacity: 0.9;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 600;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover,
.nav-toggle:hover,
.nav-item.open>.nav-toggle,
.nav-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-link.active::after,
.nav-toggle.active::after {
  content: '';
  display: block;
  height: 2px;
  width: 22px;
  background: #d4953e;
  border-radius: 999px;
  margin: 6px auto 0;
}

.submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 250px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(10, 18, 60, 0.95);
  box-shadow: 0 12px 40px rgba(61, 47, 122, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.25s ease;
  list-style: none;
  margin: 0;
}

/* Invisible bridge so the mouse doesn't fall into a gap and close the menu */
.submenu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
}

.nav-item:hover>.submenu,
.nav-item.open>.submenu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.submenu li a {
  display: block;
  padding: 11px 13px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.submenu li a:hover {
  background: rgba(249, 168, 37, 0.12);
  color: #fff;
  transform: translateX(2px);
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, #f3b13f, #f6c666);
  color: #1f2352;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 14px 30px rgba(243, 177, 63, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f9a825, #ffd36b);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #2a1f54;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  z-index: 1102;
  box-shadow: 0 14px 28px rgba(249, 168, 37, 0.32);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 380px);
    height: 100vh;
    padding: 88px 18px 22px;
    background: linear-gradient(180deg, rgba(8, 13, 46, 0.98), rgba(13, 21, 71, 0.98));
    transform: translateX(105%);
    transition: transform 0.32s ease;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    z-index: 1100;
  }

  .nav-wrap.open {
    transform: translateX(0);
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: background 0.3s ease, border-color 0.3s ease;
  }

  .nav-item.open,
  .nav-item:active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 211, 107, 0.25);
  }

  .nav-link {
    flex: 1;
    padding: 16px 20px !important;
    border-radius: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .nav-toggle {
    flex: 1 !important;
    display: inline-flex !important;
    padding: 16px 20px !important;
    border-radius: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    justify-content: space-between !important;
    width: 100% !important;
    border: 0 !important;
    cursor: pointer !important;
  }

  .submenu {
    position: static;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none !important;
    padding: 10px 12px 14px;
    background: rgba(0, 0, 0, 0.15) !important;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 0 0 14px 14px !important;
  }

  .nav-item.open>.submenu {
    display: grid !important;
    gap: 4px;
  }

  .submenu li a {
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    background: transparent !important;
  }

  .submenu li a:hover,
  .submenu li a:active {
    background: rgba(255, 211, 107, 0.15) !important;
    color: #ffd36b !important;
  }

  .cta-pill {
    margin-top: 12px;
    padding: 16px !important;
    font-size: 1.1rem !important;
    border-radius: 16px !important;
    text-align: center;
    justify-content: center;
  }
}

/* ---------- FOOTER ---------- */
.footer {
  background: linear-gradient(180deg, #0a0e27 0%, #05081a 100%);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2003/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.footer-mark {
  filter: drop-shadow(0 0 10px rgba(255, 211, 107, 0.2));
  transition: transform 0.5s ease;
}

.footer-brand:hover .footer-mark {
  transform: rotate(360deg);
}

.footer-top {
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
}

/* Glassmorphism CTA */
.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 40px 50px;
  margin-bottom: 70px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
}

.footer-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 40%, transparent 60%, rgba(255, 211, 107, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.footer-cta .cta-copy h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 2rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}

.footer-cta .cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
}

.footer-brand .footer-branding {
  margin-bottom: 25px;
}

.footer-brand p {
  margin: 10px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  margin-bottom: 25px;
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffd36b;
  padding-left: 8px;
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  width: 0;
  transition: all 0.3s ease;
  color: #ffd36b;
}

.footer-links a:hover::before {
  opacity: 1;
  width: 20px;
}

.footer-divider {
  margin: 60px 0 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  padding-bottom: 40px;
}

.footer-bottom a {
  color: #ffd36b;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

@media (max-width: 860px) {
  .footer-cta {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 25px;
  }

  .footer-cta .cta-copy h3 {
    font-size: 1.5rem;
  }

  .cta-actions-compact {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-grid {
    gap: 40px;
  }
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
  background: #ffd36b;
  color: #05081a;
  transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 10px 20px rgba(255, 211, 107, 0.3);
}

.floating-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: grid;
  gap: 12px;
  z-index: 900;
}

.back-top,
.wa-float {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.back-top {
  background: #5C4A9C;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wa-float {
  background: #25d366;
  color: #fff;
}

.back-top:hover,
.wa-float:hover {
  transform: scale(1.1) translateY(-4px);
}

/* ================================================
   UTILITY CLASSES — migrated from inline styles
   ================================================ */

/* Logo images displayed in circular containers */
img.brand-mark,
img.footer-mark {
  object-fit: cover;
  background: #fff;
}

/* Alternate section background */
.section-alt {
  background: var(--bg);
}

/* Remove section top padding */
.section--no-pt {
  padding-top: 0;
}

/* Leadership / faculty grid */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

/* Avatar image fill within faculty cards */
.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Method / info grid */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Info grid wider columns */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

/* Faculty feature card — flex row layout */
.cta-block.shade-navy {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 48px;
  border: none;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Inner copy column inside cta-block */
.cta-block-body {
  flex: 1;
  padding-right: 40px;
}

.cta-block h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-block-body p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* CTA action buttons row */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* btn-gold color in dark CTA blocks */
.cta-block .btn-gold {
  color: #1d214f;
}

/* btn-outline light border in dark blocks */
.cta-block .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Feature image card within CTA block */
.assessment-image {
  flex: 0 0 45%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.assessment-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(1.05);
}

/* Dark CTA section variant */
.section-cta-dark {
  background: var(--navy-2);
  color: #fff;
  text-align: center;
}

.section-cta-dark h2 {
  color: #fff;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
}

.section-cta-dark .lead {
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Centered flex row (for CTA buttons group) */
.flex-center {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Large centered CTA pill */
.cta-pill--lg {
  padding: 18px 40px;
  font-size: 16px;
}

/* Section title with extra top margin */
.section-title--mt {
  margin-top: 40px;
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #fcfdfe;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form button[type="submit"] {
  background: var(--navy);
  color: #fff;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

/* Fee card title */
.card-title--fee {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 1.4rem;
}

/* Note text */
.note-text {
  margin: 0 0 8px;
}

.note-text--sm {
  margin: 0;
  font-size: 14px;
}

/* ================================================
   GLOBAL RESPONSIVE OVERRIDES
   Placed last so these media-query rules win over
   all non-media-query declarations above.
   ================================================ */

/* ── 992px — mobile nav panel ────────────────── */
@media (max-width: 992px) {
  .site-header {
    padding: 0 20px !important;
  }

  .nav-wrap {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: min(88vw, 380px) !important;
    height: 100vh !important;
    padding: 88px 18px 22px !important;
    background: linear-gradient(180deg, rgba(8, 13, 46, 0.98), rgba(13, 21, 71, 0.98)) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
    transform: translateX(105%) !important;
    transition: transform 0.32s ease !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.3) !important;
    overflow-y: auto !important;
    z-index: 1100 !important;
    pointer-events: none !important;
  }

  .nav-wrap.open {
    transform: translateX(0) !important;
    pointer-events: auto !important;
  }

  .nav-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  .nav-item {
    width: 100% !important;
    position: relative !important;
  }

  .nav-link,
  .nav-toggle {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 14px 12px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    white-space: normal !important;
  }

  .submenu {
    position: static !important;
    min-width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none !important;
    padding: 6px 0 0 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  .nav-item.open>.submenu {
    display: grid !important;
  }

  .cta-pill {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 8px !important;
  }
}

/* ── 1180px — large tablet ───────────────────── */
@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .cta-block.shade-navy {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .cta-block-body {
    padding-right: 0 !important;
  }

  .assessment-image {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}

/* ── 860px — tablet / large mobile ──────────── */
@media (max-width: 860px) {

  /* Footer grid — 2-col on tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  /* Page hero — reduce large desktop padding */
  .page-hero {
    padding: 140px 0 72px !important;
  }

  /* Info grid — narrower minimum */
  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  /* Leadership grid — narrower minimum */
  .leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* ── 640px — mobile ──────────────────────────── */
@media (max-width: 640px) {

  /* Container — use full width with small margin */
  .container {
    width: calc(100% - 24px) !important;
  }

  /* Section padding */
  .section {
    padding: 64px 0 !important;
  }

  /* Page hero */
  .page-hero {
    padding: 110px 0 52px !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .footer-top {
    padding: 48px 0 28px;
  }

  .footer-divider {
    margin: 28px 0 18px;
  }

  .footer-cta .cta-copy {
    max-width: 100%;
  }

  .cta-actions-compact {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Info grid → single column */
  .info-grid {
    grid-template-columns: 1fr !important;
  }

  /* Leadership / faculty grid → single column */
  .leadership-grid {
    grid-template-columns: 1fr !important;
  }

  /* Method grid → single column */
  .method-grid {
    grid-template-columns: 1fr !important;
  }

  /* CTA block */
  .cta-block.shade-navy {
    flex-direction: column !important;
    padding: 28px !important;
    align-items: flex-start !important;
  }

  .cta-block-body {
    padding-right: 0 !important;
  }

  .assessment-image {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  /* Section CTA dark */
  .section-cta-dark h2 {
    font-size: 1.8rem !important;
  }

  /* Tables — horizontal scroll */
  .data-table,
  .fee-table {
    display: block;
    overflow-x: auto;
  }

  /* Social links in footer CTA */
  .social-links {
    flex-wrap: wrap;
  }

  /* Floating buttons — smaller tap targets are fine, move closer to edge */
  .floating-btns {
    right: 14px !important;
    bottom: 14px !important;
  }
}