/* ============================================================
   Adventist Education Sydney — Open Days 2026
   styles.css
   ============================================================ */

/* ============================================================
   1. CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
  /* Colors */
  --color-navy: #053284;
  --color-navy-dark: #071e47;
  --color-blue: #0f5cac;
  --color-dark-grey: #444247;
  --color-light-grey: #f3f3f3;
  --color-white: #ffffff;
  --color-white-secondary: rgba(255, 255, 255, 0.75);
  --color-black-secondary: rgba(0, 0, 0, 0.75);
  --color-border: rgba(0, 0, 0, 0.2);
  --color-border-light: #cccccc;

  /* Typography
     NOTE: "Eye Catching Pro" is a commercial display font.
     Dancing Script is used as a free substitute.
     For production, license Eye Catching Pro and self-host.
     "Advent Sans SPD" (logo wordmark) is also commercial;
     Open Sans Bold is used as fallback. */
  --font-sans: 'Open Sans', sans-serif;
  --font-script: 'Eye Catching Pro', cursive;

  /* Font Sizes — all converted from Figma px to rem (base 16px) */
  --fs-display: 9.375rem;
  /* 150px — hero script */
  --fs-display-2: 7.5rem;
  /* 120px — feature card titles */
  --fs-display-3: 5.625rem;
  /* 90px  — section script heads */
  --fs-h1: 3.815rem;
  /* 61.04px */
  --fs-h2: 3.052rem;
  /* 48.83px */
  --fs-h4: 1.953rem;
  /* 31.25px */
  --fs-h5: 1.5625rem;
  /* 25px */
  --fs-body-xl: 1.25rem;
  /* 20px */
  --fs-body-lg: 1.125rem;
  /* 18px */
  --fs-body: 1rem;
  /* 16px */
  --fs-body-sm: 0.875rem;
  /* 14px */
  --fs-label: 0.75rem;
  /* 12px */

  /* Spacing — 8px base system */
  --space-1: 0.5rem;
  /*  8px */
  --space-2: 1rem;
  /* 16px */
  --space-3: 1.5rem;
  /* 24px */
  --space-4: 2rem;
  /* 32px */
  --space-5: 2.5rem;
  /* 40px */
  --space-6: 3.125rem;
  /* 50px */
  --space-7: 3.5rem;
  /* 56px */
  --space-8: 4rem;
  /* 64px */
  --space-9: 4.6875rem;
  /* 75px */
  --space-10: 5rem;
  /* 80px */
  --space-11: 5.625rem;
  /* 90px */

  /* Border Radius */
  --radius-sm: 0.3125rem;
  /*  5px */
  --radius-md: 0.625rem;
  /* 10px */
  --radius-lg: 1.25rem;
  /* 20px */
  --radius-full: 62.5rem;
  /* pill */
}

/* ============================================================
   2. Base Reset & Global
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-dark-grey);
  background-color: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ============================================================
   3. Buttons
   ============================================================ */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9375rem 1.5625rem;
  background-color: var(--color-navy);
  border: 0.0625rem solid var(--color-navy);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: 700;
  letter-spacing: 0.0175rem;
  text-transform: uppercase;
  line-height: 1;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn-solid:hover {
  opacity: 0.85;
  color: var(--color-white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9375rem 1.5625rem;
  background-color: transparent;
  border: 0.0625rem solid var(--color-navy);
  border-radius: var(--radius-sm);
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: 700;
  letter-spacing: 0.0175rem;
  text-transform: uppercase;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-outline:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* ============================================================
   4. Logo
   ============================================================ */
.site-logo {
  display: flex;
  flex-direction: column;
  gap: 0.40625rem;
  width: 13.7rem;
}

.site-logo__top {
  display: flex;
  align-items: stretch;
}

.site-logo__symbol {
  flex-shrink: 0;
  width: 3.956rem;
  height: 3.964rem;
}

.site-logo__symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-logo__wordmark {
  flex: 1;
  background-color: var(--color-dark-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem 0.1625rem;
  overflow: hidden;
}

.site-logo__wordmark-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.16875rem;
  color: var(--color-white);
  text-align: center;
  line-height: 1;
  letter-spacing: -0.01em;
}

.site-logo__city {
  font-family: var(--font-script);
  font-size: 1.948rem;
  color: var(--color-white);
  line-height: 1;
  padding-left: 4.0rem;
}

/* Footer logo — larger variant */
.site-logo--lg {
  width: 17.833rem;
}

.site-logo--lg .site-logo__symbol {
  width: 5.144rem;
  height: 5.17rem;
}

.site-logo--lg .site-logo__wordmark-text {
  font-size: 1.519rem;
}

.site-logo--lg .site-logo__city {
  font-size: 2.5325rem;
  padding-left: 5.44rem;
}

/* ============================================================
   5. Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 50.625rem;
  /* 810px */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(5, 50, 132, 0.5) 0%,
      rgba(5, 50, 132, 0.38) 45%,
      rgba(0, 0, 0, 0.58) 100%);
  z-index: 1;
}

