﻿/* ── Font enforcement ─────────────────────────────────────── */
*, *::before, *::after, button, input, select, textarea {
  font-family: 'Poppins', sans-serif;
}

/* ── NAVBAR (converted to s-navbar to match other schools) ── */
.s-navbar {
  background: var(--white);
  height: 60px;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 14px rgba(62,66,150,.10);
  overflow: visible;
  transition: top .35s ease;
}
.s-navbar.nav-hidden { top: -80px; }
.s-nav-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.s-nav-logo {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  border-radius: 0;
  border: none;
  overflow: visible;
  transform: translateY(16px);
  display: block;
  text-decoration: none;
}
.s-nav-logo .img-wrap {
  background: transparent;
  border-radius: 0;
  width: auto;
  height: 100%;
}
.s-nav-logo .img-wrap img { width: auto; height: 100%; object-fit: contain; }
.s-nav-school-name {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.s-nav-school-abbr {
  font-size: 10.5px;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.3px;
  margin-top: 1px;
}
.s-nav-links { list-style: none; display: flex; align-items: center; gap: 20px; }
.s-nav-links a {
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  color: #333;
  transition: color .2s;
  white-space: nowrap;
}
.s-nav-links a:hover,
.s-nav-links a.active { color: var(--blue); }
.s-nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}
.s-nav-cta:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ── Faces-first: show top of photos across all image sections ── */
.s-hero-circle-main .img-wrap img,
.s-hero-circle-sm .img-wrap img,
.carousel-track .img-wrap img,
.s-equal-img .img-wrap img,
.spaces-grid .img-wrap img,
.s-flip-front .img-wrap img,
.s-ach-circle .img-wrap img { object-position: top center; }

/* ── Nav: Mandatory Disclosure pill ──────────────────────── */
.nav-disclosure {
  background: var(--blue);
  color: var(--white) !important;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ─── HERO ───────────────────────────────────────────────── */
.s-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 0 56px;
  overflow: hidden;
  background: var(--blue);
}
/* Backdrop image + overlay for school3 homepage hero */
.s-hero .s-hero-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.s-hero .s-hero-img-bg .img-wrap {
  width: 100%; height: 100%; border-radius: 0;
  background: #2a2e8a;
}
.s-hero .s-hero-img-bg .img-wrap img { object-fit: cover; object-position: center; }
.s-hero .s-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 80, 0.68);
  z-index: 1;
}
.s-hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 600px;
}
.s-hero-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.s-hero-content h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.22;
  color: var(--white);
  margin-bottom: 14px;
}
.s-hero-content p {
  font-size: 13.5px;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.85);
}
/* ─── Hero circle composition ─────────────────────────────── */
.s-hero-circles {
  position: relative;
  flex: 0 0 420px;
  height: 360px;
  margin-left: auto;
}
/* decorative translucent ring behind main circle */
.s-hero-circle-bg {
  position: absolute;
  top: 20px;
  right: 50px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.s-hero-circle-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 295px;
  height: 295px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.s-hero-circle-main .img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #a0a4d8;
}
.s-hero-circle-sm {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.s-hero-circle-sm .img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #a0a4d8;
}
.s-hero-circle-sm-1 {
  width: 128px;
  height: 128px;
  bottom: 24px;
  left: 10px;
}
.s-hero-circle-sm-2 {
  width: 106px;
  height: 106px;
  bottom: 8px;
  right: 16px;
}

/* ─── SCHOOL INFO (two text columns) ─────────────────────── */
.s-info {
  padding: 50px 56px 48px;
  background: var(--white);
}
.s-info-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}
.s-info-cols p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #555;
}

