:root {
  --blue: #063d93;
  --blue-dark: #032e73;
  --red: #a40720;
  --ink: #10213f;
  --muted: #506079;
  --paper: #ffffff;
  --soft: #eeeeef;
  --gradient: linear-gradient(105deg, #a52a39 0%, #5a2d67 47%, #003f96 100%);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Asap", "Myriad Pro", "Myriad", "Segoe UI", Arial, sans-serif;
  --container: 1180px;
  --narrow: 1080px;
  --radius: 8px;
  --section: clamp(3.25rem, 5.5vw, 5.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--gradient);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.nav-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: min(100% - 2rem, 1320px);
  min-height: clamp(64px, 6vw, 82px);
  align-items: center;
  gap: 1rem;
  margin-inline: auto;
}

.brand img {
  width: clamp(74px, 6vw, 96px);
}

/* Hide "Menu" label text — keep hamburger icon only */
.menu-button span { display: none; }

.nav-link,
.nav-actions > a,
.enquire-menu button,
.menu-button {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.menu-area {
  justify-self: start;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: clamp(0.7rem, 1.5vw, 1.3rem);
}

.nav-actions > a,
.enquire-menu button {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: transparent;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-actions > a:hover,
.enquire-menu button:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .nav-actions > a,
  .enquire-menu button,
  .menu-button {
    font-size: 1rem;
  }

  .nav-actions > a,
  .enquire-menu button {
    padding: 0.72rem 1.45rem;
  }
}

.enquire-menu {
  position: relative;
}

.enquire-menu__panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  min-width: 190px;
  padding: 0.65rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.enquire-menu:hover .enquire-menu__panel,
.enquire-menu:focus-within .enquire-menu__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.enquire-menu__panel a {
  display: block;
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  color: var(--ink);
  font-weight: 700;
}

.enquire-menu__panel a:hover {
  background: rgba(164, 7, 32, 0.08);
  color: var(--red);
}

.menu-toggle {
  display: none;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  cursor: pointer;
}

.menu-button i,
.menu-button i::before,
.menu-button i::after {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button i {
  position: relative;
}

.menu-button i::before,
.menu-button i::after {
  position: absolute;
  left: 0;
}

.menu-button i::before {
  top: -7px;
}

.menu-button i::after {
  top: 7px;
}

.mega-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 1px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  width: min(100vw - 2rem, 1120px);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mega-menu h2 {
  margin: 0 0 0.85rem;
  color: var(--blue);
  font-size: 1.44rem;
  text-align: left;
}

/* ── 4th nav col: featured blog card ───────────────────────────── */
.mega-menu__blog {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #edf0f7;
  text-decoration: none;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.mega-menu__blog:hover {
  box-shadow: 0 10px 30px rgba(6,20,60,0.14);
  transform: translateY(-2px);
}

.mega-menu__blog img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease;
}

.mega-menu__blog:hover img {
  transform: scale(1.04);
}

.mega-menu__blog-text {
  padding: 0.75rem 0.85rem 0.85rem;
}

.mega-menu__blog-text p {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.42;
}

.mega-menu__blog-text span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.03em;
  transition: color 180ms ease, gap 260ms cubic-bezier(0.34,1.56,0.64,1);
}

.mega-menu__blog:hover .mega-menu__blog-text span {
  color: var(--red);
  gap: 0.55rem;
}

.mega-menu a {
  display: block;
  padding-block: 0.42rem;
  color: var(--ink);
  font-size: 1.19rem;
}

.mega-menu a:hover {
  color: var(--red);
}

.menu-toggle:checked ~ .menu-button i {
  background: transparent;
}

.menu-toggle:checked ~ .menu-button i::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle:checked ~ .menu-button i::after {
  top: 0;
  transform: rotate(-45deg);
}

.menu-toggle:checked ~ .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: clamp(420px, 48vw, 690px);
  overflow: hidden;
  background: #10243c url("assets/hero-video-poster.jpg") center / cover;
}

.hero__video,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__video {
  overflow: hidden;
  z-index: 0;
  background: transparent;
}

.hero__video iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__shade {
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(7, 18, 34, 0.45) 0%,
    rgba(7, 18, 34, 0.62) 50%,
    rgba(7, 18, 34, 0.72) 100%
  );
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  left: 50%;
  top: 63.5%;
  z-index: 2;
  width: min(92%, 720px);
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-tagline {
  display: grid;
  gap: 0.15rem;
  margin: 0 0 1.35rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 0.96;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.hero-tagline span {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: heroTextIn 780ms ease forwards;
}

.hero-tagline span:nth-child(2) {
  animation-delay: 180ms;
}

.hero-tagline span:nth-child(3) {
  animation-delay: 360ms;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroWordIn 700ms ease-out forwards;
}

.button {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.75rem;
  background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50% 100%);
  background-size: 220% 100%;
  background-position: left center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-position 360ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background-position: right center;
  box-shadow: 0 12px 24px rgba(164, 7, 32, 0.24);
}

.button:active {
  transform: scale(0.97);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  transition: transform 70ms ease, box-shadow 70ms ease;
}

/* Animated arrow on all anchor CTA buttons */
a.button::after {
  content: '→';
  display: inline-block;
  margin-left: 0.45rem;
  transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 400;
}

a.button:hover::after {
  transform: translateX(6px);
}

.button--light {
  background: linear-gradient(90deg, #fff 0 50%, var(--red) 50% 100%);
  background-size: 220% 100%;
  background-position: left center;
  color: var(--blue);
}

.button--outline {
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, transparent 0 50%, var(--red) 50% 100%);
  background-size: 220% 100%;
  background-position: left center;
  color: #fff;
}

.button--light:hover,
.button--light:focus-visible {
  color: #fff;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  display: flex;
  gap: 0.55rem;
  transform: translateX(-50%);
}

.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.metrics {
  background: var(--red);
  color: #fff;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: clamp(1.55rem, 3vw, 2.5rem);
  text-align: center;
}

.metrics strong {
  display: block;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.metrics span {
  display: block;
  max-width: 14rem;
  margin: 0.55rem auto 0;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
}

.section {
  padding-block: var(--section);
}

.campus.section {
  padding-bottom: clamp(1.25rem, 2.2vw, 2rem);
}
.visionary.section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.campus h2,
.visionary h2 {
  margin-bottom: clamp(1rem, 2vw, 1.65rem);
}

.campus + .story-band {
  margin-top: 0;
}

.visionary + .parents {
  margin-top: 0;
}

/* ── Visionary Faces + Parents Speak: sliders ───────────────── */
.visionary-slider,
.parents-slider {
  position: relative;
}

/* Desktop: 3-column grid */
.visionary-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
  width: 100%;
}

.parents-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.4vw, 2rem);
}