.hero__logo {
  position: absolute;
  top: 1.25rem;
  left: 5rem;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-8) var(--space-4);
  max-width: 67.3125rem;
  margin: 0 auto;
}

.hero__tagline {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-h1);
  color: var(--color-white);
  letter-spacing: -0.11444rem;
  line-height: 1.4;
  margin-bottom: -1.5rem;
}

.hero__title-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 10vw, var(--fs-display));
  color: var(--color-white);
  line-height: 1;
  transform: rotate(-2.5deg);
  display: inline-block;
  margin-top: 0.5rem;
}

/* ============================================================
   6. Values Bar
   ============================================================ */
.values-bar {
  background-color: var(--color-white);
  padding: var(--space-5) 12.5rem;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1);
  padding: 0.625rem;
  text-align: center;
  border-radius: var(--radius-md);
}

.value-item__icon {
  font-size: 2.5rem;
  color: var(--color-navy);
  width: 3.125rem;
  height: 3.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item__label {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 700;
  color: var(--color-black-secondary);
  text-transform: uppercase;
  letter-spacing: 0.015rem;
  line-height: 1.3;
}

/* ============================================================
   7. About / Difference Section
   ============================================================ */
.about-section {
  background-color: var(--color-light-grey);
  padding: var(--space-9) var(--space-10);
  display: flex;
  align-items: center;
  gap: 3.125rem;
  overflow: hidden;
}

.about-section__image {
  flex: 0 0 38.8125rem;
  height: 27rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-section__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5);
}

.about-section__title-script {
  font-family: var(--font-script);
  font-size: var(--fs-h1);
  color: var(--color-dark-grey);
  line-height: 1.05;
  margin-bottom: -0.75rem;
  display: block;
}

.about-section__title-sans {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-h2);
  color: var(--color-black-secondary);
  letter-spacing: -0.15259rem;
  line-height: 1.05;
  display: block;
}

.about-section__body {
  font-family: var(--font-sans);
  font-size: var(--fs-body-lg);
  font-weight: 400;
  color: var(--color-dark-grey);
  line-height: 1.4;
}

.about-section__buttons {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

/* ============================================================
   8. Why Families Choose — Feature Cards
   ============================================================ */
.why-section {
  position: relative;
  overflow: hidden;
  padding-top: 4.6875rem;
  padding-bottom: var(--space-10);
}

.why-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.why-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-section__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.why-section__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

.why-section__title {
  text-align: center;
}

.why-section__title-script {
  font-family: var(--font-script);
  font-size: var(--fs-display-3);
  color: var(--color-white-secondary);
  line-height: 1.05;
  display: block;
  margin-bottom: -1.625rem;
}

.why-section__title-sans {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-h1);
  color: var(--color-white);
  letter-spacing: -0.07638rem;
  line-height: 1.05;
  display: block;
}

.feature-cards-row {
  display: flex;
  gap: 2.59375rem;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding-bottom: 4rem;
}

/* Staircase offset — each card is progressively lower */
.feature-card-wrap:nth-child(2) {
  margin-top: 4.875rem;
}

.feature-card-wrap:nth-child(3) {
  margin-top: 10.4375rem;
}

.feature-card {
  width: 24.9375rem;
  /* 399px */
  height: 30.5625rem;
  /* 489px */
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: var(--space-5);
  flex-shrink: 0;
}

