*, *::before, *::after { box-sizing: border-box; }
:root {
  --navy: #0A2B66;
  --navy-deep: #082352;
  --navy-soft: #103C84;
  --maroon: #7a2437;
  --gold: #E0A92B;
  --gold-light: #F0C256;
  --gold-dark: #B8861F;
  --cream: #f6f4ef;
  --white: #FFFFFF;
  --light-bg: #F5F7FA;
  --bg: #FFFFFF;
  --text: #15203B;
  --text-muted: #5B6578;
  --border: #E4E7EE;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;
  --radius: 0px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 43, 102, 0.06), 0 1px 3px rgba(10, 43, 102, 0.04);
  --shadow: 0 1px 3px rgba(10, 43, 102, 0.08), 0 6px 20px rgba(10, 43, 102, 0.05);
  --shadow-lg: 0 12px 40px rgba(10, 43, 102, 0.10), 0 2px 8px rgba(10, 43, 102, 0.05);
  --shadow-gold: 0 8px 22px -6px rgba(224, 169, 43, 0.40);
  --transition: 260ms cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 88px;
  --maxw: 1380px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 14px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}
.container-lg {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
}

#main {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.section { padding: 96px 0; }
/* GUARD: when hero-inner is also a container/container-lg, the container's responsive padding-inline
   (20px mobile, 44px tablet, 64px desktop) must NOT be overridden. Hero-inner only adds vertical
   padding-block; horizontal gutters come from container-lg. Keep this block minimal so we don't
   accidentally erase container padding via inherit from the hero section (which has 0 horizontal). */
.container.hero-inner,
.container-lg.hero-inner {
  box-sizing: border-box;
  max-width: 100%;
}
.container.hero-inner *,
.container-lg.hero-inner * { box-sizing: border-box; }
/* Also prevent hero buttons from blowing out horizontally beyond container */
.hero-actions {
  box-sizing: border-box;
  max-width: 100%;
}
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }
.section-bg { background: var(--light-bg); }
.section-navy { background: var(--navy); color: var(--white); }
.section-white { background: var(--white); }

/* ================================
   EYEBROW + TYPOGRAPHY UTILS
   ================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 1.5px;
  background: var(--gold);
  position: relative;
  top: -1px;
}

.gold-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 18px;
}
.gold-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 3px;
  background: var(--gold);
}
.gold-underline-center::after {
  left: 50%;
  transform: translateX(-50%);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { display: none; }
.section-head h2 {
  font-size: 34px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 12px;
  font-weight: 800;
}
.section-head p { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin-top: 14px; }

.section-head-left { text-align: left; margin: 0 0 48px; }

/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px rgba(10, 43, 102, 0.55);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  padding: 16px 34px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ================================
   HEADER
   ================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
}
.brand:hover { color: var(--white); }
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: var(--white);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  flex-shrink: 0;
  display: block;
}
.footer-brand-logo {
  background: var(--white);
  border: 1px solid #e0e4ec;
}
.brand-shield {
  width: 54px;
  height: 58px;
  background: var(--white);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.brand-shield::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  border: 1.5px solid var(--navy);
}
.brand-shield svg {
  color: var(--navy);
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand-text span {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}
.site-nav > *,
.site-nav .nav-list,
.site-nav .nav-list > *,
.site-nav .nav-link,
.site-nav .submenu-toggle,
.site-nav.mobile-open,
.site-nav.mobile-open > * {
  pointer-events: auto;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-item.has-children > .nav-link {
  padding-bottom: 18px;
  margin-bottom: -8px;
}
.nav-item.has-children::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: calc(100% - 8px);
  height: 16px;
  background: transparent;
}
.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link.has-children::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 3.5px solid rgba(255,255,255,0.55);
  opacity: 0.55;
  margin-left: 2px;
}
.nav-link:hover, .nav-link.active,
.nav-item.is-active > .nav-link {
  color: var(--gold);
}
.nav-link.has-children:hover::after,
.nav-link.has-children.active::after,
.nav-item.is-active > .nav-link.has-children::after {
  border-top-color: var(--gold);
}
.submenu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 6px;
  cursor: pointer;
  border-radius: 6px;
  transition: transform var(--transition), color var(--transition);
}
.submenu-toggle:hover { color: var(--gold); }
.nav-item.has-children .submenu {
  list-style: none;
  margin: 0;
  padding: 18px 0 10px;
  position: absolute;
  top: calc(100% + 0px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 260px;
  background: var(--white);
  color: var(--navy-deep);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(10, 43, 102, 0.18), 0 2px 6px rgba(10, 43, 102, 0.06);
  border: 1px solid rgba(183, 138, 58, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 110;
}
.nav-item.has-children .submenu::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 8px solid var(--white);
  filter: drop-shadow(0 -2px 1px rgba(183, 138, 58, 0.10));
}
.nav-item.has-children .submenu::after {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px;
  height: 14px;
  background: transparent;
}
.nav-item.has-children:hover > .submenu,
.nav-item.has-children:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.submenu-link {
  display: block;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1a2b4a;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
  border-left: 2px solid transparent;
}
.submenu-link:hover,
.submenu-link.active {
  color: var(--maroon);
  background: linear-gradient(90deg, rgba(183, 138, 58, 0.08), rgba(183, 138, 58, 0));
  border-left-color: var(--gold);
  padding-left: 26px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cta-btn {
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 14px 10px;
  text-transform: uppercase;
  transition: all var(--transition);
  display: inline-block;
}
.cta-btn:hover {
  background: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  z-index: 10;
  position: relative;
  touch-action: manipulation;
  pointer-events: auto;
}
.mobile-toggle svg,
.mobile-toggle img,
.mobile-toggle * {
  pointer-events: none;
  display: block;
}
.mobile-toggle:hover,
.mobile-toggle:focus-visible {
  background: rgba(255,255,255,0.08);
  color: var(--gold);
  outline: none;
}
.mobile-toggle:active { transform: scale(0.96); }
.mobile-toggle[aria-expanded="true"] {
  color: var(--gold);
  background: rgba(224,169,43,0.12);
}

/* ================================
   HERO (OLD banner fallback system) — SUPERSEDED by sections/hero.php styles
   (section-based hero CSS is at the bottom of site.css around line 2094+).
   ================================ */
/* ===== hero stubs removed to avoid double-apply & distortion ===== */
.hero-shape { display: none; }

/* ================================
   WELCOME + MISSION VISION SECTION
   ================================ */
.welcome-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.welcome-copy h2 {
  font-size: 44px;
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 24px;
  max-width: 420px;
}
.welcome-copy p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 16px;
  line-height: 1.75;
}
.mission-vision {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
}
.mv-card {
  padding: 28px 24px 28px;
  border-left: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.mv-card:first-child { border-left: 0; }
.mv-card:hover { background: var(--light-bg); }
.mv-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
}
.mv-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.2;
}
.mv-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.mv-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
}
.welcome-image {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
  object-position: right;
}
.welcome-image-col { align-self: stretch; }

/* ================================
   FACILITIES (5-IMAGE GRID)
   ================================ */
.facilities-head {
  text-align: center;
  margin-bottom: 36px;
}
.facilities-head h2 {
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.facility-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.facility-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.facility-tile-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.facility-tile-cap {
  padding: 18px 16px 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ================================
   JDLIFE / ACTIVITIES (2-col + 3x2 photo grid)
   ================================ */
.jdlife-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.jdlife-copy h2 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 24px;
  max-width: 420px;
}
.jdlife-copy p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.jdlife-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 14px;
}
.jdlife-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: all var(--transition);
}
.jdlife-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* ================================
   ADMISSIONS CTA BANNER
   ================================ */
.admissions-banner {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
  border-top: 0;
  border-bottom: 0;
}
.admissions-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 40px;
  align-items: center;
}
.admissions-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.clipboard-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.clipboard-icon svg {
  width: 68px;
  height: 68px;
  stroke-width: 1.2;
  fill: none;
}
.admissions-copy h3 {
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.admissions-copy h2 {
  font-size: 30px;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.01em;
  font-weight: 800;
}
.admissions-middle {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 40px;
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
  background: #F3F5F9;
  color: var(--text);
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.6;
  font-weight: 500;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.footer-social a:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 20px;
  text-transform: none;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
  stroke-width: 2;
}
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--gold); }