/* Desktop: lock transform + hide controls */
@media (min-width: 768px) {
  .visionary-track,
  .parents-track {
    transform: none !important;
  }
  .visionary-slider .slider-arrow,
  .visionary-slider .slider-controls,
  .parents-slider .slider-arrow,
  .parents-slider .slider-controls {
    display: none;
  }
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0 0 clamp(2rem, 3.8vw, 3.4rem);
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 0.98;
  text-align: center;
}

/* Desktop grid (shared by campus track) */
.campus-grid,
.campus-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
  width: 100%;
}

/* Slider wrapper */
.campus-slider {
  position: relative;
}

/* Desktop: lock transform so JS slider doesn't move */
@media (min-width: 768px) {
  .campus-track {
    transform: none !important;
  }

  .campus-slider .slider-arrow,
  .campus-slider .slider-controls {
    display: none;
  }
}

/* Mobile: flex-based slider */
@media (max-width: 767px) {
  .campus-slider {
    overflow: hidden;
    padding-bottom: 3rem;
    width: 100%;
  }

  .campus-track {
    display: flex;
    grid-template-columns: unset;
    gap: 0;
    transition: transform 520ms ease;
    width: 100%;
  }

  .campus-track .campus-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
  }

  /* visionary-track mobile handled by the carousel rules above */
}

.campus-card {
  text-align: center;
}

.campus-card img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  border-radius: var(--radius);
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 420ms ease;
}

.campus-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 22px 44px rgba(6, 61, 147, 0.22);
}

.campus-card h3 {
  margin: 1rem 0 0.15rem;
  color: var(--blue);
  font-family: var(--body);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.25;
}

.campus-card a {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  transition: color 180ms ease;
}

.campus-card a:hover {
  color: var(--red);
}

.campus-card span {
  display: block;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
}

.story-band {
  position: relative;
  color: #fff;
}

.story-band {
  background: linear-gradient(105deg, rgba(165, 42, 57, 0.76) 0%, rgba(90, 45, 103, 0.68) 47%, rgba(0, 63, 150, 0.80) 100%), url("assets/Story-2.webp") center / cover;
}

.story-band__content {
  display: grid;
  min-height: clamp(430px, 43vw, 620px);
  align-content: center;
  justify-items: center;
  text-align: center;
}

.story-band h2 {
  color: #fff;
}

.story-band h2 {
  margin-bottom: 1.5rem;
}

.story-band p {
  max-width: 880px;
  margin: 0;
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
}

.story-band .button {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  min-width: min(100%, 390px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  width: min(100% - 2rem, var(--narrow));
}

.video-still {
  position: relative;
  margin: 0;
}

.video-still img {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
}

.video-still button,
.parent-card button span {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.video-still button {
  left: 50%;
  top: 50%;
  width: clamp(64px, 7vw, 100px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.58);
}

.video-still button span {
  width: 0;
  height: 0;
  border-block: 12px solid transparent;
  border-left: 18px solid #fff;
  content: "";
}

/* No ::before triangle on parent-card — SVG icon is used instead */
.parent-card button span::before {
  display: none;
}

.section-copy h2 {
  margin-bottom: 1.2rem;
  text-align: left;
}

.section-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.visionary {
  padding-top: 1rem;
}

/* ── Parents Speak: light premium redesign ──────────────────── */
.parents {
  background: #f5f7fd;
}

.parents h2 {
  color: var(--blue);
}

.parents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.4vw, 2rem);
}

.parent-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(6, 20, 60, 0.08);
  transition: transform 300ms ease, box-shadow 300ms ease;
  display: flex;
  flex-direction: column;
}

.parent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(6, 20, 60, 0.15);
}