.feature-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.feature-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, 0.34) 61%,
      rgba(0, 0, 0, 0.65) 100%);
  z-index: 1;
}

.feature-card__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 21.8125rem;
}

.feature-card__heading {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 6vw, var(--fs-display-2));
  color: var(--color-white);
  letter-spacing: -0.15031rem;
  line-height: 0.85;
  display: block;
}

.feature-card__desc {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.01rem;
  line-height: 1.5;
  margin-top: var(--space-2);
}

/* ============================================================
   9. Upcoming Tours — School Finder
   ============================================================ */
.tours-section {
  background-color: var(--color-white);
  padding: var(--space-11) 0;
}

.tours-inner {
  padding-left: var(--space-10);
  padding-right: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  /* 96px in Figma ≈ space-8/9 */
  max-width: 90rem;
  margin-inline: auto;
}

/* --- Heading --- */
.tours-heading {
  margin: 0;
}

.tours-title-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, var(--fs-display-2));
  color: var(--color-navy);
  line-height: 1;
  transform: rotate(-2deg);
  transform-origin: top left;
  display: inline-block;
  margin-bottom: -1.5rem;
}

.tours-title-sans {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-h1);
  color: var(--color-dark-grey);
  letter-spacing: -0.19075rem;
  line-height: 1.05;
  margin: 0;
  display: block;
}

.tours-body {
  font-family: var(--font-sans);
  font-size: var(--fs-body-xl);
  font-weight: 400;
  color: var(--color-dark-grey);
  letter-spacing: -0.025rem;
  line-height: 1.5;
  max-width: 36.25rem;
  /* 580px */
  margin: 0;
  margin-left: auto;
}

/* --- Filter --- */
.tours-filter-group {
  display: flex;
  flex-direction: column;
  gap: 1.5625rem;
}

.tours-filter-label {
  font-family: var(--font-sans);
  font-size: var(--fs-h5);
  font-weight: 700;
  color: var(--color-dark-grey);
  letter-spacing: -0.02344rem;
  line-height: 1.2;
  margin: 0;
}

.filter-bar {
  display: flex;
  gap: 0.3125rem;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 0.9375rem;
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  color: var(--color-dark-grey);
  line-height: 1.3;
  transition: border-color 0.2s, color 0.2s;
}

.filter-btn.is-active,
.filter-btn:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

/* --- Card grid --- */
.school-grid {
  --bs-gutter-y: 2.5rem;
}

.school-card-col.is-hidden {
  display: none;
}

.school-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-white);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* .school-card:hover {
  box-shadow: 0 0.75rem 2rem rgba(5, 50, 132, 0.12);
  transform: translateY(-0.25rem);
} */

.school-card__image {
  width: 100%;
  aspect-ratio: 401 / 267;
  overflow: hidden;
  flex-shrink: 0;
}

.school-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.school-card:hover .school-card__image img {
  transform: scale(1.04);
}

.school-card__body {
  flex: 1;
  padding: 1.5625rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.school-card__heading {
  display: flex;
  flex-direction: column;
}

.school-card__campus {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.school-card__name {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-dark-grey);
  line-height: 1.2;
  letter-spacing: -0.03rem;
  margin: 0;
}

.school-card__actions {
  display: flex;
  gap: 0.625rem;
}

.school-card__actions .btn-solid,
.school-card__actions .btn-outline {
  flex: 1 1 0;
  padding-inline: 0rem;
}
.card-filter-grid {
  display: flex;
  flex-wrap: wrap;
}
.school-card-col {
  width: calc(33.3333% - 0.5px);
  /* shave a hair off to guarantee 3 always fit */
}

@media (max-width: 1199.98px) {
  .school-card-col {
    width: calc(50% - 0.5px);
  }
}

@media (max-width: 767.98px) {
  .school-card-col {
    width: 100%;
  }
}

/* --- Responsive overrides --- */
@media (max-width: 575.98px) {
  .tours-inner {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
    gap: var(--space-5);
  }

  .tours-body {
    margin-left: 0;
  }

  .school-grid {
    --bs-gutter-y: 1.5rem;
  }

  .school-card__actions {
    flex-direction: column;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .tours-inner {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
    gap: var(--space-6);
  }

  .tours-body {
    margin-left: 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .tours-inner {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
    gap: var(--space-7);
  }

  .tours-body {
    margin-left: 0;
  }
}



/* ============================================================
   10. Testimonials — What Parents Love
   ============================================================ */
.testimonials-section {
  position: relative;
  min-height: 50.625rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6.8125rem var(--space-10);
  gap: 2.375rem;
}

.testimonials-section .testimonials-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.testimonials-section .testimonials-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-section .testimonials-section__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.testimonials-section .testimonials-section__inner {
  position: relative;
  z-index: 2;
}

.testimonials-section .testimonials-heading {
  display: flex;
  flex-direction: column;
  max-width: 30.5rem;
}

.testimonials-section .testimonials-title-sans {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-h1);
  color: var(--color-white);
  letter-spacing: -0.11444rem;
  line-height: 1.4;
  margin-bottom: -3.125rem;
  display: block;
}

.testimonials-section .testimonials-title-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, var(--fs-display-2));
  color: var(--color-white);
  line-height: 1;
  transform: rotate(-2.5deg);
  display: inline-block;
}