.footer-map-wrap {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.footer-map-wrap .map-placeholder {
  width: 100%;
  height: 170px;
  background: linear-gradient(135deg, #EBF0F7 0%, #DDE5F2 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 14px 8px 10px;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(10,43,102,0.12);
  font-size: 11px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.map-pin svg {
  width: 22px;
  height: 22px;
  color: #E3352B;
  fill: #E3352B;
}
.map-directions {
  display: block;
  padding: 10px 0;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color var(--transition);
  border-top: 1px solid var(--border);
}
.map-directions:hover { color: var(--gold); }

.footer-bottom {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  padding: 16px 0;
  border-top: 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-copy { font-size: 12.5px; }
.footer-legal {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-legal a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.82);
  position: relative;
}
.footer-legal a:hover { color: var(--gold); }
.footer-legal a + a::before {
  content: '|';
  margin-right: 20px;
  color: rgba(255,255,255,0.3);
}

/* ================================
   REVEAL ON SCROLL
   ================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1440px) {
  .container, .container-lg { padding: 0 44px; }
}
@media (max-width: 1200px) {
  .container, .container-lg { padding: 0 36px; }
}
@media (max-width: 1100px) {
  :root { --maxw: 1140px; }
  .container, .container-lg { padding: 0 28px; }
  .section { padding: 80px 0; }
  .header-inner { gap: 24px; }
  .welcome-wrap { grid-template-columns: 1fr; gap: 40px; }
  .welcome-image-col { grid-column: 1 / -1; order: 0; }
  .welcome-image { min-height: 360px; }
  .mission-vision { grid-template-columns: 1fr; gap: 0; }
  .mv-card { border-left: 0; border-top: 1px solid var(--border); padding: 24px 18px; }
  .mv-card:first-child { border-top: 0; }
  .welcome-copy h2 { font-size: 34px; max-width: 560px; }
  .facilities-grid { grid-template-columns: repeat(3, 1fr); }
  .jdlife-wrap { grid-template-columns: 1fr; gap: 40px; }
  .jdlife-copy h2 { font-size: 32px; }
  .admissions-grid { grid-template-columns: 1fr auto; gap: 24px; }
  .admissions-middle { border-left: 0; padding-left: 0; grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-heading { font-size: 48px; }
  .hero-eyebrow { font-size: 18px; }
  .hero-desc { font-size: 16px; }
  .hero-actions .btn { padding: 14px 22px; }
}
@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; height: 76px; }
  :root { --header-h: 76px; }
  .site-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .nav-link.has-children::after { display: none; }
  .nav-item.has-children { position: relative; }
  .nav-item.has-children > .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    height: 54px;
    width: 48px;
    z-index: 2;
    pointer-events: auto;
    color: rgba(255,255,255,0.85);
  }
  .nav-item.has-children.is-expanded > .submenu-toggle {
    color: var(--gold);
    transform: rotate(180deg);
  }
  .hero { min-height: 500px; }
  .hero-inner { min-height: 500px; }
  .hero-heading { font-size: 38px; line-height: 1.08; }
  .hero-content { max-width: 100%; padding: 64px 0; }
  .hero-sub .hero-subtitle,
  .hero-desc { font-size: 15.5px; line-height: 1.7; }
  .mission-vision { grid-template-columns: 1fr; }
  .mv-card { border-left: 0; border-top: 1px solid var(--border); }
  .mv-card:first-child { border-top: 0; }
  .facilities-grid { grid-template-columns: repeat(2,1fr); }
  .jdlife-grid { grid-template-columns: repeat(2,1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .welcome-copy h2, .jdlife-copy h2 { font-size: 34px; }
  .admissions-copy h2 { font-size: 24px; }
  .admissions-left { flex-direction: column; text-align: center; align-items: center; }
}
@media (max-width: 640px) {
  .container, .container-lg { padding: 0 20px; }
  .section { padding: 56px 0; }
  .hero { min-height: 560px; }
  .hero-inner { min-height: 560px; padding-block: 72px 40px; }
  .hero-content {
    padding: 56px 0 40px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-content > * + * { margin-top: 16px; }
  .hero-heading {
    font-size: 30px;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0;
    padding: 0 4px 0 0;
  }
  .hero-heading .hero-line { display: block; }
  .hero-divider, .hero-underline { width: 64px; height: 2.5px; margin: 18px 0 16px !important; }
  .hero-eyebrow { font-size: 12.5px; margin-bottom: 10px; padding: 8px 14px; letter-spacing: 0.14em; }
  .hero-sub .hero-subtitle,
  .hero-desc {
    font-size: 14.5px;
    line-height: 1.72;
    margin: 0;
    padding-right: 8px;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 4px;
    margin-top: 4px !important;
  }
  .hero-actions .btn,
  .hero-actions .btn-primary,
  .hero-actions .btn-outline,
  .hero-actions .btn-outline-white {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: 13px;
    letter-spacing: 0.1em;
    min-height: 48px;
    align-items: center;
    display: inline-flex;
    box-sizing: border-box;
    border-radius: 10px;
  }
  .welcome-wrap, .jdlife-wrap, .admissions-grid { grid-template-columns: 1fr; gap: 28px; }
  .welcome-copy h2, .jdlife-copy h2 { font-size: 26px; line-height: 1.18; }
  .welcome-copy p, .jdlife-copy p { font-size: 14.5px; line-height: 1.75; margin-bottom: 14px; }
  .welcome-image { min-height: 320px; }
  .mission-vision { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
  .mv-card { padding: 22px 18px; border-left: 0; border-top: 1px solid var(--border); }
  .mv-card:first-child { border-top: 0; }
  .mv-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .mv-icon svg { width: 34px; height: 34px; }
  .mv-title { font-size: 12px; letter-spacing: 0.18em; margin-bottom: 8px; }
  .mv-desc { font-size: 13px; line-height: 1.72; }
  .admissions-middle { padding-left: 0; border-left: 0; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .facilities-head { margin-bottom: 28px; }
  .facilities-head h2 { font-size: 20px; letter-spacing: 0.12em; }
  .facilities-head p { font-size: 13.5px; line-height: 1.7; padding: 0 4px; }
  .facility-tile-cap { padding: 14px 10px 16px; font-size: 10.5px; letter-spacing: 0.14em; line-height: 1.5; }
  .jdlife-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .jdlife-copy .btn { width: 100%; justify-content: center; }
  .admissions-left { flex-direction: column; text-align: center; align-items: center; gap: 14px; }
  .clipboard-icon { width: 62px; height: 62px; }
  .clipboard-icon svg { width: 58px; height: 58px; }
  .admissions-copy h3 { font-size: 11px; letter-spacing: 0.2em; }
  .admissions-copy h2 { font-size: 22px; line-height: 1.25; }
  .admissions-right { width: 100%; }
  .admissions-right .btn { width: 100%; justify-content: center; min-height: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-btn { padding: 12px 18px; font-size: 11px; letter-spacing: 0.10em; }
  .brand-text strong { font-size: 15px; }
  .brand-text span { font-size: 10px; letter-spacing: 0.18em; }
  .btn { padding: 12px 22px; }
  .section-title { font-size: 23px; }
  .subsection-title { font-size: 18px; margin-bottom: 12px; }
}

/* ================================
   MOBILE NAV OVERLAY (appended when opened)
   ================================ */
body.nav-open {
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
body.nav-open::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99998;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: auto;
  display: block;
}
body.nav-open .mobile-toggle {
  /* When menu is open, push the hamburger/X button to the very TOP of z-stack
     so taps on it never land on the fixed backdrop/nav. */
  position: relative;
  z-index: 9999999999 !important;
  pointer-events: auto !important;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
/* Also force the STICKY HEADER stacking context itself to the top, otherwise any z-index on the
   button inside it gets clipped to the header's z=100. */
body.nav-open .site-header {
  z-index: 9999999998 !important;
  isolation: isolate;
}
/* Hamburger → X transform when menu open, so button visually shows close state
   Works with current SVG: <svg viewBox="0 0 24 24"><path d="M3 6h18" /><path d="M3 12h18" /><path d="M3 18h18" /></svg>
   Center point of lines (0,6), (0,12), (0,18) → rotate around (12,12) to make a clean X */
.mobile-toggle svg { display: block; overflow: visible; }
.mobile-toggle svg path {
  transform-origin: 12px 12px;
  transition: transform 0.22s ease, opacity 0.18s ease, stroke 0.18s ease;
}
.mobile-toggle[aria-expanded="true"] svg path:nth-child(1) {
  /* Top bar (y=6) → rotate +45° around 12,12 → lands as diagonal from upper-left to lower-right */
  transform: translateY(6px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] svg path:nth-child(2) {
  /* Middle bar → fade out & shrink */
  opacity: 0;
  transform: scaleX(0.2);
}
.mobile-toggle[aria-expanded="true"] svg path:nth-child(3) {
  /* Bottom bar (y=18) → rotate -45° around 12,12 */
  transform: translateY(-6px) rotate(-45deg);
}
.mobile-toggle[aria-expanded="true"] svg { color: var(--gold); }
/* Also if header has any implicit overflow when nav is open, allow it */
body.nav-open .site-header,
body.nav-open .header-inner {
  overflow: visible;
}
.site-nav.mobile-open {
  display: flex;
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  width: 100%;
  height: 100dvh;
  height: 100vh;
  max-height: 100dvh;
  max-height: 100vh;
  background: var(--navy-deep);
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
  padding: calc(var(--header-h, 88px) + 8px) 20px 24px;
  z-index: 99999;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-sizing: border-box;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: none;
  pointer-events: auto !important;
  isolation: isolate;
}
.site-nav.mobile-open .nav-list {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  max-width: 100%;
  padding: 4px 0 8px;
  margin: 0;
  list-style: none;
}
.site-nav.mobile-open .nav-item {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.site-nav.mobile-open .nav-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav.mobile-open .nav-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: 100%;
  text-align: left;
  color: rgba(255,255,255,0.96);
  min-height: 56px;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(224, 169, 43, 0.18);
}
.site-nav.mobile-open .nav-link:active {
  background: rgba(224, 169, 43, 0.12);
  color: var(--gold);
}
.site-nav.mobile-open .nav-link.has-children {
  padding-right: 58px;
}
.site-nav.mobile-open .nav-link::after { display: none; }
.site-nav.mobile-open .submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  background: transparent;
  padding: 0;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}
.site-nav.mobile-open .nav-item {
  position: relative;
}
.site-nav.mobile-open .submenu-toggle:active { color: var(--gold); background: rgba(224, 169, 43, 0.1); }
.site-nav.mobile-open .submenu-toggle svg {
  transition: transform 0.25s ease;
  transform-origin: center;
}
.site-nav.mobile-open .nav-item.is-expanded > .submenu-toggle svg {
  transform: rotate(180deg);
}
.site-nav.mobile-open .nav-item .submenu,
.site-nav.mobile-open .submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: static;
  transform: none;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  min-width: 0;
  width: 100%;
  background: rgba(255,255,255,0.025);
  color: inherit;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  display: none;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-nav.mobile-open .nav-item .submenu::before,
.site-nav.mobile-open .submenu::before { display: none !important; }
.site-nav.mobile-open .nav-item.is-expanded > .submenu {
  display: block;
}
.site-nav.mobile-open .submenu-link {
  display: block;
  padding: 14px 16px 14px 32px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.01em;
  background: transparent;
  border-left: 2px solid transparent;
  border-bottom: 1px solid rgba(255,255,255,0.045);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.site-nav.mobile-open .submenu-link:last-child { border-bottom: 0; }
.site-nav.mobile-open .submenu-link:hover,
.site-nav.mobile-open .submenu-link:active,
.site-nav.mobile-open .submenu-link.active {
  color: var(--gold);
  background: rgba(224, 169, 43, 0.08);
  border-left-color: var(--gold);
  padding-left: 32px;
}
/* Mobile menu footer CTA: big tappable "ENQUIRE NOW" + "Contact Us" at bottom so users never have to close menu to call/email */
.mobile-menu-cta {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}
.mobile-menu-cta .btn {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  border-radius: 12px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}
/* Sticky mini header inside the mobile menu itself — GUARANTEES logo+brand+close icon are always visible
   even if the original site-header gets clipped/covered by fullscreen nav */
.mobile-menu-head {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 14px;
  margin: 0 0 4px;
  background: var(--navy-deep);
  /* subtle separator below brand row */
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 16px -10px rgba(0,0,0,0.6);
  box-sizing: border-box;
  gap: 14px;
  flex-shrink: 0;
  isolation: isolate;
  width: 100%;
}
.site-nav.mobile-open .nav-list {
  /* push list below sticky brand header */
  padding-top: 10px;
  padding-bottom: 14px;
}
.mobile-menu-head .menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
  flex: 1 1 auto;
}
.mobile-menu-head .menu-brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: var(--white);
  border-radius: 12px;
  padding: 4px;
  object-fit: contain;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.mobile-menu-head .menu-brand-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.1; }
.mobile-menu-head .menu-brand-text strong { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.mobile-menu-head .menu-brand-text span { font-size: 12px; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-top: 3px; }
.mobile-menu-head .close-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex: 0 0 44px;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.mobile-menu-head .close-btn:hover,
.mobile-menu-head .close-btn:active {
  background: rgba(224, 169, 43, 0.2);
  color: var(--gold);
  border-color: rgba(224, 169, 43, 0.35);
}
.mobile-menu-head .close-btn:active { transform: scale(0.94); }
.mobile-menu-head .close-btn svg { display: block; }

/* Also: any nav item with children → make entire row a tap area for expand.
   Pointer events: nav-link.has-children click calls toggle, not navigate */
.site-nav.mobile-open .nav-item.has-children { cursor: pointer; }

/* ================================
   CMS DYNAMIC PAGES (pages.content_html + _page_template / post.php rendering)
   ================================ */
.page-hero {
  position: relative;
  min-height: 340px;
  color: #fff;
  background: var(--navy-deep);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.02);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,23,55,0.85) 0%, rgba(9,23,55,0.55) 100%);
  z-index: -1;
}
.page-hero-inner {
  max-width: 100%;
  padding-block: 80px 60px;
  margin: 0 auto;
}
.page-hero-crumbs a,
.page-hero-crumbs .current-crumb,
.breadcrumb a, .breadcrumb span { color: rgba(255,255,255,0.75); }
.page-hero-crumbs a:hover, .breadcrumb a:hover { color: var(--gold); }
.page-hero-crumbs > span, .breadcrumb > span { margin: 0 8px; opacity: 0.5; }
.page-hero-crumbs { word-break: break-word; }
.page-hero-title {
  margin: 16px 0 6px;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  font-weight: 700;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.page-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 8px 0 0;
  line-height: 1.6;
  word-wrap: break-word;
}
.page-hero-meta { margin-top: 14px; }
.pill-gold {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-header { padding: 48px 0 24px; }
.page-header .breadcrumb { color: var(--muted); font-size: 13px; }
.page-title {
  font-size: 38px;
  margin: 16px 0 0;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}

.page-body { padding-block: 40px 80px; }
.page-content { max-width: 100%; margin: 0 auto; }
.page-section { padding: 18px 0 44px; }
.page-section > * + * { margin-top: 18px; }
.page-section img, .page-section video, .page-section iframe, .page-section svg {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
.page-section table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.page-section blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--gold);
  background: var(--light-bg);
  border-radius: 0 12px 12px 0;
}
.page-section ul, .page-section ol {
  padding-left: 24px;
  line-height: 1.8;
}
.page-section a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.page-section a:hover { color: var(--gold); }
.text-center { text-align: center; }
.muted.small, .tiny { font-size: 13px; color: var(--muted); }

.section-title {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin: 0 0 8px;
  font-weight: 700;
}
.subsection-title {
  font-size: 22px;
  color: var(--navy-deep);
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.gold { color: var(--gold); }
.section-rule {
  width: 72px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 6px 0 28px;
}
.page-section p {
  color: var(--body);
  line-height: 1.75;
  font-size: 16px;
  margin: 0 0 14px;
}
.page-section h2, .page-section h3, .page-section h4, .page-section h5 {
  color: var(--navy-deep);
  margin-top: 26px;
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: 700;
}
.page-section h2 { font-size: 26px; }
.page-section h3 { font-size: 22px; }
.page-section h4 { font-size: 18px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 20px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .page-hero { min-height: 280px; }
  .page-hero-title { font-size: 30px; }
  .page-hero-sub { font-size: 15px; line-height: 1.55; }
  .page-hero-inner { padding-block: 56px 40px; }
  .page-hero-crumbs { font-size: 13px; }
  .page-body { padding-block: 28px 56px; }
  .page-section { padding: 12px 0 32px; }
  .page-section p { font-size: 15px; line-height: 1.7; }
  .page-section h2 { font-size: 22px; }
  .page-section h3 { font-size: 19px; }
  .page-section h4 { font-size: 17px; }
  .section-title { font-size: 26px; }
  .subsection-title { font-size: 19px; margin-bottom: 14px; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .section-title { font-size: 23px; }
  .subsection-title { font-size: 18px; margin-bottom: 12px; }
  .section-rule { width: 56px; height: 3px; margin: 4px 0 20px; }
  .page-hero { min-height: 240px; }
  .page-hero-title { font-size: 24px; margin-top: 10px; }
  .page-hero-inner { padding-block: 44px 32px; }
  .page-hero-sub { font-size: 14.5px; }
  .page-body { padding-block: 22px 48px; }
  .page-content { max-width: 100%; }
  .page-section { padding: 10px 0 28px; }
  .page-section > * + * { margin-top: 14px; }
  .page-section p { font-size: 14.5px; line-height: 1.72; margin-bottom: 12px; }
  .page-section h2 { font-size: 20px; margin-top: 20px; }
  .page-section h3 { font-size: 18px; margin-top: 18px; }
  .page-section h4 { font-size: 16px; margin-top: 16px; }
  .page-section blockquote { padding: 14px 16px; }
  .page-section ul, .page-section ol { padding-left: 20px; }
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 12px 30px -18px rgba(9,23,55,0.28);
}
.feature-card h4 {
  color: var(--navy-deep);
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 700;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--body);
  margin: 0;
  line-height: 1.65;
}

.tick-list,
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}
.tick-list li {
  position: relative;
  padding-left: 34px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--body);
}
.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.numbered-list {
  counter-reset: nl;
  gap: 14px;
}
.numbered-list li {
  counter-increment: nl;
  position: relative;
  padding-left: 42px;
  line-height: 1.65;
  color: var(--body);
  font-size: 15.5px;
}
.numbered-list li::before {
  content: counter(nl);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--navy-deep);
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-block {
  margin-top: 24px;
  padding: 32px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #091737 0%, #122a5f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-block h2, .cta-block h3 { color: #fff; margin-top: 0; }
.cta-block p { color: rgba(255,255,255,0.82); }
.cta-block .muted { color: rgba(255,255,255,0.7) !important; }
.cta-block .hero-actions { justify-content: flex-start; }

.card-form {
  padding: 28px;
}
.card-form h3 {
  margin: 0 0 18px;
  color: var(--navy-deep);
  font-size: 20px;
  font-weight: 700;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}
.form-group-full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d5dae3;
  border-radius: 10px;
  font-size: 14.5px;
  background: #fff;
  color: #1a2340;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
}
textarea.form-control { resize: vertical; min-height: 88px; line-height: 1.55; }
.form-group button { width: auto; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .card-form { padding: 20px; }
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.contact-list li {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--body);
}
.contact-list li strong {
  display: inline-block;
  min-width: 128px;
  color: var(--navy-deep);
  font-weight: 700;
}