/* ─── CONTACT STRIP ──────────────────────────────────────── */
.s-contact-strip {
  background: var(--blue);
  padding: 13px 56px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.s-contact-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.s-contact-strip-cta {
  margin-left: auto;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  padding: 7px 22px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s;
  font-family: 'Poppins', sans-serif;
}
.s-contact-strip-cta:hover { background: rgba(255, 255, 255, 0.12); }

/* ─── ACADEMICS / PROGRAMS (alternating blue–white cards) ── */
.s-academics {
  background: var(--white);
  padding: 0;
}
.s-academics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
}
/* school3 has 3 programs → override to 3 cols */
.s-academics-3col .s-academics-grid {
  grid-template-columns: repeat(3, 1fr);
}
.s-acad-card {
  padding: 32px 28px 36px;
}
.s-acad-card:nth-child(odd)  { background: var(--blue); }
.s-acad-card:nth-child(even) { background: var(--white); border: 1px solid #e8eaf5; }
.s-acad-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.s-acad-card:nth-child(odd)  h3 { color: var(--white); }
.s-acad-card:nth-child(even) h3 { color: var(--blue); }
.s-acad-card p {
  font-size: 12.5px;
  line-height: 1.58;
}
.s-acad-card:nth-child(odd)  p { color: rgba(255, 255, 255, 0.82); }
.s-acad-card:nth-child(even) p { color: #555; }

/* ─── LEARNING BEYOND TEXTBOOKS ──────────────────────────── */
.s-textbooks {
  background: var(--white);
  padding: 72px 56px;
  display: flex;
  gap: 64px;
  align-items: flex-start;
  border-top: 1px solid #f0f1fa;
}
.s-textbooks-left {
  flex: 1;
}
.s-textbooks-left h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 14px;
}
.s-textbooks-left > p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 22px;
  max-width: 420px;
}
.s-textbooks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 24px;
}
.s-textbooks-list li {
  font-size: 12.5px;
  color: #444;
  padding: 6px 0 6px 18px;
  position: relative;
  break-inside: avoid;
}
.s-textbooks-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}
.s-textbooks-right {
  flex: 0 0 380px;
  position: relative;
  padding-right: 28px;
  padding-bottom: 28px;
}
.s-textbooks-right::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  background: var(--blue);
  border-radius: 14px;
  z-index: 0;
}
.s-textbooks-img {
  position: relative;
  z-index: 2;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(62,66,150,.25);
}
.s-textbooks-img .img-wrap { width: 100%; height: 100%; border-radius: 0; background: #c0c3e0; }

/* ─── GALLERY ────────────────────────────────────────────── */
.s-gallery {
  padding: 40px 0;
  background: var(--white);
}

/* ─── TRADITION OF LEARNING ──────────────────────────────── */
.s-tradition {
  position: relative;
  padding: 90px 56px;
  overflow: hidden;
}
.s-tradition-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.s-tradition-img-bg .img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #1a1e6e;
}
.s-tradition-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--blue);
  opacity: 0.84;
}
.s-tradition-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}
.s-tradition-content h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
}
.s-tradition-content p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}
.s-tradition-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.s-tradition-tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ─── LEARNING BEYOND CLASSROOMS — marquee ───────────────── */
.s-equal {
  padding: 60px 0 60px 56px;
  background: var(--white);
  overflow: hidden;
}
.s-equal h2 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}
.s-equal > p {
  font-size: 12px;
  color: #999;
  margin-bottom: 26px;
}
.s-equal-marquee-outer {
  overflow: hidden;
}
.s-equal-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: equalScroll 18s linear infinite;
}
.s-equal-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes equalScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.s-equal-item {
  flex: 0 0 220px;
  border-radius: 10px;
  overflow: hidden;
}
.s-equal-img {
  height: 155px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.s-equal-img .img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #c8cbe8;
}
.s-equal-label {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 0 0 10px 10px;
  white-space: nowrap;
}

/* ─── SPACES DESIGNED ────────────────────────────────────── */
.s-spaces {
  background: var(--white);
  padding: 64px 56px;
}
.s-spaces-header {
  margin-bottom: 32px;
}
.s-spaces-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.2;
}
.s-spaces-header p {
  font-size: 13px;
  color: #666;
}