/* Thumbnail wrapper */
.parent-card__thumb {
  position: relative;
  overflow: hidden;
}

/* White accent bar removed */
.parent-card__thumb::before {
  display: none;
}

.parent-card__thumb button {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.parent-card__thumb button img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 480ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parent-card:hover .parent-card__thumb button img {
  transform: scale(1.05);
}

/* Play button overlay */
.parent-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(52px, 5vw, 72px);
  height: clamp(52px, 5vw, 72px);
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(164, 7, 32, 0.45);
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
}

.parent-card:hover .parent-play {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 14px 36px rgba(164, 7, 32, 0.55);
}

/* Text body */
.parent-card__body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.parent-card__quote {
  flex: 1;
  margin: 0 0 1.1rem;
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  line-height: 1.7;
  color: var(--muted);
  font-style: italic;
}

.parent-card__body h3 {
  margin: 0 0 0.2rem;
  font-family: var(--body);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.parent-card__body span {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Blog section: same gradient bg as story-band ───────────────── */
.blog {
  background:
    linear-gradient(105deg, rgba(165,42,57,0.82) 0%, rgba(90,45,103,0.74) 47%, rgba(0,63,150,0.88) 100%),
    url("assets/story-bg.webp") center / cover;
}

.blog h2 {
  color: #fff;
}

/* Accent underline — stays visible on dark bg */
.blog.section h2::after {
  background: linear-gradient(90deg, var(--red), rgba(255,255,255,0.55));
}

.blog-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 3.2rem;
}

/* ── Blog slider track ─────────────────────────────────────────── */
.blog-track {
  display: flex;
  transition: transform 520ms ease;
}

/* ── Individual blog card ──────────────────────────────────────── */
.blog-feature {
  position: relative;
  min-width: 100%;               /* mobile: full-width slide */
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(6, 20, 60, 0.10);
  transition: transform 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 320ms ease;
}

.blog-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(6, 20, 60, 0.22);
}

/* Bottom-to-top dark scrim — photo shows fully at top, readable text at base */
.blog-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 10, 38, 0.96) 0%,
    rgba(4, 10, 38, 0.60) 38%,
    rgba(4, 10, 38, 0.08) 100%
  );
  content: "";
}

.blog-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-feature:hover img {
  transform: scale(1.04);
}

/* Text block — anchored to bottom-left */
.blog-feature div {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  text-align: left;
}

/* Category pill */
.blog-tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-feature h3 {
  max-width: 560px;
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.22;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.blog-feature .button {
  flex-shrink: 0;
}

/* ── Desktop: 3-column card grid (no JS scroll needed) ─────────── */
@media (min-width: 768px) {
  .blog-slider {
    overflow: visible;
    padding-bottom: 0.5rem;
  }

  .blog-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    transform: none !important; /* JS always at index 0 — safe to lock */
  }

  .blog-feature {
    min-width: 0;           /* override mobile full-width */
    flex: none;
  }

  .blog-feature img {
    aspect-ratio: 4 / 3;   /* taller cards look premium in a 3-col grid */
  }

  /* Hide nav controls — all 3 cards visible simultaneously */
  .blog-slider .slider-arrow,
  .blog-slider .slider-controls {
    display: none;
  }
}

/* ── Parents + Visionary: mobile carousel ───────────────────────── */
@media (max-width: 767px) {
  .visionary-slider,
  .parents-slider {
    overflow: hidden;
    padding-bottom: 3rem;
    width: 100%;
  }

  .visionary-track,
  .parents-track {
    display: flex;
    grid-template-columns: unset;
    gap: 0;
    transition: transform 520ms ease;
    width: 100%;
  }

  /* Each card fills the full slider width */
  .visionary-track .campus-card,
  .parents-track .parent-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
  }

  /* ── Parents card: blog-style image + overlay on mobile ── */
  .parents-track .parent-card {
    position: relative;
    display: block;
    border-radius: 14px;
    background: #000;
  }

  .parents-track .parent-card__thumb button img {
    aspect-ratio: 4 / 3;
    width: 100%;
    display: block;
    opacity: 0.82;
  }

  .parents-track .parent-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    flex: none;
    background: linear-gradient(to top, rgba(4,10,38,0.97) 0%, rgba(4,10,38,0.68) 55%, transparent 100%);
    padding: 2.5rem 1.25rem 1.5rem;
  }

  .parents-track .parent-card__quote {
    color: rgba(255,255,255,0.92);
    margin-bottom: 0.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .parents-track .parent-card__body h3 {
    color: #fff;
  }

  .parents-track .parent-card__body span {
    color: rgba(255,255,255,0.65);
  }
}

/* ── FAQ: View All link with animated arrow ──────────────────────── */
.faq-more-link {
  display: inline-flex;
  align-items: center;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--blue);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: color 250ms ease;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.faq-more-link:hover {
  color: var(--red);
}

.slider-arrow {
  position: absolute;
  top: calc(50% - 1.6rem);
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(3, 46, 115, 0.24);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: var(--red);
  transform: translateY(-2px);
}

.slider-arrow--prev {
  left: 0.65rem;
}

.slider-arrow--next {
  right: 0.65rem;
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  display: flex;
  gap: 0.6rem;
  transform: translateX(-50%);
}