.testimonials-section .testimonials-row {
  display: flex;
  gap: var(--space-5);
  align-items: stretch;
}

.testimonials-section .testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: 2.375rem;
  flex-wrap: wrap;
}

.testimonials-section .testimonials-controls .pagination-dots {
  margin-top: 0;
}

.testimonials-section .testimonials-nav {
  display: flex;
  gap: 0.625rem;
}

.testimonials-section .nav-arrow {
  width: 3.125rem;
  height: 3.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 0.0625rem solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
  color: var(--color-white);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.testimonials-section .nav-arrow:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy);
}

.testimonials-section .nav-arrow:focus-visible {
  outline: 0.125rem solid var(--color-white);
  outline-offset: 0.1875rem;
}

.testimonials-section .nav-arrow.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Mobile / tablet — no Swiper, plain grid */
@media (max-width: 991.98px) {

  .testimonials-section .testimonials-slider {
    overflow: visible;
  }

  .testimonials-section .testimonials-slider .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    /* 20px */
    transform: none !important;
  }

  .testimonials-section .testimonials-slider .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
    height: auto;
  }

  .testimonials-section .testimonials-controls {
    display: none;
  }
}



.quote-card {
  flex: 1;
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2.35625rem);
  -webkit-backdrop-filter: blur(2.35625rem);
  border: 0.0625rem solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 15.375rem;
}

.quote-card__text {
  font-family: var(--font-sans);
  font-size: var(--fs-h5);
  font-weight: 600;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.3;
}

.quote-card__author {
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.3;
  margin-top: var(--space-3);
}

.pagination-dots {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: 2.375rem;
}

.pagination-dots .swiper-pagination-bullet {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.2s;
  padding: 0;
}

.pagination-dots .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--color-white);
}

/* ============================================================
   11. Step Cards — What to Expect on Open Day
   ============================================================ */
.steps-section {
  background-color: var(--color-light-grey);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.125rem;
}

.steps-title {
  text-align: center;
}

.steps-title-script {
  font-family: var(--font-script);
  font-size: var(--fs-display-3);
  color: var(--color-dark-grey);
  line-height: 1.05;
  display: block;
  margin-bottom: -1.625rem;
}

.steps-title-sans {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-h1);
  color: var(--color-black-secondary);
  letter-spacing: -0.07638rem;
  line-height: 1.05;
  display: block;
}

.steps-row {
  display: flex;
  gap: 0.625rem;
  align-items: stretch;
  width: 100%;
}

.step-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.step-card__image {
  width: 100%;
  height: 13.020625rem;
  /* 208.33px */
  overflow: hidden;
  flex-shrink: 0;
}

.step-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-card__body {
  background-color: var(--color-white);
  padding: 1.5625rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.step-card__number {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  line-height: 1;
}

.step-card__heading {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-dark-grey);
  letter-spacing: -0.05859rem;
  line-height: 1.2;
  margin-top: -0.5rem;
}

.step-card__desc {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--color-dark-grey);
  letter-spacing: -0.01rem;
  line-height: 1.5;
}

/* ============================================================
   12. FAQ Section
   ============================================================ */