.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2,1fr); gap: 16px; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 16px 36px -20px rgba(9,23,55,0.3);
}
.blog-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #eceff5;
}
.blog-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-meta { margin: 0; letter-spacing: 0.02em; }
.blog-card-title { margin: 0; }
.blog-card-title a {
  color: var(--navy-deep);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt { margin: 0; font-size: 14px; line-height: 1.65; flex: 1; }
.blog-card-body .btn { align-self: flex-start; margin-top: 4px; }

.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  font-style: italic;
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--navy-deep);
  border: 2px solid rgba(212,175,55,0.5);
  flex-shrink: 0;
}
.testimonial-card figcaption strong { display: block; color: var(--navy-deep); font-size: 15px; }
.testimonial-card figcaption span { font-size: 12px; }

.btn-sm { padding: 9px 16px; font-size: 12px; letter-spacing: 0.08em; border-radius: 8px; }
.btn-ghost {
  background: transparent;
  color: var(--navy-deep);
  border: 1px solid transparent;
  padding-left: 0;
  padding-right: 0;
  font-weight: 600;
}
.btn-ghost:hover { color: var(--gold); }

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0 10px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 14.5px;
}
.table th, .table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.table thead th {
  background: #0b1c44;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 0;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #f8faff; }

.post-body {
  max-width: 1200px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 48px;
  align-items: flex-start;
}
.post-content .post-html { margin-top: 8px; }
.post-content p { font-size: 16.5px; line-height: 1.8; color: #1d2847; }
.post-content h2, .post-content h3, .post-content h4 { color: var(--navy-deep); margin-top: 28px; font-weight: 700; }
.post-excerpt.lead-in {
  font-size: 19px;
  line-height: 1.65;
  color: #0b1c44;
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  background: #fdfaf1;
  margin-bottom: 26px;
  border-radius: 0 12px 12px 0;
}
.post-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.post-aside .card { padding: 22px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.related-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.related-item:hover { background: #f4f7fd; }
.related-item strong {
  display: block;
  color: var(--navy-deep);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}
.related-item em { font-style: normal; display: block; margin-top: 2px; }
.related-thumb {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: #eceff5;
}
@media (max-width: 900px) {
  .post-body { grid-template-columns: 1fr; gap: 32px; }
  .post-aside { position: static; }
}

/* ============================================================
   PHASE 11 — 5-SECTION HOMEPAGE MATCH homepage.png LAYOUT
   Classes: hero | welcome-mvv | facilities-strip | jdlife | admissions-cta
   ============================================================ */

/* --- Eyebrow (reusable across sections) --- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a43b;
}
.eyebrow.with-rule {
  position: relative;
  padding-left: 58px;
  line-height: 22px;
}
.eyebrow.with-rule::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 44px; height: 2px;
  background: linear-gradient(90deg, #d4af37, transparent);
  transform: translateY(-50%);
}

/* ======================= 1. HERO (section system) ======================= */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 640px;
  height: auto;
  max-height: 900px;
  color: #081439;
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
  background: #f6f4ef;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-bg-mobile { display: none; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(246 244 239 / 85%) 0%, rgb(246 244 239 / 40%) 34%, rgb(246 244 239 / 0%) 68%, rgb(246 244 239 / 0%) 100%), linear-gradient(180deg, rgb(8 20 57 / 0%) 0%, rgb(8 20 57 / 0%) 42%, rgb(8 20 57 / 0%) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 60px;
  gap: 32px;
  align-items: center;
  width: 100%;
  min-height: 100%;
  padding-block: 48px 16px;
  margin: 0 auto;
  box-sizing: border-box;
}
.hero-content {
  max-width: 760px;
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.hero-heading {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  padding: 0;
  color: #0a2b65;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
  width: 100%;
}
.hero-line {
  display: block;
  color: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 1.04;
}
.hero-line + .hero-line { margin-top: 4px; }
.hero-divider {
  width: 68px; height: 3px;
  background: linear-gradient(90deg, #b78a3a 0%, #e8c867 100%);
  margin: 0 0 24px;
  border-radius: 3px;
}
.hero-sub {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 560px;
}
.hero-eyebrow {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #081439;
  background: #ffffff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(8, 20, 57, 0.06);
  box-shadow: 0 6px 18px rgba(8, 20, 57, 0.08);
  margin: 0 0 10px;
  line-height: 1.4;
  box-sizing: border-box;
}
.hero-subtitle {
  font-size: clamp(15px, 1.45vw, 17.5px);
  line-height: 1.75;
  margin: 0;
  padding: 0;
  color: #2f3d5a;
  max-width: 560px;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}
.hero-subtitle + .hero-subtitle { margin-top: 2px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.hero-actions .btn {
  min-height: 54px;
  padding: 14px 28px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(8, 20, 57, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hero-actions .btn-primary {
  background: #0a2b65;
  border-color: #0a2b65;
  color: #fff;
}
.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:active {
  background: #0d367e;
  border-color: #0d367e;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(10, 43, 101, 0.38);
}
.hero-actions .btn-outline-white {
  border-color: rgba(10,43,101,0.2);
  color: #0a2b65;
  background: rgba(255,255,255,0.72);
}
.hero-actions .btn-outline-white:hover,
.hero-actions .btn-outline-white:active {
  background: #0a2b65;
  border-color: #0a2b65;
  color: #fff;
}
.hero-dots {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: end;
  padding-bottom: 24px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(10, 43, 101, 0.28);
  transition: all .25s ease;
  cursor: pointer;
}
.hero-dot.is-active {
  width: 10px; height: 28px;
  border-radius: 999px;
  background: #0a2b65;
  box-shadow: 0 0 0 3px rgba(183, 138, 58, 0.35);
}

/* ======================= 2. WELCOME + MVV ======================= */
.welcome-mvv {
  padding: 36px 0;
  background: #ffffff;
}
.wmvv-grid {
  display: grid;
  grid-template-columns: 36fr 38fr 26fr;
  gap: 56px;
  align-items: center;
}
.wmvv-copy { }
.wmvv-title {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.1;
  color: #081439;
  margin: 18px 0 24px;
  letter-spacing: -0.01em;
}
.wmvv-body {
  color: #42506c;
  font-size: 16.5px;
  line-height: 1.85;
}
.wmvv-body p { margin: 0 0 14px; }
.wmvv-body p:last-child { margin-bottom: 0; }
.wmvv-cta { margin-top: 36px; }
.wmvv-cta-btn {
  background: #081439 !important;
  border-color: #081439 !important;
  color: #fff !important;
  padding: 16px 32px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  font-size: 14px !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}
.wmvv-cta-btn:hover {
  background: #0a1e55 !important;
  border-color: #0a1e55 !important;
  color: #fff !important;
}

.wmvv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 0;
  background: transparent;
}
.mvv-card {
  position: relative;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  padding: 20px 26px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.mvv-card.has-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: #e6ebf5;
}
.mvv-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  color: #d4af37;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  text-align: center;
}
.mvv-card-icon svg {
  width: 44px;
  height: 44px;
  stroke-width: 1.8;
  color: #d4af37;
  fill: none;
  margin: 0 auto;
}
.mvv-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #081439;
  margin: 0 0 14px;
  text-align: left;
}
.mvv-card-body {
  color: #4d5a77;
  font-size: 14.5px;
  line-height: 1.8;
  text-align: left;
}
.mvv-card-body p { margin: 0 0 6px; }
.mvv-card-body p:last-child { margin-bottom: 0; }

.wmvv-carousel {
  position: relative;
}
.wmvv-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e6ebf5;
  color: #081439;
  box-shadow: 0 6px 18px rgba(8, 20, 57, 0.10);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.wmvv-nav svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
  flex-shrink: 0;
}
.wmvv-nav:active { transform: translateY(-50%) scale(0.94); }
.wmvv-nav:hover,
.wmvv-nav:focus-visible {
  background: #081439;
  color: #ffffff;
  border-color: #081439;
  box-shadow: 0 8px 22px rgba(8, 20, 57, 0.22);
  outline: none;
}
.wmvv-nav.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.wmvv-image {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 3 / 4;
  background: #f2f5ff;
}
.wmvv-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

/* ======================= 3. FACILITIES STRIP ======================= */
.facilities-strip {
  padding: 100px 0 120px;
  background: linear-gradient(180deg, #fbfaf4 0%, #f7f3e6 100%);
}
.fstrip-head { text-align: center; margin-bottom: 56px; }
.fstrip-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.2;
  color: #081439;
  margin: 0 auto;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.fstrip-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.fstrip-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 5;
  background: #0a1e55;
  isolation: isolate;
  box-shadow: 0 14px 30px -16px rgba(10,30,90,0.28);
}
.fstrip-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease, opacity .25s ease;
}
.fstrip-tile:hover .fstrip-img {
  transform: scale(1.08);
  opacity: 0.55;
}
.fstrip-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 14px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(8,20,57,0.88) 65%, rgba(8,20,57,0.95) 100%);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ======================= 4. JDLIFE MOSAIC ======================= */
.jdlife {
  padding: 110px 0;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}
.jdlife-grid {
  display: grid;
  grid-template-columns: 29fr 71fr;
  gap: 64px;
  align-items: center;
}
.jdlife-copy { max-width: 420px; }
.jdlife-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  color: #081439;
  margin: 18px 0 22px;
  letter-spacing: -0.01em;
}
.jdlife-body {
  color: #42506c;
  font-size: 16px;
  line-height: 1.9;
}
.jdlife-body p { margin: 0 0 14px; }
.jdlife-cta { margin-top: 32px; }

.jdlife-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 10px;
}
.mosaic-tile {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 14px; background: #0a1e55;
  isolation: isolate;
  box-shadow: 0 14px 30px -18px rgba(10,30,90,0.25);
}
.mosaic-tile.mosaic-1 { grid-column: span 2; grid-row: span 1; }
.mosaic-tile.mosaic-2 { grid-column: span 2; grid-row: span 1; }
.mosaic-tile.mosaic-3 { grid-column: span 2; grid-row: span 1; }
.mosaic-tile.mosaic-4 { grid-column: span 2; grid-row: span 1; }
.mosaic-tile.mosaic-5 { grid-column: span 2; grid-row: span 1; }
.mosaic-tile.mosaic-6 { grid-column: span 2; grid-row: span 1; }

