.hero {
  background: linear-gradient(
    118deg,
    var(--navy-dark) 0,
    var(--navy) 52%,
    var(--green-dark) 100%
  );
  color: var(--white);
  overflow: hidden;
  padding: 58px 0 64px;
  position: relative;
}

.hero:before {
  background: linear-gradient(
    90deg,
    rgba(255, 198, 0, 0.88),
    rgba(32, 201, 151, 0.72),
    rgba(77, 141, 255, 0.64)
  );
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.94fr);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1,
.hero p {
  color: var(--white);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.84);
  max-width: 660px;
}

.hero-note {
  align-items: center;
  border-left: 4px solid var(--gold);
  color: rgba(255, 255, 255, 0.84);
  display: flex;
  font-weight: 800;
  gap: 12px;
  margin-top: 20px;
  max-width: 610px;
  padding-left: 14px;
}

.hero-badges {
  margin-top: 22px;
}

.hero-badges .badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 12px 0;
  padding: 18px;
  position: relative;
}

.hero-panel .image-panel {
  border-radius: var(--image-radius);
  min-height: 390px;
}

.hero-float {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  position: absolute;
  width: 178px;
  z-index: 3;
}

.hero-float strong {
  color: var(--navy-dark);
  font-size: 0.98rem;
}

.hero-float span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-float.safe {
  left: 18px;
  top: 24px;
}

.hero-float.digital {
  bottom: 24px;
  right: 18px;
}

.admission-badge {
  align-items: center;
  background: var(--gold);
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  bottom: 92px;
  color: var(--navy-dark);
  display: flex;
  flex-direction: column;
  font-weight: 900;
  height: 132px;
  justify-content: center;
  line-height: 1.05;
  position: absolute;
  right: 24px;
  text-align: center;
  width: 132px;
  z-index: 3;
}

.admission-badge span {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.quick-features {
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.feature-deck {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 148px;
  padding: 22px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.mini-feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.mini-feature strong {
  color: var(--navy-dark);
  display: block;
  font-size: 1.04rem;
  margin-bottom: 6px;
}

.mini-feature span {
  color: var(--muted);
  display: block;
  font-size: 0.94rem;
}

.mini-feature:nth-child(1) {
  border-top: 5px solid var(--gold);
}

.mini-feature:nth-child(2) {
  border-top: 5px solid var(--green-bright);
}

.mini-feature:nth-child(3) {
  border-top: 5px solid var(--blue);
}

.mini-feature:nth-child(4) {
  border-top: 5px solid var(--coral);
}

.about-layout {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.about-media {
  display: grid;
  gap: 18px;
  grid-template-columns: 0.86fr 1fr;
}

.about-media .image-panel:first-child {
  min-height: 510px;
}

.about-stack {
  display: grid;
  gap: 18px;
}

.quote-card {
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--white);
  padding: 28px;
}

.quote-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.quote-card strong {
  color: var(--gold);
  display: block;
  margin-top: 14px;
}

.about-points {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.about-point {
  align-items: flex-start;
  display: grid;
  gap: 14px;
  grid-template-columns: 48px minmax(0, 1fr);
}

.about-point span {
  align-items: center;
  background: var(--soft-blue);
  border-radius: var(--radius);
  color: var(--green-dark);
  display: flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
}

.stats-band {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 34px 0;
}

.stats-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  border-left: 4px solid var(--gold);
  padding: 10px 20px;
}

.stat-item strong {
  color: var(--navy-dark);
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.15rem;
  line-height: 1;
}

.stat-item span {
  color: var(--muted);
  font-weight: 800;
}

.parents-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
}

.parent-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  min-height: 212px;
  padding: 26px;
}

.parent-card.wide {
  background: var(--navy);
  grid-row: span 2;
}

.parent-card.wide h3,
.parent-card.wide p {
  color: var(--white);
}

.parent-badges {
  margin-top: 22px;
}

.parent-card.gold {
  background: var(--gold);
}

.parent-card.gold h3,
.parent-card.gold p {
  color: var(--navy-dark);
}

.parent-card.image-card {
  min-height: 280px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.parent-card.image-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.parent-card.image-card span {
  background: rgba(4, 31, 61, 0.82);
  bottom: 16px;
  color: var(--white);
  font-weight: 900;
  left: 16px;
  padding: 8px 12px;
  position: absolute;
}

.academic-steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  min-height: 278px;
  padding: 24px;
  position: relative;
}

.stage-card:before {
  background: var(--gold);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.stage-number {
  align-items: center;
  background: var(--soft-blue);
  border-radius: 50%;
  color: var(--green-dark);
  display: inline-flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  margin-bottom: 18px;
  width: 48px;
}

.stage-range {
  color: var(--green);
  display: block;
  font-weight: 900;
  margin: 10px 0;
}

.facility-mosaic {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 240px 240px;
}

.facility-tile {
  border-radius: var(--image-radius);
  box-shadow: var(--shadow);
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.facility-tile.large {
  grid-row: span 2;
}

.facility-tile.wide {
  grid-column: span 2;
}

.facility-tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  width: 100%;
}

.facility-tile:hover img {
  transform: scale(1.05);
}

.facility-tile:after {
  background: linear-gradient(
    180deg,
    rgba(4, 31, 61, 0.02),
    rgba(4, 31, 61, 0.78)
  );
  content: "";
  inset: 0;
  position: absolute;
}

.facility-caption {
  bottom: 18px;
  left: 18px;
  position: absolute;
  right: 18px;
  z-index: 1;
}

.facility-caption strong,
.facility-caption span {
  color: var(--white);
  display: block;
}

.facility-caption strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.activity-mosaic {
  display: grid;
  gap: 18px;
  grid-template-columns: 0.95fr 1.1fr 0.95fr;
}

.activity-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  overflow: hidden;

  /* Make the card a flex container to manage inner height */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.activity-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  flex-shrink: 0; /* Prevents the image from being squished */
}

.activity-card div {
  padding: 22px;
  /* Allows the text block to fill remaining space on normal cards */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.activity-card.featured {
  grid-row: span 2;
}

/* FIX: Tell the featured card's image to stretch and absorb the extra height */
.activity-card.featured img {
  aspect-ratio: auto; /* Remove the strict aspect ratio */
  flex-grow: 1; /* Image takes up all remaining vertical space */
  height: 0; /* Forces flexbox to dynamically calculate height */
  min-height: 250px; /* Safe fallback for mobile */
}

.activity-card.featured div {
  flex-grow: 0; /* Keep the text box its natural size so the image stretches instead */
}

.leadership-band {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 0.95fr 1.05fr;
}

.leader-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leader-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.leader-chip strong {
  color: var(--navy-dark);
  display: block;
  margin-bottom: 4px;
}

.admission-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.admission-checklist {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 24px;
}

.admission-checklist ul {
  list-style: none;
  padding-left: 0;
}

.admission-checklist li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 0;
}

.contact-strip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.contact-strip a,
.contact-strip div {
  border-right: 1px solid var(--border);
  padding: 24px;
}

.contact-strip a:last-child,
.contact-strip div:last-child {
  border-right: 0;
}

.contact-strip strong {
  color: var(--navy-dark);
  display: block;
}

.contact-strip span {
  color: var(--muted);
}

/* --- ROUNDED CIRCLE CLEAN UI --- */

.circle-ui-section {
  background: var(--page);
  padding: 100px 0 120px;
}

.circle-header {
  margin-bottom: 80px; /* Extra space for floating pop-out images */
}

.circle-header h2 {
  max-width: 740px;
  margin: 0 auto;
}

.pill-eyebrow {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--soft-shadow);
  padding: 8px 20px;
  border-radius: 50px; /* Pill shape */
  margin-bottom: 20px;
}

.pill-eyebrow:before {
  display: none; /* Removing the dot for a cleaner pill look */
}

/* The Grid */
.circle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px; /* More vertical gap for the pop-out circles */
}

/* Clean Rounded Cards */
.circle-card {
  border-radius: 40px; /* Extreme rounded corners */
  text-align: center;
  position: relative;
  padding: 0 32px 40px;
  margin-top: 60px; /* Space for the floating circle image */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
}

.circle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