/* ─── MONTESSORI & FOUNDATIONAL YEARS ────────────────────── */
.s-montessori {
  background: var(--white);
  padding: 72px 56px;
}
.s-montessori-header {
  max-width: 560px;
  margin-bottom: 36px;
}
.s-montessori-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 12px;
}
.s-montessori-header p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #555;
}
.s-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.s-flip-card {
  height: 330px;
  perspective: 1000px;
}
.s-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.s-flip-card:hover .s-flip-inner {
  transform: rotateY(180deg);
}
.s-flip-front,
.s-flip-back {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.s-flip-front .img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: #c8cbe8;
}
.s-flip-back {
  background: var(--blue);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.s-flip-back span {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   WHITE NAVBAR  (sub-pages — NOT index)
═══════════════════════════════════════════════════════════ */
.navbar--white {
  background: #fff;
  box-shadow: 0 2px 20px rgba(62, 66, 150, 0.1);
}
.navbar--white .nav-links a,
.navbar--white .nav-drop-toggle {
  color: #444;
}
.navbar--white .nav-links a:hover,
.navbar--white .nav-drop-toggle:hover {
  color: var(--blue);
}
.navbar--white .nav-links a.active {
  color: var(--blue);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   LEFT-ALIGNMENT OVERRIDES
   (global CSS uses text-align:center in several sections;
   school3 design is consistently left-aligned)
═══════════════════════════════════════════════════════════ */

/* acad-overview */
.acad-overview-inner {
  text-align: left;
  margin-left: 0;
}

/* acad-pillars */
.acad-pillars-label,
.acad-pillars h2 {
  text-align: left;
}
.acad-pillars-grid {
  margin-left: 0;
}

/* fac-item--rev: keep ALL text left, remove rtl direction */
.fac-item--rev .fac-text h2,
.fac-item--rev .fac-text p {
  text-align: left;
}
.fac-item--rev .acad-label,
.fac-item--rev .acad-focus-heading {
  text-align: left;
}
.fac-item--rev .acad-focus-grid {
  direction: ltr;
}

/* about-pv--rev: keep text left */
.about-pv--rev .about-pv-text {
  text-align: left;
}

/* fac-img-section: left-align header text */
.fac-img-section {
  text-align: left;
  padding-right: 0;
}

/* sl-grid-section */
.sl-grid-label,
.sl-grid-title {
  text-align: left;
}
.sl-grid-section {
  padding-right: 0;
}

/* sl-text-section */
.sl-text-inner {
  text-align: left;
  margin: 0;
  max-width: none;
}

/* ═══════════════════════════════════════════════════════════
   MARQUEE — IMAGE CARD GRIDS
═══════════════════════════════════════════════════════════ */
.fac-img-marquee-outer {
  overflow: hidden;
  margin-top: 44px;
}
.fac-img-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: s3ImgMarquee 32s linear infinite;
}
.fac-img-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes s3ImgMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.fac-img-marquee-track .fac-img-card {
  flex: 0 0 230px;
  width: 230px;
}

/* student-life marquee */
.sl-marquee-outer {
  overflow: hidden;
  margin-top: 52px;
}
.sl-marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: s3SlMarquee 26s linear infinite;
}
.sl-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes s3SlMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.sl-marquee-track .sl-card {
  flex: 0 0 310px;
  width: 310px;
}

/* ═══════════════════════════════════════════════════════════
   HOVER ANIMATIONS
═══════════════════════════════════════════════════════════ */

/* Image zoom inside wrappers */
.fac-img-card .img-wrap,
.sl-card-img .img-wrap,
.about-img-box .img-wrap,
.s-textbooks-img .img-wrap,
.fac-img .img-wrap,
.s-equal-img .img-wrap,
.s-hero-circle-main .img-wrap,
.s-hero-circle-sm .img-wrap {
  overflow: hidden;
  transition: transform 0.0s;  /* wrapper itself doesn't move */
}
.fac-img-card .img-wrap img,
.sl-card-img .img-wrap img,
.about-img-box .img-wrap img,
.s-textbooks-img .img-wrap img,
.fac-img .img-wrap img,
.s-equal-img .img-wrap img {
  transition: transform 0.45s ease;
}
.fac-img-card:hover .img-wrap img {
  transform: scale(1.07);
}
.sl-card:hover .sl-card-img .img-wrap img {
  transform: scale(1.06);
}
.fac-img-3d:hover .fac-img .img-wrap img {
  transform: scale(1.05);
}
.about-img-3d:hover .about-img-box .img-wrap img {
  transform: scale(1.05);
}
.s-textbooks-right:hover .s-textbooks-img .img-wrap img {
  transform: scale(1.04);
}

/* Image container lift */
.about-img-box {
  transition: transform 0.3s ease;
}
.about-img-3d:hover .about-img-box {
  transform: translateY(-4px);
}
.fac-img {
  transition: transform 0.3s ease;
}
.fac-img-3d:hover .fac-img {
  transform: translateY(-4px);
}

/* Button hover lift */
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62, 66, 150, 0.28);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn-blue:hover  { background: #3538a0; }
.btn-white:hover { background: #f0f2ff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* Nav CTA button */
.nav-cta {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(62, 66, 150, 0.35);
}

/* ─── CELEBRATING STUDENT SUCCESS ────────────────────────── */
.s-achievements {
  padding: 72px 56px;
  background: var(--white);
  text-align: left;
}
.s-ach-header {
  margin-bottom: 40px;
}
.s-ach-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 10px;
}
.s-ach-header p {
  font-size: 13px;
  color: #666;
  max-width: 540px;
  margin: 0;
  line-height: 1.58;
}
.s-ach-circles {
  display: flex;
  gap: 28px;
  justify-content: flex-start;
}
.s-ach-circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 3px solid #e0e2f5;
  overflow: hidden;
}
.s-ach-circle .img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