.mosaic-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .3s ease;
}
.mosaic-tile:hover .mosaic-img {
  transform: scale(1.08);
  filter: brightness(0.7);
}
.mosaic-cap {
  position: absolute; inset: 0;
  display: grid; place-items: end center;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent 50%, rgba(8,20,57,0.82) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.mosaic-tile:hover .mosaic-cap { opacity: 1; }
.mosaic-cap span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(212,175,55,0.92);
  color: #081439;
}

/* ======================= 5. ADMISSIONS CTA BANNER ======================= */
.admissions-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, #061234 0%, #0a1f5c 55%, #0f2a78 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.admissions-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 240px at 10% 10%, rgba(212,175,55,0.12), transparent 60%),
    radial-gradient(600px 300px at 90% 90%, rgba(30,58,138,0.45), transparent 60%);
  pointer-events: none;
}
.acta-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 38fr 40fr 22fr;
  gap: 44px;
  align-items: center;
}
.acta-left { display: flex; align-items: center; gap: 22px; }
.acta-icon {
  width: 78px; height: 78px; flex-shrink: 0;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,175,55,0.3);
  color: #f5c958;
  display: grid; place-items: center;
}
.acta-icon svg { width: 44px; height: 44px; }
.acta-head { display: flex; flex-direction: column; gap: 8px; }
.acta-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #f5c958;
  text-transform: uppercase;
}
.acta-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
.acta-title span { display: block; }
.acta-middle {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.85;
}
.acta-middle p { margin: 0 0 8px; }
.acta-middle p:last-child { margin-bottom: 0; }
.acta-right { text-align: right; }