.slider-controls button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(6, 61, 147, 0.32);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}


.slider-controls button.is-active {
  background: var(--red);
  transform: scale(1.18);
}

.faq-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100% - 2rem, 820px);
}

.faq-intro {
  width: 100%;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.faq-intro h2 {
  margin-bottom: 1rem;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 700;
  text-align: center;
}

.faq-intro p {
  max-width: 580px;
  margin-inline: auto;
  color: var(--muted);
}

/* .faq-more-link styles are in the desktop media query and mobile section below */

.faq-item {
  border-bottom: 1px solid #6f6f6f;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #1e1e1e;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  display: inline-block;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1), color 250ms ease;
}

.faq-item.is-open .faq-question::after {
  content: "+";
  transform: rotate(45deg) scale(1.1);
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}

.faq-list p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 720ms ease, transform 720ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card entrance */
.campus-card.reveal:nth-child(2) { transition-delay: 110ms; }
.campus-card.reveal:nth-child(3) { transition-delay: 220ms; }

/* Section heading animated accent underline */
.section h2::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  margin: 0.8rem auto 0;
  transition: width 650ms cubic-bezier(0.22, 1, 0.36, 1) 260ms;
}
.section.is-visible h2::after {
  width: 58px;
}
.section-copy h2::after,
.faq-intro h2::after {
  display: none;
}