/* Floating Circular Image */
.card-circle-img {
  width: 140px;
  height: 140px;
  margin: -70px auto 24px; /* Pulls the image halfway out of the top of the card */
  border-radius: 50%; /* Perfect circle */
  border: 8px solid; /* Border color defined per theme below */
  background: var(--white);
  box-shadow: var(--soft-shadow);
  position: relative;
  z-index: 2;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.circle-card:hover .card-circle-img {
  transform: scale(1.05) rotate(2deg);
}

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

/* Card Content Alignment */
.circle-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.circle-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.circle-card p {
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Card Color Themes --- */

/* White Clean Theme */
.card-white {
  background: var(--white);
  border: 1px solid var(--border);
}
.card-white .card-circle-img {
  border-color: var(--white);
}

/* Navy Theme */
.card-navy {
  background: var(--navy-dark);
}
.card-navy .card-circle-img {
  border-color: var(--navy-dark);
}
.card-navy h3 {
  color: var(--white);
}
.card-navy p {
  color: rgba(255, 255, 255, 0.85);
}

/* Gold Theme */
.card-gold {
  background: var(--gold);
}
.card-gold .card-circle-img {
  border-color: var(--gold);
}
.card-gold h3,
.card-gold p {
  color: var(--navy-dark);
}

/* Soft Blue Theme */
.card-soft {
  background: var(--soft-blue);
  border: 1px solid rgba(229, 237, 245, 0.8);
}
.card-soft .card-circle-img {
  border-color: var(--soft-blue);
}

/* Badges for the first card */
.center-badges {
  justify-content: center;
  margin-top: auto; /* Pushes badges to the bottom */
  padding-top: 24px;
}

.pill-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* Layout Spans */
.circle-span-2 {
  grid-column: span 2;
}

/* Responsive */
@media (max-width: 1024px) {
  .circle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .circle-span-2 {
    grid-column: span 1; /* Reset span on medium screens */
  }
}

@media (max-width: 680px) {
  .circle-grid {
    grid-template-columns: 1fr;
  }
  .circle-card {
    border-radius: 32px;
    padding: 0 24px 32px;
  }
  .card-circle-img {
    width: 120px;
    height: 120px;
    margin-top: -60px;
  }
}
/* --- HERO: FULL CAMPUS PHOTO + FLOATING CONTENT CARD --- */

.hero-banner {
  align-items: center;
  display: flex;
  min-height: 600px;
  overflow: hidden;
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

/* Top accent bar */
.hero-banner:before {
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--green-bright),
    var(--blue)
  );
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

/* Full-bleed background photo */
.hero-bg {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.hero-bg img {
  filter: saturate(1.05) contrast(1.02);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Scrim: darker on the left under the card, fading to clear photo on the right */
.hero-bg:after {
  background: linear-gradient(
    100deg,
    rgba(4, 31, 61, 0.62) 0%,
    rgba(4, 31, 61, 0.28) 40%,
    rgba(4, 31, 61, 0.05) 66%,
    transparent 100%
  );
  content: "";
  inset: 0;
  position: absolute;
}

/* Floating content card — sized to its content, so there is no empty space */
.hero-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: 0 34px 80px rgba(4, 31, 61, 0.36);
  max-width: 600px;
  padding: 40px 44px;
  position: relative;
  z-index: 2;
}

/* Brand lockup */
.hero-brandblock {
  line-height: 1;
}

.hero-brand-top {
  color: var(--navy);
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-brand-big {
  background: linear-gradient(180deg, #3b7be0 0%, #062b55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--blue);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.8rem, 4.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 0.92;
  margin: 6px 0;
  white-space: nowrap;
}

.hero-brand-sub {
  align-items: center;
  color: var(--navy);
  display: flex;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(0.85rem, 1.4vw, 1.18rem);
  font-weight: 700;
  gap: 12px;
  letter-spacing: 1.5px;
}

.hero-brand-sub i {
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
  height: 3px;
  width: 34px;
}

/* Tagline */
.hero-tagline {
  color: var(--navy-dark);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 600;
  margin: 22px 0 30px;
}

.hero-tagline em {
  color: var(--blue);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08em;
  font-style: italic;
  font-weight: 700;
  margin: 0 0.22em 0 0.08em;
}

/* Four feature icons */
.hero-feature-icons {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-fi {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  text-align: center;
}

.hero-fi + .hero-fi:before {
  background: var(--border);
  content: "";
  height: 54px;
  left: -9px;
  position: absolute;
  top: 6px;
  width: 1px;
}

.hero-fi-circle {
  align-items: center;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(6, 43, 85, 0.24);
  color: var(--white);
  display: inline-flex;
  height: 62px;
  justify-content: center;
  transition: transform 0.3s ease;
  width: 62px;
}

.hero-fi:hover .hero-fi-circle {
  transform: translateY(-4px);
}

.hero-fi-circle svg {
  height: 28px;
  width: 28px;
}

.hero-fi-label {
  color: var(--navy-dark);
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.32;
  text-transform: uppercase;
}

.hero-fi-label strong {
  color: var(--navy);
  display: block;
  font-weight: 900;
}

/* Admissions ribbon */
.hero-admit-ribbon {
  align-items: center;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 999px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 28px;
  padding: 9px 9px 9px 24px;
}

.hero-admit-ribbon strong {
  color: var(--navy-dark);
  font-size: 1rem;
}

.hero-admit-ribbon .btn {
  min-height: 42px;
  padding: 10px 22px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-banner {
    min-height: 540px;
  }
  .hero-card {
    max-width: 540px;
    padding: 36px 38px;
  }
}

@media (max-width: 760px) {
  .hero-banner {
    min-height: 0;
    padding: 48px 0;
  }
  /* Uniform scrim on small screens so the card reads over any part of the photo */
  .hero-bg:after {
    background: linear-gradient(
      180deg,
      rgba(4, 31, 61, 0.5),
      rgba(4, 31, 61, 0.6)
    );
  }
  .hero-card {
    max-width: 100%;
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .hero-feature-icons {
    gap: 24px 12px;
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-fi:nth-child(3):before {
    display: none;
  }
  .hero-admit-ribbon {
    border-radius: 22px;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    text-align: center;
  }
  .hero-brand-big {
    font-size: 3.1rem;
  }
}

/* --- HERO D MAIN SLIDER --- */

.hero-slim {
  align-items: center;
  display: flex;
  min-height: 680px;
  overflow: hidden;
  padding: 84px 0;
  position: relative;
  z-index: 1;
}

.hero-slim:before {
  display: none;
}

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

.sbg img {
  filter: saturate(1.05) contrast(1.02);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-bg-slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.7s ease;
}

.hero-bg-slide.is-active {
  opacity: 1;
}

.sbg:after {
  background: linear-gradient(
    90deg,
    rgba(2, 15, 32, 0.86),
    rgba(2, 15, 32, 0.52) 58%,
    rgba(2, 15, 32, 0.2)
  );
  content: "";
  inset: 0;
  position: absolute;
}

.hero-slider-layout {
  display: block;
  position: relative;
  z-index: 2;
}

.hero-slim-copy {
  max-width: 980px;
}

.hero-slim .hero-brand-top {
  color: var(--gold);
}

.hero-slim .hero-brand-big {
  background: none;
  color: var(--white);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: 0.9;
  -webkit-text-fill-color: var(--white);
}

.hero-slim .hero-brand-sub,
.hero-slim .hero-tagline {
  color: var(--white);
}

.hero-slim .hero-tagline {
  margin-bottom: 0;
  max-width: 580px;
}

.hero-slim .hero-tagline em {
  color: var(--gold);
}

.hero-info-panel {
  margin-top: 28px;
  max-width: 920px;
}

.hero-info-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-info-item {
  align-content: start;
  border-left: 3px solid rgba(255, 198, 0, 0.82);
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-left: 16px;
}

.hero-info-item .hero-fi-circle {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: var(--gold);
  height: 46px;
  width: 46px;
}

.hero-info-item .hero-fi-circle svg {
  height: 23px;
  width: 23px;
}

.hero-info-item h2 {
  color: var(--white);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 5px;
}

.hero-info-item p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 0;
}

.hero-info-panel .hero-admit-ribbon {
  margin-top: 26px;
  max-width: 640px;
}

@media (max-width: 1020px) {
  .hero-slim {
    min-height: 0;
    padding: 72px 0;
  }

  .hero-slider-layout {
    display: block;
  }

  .hero-slim-copy {
    max-width: 680px;
  }

  .hero-info-panel {
    max-width: 760px;
  }

  .hero-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero-slim {
    padding: 56px 0;
  }

  .sbg:after {
    background: rgba(2, 15, 32, 0.72);
  }

  .hero-info-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-info-item {
    align-items: center;
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .hero-info-panel .hero-admit-ribbon {
    max-width: none;
  }
}

/* --- ADVANCED CLEAN METRICS SECTION --- */

.advanced-metrics-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--page) 100%);
  position: relative;
  z-index: 2;
}

.metrics-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  background: var(--white);
  border: 1px solid rgba(229, 237, 245, 0.8);
  border-radius: 28px; /* Smooth, modern corner radius */
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(6, 43, 85, 0.04); /* Ultra-soft shadow */
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s ease;
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(6, 43, 85, 0.08);
  border-color: rgba(229, 237, 245, 1);
}

/* Icon Styling with Soft Background Glows */
.metric-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px; /* Squircle shape */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.gold-glow {
  background: rgba(255, 198, 0, 0.15);
}
.green-glow {
  background: rgba(32, 201, 151, 0.15);
}
.blue-glow {
  background: rgba(77, 141, 255, 0.15);
}
.coral-glow {
  background: rgba(255, 79, 104, 0.12);
}

/* Data Typography */
.metric-data strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.8rem;
  color: var(--navy-dark);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.metric-data span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .metrics-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .advanced-metrics-section {
    padding: 60px 0;
  }
  .metrics-bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .metric-card {
    flex-direction: row; /* Horizontal layout on mobile to save space */
    align-items: center;
    padding: 24px;
    border-radius: 20px;
  }
  .metric-data strong {
    font-size: 2rem;
    margin-bottom: 4px;
  }
}

/* --- ACADEMIC LIFECYCLE RING UI --- */

.academic-lifecycle {
  background: var(--page, #f9fafc);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.lifecycle-header {
  text-align: center;
  margin-bottom: 80px;
}

.lifecycle-header h2 {
  color: var(--navy-dark, #021224);
  max-width: 680px;
  margin: 16px auto 20px;
  font-size: 2.8rem;
  line-height: 1.2;
}

.lifecycle-header .lead {
  color: var(--muted, #6c757d);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Timeline Wrapper & Track */
.ring-timeline-wrapper {
  position: relative;
  z-index: 1;
}

.ring-track {
  position: absolute;
  top: 70px; /* Aligns exactly with the center of the rings */
  left: 5%;
  right: 5%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--gold, #ffc600) 0%,
    var(--green-bright, #20c997) 33%,
    var(--blue, #4d8dff) 66%,
    var(--coral, #ff4f68) 100%
  );
  border-radius: 4px;
  z-index: 0;
  opacity: 0.3;
}

/* Grid Layout */
.ring-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

/* Individual Nodes */
.ring-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.ring-node:hover {
  transform: translateY(-10px);
}

/* Concentric Rings Design */
.ring-wrapper {
  background: var(--page, #f9fafc); /* Masks the track line behind it */
  padding: 10px;
  border-radius: 50%;
  margin-bottom: 32px;
}

.ring-outer {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white, #ffffff);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ring-inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(0, 0, 0, 0.1);
}

.ring-node:hover .ring-outer {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Ring Colors via border */
.gold-ring .ring-outer {
  border: 6px solid var(--gold, #ffc600);
}
.gold-ring .ring-inner {
  background: rgba(255, 198, 0, 0.1);
}

.green-ring .ring-outer {
  border: 6px solid var(--green-bright, #20c997);
}
.green-ring .ring-inner {
  background: rgba(32, 201, 151, 0.1);
}

.blue-ring .ring-outer {
  border: 6px solid var(--blue, #4d8dff);
}
.blue-ring .ring-inner {
  background: rgba(77, 141, 255, 0.1);
}

.coral-ring .ring-outer {
  border: 6px solid var(--coral, #ff4f68);
}
.coral-ring .ring-inner {
  background: rgba(255, 79, 104, 0.1);
}

/* Ring Typography */
.ring-number {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy-dark, #021224);
  line-height: 1;
}

/* Content Area */
.ring-content {
  background: var(--white, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(6, 43, 85, 0.03);
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ring-content h3 {
  font-size: 1.3rem;
  color: var(--navy-dark, #021224);
  margin-bottom: 12px;
}

.ring-content p {
  color: var(--muted, #6c757d);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Stage Range Pills */
.stage-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.pill-gold {
  background: rgba(255, 198, 0, 0.15);
  color: #b38b00;
}
.pill-green {
  background: rgba(32, 201, 151, 0.15);
  color: #148563;
}
.pill-blue {
  background: rgba(77, 141, 255, 0.15);
  color: #2a61c7;
}
.pill-coral {
  background: rgba(255, 79, 104, 0.15);
  color: #cc2a41;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .ring-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }
  .ring-track {
    display: none; /* Hide horizontal track on multi-row layouts */
  }
  .ring-wrapper {
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .ring-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lifecycle-header h2 {
    font-size: 2.2rem;
  }
  .ring-outer {
    width: 100px;
    height: 100px;
  }
  .ring-inner {
    width: 66px;
    height: 66px;
  }
  .ring-number {
    font-size: 1.5rem;
  }
}

/* --- CONFIDENCE VISIBLE ACTIVITY STORY UI --- */

.confidence-visible-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 198, 0, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(32, 201, 151, 0.12),
      transparent 36%
    ),
    var(--white);
  overflow: hidden;
}

.confidence-head {
  align-items: center;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
}

.confidence-head h2 {
  margin-bottom: 14px;
}

.confidence-head .lead {
  margin-left: auto;
  margin-right: auto;
}

.confidence-showcase {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

/* Left visual composition */
.confidence-visual {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.8fr);
  grid-template-rows: 230px 190px 170px;
  min-height: 622px;
  position: relative;
}

.confidence-photo {
  border: 8px solid var(--white);
  border-radius: 28px;
  box-shadow: 0 22px 46px rgba(6, 43, 85, 0.16);
  overflow: hidden;
  position: relative;
}

.confidence-photo:after {
  background: linear-gradient(
    180deg,
    rgba(4, 31, 61, 0.02),
    rgba(4, 31, 61, 0.24)
  );
  content: "";
  inset: 0;
  position: absolute;
}

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

.confidence-photo-large {
  border-radius: 34px;
  grid-row: span 2;
}

.confidence-photo-small {
  min-height: 0;
}

.confidence-photo-wide {
  grid-column: span 2;
}

/* Right timeline content */
.confidence-storyline {
  display: grid;
  gap: 30px;
  position: relative;
}

.confidence-storyline:before {
  background: linear-gradient(
    180deg,
    var(--gold),
    var(--green-bright),
    var(--blue),
    var(--coral)
  );
  border-radius: 999px;
  bottom: 14px;
  content: "";
  left: 31px;
  opacity: 0.35;
  position: absolute;
  top: 14px;
  width: 4px;
}

.confidence-step {
  display: grid;
  gap: 24px;
  grid-template-columns: 66px minmax(0, 1fr);
  position: relative;
}

.confidence-number {
  align-items: center;
  background: var(--white);
  border: 4px solid var(--soft-blue);
  border-radius: 50%;
  box-shadow: var(--soft-shadow);
  color: var(--navy-dark);
  display: flex;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 900;
  height: 66px;
  justify-content: center;
  position: relative;
  width: 66px;
  z-index: 2;
}

.confidence-step:nth-child(1) .confidence-number {
  border-color: var(--gold);
}

.confidence-step:nth-child(2) .confidence-number {
  border-color: var(--green-bright);
}

.confidence-step:nth-child(3) .confidence-number {
  border-color: var(--blue);
}

.confidence-step:nth-child(4) .confidence-number {
  border-color: var(--coral);
}

.confidence-step:nth-child(5) .confidence-number {
  border-color: var(--navy);
}

.confidence-step h3 {
  color: var(--navy-dark);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.confidence-step p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 560px;
}

/* Responsive */
@media (max-width: 1024px) {
  .confidence-showcase {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .confidence-visual {
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
  }
}

@media (max-width: 680px) {
  .confidence-head {
    margin-bottom: 44px;
  }

  .confidence-visual {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .confidence-photo,
  .confidence-photo-large,
  .confidence-photo-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .confidence-photo {
    min-height: 230px;
  }

  .confidence-storyline {
    gap: 26px;
  }

  .confidence-step {
    gap: 18px;
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .confidence-storyline:before {
    left: 25px;
  }

  .confidence-number {
    font-size: 1rem;
    height: 54px;
    width: 54px;
  }

  .confidence-step h3 {
    font-size: 1.18rem;
  }
}

/* Color themes */
.gold-dot,
.gold-label {
  background: rgba(255, 198, 0, 0.18);
}

.green-dot,
.green-label {
  background: rgba(32, 201, 151, 0.16);
}

.blue-dot,
.blue-label {
  background: rgba(77, 141, 255, 0.16);
}

.coral-dot,
.coral-label {
  background: rgba(255, 79, 104, 0.14);
}

.gold-dot {
  border: 2px solid rgba(255, 198, 0, 0.75);
}

.green-dot {
  border: 2px solid rgba(32, 201, 151, 0.7);
}

.blue-dot {
  border: 2px solid rgba(77, 141, 255, 0.7);
}

.coral-dot {
  border: 2px solid rgba(255, 79, 104, 0.62);
}

.gold-label {
  color: #a47d00;
}

.green-label {
  color: #128260;
}

.blue-label {
  color: #2a61c7;
}

.coral-label {
  color: #c72e45;
}

/* Responsive */
@media (max-width: 1050px) {
  .academic-orbit {
    height: auto;
    max-width: 720px;
  }

  .orbit-ring,
  .orbit-core {
    display: none;
  }

  .academic-orbit {
    display: grid;
    gap: 22px;
  }

  .orbit-stage,
  .orbit-top,
  .orbit-right,
  .orbit-bottom,
  .orbit-left {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    position: relative;
    transform: none;
    width: 100%;
  }

  .orbit-stage:hover {
    transform: translateY(-5px);
  }

  .academic-orbit:before {
    background: linear-gradient(
      180deg,
      var(--gold),
      var(--green-bright),
      var(--blue),
      var(--coral)
    );
    border-radius: 999px;
    bottom: 40px;
    content: "";
    left: 37px;
    opacity: 0.28;
    position: absolute;
    top: 40px;
    width: 4px;
    z-index: 1;
  }

  .orbit-stage {
    z-index: 2;
  }
}

@media (max-width: 640px) {
  .academic-orbit-section {
    padding: 76px 0 86px;
  }

  .orbit-header {
    margin-bottom: 42px;
  }

  .orbit-stage {
    border-radius: 32px;
    gap: 16px;
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: auto;
    padding: 22px;
  }

  .academic-orbit:before {
    left: 28px;
  }

  .orbit-number {
    font-size: 1rem;
    height: 58px;
    width: 58px;
  }

  .orbit-number:before {
    inset: 7px;
  }

  .orbit-stage h3 {
    font-size: 1.15rem;
  }

  .orbit-stage p {
    font-size: 0.9rem;
  }
}

/* ==========================================================
   ADDED CLEAN IMAGE-BASED HOME SECTIONS
   Sections: Campus in Pictures, Everyday Student Life,
   Three Photo Folders
   ========================================================== */

.visual-story-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 198, 0, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, var(--white) 0%, var(--page) 100%);
  overflow: hidden;
}

.visual-story-head {
  margin: 0 auto 54px;
  max-width: 820px;
  text-align: center;
}

.visual-story-head .lead {
  margin-left: auto;
  margin-right: auto;
}

.visual-bento-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: 260px 260px;
}

.visual-bento-card {
  border-radius: 34px;
  box-shadow: 0 24px 60px rgba(6, 43, 85, 0.14);
  min-height: 230px;
  overflow: hidden;
  position: relative;
}

.visual-bento-card:after {
  background: linear-gradient(
    180deg,
    rgba(4, 31, 61, 0.02),
    rgba(4, 31, 61, 0.82)
  );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.visual-bento-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  width: 100%;
}

.visual-bento-card:hover img {
  transform: scale(1.08);
}

.visual-bento-large {
  grid-row: span 2;
}

.visual-bento-wide {
  grid-column: span 2;
}

.visual-bento-content {
  bottom: 24px;
  display: grid;
  gap: 8px;
  left: 24px;
  max-width: 520px;
  position: absolute;
  right: 24px;
  z-index: 2;
}

.visual-bento-content small {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  justify-self: flex-start;
  letter-spacing: 0.5px;
  padding: 7px 13px;
  text-transform: uppercase;
}

.visual-bento-content strong {
  color: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.visual-bento-large .visual-bento-content strong,
.visual-bento-wide .visual-bento-content strong {
  font-size: 2rem;
}

.visual-bento-content em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
  margin-top: 4px;
}

.day-flow-section {
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 198, 0, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(32, 201, 151, 0.14),
      transparent 34%
    ),
    var(--navy-dark);
  color: var(--white);
  overflow: hidden;
}

.day-flow-layout {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.day-flow-intro h2,
.day-flow-intro p {
  color: var(--white);
}

.day-flow-intro .lead {
  color: rgba(255, 255, 255, 0.78);
}

.day-flow-note {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 22px 24px;
}

.day-flow-note strong {
  color: var(--gold);
  font-size: 1.08rem;
}

.day-flow-note span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  line-height: 1.55;
}

.day-flow-cards {
  display: grid;
  gap: 18px;
}

.day-flow-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 22px;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  padding: 14px 24px 14px 14px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.day-flow-card:hover {
  box-shadow: 0 32px 68px rgba(0, 0, 0, 0.24);
  transform: translateY(-5px);
}

.day-flow-card img {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  width: 100%;
}

.day-flow-card span {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy-dark);
  display: inline-flex;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  margin-bottom: 12px;
  width: 48px;
}

.day-flow-card h3 {
  color: var(--navy-dark);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.day-flow-card p {
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 0;
}

.photo-strip-section {
  background: var(--white);
  overflow: hidden;
}

.photo-strip-head {
  margin: 0 auto 56px;
  max-width: 760px;
  text-align: center;
}

.photo-strip-head .lead {
  margin-left: auto;
  margin-right: auto;
}

.photo-story-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.photo-story-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.photo-story-images {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  height: 250px;
  padding: 12px 12px 0;
}

.photo-story-images img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-story-images img:first-child {
  border-radius: 24px 8px 8px 8px;
}

.photo-story-images img:last-child {
  border-radius: 8px 24px 8px 8px;
}

.featured-photo-story {
  background: var(--navy-dark);
  color: var(--white);
}

.featured-photo-story .photo-story-content h3,
.featured-photo-story .photo-story-content p {
  color: var(--white);
}

.featured-photo-story .photo-story-content p {
  color: rgba(255, 255, 255, 0.78);
}

.photo-story-content {
  padding: 26px;
}

.photo-story-content span {
  background: var(--soft-blue);
  border-radius: 999px;
  color: var(--green-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding: 7px 14px;
  text-transform: uppercase;
}

.featured-photo-story .photo-story-content span {
  background: rgba(255, 198, 0, 0.15);
  color: var(--gold);
}

.photo-story-content h3 {
  color: var(--navy-dark);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.photo-story-content p {
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 18px;
}

.photo-story-content a {
  color: var(--green-dark);
  font-weight: 900;
}

.featured-photo-story .photo-story-content a {
  color: var(--gold);
}

@media (max-width: 1080px) {
  .visual-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .visual-bento-large,
  .visual-bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .visual-bento-card {
    height: 320px;
  }

  .day-flow-layout {
    grid-template-columns: 1fr;
  }

  .photo-story-grid {
    grid-template-columns: 1fr;
  }

  .photo-story-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .photo-story-images {
    height: auto;
    min-height: 260px;
    padding: 12px 0 12px 12px;
  }
}

@media (max-width: 720px) {
  .visual-bento-grid {
    grid-template-columns: 1fr;
  }

  .visual-bento-card {
    border-radius: 26px;
    height: 300px;
  }

  .visual-bento-large .visual-bento-content strong,
  .visual-bento-wide .visual-bento-content strong,
  .visual-bento-content strong {
    font-size: 1.38rem;
  }

  .day-flow-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .day-flow-card img {
    min-height: 210px;
  }

  .photo-story-card {
    display: block;
  }

  .photo-story-images {
    height: 220px;
    min-height: 0;
    padding: 12px 12px 0;
  }
}

/* ==========================================================
   CLEAN IMAGE UI FINAL UPDATE
   Parent-facing labels only. No visible folder names.
   Uses exact image filenames from assets/images/folder-1, folder-2, folder-3.
   ========================================================== */

.parent-visual-story-section {
  background: var(--white);
}

.clean-parent-story-grid .photo-story-content span {
  background: var(--soft-blue);
  color: var(--green-dark);
}

.clean-parent-story-grid .featured-photo-story .photo-story-content span {
  background: rgba(255, 198, 0, 0.16);
  color: var(--gold);
}

.clean-image-ui-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(32, 201, 151, 0.13),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(255, 198, 0, 0.16),
      transparent 34%
    ),
    var(--page);
  overflow: hidden;
}

.clean-image-ui-layout {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
}

.clean-ui-kicker {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  color: var(--green-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.7px;
  margin-bottom: 18px;
  padding: 9px 16px;
  text-transform: uppercase;
}

.clean-image-copy h2 {
  max-width: 560px;
}

.clean-image-copy .lead {
  max-width: 580px;
}

.clean-image-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.clean-image-points div {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 14px;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 14px 18px;
}

.clean-image-points strong {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy-dark);
  display: inline-flex;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.clean-image-points span {
  color: var(--navy-dark);
  font-weight: 900;
}

.clean-image-board {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 260px 230px 230px;
}

.clean-image-card {
  border-radius: 34px;
  box-shadow: 0 26px 62px rgba(6, 43, 85, 0.15);
  min-height: 230px;
  overflow: hidden;
  position: relative;
}

.clean-image-card:after {
  background: linear-gradient(
    180deg,
    rgba(4, 31, 61, 0.02),
    rgba(4, 31, 61, 0.82)
  );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.clean-image-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  width: 100%;
}

.clean-image-card:hover img {
  transform: scale(1.08);
}

.clean-image-card div {
  bottom: 22px;
  display: grid;
  gap: 7px;
  left: 22px;
  position: absolute;
  right: 22px;
  z-index: 2;
}

.clean-image-card small {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  justify-self: flex-start;
  letter-spacing: 0.55px;
  padding: 7px 12px;
  text-transform: uppercase;
}

.clean-image-card h3,
.clean-image-card p {
  color: var(--white);
}

.clean-image-card h3 {
  font-size: 1.18rem;
  line-height: 1.18;
  margin-bottom: 0;
}

.clean-image-card p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin-bottom: 0;
}

.clean-image-card-large {
  grid-row: span 2;
}

.clean-image-card-large h3,
.clean-image-card-wide h3 {
  font-size: 1.7rem;
}

.clean-image-card-wide {
  grid-column: span 2;
}

.continuous-gallery-section {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  overflow: hidden;
  padding-bottom: 92px;
}

.continuous-gallery-head {
  margin: 0 auto 52px;
  max-width: 830px;
}

.continuous-gallery-head .clean-ui-kicker {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--gold);
}

.continuous-gallery-head h2,
.continuous-gallery-head .lead {
  color: var(--white);
}

.continuous-gallery-head .lead {
  color: rgba(255, 255, 255, 0.78);
}

.gallery-rail {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.rail-title-row {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.rail-title-row h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0;
}

.rail-title-row span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.gallery-mask {
  overflow: hidden;
  position: relative;
}

.gallery-mask:before,
.gallery-mask:after {
  content: "";
  height: 100%;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 120px;
  z-index: 3;
}

.gallery-mask:before {
  background: linear-gradient(90deg, var(--navy-dark), transparent);
  left: 0;
}

.gallery-mask:after {
  background: linear-gradient(270deg, var(--navy), transparent);
  right: 0;
}

.gallery-marquee-track {
  animation: cleanGalleryScroll var(--scroll-duration, 90s) linear infinite;
  display: flex;
  gap: 18px;
  width: max-content;
}

.gallery-rail-reverse .gallery-marquee-track {
  animation-name: cleanGalleryScrollReverse;
}

.gallery-mask:hover .gallery-marquee-track {
  animation-play-state: paused;
}

.gallery-set {
  display: flex;
  gap: 18px;
}

.gallery-photo-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
  flex: 0 0 246px;
  height: 190px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.gallery-photo-card:nth-child(3n) {
  flex-basis: 300px;
}

.gallery-photo-card:nth-child(5n) {
  height: 220px;
}

.gallery-photo-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gallery-photo-card span {
  background: rgba(4, 31, 61, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  bottom: 14px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  left: 14px;
  letter-spacing: 0.4px;
  padding: 6px 11px;
  position: absolute;
  text-transform: uppercase;
}

@keyframes cleanGalleryScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes cleanGalleryScrollReverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.parent-proof-image-section {
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 198, 0, 0.15),
      transparent 34%
    ),
    var(--page);
}

.parent-proof-head {
  margin: 0 auto 54px;
  max-width: 780px;
}

.parent-proof-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.parent-proof-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.parent-proof-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.parent-proof-card div {
  display: grid;
  gap: 10px;
  padding: 26px;
}

.parent-proof-card small {
  background: var(--soft-blue);
  border-radius: 999px;
  color: var(--green-dark);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 900;
  justify-self: flex-start;
  letter-spacing: 0.5px;
  padding: 7px 13px;
  text-transform: uppercase;
}

.parent-proof-card h3 {
  color: var(--navy-dark);
  font-size: 1.28rem;
  margin-bottom: 0;
}

.parent-proof-card p {
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 0;
}

.proof-card-dark {
  background: var(--navy-dark);
}

.proof-card-dark h3,
.proof-card-dark p {
  color: var(--white);
}

.proof-card-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.proof-card-dark small {
  background: rgba(255, 198, 0, 0.18);
  color: var(--gold);
}

.proof-card-gold {
  background: var(--gold);
}

.proof-card-gold h3,
.proof-card-gold p,
.proof-card-gold small {
  color: var(--navy-dark);
}

.proof-card-gold small {
  background: rgba(255, 255, 255, 0.34);
}

@media (max-width: 1080px) {
  .clean-image-ui-layout,
  .parent-proof-grid {
    grid-template-columns: 1fr;
  }

  .clean-image-copy {
    text-align: center;
  }

  .clean-image-copy h2,
  .clean-image-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .clean-image-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .parent-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .clean-image-ui-section,
  .continuous-gallery-section,
  .parent-proof-image-section {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .clean-image-points,
  .clean-image-board,
  .parent-proof-grid {
    grid-template-columns: 1fr;
  }

  .clean-image-board {
    grid-template-rows: none;
  }

  .clean-image-card,
  .clean-image-card-large,
  .clean-image-card-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .clean-image-card-large h3,
  .clean-image-card-wide h3 {
    font-size: 1.35rem;
  }

  .rail-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .gallery-mask:before,
  .gallery-mask:after {
    width: 48px;
  }

  .gallery-photo-card,
  .gallery-photo-card:nth-child(3n) {
    border-radius: 22px;
    flex-basis: 220px;
    height: 170px;
  }

  .gallery-photo-card:nth-child(5n) {
    height: 190px;
  }
}

/* --- HOMEPAGE PHOTO GALLERY (masonry) --- */

.home-gallery {
  background: var(--white);
}

.gallery-eyebrow {
  align-items: center;
  color: var(--gold);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.gallery-eyebrow svg {
  height: 20px;
  width: 20px;
}

.home-gallery h2 span {
  color: var(--gold);
}

.home-gallery .section-head {
  margin-bottom: 46px;
}

/* Campus Life — single big slideshow */
.campus-slider {
  border-radius: 28px;
  box-shadow: 0 26px 60px rgba(6, 43, 85, 0.22);
  height: clamp(360px, 50vw, 560px);
  margin: 0 auto;
  max-width: 1000px;
  overflow: hidden;
  position: relative;
}

.cs-track {
  height: 100%;
  position: relative;
}

.cs-slide {
  inset: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.8s ease;
}

.cs-slide.is-active {
  opacity: 1;
}

.cs-slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cs-slide:after {
  background: linear-gradient(180deg, transparent 52%, rgba(2, 15, 32, 0.72));
  content: "";
  inset: 0;
  position: absolute;
}

.cs-slide figcaption {
  bottom: 28px;
  color: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700;
  left: 32px;
  position: absolute;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.cs-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  color: var(--navy-dark);
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  width: 48px;
  z-index: 3;
}

.cs-arrow svg {
  height: 22px;
  width: 22px;
}

.cs-arrow:hover {
  background: var(--gold);
}

.cs-prev {
  left: 18px;
}

.cs-next {
  right: 18px;
}

.cs-dots {
  bottom: 22px;
  display: flex;
  gap: 9px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.cs-dot {
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 10px;
  padding: 0;
  transition:
    width 0.25s ease,
    background 0.25s ease;
  width: 10px;
}

.cs-dot.is-active {
  background: var(--gold);
  border-radius: 6px;
  width: 26px;
}

@media (max-width: 560px) {
  .cs-arrow {
    height: 40px;
    width: 40px;
  }
  .cs-prev {
    left: 10px;
  }
  .cs-next {
    right: 10px;
  }
  .cs-slide figcaption {
    left: 20px;
    bottom: 38px;
  }
}

.gallery-cta {
  margin-top: 14px;
  text-align: center;
}

@media (max-width: 900px) {
  .gallery-masonry {
    grid-auto-rows: 140px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-masonry figure,
  .gallery-masonry figure:nth-child(n) {
    grid-column: span 3;
    grid-row: span 2;
  }

  .gallery-masonry figure:nth-child(5),
  .gallery-masonry figure:nth-child(10) {
    grid-column: span 6;
    grid-row: span 2;
  }
}

@media (max-width: 560px) {
  .gallery-masonry {
    grid-auto-rows: 210px;
    grid-template-columns: 1fr;
  }

  .gallery-masonry figure,
  .gallery-masonry figure:nth-child(n) {
    border-radius: 24px;
    grid-column: auto;
    grid-row: auto;
  }
}

/* --- WHY CHOOSE US (navy section) --- */

.why-choose {
  background: linear-gradient(155deg, #073066 0%, var(--navy-dark) 72%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

/* Subtle diagonal decoration */
.wcu-decor {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.wcu-decor:before,
.wcu-decor:after {
  background: rgba(255, 255, 255, 0.025);
  content: "";
  height: 220%;
  position: absolute;
  top: -60%;
  transform: rotate(20deg);
  width: 46%;
}

.wcu-decor:before {
  left: -8%;
}

.wcu-decor:after {
  background: rgba(255, 255, 255, 0.018);
  left: 40%;
}

.wcu-grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: 1.05fr 0.95fr;
  position: relative;
  z-index: 1;
}

.wcu-eyebrow {
  align-items: center;
  color: var(--gold);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 9px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.wcu-eyebrow svg {
  height: 20px;
  width: 20px;
}

.why-choose h2 {
  color: var(--white);
  font-size: 2.6rem;
  line-height: 1.12;
  margin-bottom: 16px;
}

.why-choose h2 span {
  color: var(--gold);
}

.wcu-copy > p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 520px;
}

.wcu-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.wcu-card {
  align-items: center;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.wcu-card:hover {
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.wcu-ic {
  align-items: center;
  background: linear-gradient(150deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(242, 184, 0, 0.4);
  color: var(--white);
  display: inline-flex;
  flex-shrink: 0;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.wcu-ic svg {
  display: block;
  height: 26px;
  width: 26px;
}

.wcu-card strong {
  color: var(--navy-dark);
  display: block;
  font-size: 1.04rem;
  margin-bottom: 3px;
}

.wcu-card div span {
  color: var(--muted);
  display: block;
  font-size: 0.88rem;
  line-height: 1.42;
}

/* Framed image with offset gold outline */
.wcu-visual {
  position: relative;
}

.wcu-visual img {
  border-radius: 120px 30px 120px 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  height: 480px;
  object-fit: cover;
  position: relative;
  width: 100%;
  z-index: 1;
}

.wcu-frame {
  border: 3px solid var(--gold);
  border-radius: 120px 30px 120px 30px;
  bottom: -22px;
  left: -22px;
  pointer-events: none;
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 2;
}

@media (max-width: 980px) {
  .wcu-grid {
    gap: 44px;
    grid-template-columns: 1fr;
  }
  .wcu-visual {
    max-width: 560px;
    order: -1;
  }
  .wcu-visual img {
    height: 360px;
  }
}

@media (max-width: 560px) {
  .why-choose h2 {
    font-size: 2rem;
  }
  .wcu-cards {
    grid-template-columns: 1fr;
  }
  .wcu-visual img {
    border-radius: 70px 22px 70px 22px;
    height: 300px;
  }
  .wcu-frame {
    border-radius: 70px 22px 70px 22px;
  }
}

/* --- PARENT SUPPORT SECTION --- */

.parent-support-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 198, 0, 0.14),
      transparent 32%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(32, 201, 151, 0.12),
      transparent 34%
    ),
    var(--white);
}

.parent-support-layout {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.parent-support-copy h2 {
  max-width: 600px;
}

.support-eyebrow {
  background: var(--soft-blue);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--green-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.7px;
  margin-bottom: 18px;
  padding: 8px 15px;
  text-transform: uppercase;
}

.support-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 28px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.support-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.support-card span {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy-dark);
  display: inline-flex;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.support-card h3 {
  color: var(--navy-dark);
  font-size: 1.34rem;
  margin-bottom: 0;
}

.support-card p {
  line-height: 1.62;
  margin-bottom: 0;
}

.support-card-dark {
  background: var(--navy-dark);
  grid-column: span 2;
}

.support-card-dark h3,
.support-card-dark p {
  color: var(--white);
}

.support-card-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.support-card-dark span {
  background: rgba(255, 198, 0, 0.18);
  color: var(--gold);
}

@media (max-width: 980px) {
  .parent-support-layout {
    grid-template-columns: 1fr;
  }
}

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

  .support-card,
  .support-card-dark {
    grid-column: auto;
    min-height: 0;
  }
}

/* =====================================================================
   HOMEPAGE 11-SECTION REBUILD — shared + new components
   ===================================================================== */

.btn-large {
  font-size: 1.05rem;
  padding: 15px 28px;
}

/* ---- 1.1 Hero banner (coded promo) ---- */
.hero-promo {
  background:
    radial-gradient(circle at 90% 4%, rgba(255, 198, 0, 0.08), transparent 26%),
    #fbf6ec;
  overflow: hidden;
  padding: 52px 0 64px;
  position: relative;
}

/* Homepage announcement popup */
.popup-overlay {
  align-items: center;
  background: rgba(4, 20, 40, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.3s ease;
  z-index: 200;
}

.popup-overlay[hidden] {
  display: none;
}

.popup-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  animation: popupIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  max-height: calc(100vh - 48px);
  max-width: 860px;
  position: relative;
  width: 100%;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.popup-img {
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  display: block;
  height: auto;
  max-height: calc(100vh - 48px);
  object-fit: contain;
  width: 100%;
}

.popup-close {
  align-items: center;
  background: var(--gold);
  border: none;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  color: var(--navy-dark);
  cursor: pointer;
  display: flex;
  font-size: 1.5rem;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: -12px;
  top: -12px;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  width: 38px;
  z-index: 2;
}

.popup-close:hover {
  background: var(--gold-dark);
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .popup-overlay,
  .popup-box {
    animation: none;
    transition: none;
  }
}

/* Image-slider hero variant (full-bleed banner slides) */
.hero-promo-img {
  background: transparent;
  padding: 0;
}

.hero-promo-img .hp-viewport {
  position: relative;
}

.hero-promo-img .his-img {
  display: block;
  height: auto;
  width: 100%;
}

/* Dots overlaid on the bottom of the image inside a small pill */
.hero-promo-img .hp-dots {
  background: rgba(6, 43, 85, 0.45);
  border-radius: 999px;
  bottom: 14px;
  left: 50%;
  margin: 0;
  padding: 7px 12px;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.hp-decor {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.hp-decor:before {
  background: radial-gradient(circle, rgba(255, 198, 0, 0.16), transparent 70%);
  border-radius: 50%;
  content: "";
  height: 240px;
  left: -70px;
  position: absolute;
  top: -80px;
  width: 240px;
}

.hp-decor:after {
  background-image: radial-gradient(
    rgba(6, 43, 85, 0.12) 1.6px,
    transparent 1.6px
  );
  background-size: 18px 18px;
  content: "";
  height: 90px;
  left: 44%;
  opacity: 0.6;
  position: absolute;
  top: 18px;
  width: 110px;
}

.hp-viewport {
  position: relative;
  z-index: 1;
}

.hp-slide {
  display: none;
}

.hp-slide.is-active {
  animation: hpFade 0.6s ease;
  display: block;
}

@keyframes hpFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hp-dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.hp-dot {
  background: rgba(6, 43, 85, 0.22);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 10px;
  padding: 0;
  transition:
    width 0.25s ease,
    background 0.25s ease;
  width: 10px;
}

.hp-dot.is-active {
  background: var(--gold);
  border-radius: 6px;
  width: 26px;
}

.hp-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  position: relative;
  z-index: 1;
}

/* Left */
.hp-logo {
  display: block;
  height: auto;
  margin-bottom: 16px;
  width: 96px;
}

.hp-welcome {
  color: var(--navy-dark);
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.hp-title {
  color: var(--navy-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.04;
  margin: 0;
}

.hp-rule {
  background: var(--gold);
  border-radius: 3px;
  display: block;
  height: 5px;
  margin: 18px 0;
  width: 64px;
}

.hp-tagline {
  color: var(--navy-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  margin: 0 0 22px;
}

.hp-cta {
  align-items: center;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(242, 184, 0, 0.42);
  color: var(--navy-dark);
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 800;
  gap: 32px;
  padding: 14px 22px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hp-cta:hover {
  box-shadow: 0 18px 34px rgba(242, 184, 0, 0.5);
  transform: translateY(-2px);
}

.hp-cta svg {
  height: 20px;
  width: 20px;
}

.hp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hp-chip {
  align-items: center;
  background: var(--white);
  border: 1px solid #efe4cf;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(4, 31, 61, 0.06);
  color: var(--navy-dark);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 12px;
  line-height: 1.2;
  padding: 11px 18px 11px 11px;
}

.hp-chip-ic {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy-dark);
  display: inline-flex;
  flex-shrink: 0;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.hp-chip-ic svg {
  height: 21px;
  width: 21px;
}

/* Right — photo bento */
.hp-right {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  height: 580px;
}

.hp-photo {
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(4, 31, 61, 0.16);
  margin: 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.hp-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.hp-photo:hover img {
  transform: scale(1.05);
}

.hp-c {
  grid-column: 1;
  grid-row: 1 / 3;
}
.hp-a {
  grid-column: 2;
  grid-row: 1;
}
.hp-b {
  grid-column: 2;
  grid-row: 2;
}

.hp-photo figcaption {
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  bottom: 10px;
  box-shadow: 0 6px 16px rgba(4, 31, 61, 0.2);
  color: var(--navy-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 8px;
  left: 10px;
  line-height: 1.15;
  max-width: calc(100% - 20px);
  padding: 7px 13px 7px 7px;
  position: absolute;
  z-index: 2;
}

.hp-capic {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy-dark);
  display: inline-flex;
  flex-shrink: 0;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.hp-capic svg {
  height: 15px;
  width: 15px;
}

@media (max-width: 980px) {
  .hp-grid {
    gap: 34px;
    grid-template-columns: 1fr;
  }
  .hp-right {
    grid-template-rows: 240px 240px;
    height: auto;
  }
}

@media (max-width: 560px) {
  .hp-right {
    grid-auto-rows: 150px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .hp-a,
  .hp-b,
  .hp-c {
    grid-column: auto;
    grid-row: auto;
  }
  .hp-c {
    grid-column: 1 / -1;
  }
}

/* ---- 1.1 Hero banner (built UI — currently disabled) ---- */
.hero-built {
  background:
    radial-gradient(circle at 10% 6%, rgba(255, 198, 0, 0.07), transparent 32%),
    #fbf6ec;
  padding: 40px 0 48px;
  position: relative;
}

.hb-grid {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

/* Left column */
.hb-logo {
  display: block;
  height: auto;
  margin-bottom: 20px;
  width: 90px;
}

.hb-welcome {
  align-items: center;
  color: var(--navy-dark);
  display: flex;
  font-size: 1.4rem;
  font-weight: 700;
  gap: 14px;
  margin-bottom: 6px;
}

.hb-welcome:before {
  background: var(--gold);
  border-radius: 2px;
  content: "";
  height: 4px;
  width: 42px;
}

.hb-title {
  color: var(--navy-dark);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.03;
  margin: 0 0 14px;
}

.hb-tag {
  align-items: center;
  color: #d9a400;
  display: flex;
  font-size: 1.18rem;
  font-weight: 800;
  gap: 9px;
  margin: 0 0 24px;
}

.hb-tag svg {
  fill: var(--gold);
  height: 22px;
  width: 22px;
}

.hb-admissions {
  align-items: center;
  background: var(--navy-dark);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(4, 31, 61, 0.25);
  color: var(--white);
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 800;
  gap: 14px;
  margin-bottom: 24px;
  padding: 10px 30px 10px 10px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hb-admissions:hover {
  box-shadow: 0 18px 36px rgba(4, 31, 61, 0.32);
  transform: translateY(-2px);
}

.hb-arrow {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy-dark);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

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

.hb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hb-chip {
  align-items: center;
  background: var(--white);
  border: 1px solid #efe4cf;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(4, 31, 61, 0.05);
  color: var(--navy-dark);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  gap: 12px;
  line-height: 1.2;
  padding: 11px 18px 11px 11px;
}

.hb-chip-ic {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy-dark);
  display: inline-flex;
  flex-shrink: 0;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.hb-chip-ic svg {
  height: 20px;
  width: 20px;
}

.hb-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hb-cta {
  align-items: center;
  border-radius: 14px;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  padding: 14px 22px;
  transition: transform 0.2s ease;
}

.hb-cta:hover {
  transform: translateY(-2px);
}

.hb-cta svg {
  height: 20px;
  width: 20px;
}

.hb-cta-navy {
  background: var(--navy-dark);
  color: var(--white);
}

.hb-cta-outline {
  background: var(--white);
  border: 1.5px solid #d9cdb4;
  color: var(--navy-dark);
}

.hb-years {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  padding-left: 4px;
  text-align: center;
}

.hb-years strong {
  color: var(--navy-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.85rem;
}

.hb-years span {
  color: var(--gold-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-top: 4px;
  max-width: 64px;
  text-transform: uppercase;
}

/* Right column — campus bento */
.hb-right {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1.55fr 1fr 1.1fr;
  height: 580px;
}

.hb-photo {
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(4, 31, 61, 0.12);
  margin: 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.hb-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.hb-photo:hover img {
  transform: scale(1.05);
}

.hb-photo:after {
  background: linear-gradient(180deg, transparent 52%, rgba(2, 15, 32, 0.62));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hb-big {
  grid-column: 1 / -1;
}

.hb-wide {
  grid-column: 1 / -1;
}

.hb-photo figcaption,
.hb-cap {
  align-items: center;
  background: rgba(4, 31, 61, 0.88);
  border-radius: 10px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 8px;
  padding: 8px 12px;
}

.hb-photo figcaption {
  bottom: 12px;
  left: 12px;
  position: absolute;
  z-index: 2;
}

.hb-photo figcaption svg,
.hb-cap svg {
  color: var(--gold);
  flex-shrink: 0;
  height: 16px;
  width: 16px;
}

.hb-caps {
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  left: 12px;
  position: absolute;
  right: 12px;
  z-index: 2;
}

.hb-cap {
  font-size: 0.76rem;
}

/* Responsive */
@media (max-width: 1000px) {
  .hb-grid {
    gap: 34px;
    grid-template-columns: 1fr;
  }
  .hb-right {
    grid-template-rows: 240px 150px 170px;
    height: auto;
  }
}

@media (max-width: 560px) {
  .hb-title {
    font-size: 2.1rem;
  }
  .hb-right {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 130px 130px 150px;
    height: auto;
  }
  .hb-big {
    grid-column: 1 / -1;
  }
  .hb-photo:nth-child(2),
  .hb-photo:nth-child(3) {
    grid-column: auto;
  }
  .hb-photo:nth-child(4) {
    grid-column: 1 / -1;
  }
  .hb-wide {
    grid-column: 1 / -1;
  }
  .hb-caps {
    gap: 6px;
  }
  .hb-cap {
    font-size: 0.68rem;
    padding: 6px 9px;
  }
}

/* Gold eyebrow used across light sections */
.eyebrow2 {
  align-items: center;
  color: var(--gold-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 9px;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.eyebrow2:before {
  background: var(--gold);
  border-radius: 2px;
  content: "";
  height: 3px;
  width: 22px;
}

.center-eyebrow {
  justify-content: center;
}

/* ---- 1.1 Hero banner copy ---- */
.hero-banner-copy {
  max-width: 680px;
}

.hero-welcome {
  color: var(--gold);
  display: inline-block;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-h1 {
  color: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.5);
}

.hero-h1 span {
  color: var(--gold);
}

.hero-lead2 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 560px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-lead2 strong {
  color: var(--white);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.hero-chips li {
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 16px;
}

.hero-chips li:first-child {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

/* ---- 1.2 About institution snapshot ---- */
.about-snap-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: 0.95fr 1.05fr;
}

.about-snap-media {
  position: relative;
}

.about-snap-media img {
  border-radius: 26px;
  box-shadow: var(--shadow);
  height: 440px;
  object-fit: cover;
  width: 100%;
}

.about-snap-badge {
  background: var(--gold);
  border-radius: 18px;
  bottom: -16px;
  box-shadow: var(--shadow);
  color: var(--navy-dark);
  display: grid;
  padding: 16px 24px;
  position: absolute;
  right: -14px;
  text-align: center;
}

.about-snap-badge strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.about-snap-badge span {
  font-size: 0.82rem;
  font-weight: 800;
}

.about-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 28px;
}

.about-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  padding: 16px 18px;
}

.about-stat:nth-child(2) {
  border-left-color: var(--green-bright);
}
.about-stat:nth-child(3) {
  border-left-color: var(--blue);
}
.about-stat:nth-child(4) {
  border-left-color: var(--coral);
}

.about-stat strong {
  color: var(--navy-dark);
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.05;
}

.about-stat span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---- 1.3 Visionary leadership ---- */
.leadership-section {
  background: var(--page);
}

.leadership-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  padding: 34px 28px;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.leader-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.leader-avatar {
  align-items: center;
  background: linear-gradient(150deg, var(--navy), var(--green));
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 900;
  height: 64px;
  justify-content: center;
  margin-bottom: 16px;
  width: 64px;
}

.leader-avatar svg {
  height: 34px;
  width: 34px;
}

/* Featured principal message */
.leader-feature {
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  grid-template-columns: 0.7fr 1.3fr;
  margin-bottom: 36px;
  overflow: hidden;
}

.leader-photo {
  overflow: hidden;
  position: relative;
}

.leader-photo img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.leader-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px;
  position: relative;
}

.leader-quote-mark {
  color: var(--gold);
  font-family: "Fraunces", Georgia, serif;
  font-size: 4rem;
  height: 34px;
  line-height: 0.6;
}

.leader-message p {
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 18px 0 22px;
}

.leader-signoff strong {
  color: var(--navy-dark);
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
}

.leader-signoff span {
  color: var(--gold-dark);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .leader-feature {
    grid-template-columns: 1fr;
  }
  .leader-photo img {
    height: 320px;
  }
  .leader-message {
    padding: 30px 26px;
  }
}

.leader-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.leader-role {
  color: var(--gold-dark);
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.leader-card p {
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.leader-card-feature {
  background: var(--navy-dark);
  border-color: transparent;
}

.leader-card-feature h3 {
  color: var(--white);
}

.leader-card-feature p {
  color: rgba(255, 255, 255, 0.82);
}

.leader-card-feature .leader-avatar {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
}

.leader-card-feature .leader-role {
  color: var(--gold);
}

/* ---- 1.4 Academic excellence ---- */
.acad-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: 1.05fr 0.95fr;
}

.acad-points {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.acad-point {
  align-items: flex-start;
  display: grid;
  gap: 16px;
  grid-template-columns: 46px minmax(0, 1fr);
}

.acad-point > span {
  align-items: center;
  background: var(--soft-blue);
  border-radius: 12px;
  color: var(--green-dark);
  display: inline-flex;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.acad-point h3 {
  font-size: 1.12rem;
  margin-bottom: 3px;
}

.acad-point p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.acad-media {
  position: relative;
}

.acad-media img {
  border-radius: 26px;
  box-shadow: var(--shadow);
  height: 460px;
  object-fit: cover;
  width: 100%;
}

.acad-badge {
  background: var(--navy-dark);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  left: -14px;
  padding: 14px 20px;
  position: absolute;
  text-align: center;
  top: 26px;
}

.acad-badge strong {
  color: var(--gold);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}

.acad-badge span {
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---- 1.6 Our institutions ---- */
.institutions-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.inst-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.inst-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.inst-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.inst-img img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.inst-card:hover .inst-img img {
  transform: scale(1.06);
}

.inst-body {
  padding: 24px 26px 28px;
}

.inst-tag {
  background: var(--soft-blue);
  border-radius: 999px;
  color: var(--green-dark);
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding: 6px 12px;
  text-transform: uppercase;
}

.inst-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.inst-body p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ---- 1.10 Testimonials ---- */
.testimonials-section {
  background: var(--page);
}

.testimonial-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  padding: 32px 28px;
  position: relative;
}

.quote-mark {
  color: var(--gold);
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.4rem;
  height: 26px;
  line-height: 0.6;
}

.testimonial-card p {
  color: var(--text);
  line-height: 1.65;
  margin: 16px 0 22px;
}

.t-person {
  align-items: center;
  display: flex;
  gap: 12px;
}

.t-avatar {
  align-items: center;
  background: linear-gradient(150deg, var(--navy), var(--green));
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.t-person strong {
  color: var(--navy-dark);
  display: block;
}

.t-person span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.testimonial-card-feature {
  background: var(--navy-dark);
  border-color: transparent;
}

.testimonial-card-feature p {
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-card-feature .t-person strong {
  color: var(--white);
}

/* ---- 1.11 Contact & admission enquiry ---- */
/* Admissions promo banner (image-based) */
.admit-promo {
  align-items: center;
  border-radius: 30px;
  box-shadow: 0 28px 60px rgba(4, 31, 61, 0.28);
  display: flex;
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.admit-promo-bg {
  filter: saturate(1.05);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.admit-promo:after {
  background: linear-gradient(
    100deg,
    rgba(4, 31, 61, 0.94) 0%,
    rgba(4, 31, 61, 0.78) 42%,
    rgba(4, 31, 61, 0.3) 100%
  );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.admit-promo:before {
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--green-bright),
    var(--blue)
  );
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.admit-promo-content {
  color: var(--white);
  max-width: 640px;
  padding: 56px 58px;
  position: relative;
  z-index: 2;
}

.admit-promo-badge {
  background: var(--gold);
  border-radius: 999px;
  color: var(--navy-dark);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding: 8px 16px;
  text-transform: uppercase;
}

.admit-promo-content h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.admit-promo-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 540px;
}

@media (max-width: 600px) {
  .admit-promo-content {
    padding: 40px 26px;
  }
}

.contact-admit-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-admit-cta h2 {
  color: var(--white);
}

.contact-admit-cta .eyebrow2 {
  color: var(--gold);
}

.contact-admit-cta .lead {
  color: rgba(255, 255, 255, 0.82);
}

.admit-points {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.admit-points li {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  padding-left: 28px;
  position: relative;
}

.admit-points li:before {
  background: var(--gold);
  border-radius: 50%;
  content: "";
  height: 13px;
  left: 0;
  position: absolute;
  top: 7px;
  width: 13px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 30px 28px;
}

.contact-info-card h3 {
  color: var(--gold);
  margin-bottom: 18px;
}

.contact-row {
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 14px;
  grid-template-columns: 46px minmax(0, 1fr);
  padding: 14px 0;
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-ic {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--gold);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.contact-ic svg {
  height: 22px;
  width: 22px;
}

.contact-row strong {
  color: var(--white);
  display: block;
  font-size: 0.95rem;
}

.contact-row span,
.contact-row a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.contact-row a:hover {
  color: var(--gold);
}

/* ---- Responsive for the new sections ---- */
@media (max-width: 980px) {
  .about-snap-grid,
  .acad-grid,
  .contact-admit-grid {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .acad-media {
    order: -1;
  }

  .about-snap-media img,
  .acad-media img {
    height: 340px;
  }

  .leadership-grid,
  .institutions-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .leadership-grid,
  .institutions-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-chips li {
    font-size: 0.82rem;
    padding: 8px 13px;
  }
}

/* ==========================================================
   Visionary Leadership - image based cards
   Replaces initials with real photos from assets/images/pillars
   ========================================================== */
.leadership-photo-grid {
  align-items: stretch;
}

.leader-photo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.leader-card-media {
  background: var(--soft-blue, #eaf3fb);
  border-bottom: 1px solid var(--border, #e5edf5);
  height: 270px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.leader-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s ease;
  width: 100%;
}

.leader-photo-card:hover .leader-card-media img {
  transform: scale(1.05);
}

.leader-card-body {
  align-items: center;
  background: var(--white, #ffffff);
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 28px;
  text-align: center;
}

.leader-photo-card h3 {
  margin-bottom: 6px;
}

.leader-photo-card .leader-role {
  margin-bottom: 14px;
}

.leader-photo-card p {
  max-width: 330px;
}

.leader-photo-card.leader-card-feature {
  background: var(--navy-dark, #041f3d);
}

.leader-photo-card.leader-card-feature .leader-card-media {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.leader-photo-card.leader-card-feature .leader-card-body {
  background: var(--navy-dark, #041f3d);
}

.leader-photo-card.leader-card-feature h3 {
  color: var(--white, #ffffff);
}

.leader-photo-card.leader-card-feature .leader-role {
  color: var(--gold, #ffc600);
}

.leader-photo-card.leader-card-feature p {
  color: rgba(255, 255, 255, 0.82);
}

/* Small crop adjustments for each leadership portrait */
.leader-photo-card:nth-child(1) .leader-card-media img {
  object-position: center 28%;
}

.leader-photo-card:nth-child(2) .leader-card-media img {
  object-position: center 18%;
}

.leader-photo-card:nth-child(3) .leader-card-media img {
  object-position: center 22%;
}

@media (max-width: 980px) {
  .leader-card-media {
    height: 250px;
  }
}

@media (max-width: 640px) {
  .leader-card-media {
    height: 300px;
  }

  .leader-card-body {
    padding: 22px;
  }
}

/* ==========================================================
   Visionary Leadership - same style for all image cards
   Removes the special/dark middle card. All three cards now
   use the same clean white card UI.
   ========================================================== */
.leadership-photo-grid .leader-photo-card,
.leadership-photo-grid .leader-photo-card.leader-card-feature {
  background: var(--white, #ffffff) !important;
  border: 1px solid var(--border, #e5edf5);
  box-shadow: var(--soft-shadow, 0 18px 40px rgba(6, 43, 85, 0.08));
}

.leadership-photo-grid .leader-photo-card .leader-card-media,
.leadership-photo-grid
  .leader-photo-card.leader-card-feature
  .leader-card-media {
  border-bottom: 1px solid var(--border, #e5edf5) !important;
}

.leadership-photo-grid .leader-photo-card .leader-card-body,
.leadership-photo-grid
  .leader-photo-card.leader-card-feature
  .leader-card-body {
  background: var(--white, #ffffff) !important;
}

.leadership-photo-grid .leader-photo-card h3,
.leadership-photo-grid .leader-photo-card.leader-card-feature h3 {
  color: var(--navy-dark, #041f3d) !important;
}

.leadership-photo-grid .leader-photo-card .leader-role,
.leadership-photo-grid .leader-photo-card.leader-card-feature .leader-role {
  color: var(--gold-dark, #b98800) !important;
}

.leadership-photo-grid .leader-photo-card p,
.leadership-photo-grid .leader-photo-card.leader-card-feature p {
  color: var(--muted, #64748b) !important;
}