.faq-section {
  background-color: var(--color-light-grey);
  padding: var(--space-10);
  display: flex;
  gap: 3.125rem;
  align-items: flex-start;
}

.faq-section__image {
  flex: 0 0 38.8125rem;
  height: 47.125rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-section__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5);
}

.faq-title-script {
  font-family: var(--font-script);
  font-size: var(--fs-display-3);
  color: var(--color-dark-grey);
  line-height: 1.05;
  display: block;
  margin-bottom: -0.75rem;
}

.faq-title-sans {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-h2);
  color: var(--color-black-secondary);
  letter-spacing: -0.15259rem;
  line-height: 1.05;
  display: block;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0.9375rem 0.9375rem 0.9375rem 1.25rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-item__question {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--color-dark-grey);
  letter-spacing: -0.01rem;
  line-height: 1.4;
  flex: 1;
}

.faq-item__icon {
  color: var(--color-navy);
  font-size: var(--fs-body);
  flex-shrink: 0;
  transition: transform 0.25s ease;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--color-dark-grey);
  line-height: 1.5;
}

.faq-item__answer.is-open {
  max-height: 25rem;
  padding: 0 1.25rem 0.9375rem;
}

/* ============================================================
   13. CTA Section
   ============================================================ */
.cta-section {
  position: relative;
  min-height: 50.625rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.cta-section__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5625rem;
  max-width: 41.5rem;
  padding: var(--space-4);
}

.cta-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title-sans {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-h1);
  color: var(--color-white);
  letter-spacing: -0.11444rem;
  line-height: 1.4;
  margin-bottom: -3.125rem;
  display: block;
}

.cta-title-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, var(--fs-display-2));
  color: var(--color-white);
  line-height: 1;
  transform: rotate(-2.5deg);
  display: inline-block;
}

.cta-sub {
  font-family: var(--font-sans);
  font-size: var(--fs-body-xl);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.025rem;
  line-height: 1.5;
  max-width: 36.0625rem;
  margin-top: var(--space-3);
}

/* ============================================================
   14. Footer
   ============================================================ */
.footer {
  background-color: var(--color-navy);
}

.footer__main {
  padding: 2.8125rem var(--space-11);
  display: flex;
  gap: 7.125rem;
  align-items: flex-start;
  min-height: 22rem;
}

.footer__col-title {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 0.3125rem;
}

.footer__col-body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--color-white-secondary);
  letter-spacing: -0.01rem;
  line-height: 1.4;
}

.footer__schools-list li {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--color-white-secondary);
  letter-spacing: -0.01rem;
  line-height: 1.4;
}

.footer__schools-list li+li {
  margin-top: 0.625rem;
}

.footer__copyright {
  background-color: var(--color-navy-dark);
  padding: 3.375rem var(--space-11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.footer__copyright-text {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--color-white-secondary);
  letter-spacing: -0.01rem;
  line-height: 1.4;
  white-space: nowrap;
}

/* ============================================================
   15. Responsive — Mobile First
   ============================================================ */

/* xs: < 576px */
@media (max-width: 575.98px) {
  :root {
    --fs-display: 4rem;
    --fs-display-2: 3rem;
    --fs-display-3: 2.5rem;
    --fs-h1: 2.25rem;
    --fs-h2: 1.75rem;
    --fs-h4: 1.5rem;
    --fs-h5: 1.25rem;
    --fs-body-xl: 1.125rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__logo {
    left: 1.25rem;
    top: 1rem;
  }

  .hero__content {
    padding: var(--space-5) var(--space-2);
  }

  .values-bar {
    padding: var(--space-5) var(--space-3);
  }

  .about-section {
    flex-direction: column;
    padding: var(--space-8) var(--space-3);
  }

  .about-section__image {
    flex: none;
    width: 100%;
    height: 15rem;
  }

  .about-section__content {
    padding: var(--space-2) 0;
  }

  .why-section__content {
    padding: 0 var(--space-3);
  }

  .feature-cards-row {
    flex-direction: column;
    align-items: center;
  }

  .feature-card-wrap:nth-child(2),
  .feature-card-wrap:nth-child(3) {
    margin-top: 0;
  }

  .feature-card {
    width: 100%;
    max-width: 22rem;
    height: auto;
    min-height: 20rem;
  }


  .testimonials-section {
    padding: var(--space-8) var(--space-3);
  }

  .testimonials-section .testimonials-row {
    flex-direction: column;
  }

  .steps-section {
    padding: var(--space-8) var(--space-3);
  }

  .steps-row {
    flex-direction: column;
  }

  .faq-section {
    flex-direction: column;
    padding: var(--space-8) var(--space-3);
  }

  .faq-section__image {
    flex: none;
    width: 100%;
    height: 18rem;
  }

  .faq-section__content {
    padding: 0;
  }

  .cta-section {
    min-height: 70svh;
  }

  .cta-sub {
    font-size: var(--fs-body);
  }

  .footer__main {
    flex-direction: column;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-3);
  }

  .footer__copyright {
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-3);
    text-align: center;
  }
}