.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 45;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(3, 46, 115, 0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.scroll-top:hover {
  background: var(--red);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.video-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-lightbox__frame {
  width: min(100%, 960px);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
  transform: translateY(24px) scale(0.96);
  transition: transform 260ms ease;
}

.video-lightbox.is-open .video-lightbox__frame {
  transform: translateY(0) scale(1);
}

.video-lightbox iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}

.has-lightbox {
  overflow: hidden;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.52); }
  70%  { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero__content .button--outline {
  animation: ctaPulse 2.4s ease-out 1.5s 2;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .campus-card img,
  .mega-menu,
  .scroll-top,
  .video-lightbox,
  .video-lightbox__frame {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-tagline span {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-word {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero__content .button--outline {
    animation: none;
  }

  .section h2::after {
    transition: none;
    width: 58px;
  }

  .campus-card.reveal:nth-child(2),
  .campus-card.reveal:nth-child(3) {
    transition-delay: 0ms;
  }

  .blog-track,
  .campus-track,
  .visionary-track {
    transition: none;
  }
}

.site-footer {
  background: var(--soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-block: clamp(2.4rem, 4vw, 3.4rem);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.45;
}

.footer-brand {
  text-align: center;
}

.footer-brand img {
  width: clamp(118px, 10vw, 165px);
  margin-inline: auto;
  margin-bottom: 0.65rem;
}

.footer-brand p,
.footer-brand address {
  margin: 0.3rem 0;
  font-style: normal;
}

.footer-brand strong {
  color: var(--blue);
}

.site-footer h2 {
  margin: 0 0 1.2rem;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(1.36rem, 1.8vw, 1.92rem);
  line-height: 0.98;
  text-align: left;
}

.site-footer nav {
  display: grid;
  gap: 0.5rem;
}

.site-footer nav a:hover {
  color: var(--blue);
}

.footer-newsletter form {
  display: flex;
  margin-bottom: 0.5rem;
}

.footer-newsletter input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 8px 0 0 8px;
  padding: 1rem;
  background: #fff;
}

.footer-newsletter button {
  border: 0;
  border-radius: 0 8px 8px 0;
  padding-inline: 1.3rem;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  transition: background 200ms ease, transform 70ms ease;
}

.footer-newsletter button:hover {
  background: var(--red);
}

.footer-newsletter button:active {
  transform: scale(0.97);
}

.newsletter-thanks {
  margin: 0.65rem 0 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
}

.campus-card a:has(img) {
  display: block;
  border-bottom: none;
  line-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.social-links {
  display: flex;
  gap: 0.55rem;
}

.social-links a {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-bottom {
  padding-block: 1rem;
  background: #fff;
  color: #667085;
  font-size: 0.78rem;
}

.footer-bottom a {
  color: var(--blue);
}

@media (max-width: 1199px) {
  .hero {
    min-height: 52vw;
  }

  .campus-grid {
    gap: 1.25rem;
  }

  .split {
    width: min(100% - 2rem, 980px);
  }
}

@media (max-width: 767px) {
  .container,
  .split,
  .faq-layout {
    width: min(100% - 1.25rem, var(--container));
  }

  .site-header {
    min-height: auto;
  }

  .nav-wrap {
    grid-template-columns: auto 1fr auto;
    min-height: 60px;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
  }

  .brand img {
    width: 74px;
  }

  .nav-actions > a {
    display: none;
  }

  .menu-area {
    grid-column: 1;
  }

  .nav-actions {
    grid-column: 3;
  }

  .menu-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .mega-menu {
    left: 0;
    right: 0;
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100vh - 82px);
    overflow: auto;
    transform: translateY(-12px);
  }

  .menu-toggle:checked ~ .mega-menu {
    transform: translateY(0);
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh; /* fallback for browsers supporting dvh */
  }

  .hero__video iframe {
    width: max(140vw, 177.78vh);
    height: max(78.75vw, 100svh);
  }

  .hero__content {
    top: 62%;
  }

  .hero-tagline {
    font-size: clamp(1.65rem, 7.5vw, 2.6rem);
  }

  .hero__content .button {
    min-height: 44px;
    padding-inline: 1.35rem;
    font-size: 0.85rem;
  }

  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }

  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    /* faq-more-link naturally flows after faq-list in single column */
  }


  h2 {
    margin-bottom: 2.25rem;
  }

  .campus-card img {
    aspect-ratio: 1.16 / 1;
  }

  .story-band__content {
    min-height: 500px;
  }

  .story-band .button {
    min-width: 0;
    width: 100%;
  }

  .section-copy h2,
  .site-footer h2 {
    text-align: left;
  }

  .blog-feature img {
    aspect-ratio: 1 / 1;
  }

  .blog-feature h3 {
    font-size: 1.55rem;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    display: none;
  }

  .site-footer nav {
    display: none;
  }

  /* ── Curriculum: reorder to Title → Image → Text on mobile ─── */
  .curriculum .split {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .curriculum .section-copy {
    display: contents;
  }

  .curriculum .section-copy h2 {
    order: 1;
    margin-bottom: 0;
  }

  .curriculum .video-still {
    order: 2;
  }

  .curriculum .section-copy p {
    order: 3;
  }

  /* ── FAQ mobile: already centred via flex column ────────────── */
  .faq-more-link {
    text-align: center;
  }

  /* ── Newsletter title centre on mobile ───────────────────────── */
  .footer-newsletter h2 {
    text-align: center;
  }
}

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

  .button {
    width: 100%;
  }

  .footer-newsletter form {
    display: grid;
    gap: 0.65rem;
  }

  .footer-newsletter input,
  .footer-newsletter button {
    min-height: 48px;
    border-radius: 8px;
  }
}


/* ============================================================
   About Us / Inner-page styles  (merged from about.css)
   Prefix: ab-  — no conflict with styles.css classes
   ============================================================ */

/* ── Anchor offset for sticky header ────────────────────────────── */
#vision-mission,
#our-journey,
#leadership {
  scroll-margin-top: clamp(64px, 6vw, 82px);
}

/* ── Page Hero ──────────────────────────────────────────────────── */
.ab-hero {
  position: relative;
  min-height: clamp(95px, 13vw, 145px);
  display: flex;
  align-items: flex-end;
  text-align: center;
  background:
    linear-gradient(rgba(4,15,45,.40), rgba(4,15,45,.40)),
    url('assets/page-banner.png') center / cover no-repeat;
  color: #fff;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 1.75rem);
}

.ab-breadcrumb {
  font-size: 0.7rem;
  opacity: 0.68;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ab-breadcrumb a { color: inherit; text-decoration: none; }
.ab-breadcrumb a:hover { text-decoration: underline; }
.ab-breadcrumb span { margin: 0 0.4em; opacity: 0.5; }

.ab-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0.25rem 0 0;
}

/* ── Intro pull‑quote ───────────────────────────────────────────── */
.ab-intro {
  background: #f5f7fd;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  text-align: center;
}

.ab-intro p {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.72;
  color: var(--ink, #12183a);
  font-style: italic;
}

/* ── Shared section header ──────────────────────────────────────── */
.ab-section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.ab-section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.ab-section-head h2::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  margin: 0.75rem auto 0;
  transition: width 650ms cubic-bezier(0.22, 1, 0.36, 1) 200ms;
}

.ab-section-head.is-visible h2::after { width: 58px; }

.ab-section-head p {
  max-width: 640px;
  margin: 0.75rem auto 0;
  font-size: clamp(0.97rem, 1.2vw, 1.1rem);
  color: var(--muted, #5a6078);
  line-height: 1.68;
}

/* ── Vision · Mission (2-column) ────────────────────────────────── */
.ab-vm {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: #f5f7fd;
}

.ab-vm__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(6,61,147,0.10);
}

.ab-vm__card {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  background: #fff;
  transition: background 300ms ease;
}

.ab-vm__card:first-child::after {
  content: '';
  position: absolute;
  right: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: #dce5f5;
}

.ab-vm__card:hover { background: #f8faff; }

.ab-vm__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.6rem;
  display: grid;
  place-items: center;
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(6,61,147,0.22);
}

.ab-vm__card:nth-child(2) .ab-vm__icon {
  background: var(--red);
  box-shadow: 0 8px 24px rgba(164,7,32,0.22);
}

.ab-vm__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ab-vm__card h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  color: var(--blue);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.ab-vm__card:nth-child(2) h3 { color: var(--red); }

.ab-vm__card p {
  margin: 0 auto;
  max-width: 420px;
  font-size: clamp(0.97rem, 1.15vw, 1.08rem);
  line-height: 1.78;
  color: var(--muted, #5a6078);
}

/* ── Timeline ────────────────────────────────────────────────────── */
.ab-timeline-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background:
    linear-gradient(105deg, rgba(165,42,57,0.80) 0%, rgba(90,45,103,0.72) 47%, rgba(0,63,150,0.88) 100%),
    url('assets/story-bg.webp') center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.ab-tl-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.ab-tl-line {
  position: absolute;
  left: 2rem; right: 2rem; top: 50%;
  height: 2px;
  background: rgba(255,255,255,0.15);
  transform: translateY(-50%);
  pointer-events: none;
  border-radius: 2px;
}

.ab-tl-line__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), rgba(255,255,255,0.6));
  border-radius: 2px;
  transition: width 600ms cubic-bezier(0.22,1,0.36,1);
  width: 0%;
}