/* ======================= RESPONSIVE BREAKPOINTS ======================= */
@media (max-width: 1080px) {
  .wmvv-grid { grid-template-columns: 1fr 1fr; gap: 44px 40px; }
  .wmvv-copy  { grid-column: 1 / -1; max-width: 640px; }
  .wmvv-cards { grid-column: 1 / 2; grid-template-columns: 1fr; gap: 0; }
  .wmvv-image { grid-column: 2 / 3; max-width: 100%; aspect-ratio: 3/4.2; }
  .mvv-card.has-divider::before { left: 0; right: auto; top: 0; bottom: auto; width: 100%; height: 1px; }
  .jdlife-grid { grid-template-columns: 1fr; gap: 40px; }
  .jdlife-copy { max-width: 100%; }
  .fstrip-row { grid-template-columns: repeat(3, 1fr); }
  .acta-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .acta-right { grid-column: span 2; text-align: left; }
}
@media (max-width: 820px) {
  .hero { min-height: 540px; height: auto; padding: 108px 0 56px; }
  .hero-bg-mobile { display: block; object-position: -636px;}
  .hero-bg-desktop { display: none; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(246, 244, 239, 0.92) 0%, rgba(246, 244, 239, 0.80) 42%, rgba(246, 244, 239, 0.48) 78%, rgba(246, 244, 239, 0.14) 100%),
      linear-gradient(180deg, rgba(8, 20, 57, 0.12) 0%, rgba(8, 20, 57, 0) 42%, rgba(8, 20, 57, 0.24) 100%);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 64px 32px;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-content {
    max-width: 100%;
    text-align: left;
    padding-block: 16px 0;
  }
  .hero-heading {
    font-size: clamp(0px, 19vw, 44px) !important;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: #0a2b65;
    margin-bottom: 16px;
            margin-top: -113px;
  }
  .hero-eyebrow {
    font-size: 12.5px;
    letter-spacing: 0.14em;
    padding: 7px 14px;
    margin-bottom: 14px;
    color: #081439;
    background: #ffffff;
    border-color: rgba(8, 20, 57, 0.08);
    box-shadow: 0 4px 12px rgba(8, 20, 57, 0.08);
  }
  .hero-subtitle {
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 100%;
    margin-bottom: 22px;
    color: #2f3d5a;
  }
  .hero-divider {
    width: 52px;
    height: 2.5px;
    margin: 0 0 20px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-actions .btn,
  .hero-actions .btn-primary,
  .hero-actions .btn-outline-white {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 14px 18px;
    font-size: 12.5px;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    border-radius: 10px;
  }
  .hero-dots {
    flex-direction: row;
    justify-content: flex-start;
    padding-bottom: 0;
    margin-top: 12px;
  }
  .hero-dot.is-active { width: 28px; height: 10px; }

  .welcome-mvv { padding: 64px 0; }
  .wmvv-grid { grid-template-columns: 1fr; gap: 36px; }
  .wmvv-copy, .wmvv-carousel, .wmvv-image { grid-column: 1 / -1; }
  .wmvv-title {
    font-size: clamp(26px, 6.4vw, 34px);
    margin: 14px 0 18px;
    letter-spacing: -0.01em;
  }
  .wmvv-body { font-size: 14.5px; line-height: 1.78; }
  .wmvv-cta { margin-top: 24px; }
  .wmvv-cta-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 14px 20px !important;
    font-size: 12.5px !important;
    letter-spacing: 0.1em !important;
  }
  .wmvv-carousel {
    padding: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .wmvv-nav {
    display: inline-flex;
    width: 40px;
    height: 40px;
    top: calc(50% - 10px);
  }
  .wmvv-nav svg { width: 18px; height: 18px; }
  .wmvv-nav--prev { left: 6px; transform: translateY(-50%) translateX(0); }
  .wmvv-nav--next { right: 6px; transform: translateY(-50%) translateX(0); }
  .wmvv-nav--prev:active { transform: translateY(-50%) scale(0.94); }
  .wmvv-nav--next:active { transform: translateY(-50%) scale(0.94); }
  .wmvv-cards {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 4px 14px 18px;
    margin-inline: 0;
    scrollbar-width: none;
    touch-action: pan-x;
    width: 100%;
    box-sizing: border-box;
  }
  .wmvv-cards::-webkit-scrollbar { display: none; }
  .wmvv-cards.is-scrolling-none { overflow-x: hidden; }
  .mvv-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 28px 22px 26px;
    min-height: 0;
    border-radius: 18px;
    align-items: center;
    text-align: center;
    box-shadow: 0 6px 24px rgba(8, 20, 57, 0.08), 0 2px 6px rgba(8, 20, 57, 0.04);
  }
  .mvv-card-icon { margin: 0 auto 16px; }
  .mvv-card-title {
    text-align: center;
    font-size: 16px;
    margin: 0 0 12px;
  }
  .mvv-card-body {
    text-align: center;
    font-size: 15px;
    line-height: 1.75;
  }
  .wmvv-image { max-width: 100%; margin: 0 auto; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; }
  .mvv-card.has-divider::before { display: none; }

  .facilities-strip { padding: 64px 0 76px; }
  .fstrip-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fstrip-head { margin-bottom: 30px; }
  .fstrip-title { font-size: 24px; letter-spacing: -0.01em; }
  .fstrip-sub { font-size: 14px; line-height: 1.7; }

  .jdlife { padding: 64px 0; }
  .jdlife-copy h2 {
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.15;
    margin-bottom: 16px;
  }
  .jdlife-copy p {
    font-size: 14.5px;
    line-height: 1.78;
    margin-bottom: 20px;
  }
  .jdlife-copy .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .jdlife-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 160px);
    gap: 10px;
  }
  .mosaic-tile.mosaic-1, .mosaic-tile.mosaic-2, .mosaic-tile.mosaic-3,
  .mosaic-tile.mosaic-4, .mosaic-tile.mosaic-5, .mosaic-tile.mosaic-6 {
    grid-column: span 1; grid-row: span 1;
  }
  .mosaic-caption {
    padding: 8px 10px;
    font-size: 11.5px;
    letter-spacing: 0.1em;
  }

  .admissions-cta { padding: 52px 0; }
  .acta-inner { grid-template-columns: 1fr; gap: 24px; }
  .acta-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
  }
  .acta-icon {
    width: 60px;
    height: 60px;
  }
  .acta-icon svg { width: 34px; height: 34px; }
  .acta-eyebrow { font-size: 11px; letter-spacing: 0.2em; }
  .acta-title { font-size: 22px; line-height: 1.25; }
  .acta-middle p { font-size: 14.5px; line-height: 1.72; }
  .acta-right {
    grid-column: span 1;
    text-align: left;
    width: 100%;
  }
  .acta-right .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 12.5px;
    letter-spacing: 0.08em;
  }
}
@media (max-width: 480px) {
  .fstrip-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-heading { font-size: 28px !important; line-height: 1.1; }
  .hero-subtitle { font-size: 14px; }
  .wmvv-carousel {
    padding: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .wmvv-nav {
    width: 36px;
    height: 36px;
    top: calc(50% - 10px);
  }
  .wmvv-nav svg { width: 16px; height: 16px; }
  .wmvv-nav--prev { left: 4px; transform: translateY(-50%) translateX(0); }
  .wmvv-nav--next { right: 4px; transform: translateY(-50%) translateX(0); }
  .wmvv-nav--prev:active { transform: translateY(-50%) scale(0.94); }
  .wmvv-nav--next:active { transform: translateY(-50%) scale(0.94); }
  .wmvv-cards {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    padding: 4px 12px 18px;
    width: 100%;
    box-sizing: border-box;
  }
  .mvv-card { flex: 0 0 100%; }
  .mvv-card.has-divider::before { display: none; }
  .wmvv-cta-btn { padding: 14px 20px !important; font-size: 12.5px !important; }
  .jdlife-mosaic { grid-template-rows: repeat(3, 140px); }
}

/* ================================
   ADMISSIONS PAGE — CUSTOM STYLES
   ================================ */
.btn-navy {
  display:inline-flex; align-items:center; gap:8px;
  background: var(--navy); color:#fff; border:1.5px solid var(--navy);
  padding:12px 22px; border-radius:10px; font-weight:700; letter-spacing:.02em;
  text-decoration:none; cursor:pointer; font-family:inherit;
  box-shadow: 0 10px 22px -14px rgba(10,43,102,.65);
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn-navy:hover { background: var(--navy-deep); filter:brightness(1.08); }
.btn-block { display:flex; width:100%; justify-content:center; }
.btn-gold {
  display:inline-flex; align-items:center; gap:8px;
  background: var(--gold); color: #1a1a1a; border:1.5px solid var(--gold);
  padding:12px 22px; border-radius:10px; font-weight:800; letter-spacing:.02em;
  text-decoration:none; cursor:pointer; font-family:inherit;
  box-shadow: 0 10px 24px -14px rgba(184,134,31,.7);
  transition: all .15s ease;
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }

/* Shared admissions section heading */
.adm-section-head { text-align:center; margin-bottom: 30px; position:relative; }
.adm-section-title {
  font-size: 26px; font-weight: 800; color: var(--navy-deep); margin: 0 0 10px;
  letter-spacing: .01em; font-family: 'Poppins', 'Inter', sans-serif;
}
.adm-title-underline {
  display:block; width: 50px; height: 3px; border-radius: 2px; background: var(--gold);
  margin: 0 auto;
}
.adm-left-head { text-align:left; }
.adm-left-uline { margin: 0 auto 0 0; }
.adm-section-cta { text-align:center; margin-top: 22px; }

/* ---- ADMISSIONS HERO (with enquiry form) ---- */
.adm-hero { position:relative; padding: 48px 0 60px; overflow:hidden; }
.adm-hero-bg { position:absolute; inset:0; z-index:0; }
.adm-hero-bg img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.adm-hero-bg-mobile { display:none; }
.adm-hero-overlay {
  position:absolute; inset:0;
}
.adm-hero-inner { position:relative; z-index:1; }
.adm-hero-grid {
  display:grid; grid-template-columns: 1.05fr 0.35fr; gap: 36px; align-items: center;
}
.adm-hero-copy { padding-right: 8px; }
.adm-hero-eyebrow {
  display:inline-block; font-weight:800; font-size: 12px; letter-spacing:.1em;
  color: var(--gold-dark); margin-bottom: 12px; text-transform:uppercase;
}
.adm-hero-title {
  font-size: 38px; font-weight: 900; line-height: 1.05; margin:0 0 14px;
  color: var(--navy-deep); font-family: 'Poppins', sans-serif; letter-spacing:-.01em;
}
.adm-hero-title span { display:block; }
.adm-hero-title .adm-hero-gold { color: var(--gold-dark); }
.adm-hero-body { color: #333e61; font-size: 14px; line-height: 1.55; margin-bottom: 16px; max-width: 480px; }
.adm-hero-badges { list-style:none; padding:0; margin:0 0 18px; display:flex; flex-wrap:wrap; gap: 12px; }
.adm-hero-badges li {
  display:flex; align-items:center; gap:8px;
  font-weight:600; color: var(--navy-deep); font-size: 13px;
}
.adm-badge-icon {
  width: 30px; height: 30px; border-radius:50%;
  background: #fff; color: var(--navy);
  display:grid; place-items:center; box-shadow: 0 6px 16px -6px rgba(10,43,102,.28);
  border: 1px solid #e6ebfa;
}
.adm-badge-icon svg { width:14px; height:14px; stroke: var(--navy-deep); }
.adm-hero-actions { display:flex; flex-wrap:wrap; gap: 10px; }

/* Right enquiry form */
.adm-hero-formcard {
  background: rgba(10, 43, 102, 0.96); backdrop-filter: blur(6px);
  border-radius: 14px; padding: 22px 20px; color:#fff;
  box-shadow: 0 28px 70px -28px rgba(10,43,102,.55);
  border: 1px solid rgba(255,255,255,.08);
}
.adm-form-head { display:flex; gap: 10px; align-items:flex-start; margin-bottom: 14px; }
.adm-form-head svg { flex-shrink:0; width:24px; height:24px; color: var(--gold); margin-top: 2px; }
.adm-form-head h2 { margin:0 0 3px; color: var(--gold); font-size: 17px; font-weight:800; letter-spacing:.02em; }
.adm-form-head p  { margin:0; color: #dbe4ff; font-size: 12px; line-height: 1.4; }
.adm-enquiry-form .form-group { margin-bottom: 9px; }
.adm-enquiry-form label {
  display:block; font-size: 11.5px; font-weight:600; color:#cfd9ff;
  margin-bottom: 4px; letter-spacing:.01em;
}
.adm-enquiry-form input[type="text"],
.adm-enquiry-form input[type="email"],
.adm-enquiry-form input[type="tel"],
.adm-enquiry-form select {
  width:100%; box-sizing:border-box;
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.18);
  color:#fff; padding: 8px 11px; border-radius: 8px; font-size: 13px;
  transition: border-color .15s ease, background .15s ease;
  font-family: inherit;
}
.adm-enquiry-form input::placeholder { color: #9ca9cf; }
.adm-enquiry-form input:focus, .adm-enquiry-form select:focus {
  outline: none; border-color: var(--gold); background: rgba(255,255,255,.1);
}
.adm-enquiry-form select option { background: var(--navy-deep); color:#fff; }
.adm-form-submit { margin-top: 10px; }
.adm-form-privacy {
  display:flex; align-items:center; justify-content:center; gap:6px;
  color: #c8d3f5; font-size: 10.5px; margin: 10px 0 0; text-align:center;
}

/* ---- HOW TO APPLY 5-step timeline ---- */
.adm-steps { padding: 48px 0 44px; background: #fff; }
.adm-steps-grid {
  list-style:none; padding:0; margin:0;
  display:grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  position:relative;
}
.adm-step-item {
  position:relative; text-align:center; padding: 12px 8px 8px;
  background: #fafbff; border: 1px solid #e8ecfa; border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.adm-step-item:hover {
  transform: translateY(-2px);
  border-color: #d5ddf7;
  box-shadow: 0 10px 22px -16px rgba(10,43,102,.35);
}
.adm-step-arrow {
  position:absolute; right: -10px; top: 38px; z-index:2;
  color: var(--gold); font-weight: 900; font-size: 14px;
  width: 22px; height:22px; border-radius:50%;
  background:#fff; box-shadow: 0 4px 10px -4px rgba(10,43,102,.2);
  display:grid; place-items:center; border:1px solid #eef1fb;
}
.adm-step-icon {
  width: 66px; height: 66px; border-radius: 50%;
  background: #fff; color: var(--navy-deep); margin: 0 auto 10px;
  display:grid; place-items:center;
  border: 1.5px dashed #cfd9f7;
  box-shadow: 0 6px 18px -8px rgba(10,43,102,.3);
}
.adm-step-icon svg { width:40px; height:40px; stroke-width:2; stroke: var(--navy-deep); }
.adm-step-num {
  font-size: 10px; font-weight: 800; letter-spacing:.1em;
  color: var(--gold-dark); margin-bottom: 4px;
}
.adm-step-title {
  font-size: 13.5px; font-weight: 800; color: var(--navy-deep);
  margin: 0 0 5px; font-family: 'Poppins', sans-serif;
}
.adm-step-item p { font-size: 11.5px; color: #55627f; line-height: 1.45; margin: 0; }

/* ---- ADMISSIONS GRADE CARDS ---- */
.adm-grades { padding: 48px 0 52px; background: #f6f4ef; }
.adm-grades-grid {
  display:grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.adm-grade-card {
  background: var(--navy-deep); color:#fff;
  border-radius: 14px; overflow:hidden;
  box-shadow: 0 14px 28px -18px rgba(8,35,82,.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.adm-grade-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -20px rgba(8,35,82,.65); }
.adm-grade-img { position:relative; aspect-ratio: 4/2.4; background:#0a1e55; }
.adm-grade-img img { width:100%; height:100%; object-fit:cover; display:block; opacity:.86; }
.adm-grade-icon {
  position:absolute; left:50%; bottom:-16px; transform:translateX(-50%);
  width: 50px; height: 50px; border-radius:50%;
  background: var(--gold); color: var(--navy-deep);
  display:grid; place-items:center;
  border: 2.5px solid #fff;
  box-shadow: 0 8px 16px -8px rgba(184,134,31,.7);
  z-index: 2;
}
.adm-grade-icon svg { width:28px; height:28px; stroke: var(--navy-deep); }
.adm-grade-body { padding: 24px 14px 16px; text-align: center; }
.adm-grade-body h3 {
  margin: 0 0 6px; font-size: 14px; font-weight: 800;
  color: var(--gold); letter-spacing:.04em; font-family: 'Poppins', sans-serif;
}
.adm-grade-body p { font-size: 11.5px; color: #dce5ff; margin:0; line-height:1.5; }

/* ---- WHY CHOOSE US + CAMPUS VISIT CTA ---- */
.adm-why { padding: 52px 0; background: #fff; }
.adm-why-wrap {
  background: #fafbff; border: 1px solid #e7ebfa; border-radius: 18px;
  padding: 26px;
  display:grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px; align-items: stretch;
}
.adm-features-grid {
  display:grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.adm-feat { display:flex; gap: 10px; align-items:flex-start; }
.adm-feat-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink:0;
  background: var(--navy-deep); color: var(--gold);
  display:grid; place-items:center;
}
.adm-feat-icon svg { width:18px; height:18px; stroke: var(--gold); }
.adm-feat h3 {
  margin: 0 0 3px; font-size: 13.5px; font-weight: 800;
  color: var(--navy-deep); font-family: 'Poppins', sans-serif;
}
.adm-feat p { font-size: 11.5px; line-height:1.45; color: #55627f; margin:0; }

.adm-campus-cta {
  position:relative; border-radius: 14px; overflow:hidden;
  background-image: var(--bgImg); background-size:cover; background-position:center;
  color: #fff; isolation:isolate;
  min-height: 260px;
}
.adm-campus-overlay {
  position:absolute; inset:0; z-index: 0;
 background: linear-gradient(90deg, rgb(7 38 93) 0%, rgb(8 35 82 / 19%) 70%); 
}
.adm-campus-content {
  position:relative; z-index:1; padding: 24px 20px;
  display:flex; flex-direction:column; gap: 10px; justify-content:center;
  height:100%;
}
.adm-campus-icon {
  width: 40px; height:40px; border-radius: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: var(--gold); display:grid; place-items:center; margin-bottom: 0px;
}
.adm-campus-icon svg { width:20px; height:20px; }
.adm-campus-content h3 {
  margin: 0; font-size: 18px; font-weight: 800; color: var(--gold);
  letter-spacing:.02em; font-family: 'Poppins', sans-serif;
}
.adm-campus-content p { font-size: 12.5px; color: #e3eaff; line-height: 1.5; margin: 0; }
.adm-campus-content .btn { align-self:flex-start; margin-top: 2px; }

/* ---- DOCUMENTS REQUIRED ---- */
.adm-docs { padding: 48px 0 38px; background: #fff; }
.adm-docs-grid {
  display:grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.adm-doc {
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding: 10px 6px;
  position:relative;
}
.adm-doc + .adm-doc::before {
  content:""; position:absolute; left: -6px; top: 28px;
  width: 12px; height: 2px;
  background: repeating-linear-gradient(90deg, #cfd9f7 0 3px, transparent 3px 6px);
}
.adm-doc-icon {
  width: 64px; height:64px; border-radius: 50%;
  background: #fff; color: var(--navy-deep); border: 1.5px solid #e1e7fa;
  display:grid; place-items:center; margin-bottom: 10px;
  box-shadow: 0 8px 16px -12px rgba(10,43,102,.45);
}
.adm-doc-icon svg { width:40px; height:40px; stroke: var(--navy-deep); }
.adm-doc-label { font-size: 11.5px; line-height:1.35; color: var(--navy-deep); }
.adm-doc-label strong { display:block; margin-bottom: 1px; font-weight: 700; }
.adm-doc-label span { font-size: 10.5px; color: #7d88a9; }

/* ---- ADMISSIONS CTA BOTTOM ---- */
.adm-cta-bottom {
  position:relative; overflow:hidden; isolation:isolate;
  background-image: var(--bgImg); background-size:cover; background-position:center;
  color:#fff; padding: 48px 0;
}
.adm-cta-overlay {
  position:absolute; inset:0; z-index:0;
  background: linear-gradient(90deg, rgba(8, 35, 82, .95) 0%, rgb(163 173 190 / 0%) 45%, rgb(10 43 102) 100%);
}
.adm-cta-bottom-inner {
  position:relative; z-index:1;
  display:grid; grid-template-columns: 1.1fr 0.4fr; gap: 30px; align-items:center;
}
.adm-cta-eyebrow {
  display:inline-block; color: var(--gold); font-weight: 800;
  font-size: 12px; letter-spacing: .1em; margin-bottom: 8px;
}
.adm-cta-title {
  font-size: 22px; font-weight: 800; line-height: 1.25;
  color: #fff;
  letter-spacing:.04em;
  margin: 0 0 16px; max-width: 420px; font-family: 'Poppins', sans-serif;
}
.adm-cta-contact {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 20px 22px; backdrop-filter: blur(4px);
}
.adm-contact-head { font-size: 13.5px; color: #e3eaff; line-height:1.4; margin: 0 0 14px; }
.adm-contact-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap: 8px; }
.adm-contact-list li { display:flex; align-items:center; gap: 10px; }
.adm-contact-list svg { flex-shrink:0; width:16px; height:16px; color: var(--gold); }
.adm-contact-list a { color: #fff; text-decoration:none; font-weight:600; font-size: 13.5px; }
.adm-contact-list a:hover { color: var(--gold); }
.adm-sep { color: #9aa9d3; margin: 0 4px; }

/* ---- ADMISSIONS RESPONSIVE BREAKPOINTS ---- */
@media (max-width: 1200px) {
  .adm-hero-title { font-size: 32px; }
  .adm-steps-grid { grid-template-columns: repeat(3, 1fr); }
  .adm-step-arrow { display: none; }
  .adm-grades-grid { grid-template-columns: repeat(3, 1fr); }
  .adm-docs-grid { grid-template-columns: repeat(3, 1fr); }
  .adm-doc + .adm-doc::before { display:none; }
}
@media (max-width: 980px) {
  .adm-hero { padding: 38px 0 48px; }
  .adm-hero-bg-desktop { display:none; }
  .adm-hero-bg-mobile { display:block; }
  .adm-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .adm-hero-title { font-size: 28px; }
  .adm-hero-badges { gap: 10px; }
  .adm-why-wrap { grid-template-columns: 1fr; padding: 20px; }
  .adm-features-grid { grid-template-columns: 1fr; }
  .adm-cta-bottom-inner { grid-template-columns: 1fr; gap: 20px; }
  .adm-grades-grid { grid-template-columns: repeat(2, 1fr); }
  .adm-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .adm-section-title { font-size: 20px; }
  .adm-hero-title { font-size: 24px; }
  .adm-hero-actions .btn { width:100%; justify-content:center; }
  .adm-hero-formcard { padding: 18px 14px; border-radius: 12px; }
  .adm-grades-grid, .adm-steps-grid, .adm-docs-grid { grid-template-columns: 1fr 1fr; }
  .adm-why-wrap { padding: 16px 14px; }
  .adm-campus-content { padding: 18px 14px; }
  .adm-campus-content h3 { font-size: 16px; }
  .adm-cta-bottom { padding: 38px 0; }
  .adm-cta-title { font-size: 18px; }
  .adm-cta-contact { padding: 16px 14px; }
}
@media (max-width: 480px) {
  .adm-grades-grid, .adm-steps-grid, .adm-docs-grid { grid-template-columns: 1fr; }
  .adm-grade-card, .adm-step-item, .adm-doc { max-width: 340px; margin: 0 auto; width: 100%; }
  .adm-hero-actions { flex-direction: column; }
  .adm-hero-actions .btn { width: 100%; justify-content: center; }
}

/* ================================
   PHOTO GALLERY PAGE — CUSTOM STYLES
   Tabs + Uniform Grid + Lightbox
   ================================ */

/* Compact gallery container (narrower than standard, less side space) */
.container-gallery {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container-gallery { padding: 0 24px; }
}
@media (min-width: 1200px) {
  .container-gallery { padding: 0 32px; }
}

/* Gallery section spacing (compact) */
.gallery-section {
  padding: 40px 0 64px;
  background: #fff;
}
@media (min-width: 768px) {
  .gallery-section { padding: 48px 0 72px; }
}

/* ====== GALLERY TABS ====== */
.gallery-tabs-wrap {
  margin: 0 0 28px;
  padding: 0 0 18px;
  border-bottom: 1px solid #e6e8f0;
}
.gallery-tabs {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.gallery-tabs::-webkit-scrollbar {
  height: 4px;
}
.gallery-tabs::-webkit-scrollbar-thumb {
  background: #d5d9e4;
  border-radius: 4px;
}
.gallery-tabs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  min-width: max-content;
}
.gallery-tab-item {
  flex-shrink: 0;
}
.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid #dde1ec;
  background: #fff;
  color: #4a5678;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.gallery-tab:hover {
  border-color: var(--maroon, #7a2437);
  color: var(--maroon, #7a2437);
  background: #faf7f3;
}
.gallery-tab.is-active {
  background: var(--maroon, #7a2437);
  border-color: var(--maroon, #7a2437);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(122, 36, 55, 0.55);
}
.gallery-tab.is-active:hover {
  background: #641d2d;
  border-color: #641d2d;
  color: #fff;
}
.gallery-tab-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.gallery-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  background: rgba(10, 43, 102, 0.08);
  color: #4a5678;
  transition: all 0.2s ease;
}
.gallery-tab:hover .gallery-tab-count {
  background: rgba(122, 36, 55, 0.1);
  color: var(--maroon, #7a2437);
}
.gallery-tab.is-active .gallery-tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* ====== GALLERY GRID — UNIFORM SQUARE / 4:3 TILES ====== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}
@media (min-width: 820px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
}
@media (min-width: 1500px) {
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
  }
}

/* Individual gallery item card */
.gallery-item {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ececf3;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.22s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  border-color: #d9d9e5;
  box-shadow: 0 16px 32px -18px rgba(10, 43, 102, 0.35);
}

/* Image frame — forces aspect ratio so ALL images are identical size */
.gallery-item-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f3f8;
}
.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.25s ease;
  will-change: transform;
}
.gallery-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Hover overlay with zoom icon + category chip */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(10, 43, 102, 0) 40%, rgba(10, 43, 102, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
  pointer-events: auto;
}
.gallery-item:hover .gallery-item-img {
  transform: scale(1.06);
  filter: saturate(1.08) brightness(1.02);
}
.gallery-item-zoom {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--maroon, #7a2437);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.35);
  transform: translateY(8px) scale(0.92);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover .gallery-item-zoom {
  transform: translateY(0) scale(1);
}
.gallery-item-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--maroon, #7a2437);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px -4px rgba(122, 36, 55, 0.5);
  pointer-events: none;
}

/* Optional caption under the image */
.gallery-item-caption {
  padding: 4px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
}
.gallery-item-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-deep, #082352);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gallery-item-desc {
  font-size: 11px;
  color: #6b7693;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Empty state */
.gallery-empty {
  text-align: center;
  padding: 72px 20px;
  color: #7d88a9;
}
.gallery-empty svg {
  margin: 0 auto 16px;
  color: #c5cce0;
}
.gallery-empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-deep, #082352);
  margin: 0 0 6px;
}
.gallery-empty p {
  font-size: 13px;
  margin: 0;
}

/* ====== LIGHTBOX MODAL ====== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 15, 40, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.lightbox-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox-modal.is-open .lightbox-content {
  transform: scale(1);
}
.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.7);
  background: #000;
}
.lightbox-caption {
  color: #dbe4ff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 720px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  user-select: none;
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--maroon, #7a2437);
  border-color: var(--maroon, #7a2437);
  transform: scale(1.06);
}
.lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}
.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  padding-right: 4px;
}
.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 4px;
}
.lightbox-prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 640px) {
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 24px; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; font-size: 18px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-caption { font-size: 12.5px; }
}