/* sm: 576px – 767px */
@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --fs-display: 5rem;
    --fs-display-2: 3.75rem;
    --fs-display-3: 3rem;
    --fs-h1: 2.5rem;
    --fs-h2: 2rem;
  }

  .values-bar {
    padding: var(--space-5) var(--space-5);
  }

  .about-section {
    flex-direction: column;
    padding: var(--space-8) var(--space-5);
  }

  .about-section__image {
    flex: none;
    width: 100%;
    height: 18rem;
  }

  .feature-cards-row {
    flex-direction: column;
    align-items: center;
  }

  .feature-card-wrap:nth-child(2),
  .feature-card-wrap:nth-child(3) {
    margin-top: 0;
  }

  .feature-card {
    width: 100%;
    max-width: 28rem;
    height: auto;
    min-height: 22rem;
  }

  .testimonials-section .testimonials-row {
    flex-direction: column;
  }

  .steps-row {
    flex-wrap: wrap;
  }

  .step-card {
    flex: 0 0 calc(50% - 0.3125rem);
  }

  .faq-section {
    flex-direction: column;
    padding: var(--space-8) var(--space-5);
  }

  .faq-section__image {
    flex: none;
    width: 100%;
    height: 20rem;
  }

  .footer__main {
    flex-wrap: wrap;
    gap: var(--space-8);
  }
}

/* md: 768px – 991px */
@media (min-width: 768px) and (max-width: 991.98px) {
  
  :root {
    --fs-display: 6rem;
    --fs-display-2: 5rem;
    --fs-display-3: 3.75rem;
    --fs-h1: 3rem;
    --fs-h2: 2.5rem;
  }
  .steps-row{
    flex-wrap: wrap;
  }

  .step-card {
    flex: 0 0 calc(50% - 0.3125rem);
  }

  .values-bar {
    padding: var(--space-5) var(--space-8);
  }

  .about-section {
    flex-direction: column;
    padding: var(--space-8) var(--space-8);
  }

  .about-section__image {
    flex: none;
    width: 100%;
    height: 22rem;
  }

  .feature-cards-row {
    flex-direction: column;
    align-items: center;
  }

  .feature-card-wrap:nth-child(2),
  .feature-card-wrap:nth-child(3) {
    margin-top: 0;
  }

  .feature-card {
    width: 100%;
    max-width: 30rem;
    height: auto;
    min-height: 24rem;
  }

  .faq-section {
    flex-direction: column;
    padding: var(--space-8);
  }

  .faq-section__image {
    flex: none;
    width: 100%;
    height: 22rem;
  }

  .footer__main {
    flex-wrap: wrap;
    gap: var(--space-8);
  }
}

/* lg: 992px – 1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  :root {
    --fs-display: 7.5rem;
    --fs-display-2: 6rem;
    --fs-display-3: 4.5rem;
  }

  .values-bar {
    padding: var(--space-5) var(--space-10);
  }

  .about-section__image {
    flex: 0 0 26rem;
    height: 22rem;
  }

  .feature-card {
    width: 19.5rem;
    height: 27rem;
  }

  .feature-card-wrap:nth-child(2) {
    margin-top: 3.5rem;
  }

  .feature-card-wrap:nth-child(3) {
    margin-top: 7rem;
  }

  .faq-section__image {
    flex: 0 0 28rem;
    height: 40rem;
  }
}