.ab-tl-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--body);
  transition: color 250ms ease;
}

.ab-tl-node:hover { color: rgba(255,255,255,0.85); }
.ab-tl-node.is-active { color: #fff; }

.ab-tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.35);
  transition: background 280ms ease, border-color 280ms ease, transform 280ms ease, box-shadow 280ms ease;
}

.ab-tl-node.is-active .ab-tl-dot {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.6);
  box-shadow: 0 0 0 5px rgba(164,7,32,0.28);
}

.ab-tl-year {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ab-tl-panels {
  margin-top: 3.5rem;
  min-height: 200px;
}

.ab-tl-panel { display: none; }
.ab-tl-panel.is-active {
  display: block;
  animation: tlFadeIn 380ms ease forwards;
}

@keyframes tlFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ab-tl-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.ab-tl-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.ab-tl-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}

.ab-tl-panel.is-active .ab-tl-img img {
  animation: tlImgZoom 600ms ease forwards;
}

@keyframes tlImgZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.ab-tl-tag {
  display: inline-block;
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.ab-tl-text h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 0 0 1rem;
  color: #fff;
  line-height: 1.2;
}

.ab-tl-text p {
  font-size: clamp(0.97rem, 1.2vw, 1.08rem);
  line-height: 1.78;
  color: rgba(255,255,255,0.82);
  margin: 0 0 1.75rem;
}

.ab-tl-text .button--outline {
  border-color: rgba(255,255,255,0.70);
  color: #fff;
  font-size: 0.88rem;
  padding: 0.65rem 1.6rem;
}

.ab-tl-text .button--outline:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 10px 28px rgba(164,7,32,0.35);
}

/* ── Achievement Trust Bar ──────────────────────────────────────── */
.ab-achievements {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background: #fff;
}

.ab-achievements__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ab-achievement {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 1rem;
  background: #f0f4fc;
  border-radius: 14px;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.ab-achievement:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(6,61,147,0.12);
}

.ab-achievement strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-family: var(--display);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.ab-achievement em {
  display: block;
  margin-top: 0.6rem;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  color: var(--muted, #5a6078);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── Leadership ─────────────────────────────────────────────────── */
.ab-leadership {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: #f5f7fd;
}

/* Leadership: slider wrapper + track */
.ab-leadership__slider {
  position: relative;
}

.ab-leadership__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

/* Desktop: lock + hide controls */
@media (min-width: 768px) {
  .ab-leadership__track { transform: none !important; }
  .ab-leadership__slider .slider-arrow,
  .ab-leadership__slider .slider-controls { display: none; }
}

.ab-leader-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(6,20,60,0.08);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.ab-leader-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 52px rgba(6,20,60,0.16);
}

.ab-leader-img { position: relative; overflow: hidden; }

.ab-leader-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 520ms ease;
}

.ab-leader-card:hover .ab-leader-img img { transform: scale(1.04); }

.ab-leader-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,20,60,0.93);
  display: flex;
  align-items: flex-start;
  padding: 1.25rem 1rem 1.25rem 1.25rem;
  opacity: 0;
  transition: opacity 350ms ease;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.35) transparent;
}

/* Structured bio layout for Kiran Pai */
.ab-leader-bio {
  width: 100%;
}
.ab-leader-bio__intro {
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}
.ab-leader-bio__creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ab-leader-bio__creds li {
  color: rgba(255,255,255,0.82);
  font-size: 0.76rem;
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.ab-leader-bio__creds li span {
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.ab-leader-card:hover .ab-leader-overlay { opacity: 1; }

/* ── Mobile tap-to-reveal: JS adds .is-overlay-open on tap ─── */
@media (hover: none) {
  /* Disable accidental CSS hover on touch devices */
  .ab-leader-card:hover .ab-leader-overlay { opacity: 0; }
  /* JS-toggled class shows the overlay */
  .ab-leader-img.is-overlay-open .ab-leader-overlay {
    opacity: 1;
  }
  /* Tap hint: subtle pulse on the image on first load */
  .ab-leader-img::after {
    content: 'Tap to read';
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(6,20,60,0.72);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 280ms ease;
  }
  .ab-leader-img.is-overlay-open::after { opacity: 0; }
}

.ab-leader-overlay p {
  color: rgba(255,255,255,0.88);
  font-size: 0.87rem;
  line-height: 1.68;
  margin: 0;
}

.ab-leader-info { padding: 1.2rem 1.5rem 1.6rem; }

.ab-leader-info h3 {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--blue);
  margin: 0 0 0.3rem;
  line-height: 1.25;
}

.ab-leader-info span {
  display: block;
  font-size: 0.83rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── FAQ "more" link arrow ──────────────────────────────────────── */
.faq-more-link .ab-arrow {
  display: inline-block;
  margin-left: 0.45rem;
  transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-more-link:hover .ab-arrow { transform: translateX(7px); }

/* ── About FAQ section ──────────────────────────────────────────── */
.ab-faq {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: #fff;
}

.ab-faq .faq-list { max-width: 780px; margin: 0 auto; }

/* ── Scroll reveal ──────────────────────────────────────────────── */
.ab-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.22,1,0.36,1);
}

.ab-reveal.is-visible { opacity: 1; transform: none; }
.ab-reveal:nth-child(2) { transition-delay: 100ms; }
.ab-reveal:nth-child(3) { transition-delay: 200ms; }

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .ab-vm__grid { grid-template-columns: 1fr; border-radius: 14px; }
  .ab-vm__card:first-child::after { display: none; }
  .ab-vm__card:first-child { border-bottom: 1px solid #dce5f5; }

  .ab-achievements__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Leadership: mobile carousel */
  .ab-leadership__slider {
    overflow: hidden;
    padding-bottom: 3rem;
    width: 100%;
  }
  .ab-leadership__track {
    display: flex;
    grid-template-columns: unset;
    gap: 0;
    transition: transform 520ms ease;
    width: 100%;
  }
  .ab-leadership__track .ab-leader-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
  }
  .ab-leader-img img { aspect-ratio: 1 / 1; }
  .ab-leader-overlay { opacity: 1; }

  /* ── Timeline: scrollable horizontal pill row on mobile ── */
  .ab-tl-track {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0.5rem 1rem;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }
  .ab-tl-track::-webkit-scrollbar { display: none; }

  .ab-tl-line {
    display: block;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.38);
    pointer-events: none;
  }
  .ab-tl-line__fill { display: none; }

  .ab-tl-node {
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.5rem;
    flex-shrink: 0;
    scroll-snap-align: center;
    min-width: 64px;
  }

  .ab-tl-year {
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
  }

  /* Active node: bright dot + year in full white */
  .ab-tl-node.is-active .ab-tl-dot {
    transform: scale(1.5);
  }

  .ab-tl-panels { margin-top: 1.5rem; }

  /* Panel content: image full-width, text below */
  .ab-tl-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
  }

  .ab-tl-img img { aspect-ratio: 16 / 9; }

  .ab-tl-text h3 { font-size: clamp(1.2rem, 5vw, 1.5rem); }

  .ab-tl-text .button--outline {
    display: inline-flex;
    margin-top: 0.25rem;
  }

  .ab-tl-tag { margin-bottom: 0.6rem; }
  .ab-group__badges { gap: 0.65rem; }
  .ab-group__badge { font-size: 0.82rem; padding: 0.5rem 1.1rem; }
}

@media (max-width: 430px) {
  .ab-achievements__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   ENQUIRY LIGHTBOX
   ═══════════════════════════════════════════════════════ */
.enq-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4,10,38,0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
  padding: 1rem;
}
.enq-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.enq-lightbox__panel {
  background: #fff;
  border-radius: 20px;
  padding: clamp(1.75rem,4vw,3rem);
  width: 100%;
  max-width: 560px;
  max-height: 90dvh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px);
  transition: transform 300ms cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 24px 64px rgba(4,10,38,0.28);
}
.enq-lightbox.is-open .enq-lightbox__panel { transform: translateY(0); }
.enq-lightbox__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: #f0f4ff;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms ease;
}
.enq-lightbox__close:hover { background: #dce5f5; }
.enq-lightbox__panel h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem,2.2vw,1.9rem);
  color: var(--blue);
  margin: 0 0 0.3rem;
  padding-right: 2.5rem;
}
.enq-lightbox__panel h2::after { display: none; }
.enq-lightbox__panel > p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}
.enq-form { display: grid; gap: 1rem; }
.enq-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width:480px) { .enq-form-row { grid-template-columns: 1fr; } }
.enq-field { display: flex; flex-direction: column; gap: 0.35rem; }
.enq-field label { font-size:0.78rem; font-weight:700; color:var(--ink); letter-spacing:0.04em; text-transform:uppercase; }
.enq-field input,
.enq-field select,
.enq-field textarea {
  width:100%; border:1.5px solid #dce5f5; border-radius:10px;
  padding:0.75rem 1rem; font:inherit; font-size:0.93rem; color:var(--ink);
  background:#fafbff; outline:none; appearance:none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.enq-field input:focus,
.enq-field select:focus,
.enq-field textarea:focus {
  border-color:var(--blue); box-shadow:0 0 0 3px rgba(6,61,147,0.10); background:#fff;
}
.enq-field select {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23506079' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 1rem center; padding-right:2.5rem; cursor:pointer;
}
.enq-field textarea { resize:vertical; min-height:90px; line-height:1.6; }
.enq-required { color:var(--red); margin-left:2px; }
.enq-submit {
  display:inline-flex; align-items:center; justify-content:center; gap:0.5rem;
  min-height:50px; width:100%; border:0; border-radius:999px; padding:0.85rem 2rem;
  background:linear-gradient(90deg,var(--blue) 0 50%,var(--red) 50% 100%);
  background-size:220% 100%; background-position:left center;
  color:#fff; font:inherit; font-weight:800; font-size:1rem; cursor:pointer;
  transition:background-position 360ms ease, transform 180ms ease;
  margin-top:0.25rem;
}
.enq-submit:hover { background-position:right center; transform:translateY(-2px); }
.enq-success { text-align:center; padding:1.5rem 0; }
.enq-success__icon {
  width:64px; height:64px; border-radius:50%;
  background:linear-gradient(135deg,var(--blue),var(--red));
  display:flex; align-items:center; justify-content:center; margin:0 auto 1rem;
}
.enq-success__icon svg { width:30px; height:30px; stroke:#fff; stroke-width:2.5; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.enq-success h3 { font-family:var(--display); font-size:1.5rem; color:var(--blue); margin:0 0 0.4rem; }
.enq-success p { color:var(--muted); font-size:0.95rem; line-height:1.65; margin:0; }

/* Footer admissions button (looks like a link) */
.footer-enq-btn {
  background: none; border: none; padding: 0; margin: 0;
  color: inherit; font: inherit; font-size: inherit;
  cursor: pointer; text-align: left; display: block;
  opacity: 0.8; transition: opacity 180ms ease;
}
.footer-enq-btn:hover { opacity: 1; color: var(--blue); }

/* ═══════════════════════════════════════════════════════
   VSEG SECTION (About Us)
   ═══════════════════════════════════════════════════════ */
.ab-vseg {
  position: relative;
  padding: clamp(4rem,8vw,7rem) 0;
  background: #fff;
  border-top: 1px solid #e8ecf5;
  border-bottom: 1px solid #e8ecf5;
  overflow: hidden;
  text-align: center;
}
.ab-vseg__center {
  width: min(100% - 2rem, 680px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}
.ab-vseg__logo img {
  width: clamp(130px,15vw,200px);
  height: auto;
  display: block;
}
.ab-vseg__center h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem,3vw,2.75rem);
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ab-vseg__center h2::after {
  background: linear-gradient(90deg, var(--red), rgba(0,0,0,0.12));
}
.ab-vseg__center > p {
  color: #4a5568;
  font-size: clamp(0.93rem,1.1vw,1.02rem);
  line-height: 1.7;
  margin: 0;
}
.ab-vseg__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.ab-vseg__pills span,
.ab-vseg__pills a {
  padding: 0.4rem 1.1rem;
  border: 1px solid #ccd5e8;
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: #f0f4fb;
  text-decoration: none;
  display: inline-block;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.ab-vseg__pills a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6,61,147,.2);
}
@media (max-width:767px) {
  .ab-vseg__center h2 { font-size: 1.4rem; }
}

/* ═══════════════════════════════════════════════════════
   LEADERSHIP OVERLAY — scrollable
   ═══════════════════════════════════════════════════════ */
.ab-leader-overlay::-webkit-scrollbar { width: 4px; }
.ab-leader-overlay::-webkit-scrollbar-track { background: transparent; }
.ab-leader-overlay::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.35); border-radius: 2px; }

/* ═══════════════════════════════════════════════════════
   TIMELINE DUAL PANEL (two campuses in 2020)
   ═══════════════════════════════════════════════════════ */
.ab-tl-panel-divider {
  height: 1px;
  background: rgba(255,255,255,0.18);
  margin: clamp(2rem,3.5vw,3rem) 0;
}

/* ── CISCE Affiliation ────────────────────────────────────── */
.ab-affiliation {
  background: #f7f8fc;
  padding: clamp(2.5rem,5vw,4rem) 0;
  border-top: 1px solid #e8ecf5;
  border-bottom: 1px solid #e8ecf5;
}
.ab-affiliation__inner {
  width: min(100% - 2rem, 680px);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.ab-affiliation__inner p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--navy);
  line-height: 1.6;
  margin: 0;
}
.ab-affiliation__inner p strong {
  color: var(--blue);
}
.ab-affiliation__inner img {
  width: clamp(110px, 14vw, 160px);
  height: auto;
}

/* ── 2020 dual-campus layout ──────────────────────────────── */
.ab-tl-dual-header {
  margin-bottom: clamp(1.5rem,3vw,2.5rem);
  text-align: center;
}
.ab-tl-dual-header .ab-tl-tag {
  margin-bottom: 0.65rem;
}
.ab-tl-dual-header p {
  color: rgba(255,255,255,0.78);
  font-size: clamp(0.92rem,1.1vw,1rem);
  max-width: 620px;
  margin: 0.5rem auto 0;
  line-height: 1.7;
}
.ab-tl-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem,3vw,2.5rem);
  align-items: start;
}
.ab-tl-dual__item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
}
.ab-tl-dual__item .ab-tl-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.ab-tl-dual__item .ab-tl-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ab-tl-dual__item .ab-tl-text {
  padding: clamp(1.25rem,2.5vw,1.75rem);
}
.ab-tl-dual__item .ab-tl-text h3 {
  font-size: clamp(1.05rem,1.4vw,1.25rem);
  margin: 0.5rem 0 0.75rem;
}
.ab-tl-dual__item .ab-tl-text p {
  font-size: clamp(0.88rem,1vw,0.95rem);
  margin-bottom: 1.25rem;
}
@media (max-width:767px) {
  .ab-tl-dual { grid-template-columns: 1fr; }
}
