/* ==========================================================
   GVK School
   ========================================================== */
:root {
  --navy: #0e2a5c;
  --navy-dark: #0a2149;
  --navy-deep: #08193a;
  --red: #d42027;
  --red-dark: #b5181f;
  --orange: #e8622c;
  --text: #4a5568;
  --heading: #0e2a5c;
  --light-bg: #eef3fb;
  --border: #e6ebf3;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(14, 42, 92, 0.08);
  --shadow-lg: 0 18px 45px rgba(14, 42, 92, 0.14);
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Poppins', system-ui, sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: block;
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--navy); margin-bottom: 14px;
}
.title {
  font-family: var(--serif); font-weight: 400; color: var(--heading);
  font-size: clamp(26px, 3vw, 36px); line-height: 1.25; margin-bottom: 18px;
}
.text { font-size: 15px; margin-bottom: 26px; max-width: 520px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 30px; border-radius: 40px;
  font-size: 14px; font-weight: 600; transition: all .3s ease;
  border: 2px solid transparent; white-space: nowrap;
}
.btn i { font-size: 13px; transition: transform .3s ease; }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-sm { padding: 9px 24px; font-size: 13px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(212, 32, 39, .25); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(14, 42, 92, .25); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: rgba(255,255,255,.85); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  background: #fff; position: sticky; top: 0; z-index: 100;
  transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(14, 42, 92, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }

.logo { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.logo-gvk {
  position: relative; font-family: var(--sans); font-weight: 800; font-size: 28px;
  color: var(--navy-deep); letter-spacing: -1px; line-height: 1;
}
.logo-swoosh { position: absolute; width: 16px; height: 16px; top: -8px; right: -10px; }
.logo-text {
  font-family: var(--serif); color: var(--navy); font-size: 19px;
  font-variant: small-caps; letter-spacing: .5px; text-transform: lowercase;
}
.logo-text::first-letter { text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-size: 13px; font-weight: 500; color: #24324f; position: relative; padding: 8px 0; white-space: nowrap;
  transition: color .3s;
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 50%; bottom: -4px; width: 0; height: 2px;
  background: var(--red); transition: all .3s ease; transform: translateX(-50%);
}
.nav a:not(.btn):hover, .nav a.active { color: var(--red); }
.nav a.active { color: var(--navy); }
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.nav-cta { display: none !important; }
.menu-toggle { display: none; font-size: 22px; color: var(--navy); }

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; height: 605px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: 50% center; background-repeat: no-repeat; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 26%, rgba(255,255,255,.3) 44%, rgba(255,255,255,0) 58%);
}
.hero-content.container { max-width: 1320px; }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-tagline {
  font-size: 10.76px; letter-spacing: 3px; text-transform: uppercase; color: #2b3955; margin-bottom: 20px;
}
.hero-tagline span { color: var(--red); margin: 0 8px; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; color: var(--navy);
  font-size: clamp(33.27px, 4.5vw, 54.8px); line-height: 1.18; max-width: 760px;
}
.hero-line { display: block; width: 60px; height: 3px; background: var(--red); margin: 6px 0 26px; border-radius: 2px; }
.hero-text { max-width: 440px; font-size: 15.14px; color: #33405b; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }
.play {
  width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 9px; transition: .3s;
}
.btn-outline-navy:hover .play { background: #fff; color: var(--navy); }


/* ==========================================================
   ABOUT
   ========================================================== */
.about { overflow: hidden; padding-top: 130px; padding-bottom: 130px; }
.leaf {
  position: absolute; width: 120px; height: 176px; opacity: .12; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150'%3E%3Cg fill='%230e2a5c'%3E%3Cpath d='M50 150 Q48 80 52 0' stroke='%230e2a5c' stroke-width='2' fill='none'/%3E%3Cellipse cx='35' cy='30' rx='8' ry='18' transform='rotate(-30 35 30)'/%3E%3Cellipse cx='66' cy='45' rx='8' ry='18' transform='rotate(30 66 45)'/%3E%3Cellipse cx='34' cy='65' rx='8' ry='18' transform='rotate(-35 34 65)'/%3E%3Cellipse cx='67' cy='82' rx='8' ry='18' transform='rotate(35 67 82)'/%3E%3Cellipse cx='33' cy='102' rx='8' ry='18' transform='rotate(-40 33 102)'/%3E%3Cellipse cx='68' cy='118' rx='8' ry='18' transform='rotate(40 68 118)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;
}
.leaf-left { left: 34px; transform: rotate(-25deg); }
.leaf-right { right: 34px; transform: rotate(25deg); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.about-images { position: relative; padding-bottom: 40px; }
.about-images::before {
  content: ''; position: absolute; left: -14px; top: 20px; width: 10px; height: 70%;
  background: var(--red); border-radius: 10px 0 0 10px;
}
.about-main { border-radius: 30px 120px 30px 30px; overflow: hidden; box-shadow: var(--shadow-lg); height: 460px; }
.about-main img { width: 100%; height: 100%; object-fit: cover; }
.about-small {
  position: absolute; right: -10px; bottom: 0; width: 46%; height: 260px;
  border-radius: 24px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.about-small img { width: 100%; height: 100%; object-fit: cover; }

/* Stats */
.stats {
  margin-top: 40px; background: var(--navy); border-radius: 16px; padding: 30px 20px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  box-shadow: var(--shadow-lg); position: relative; z-index: 1;
}
.stat { display: flex; align-items: center; gap: 18px; justify-content: center; padding: 6px 10px; }
.stat:not(:last-child) { border-right: 1px solid rgba(255,255,255,.18); }
.stat i { font-size: 30px; color: var(--orange); }
.stat h3 { font-family: var(--serif); font-weight: 400; color: #fff; font-size: 26px; line-height: 1.1; }
.stat p { color: #c9d4ea; font-size: 12.5px; }

/* Mission / Vision — alternating image + text rows */
.mv-rows { display: flex; flex-direction: column; gap: 130px; margin-top: 150px; position: relative; z-index: 1; }
.mv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mv-row.reverse .mv-img { order: 2; }
.mv-img { position: relative; border-radius: 24px; overflow: hidden; height: 380px; box-shadow: var(--shadow-lg); }
.mv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.mv-row:hover .mv-img img { transform: scale(1.05); }
.mv-text { position: relative; padding: 10px 0; }
.mv-icon {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(212,32,39,.1); color: var(--red);
  display: grid; place-items: center; font-size: 28px; margin-bottom: 20px;
}
.mv-text h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: clamp(26px, 3vw, 34px); line-height: 1.25; margin-bottom: 8px; }
.mv-text h3::after {
  content: ''; display: block; width: 0; height: 3px; background: var(--red); border-radius: 2px; margin-top: 14px;
  transition: width 1s cubic-bezier(.65, 0, .35, 1) .3s;
}
.mv-row.line-in .mv-text h3::after { width: 80px; }
.mv-text p { font-size: 15px; color: #33405b; line-height: 1.8; margin-top: 18px; max-width: 540px; }

/* ==========================================================
   SPLIT SECTIONS (Academics / Facilities)
   ========================================================== */
.academics { padding: 70px 0 60px; }
.facilities { padding: 70px 0 90px; }
.split { display: grid; grid-template-columns: 380px 1fr; gap: 30px; align-items: center; }
.split-intro .text { font-size: 14px; }
.split-intro .title { font-size: clamp(26px, 2.5vw, 31px); }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.level-card {
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.level-card:hover { box-shadow: var(--shadow-lg); }
.level-card .img { height: 150px; overflow: hidden; }
.level-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.level-card:hover img { transform: scale(1.08); }
.level-card .body { padding: 16px 14px 18px; }
.level-card h4 { color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.3; }
.level-card p { font-size: 11.5px; color: var(--red); margin-bottom: 12px; }
.circle-arrow {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid #b9c3d6; color: var(--navy);
  display: grid; place-items: center; margin: 0 auto; font-size: 10px; transition: .3s;
}
.level-card:hover .circle-arrow { background: var(--red); border-color: var(--red); color: #fff; }


/* ==========================================================
   ACHIEVEMENTS
   ========================================================== */
.achievements { background: var(--light-bg); padding: 44px 0 50px; }
.section-head { text-align: center; margin-bottom: 30px; }
.section-head .eyebrow { justify-content: center; color: var(--red); font-weight: 600; }
.section-head .title { margin-bottom: 0; }
.ach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ach-card {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  text-align: center; padding: 28px 18px 26px; transition: transform .35s ease, box-shadow .35s ease;
}
.ach-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ach-card h5 { color: var(--navy); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ach-card p { font-size: 13px; color: #5b6780; line-height: 1.6; }

/* ==========================================================
   LEADERSHIP — circular carousel
   ========================================================== */
.leadership { background: #fff; padding: 72px 0 80px; overflow: hidden; }
.leadership-head { text-align: center; margin-bottom: 28px; }
.leadership-head .eyebrow { justify-content: center; }
.lt { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1060px; margin: 0 auto; }
.lt-images { position: relative; width: 72%; height: 302px; perspective: 1000px; margin: 43px auto 0; }
.lt-images img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  border-radius: 24px; box-shadow: 0 14px 34px rgba(14, 42, 92, .22);
  transition: all .8s cubic-bezier(.4, 2, .3, 1);
}
.lt-content { display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; }
.lt-name { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: 30px; line-height: 1.2; margin-bottom: 6px; }
.lt-designation { color: var(--red); font-size: 14px; font-weight: 500; letter-spacing: .5px; margin-bottom: 26px; }
.lt-designation::after { content: ''; display: block; width: 50px; height: 3px; background: var(--red); border-radius: 2px; margin-top: 14px; }
.lt-quote { color: #33405b; font-size: 17px; line-height: 1.8; }
.lt-quote span { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(5px); animation: ltWord .22s ease-in-out forwards; }
@keyframes ltWord { to { opacity: 1; filter: blur(0); transform: none; } }
.lt-text { transition: opacity .3s ease, transform .3s ease; }
.lt-text.out { opacity: 0; transform: translateY(-20px); }
.lt-arrows { display: flex; gap: 18px; padding-top: 30px; }
.lt-arrow {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 16px; transition: background-color .3s;
}
.lt-arrow:hover { background: var(--red); }

@media (max-width: 900px) {
  .lt { grid-template-columns: 1fr; gap: 40px; max-width: 520px; }
  .lt-images { height: 259px; }
  .lt-content { min-height: 0; }
}
@media (max-width: 640px) {
  .lt-images { height: 216px; margin-top: 36px; }
  .lt-name { font-size: 26px; }
  .lt-quote { font-size: 15.5px; }
}

/* ==========================================================
   ADMISSIONS & CAREERS FORMS
   ========================================================== */
.admissions-band { background: var(--navy); padding: 90px 0; }
.careers-band { background: var(--light-bg); padding: 90px 0; }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; max-width: 1040px; }
.form-photo { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.22); height: 300px; }
.careers-band .form-photo { height: 340px; }
.form-photo img { width: 100%; height: 100%; object-fit: cover; }
.form-photo::after { content: ''; position: absolute; inset: 10px; border: 1.5px dashed rgba(255,255,255,.7); border-radius: 12px; pointer-events: none; }

.form-card { background: #fff; border-radius: 16px; box-shadow: 0 16px 40px rgba(14,42,92,.12); padding: 24px 22px 26px; }
.form-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.form-card-head h3 { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 19px; font-weight: 700; }
.form-emoji { font-size: 22px; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }
.form-call {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(212,32,39,.1); color: var(--red);
  display: grid; place-items: center; font-size: 13px; transition: .3s;
}
.form-call:hover { background: var(--red); color: #fff; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; font-weight: 600; color: #2b3955; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid select {
  font-family: inherit; font-size: 12.5px; color: #1f2b45; padding: 10px 12px; width: 100%;
  border: 1px solid #d9e1ee; border-radius: 8px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-grid input::placeholder { color: #8a95a8; }
.form-grid input:focus, .form-grid select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14,42,92,.1); }
.form-grid input[type="file"] { padding: 8px; font-size: 12px; }
.form-grid .invalid { border-color: var(--red); }
.form-submit {
  width: 100%; margin-top: 16px; padding: 13px; border-radius: 40px; background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 600; transition: background .3s;
}
.form-submit:hover { background: var(--red); }
.form-msg { margin-top: 10px; font-size: 13px; text-align: center; min-height: 18px; }
.form-msg.ok { color: #1a7f45; }
.form-msg.err { color: var(--red); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--navy-dark); color: #c9d4ea; margin-top: 30px; position: relative; overflow: hidden; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1.3fr 1.5fr 1.1fr; gap: 36px; padding-top: 50px; padding-bottom: 40px;
}
.footer-grid > div:not(:first-child) { border-left: 1px solid rgba(255,255,255,.12); padding-left: 30px; }
.footer-grid > .footer-links { border-left: none; padding-left: 0; }
.logo-light .logo-gvk { color: #fff; }
.logo-light .logo-text { color: #fff; }
.footer-brand .logo-gvk { font-size: 24px; }
.footer-brand .logo-text { font-size: 16px; }
.footer-brand p { font-size: 12.5px; margin-top: 10px; }
.footer h6 { color: #fff; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; }
.footer-links li { margin-bottom: 6px; }
.footer-links a, .footer-contact a { font-size: 12.5px; transition: .3s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; padding-left: 3px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; margin-bottom: 12px; word-break: break-word; }
.footer-contact li i { width: 26px; height: 26px; flex-shrink: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  display: grid; place-items: center; font-size: 13px; transition: .3s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-news p { font-size: 12px; margin-bottom: 14px; }
.newsletter { display: flex; background: #fff; border-radius: 40px; padding: 4px; }
.newsletter input { flex: 1; min-width: 0; border: none; outline: none; padding: 8px 14px; font-family: inherit; font-size: 12px; border-radius: 40px; color: #1f2b45; }
.newsletter button { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; transition: .3s; }
.newsletter button:hover { background: var(--red-dark); }
.news-msg { margin-top: 10px; color: #8fe3a6; min-height: 18px; }

.footer-bottom { background: var(--navy-deep); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; height: 50px; font-size: 12px; gap: 10px; }
.footer-bottom nav { display: flex; gap: 12px; }
.footer-bottom nav span { opacity: .4; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================
   ANIMATION
   ========================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1360px) {
  .header-inner { gap: 16px; }
  .nav { gap: 15px; }
  .nav a { font-size: 12.5px; }
  .logo-gvk { font-size: 25px; }
  .logo-text { font-size: 16px; }
  .header-cta { padding: 9px 18px; }
}

@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; width: 290px; max-width: 85vw; height: 100vh; background: #fff;
    transform: translateX(100%); visibility: hidden;
    flex-direction: column; align-items: flex-start; padding: 90px 30px 30px; gap: 8px;
    box-shadow: -10px 0 30px rgba(0,0,0,.15); transition: transform .4s ease, visibility .4s; z-index: 200;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-size: 15px; }
  .nav-cta { display: inline-flex !important; margin-top: 14px; }
  .menu-toggle { position: relative; z-index: 210; }

  .split { grid-template-columns: 1fr; }
  .split-intro .text { max-width: 640px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { border-left: none !important; padding-left: 0 !important; }
}

@media (max-width: 900px) {
  .about-grid, .form-split, .mv-row { grid-template-columns: 1fr; }
  .form-split.reverse .form-photo { order: -1; }
  .mv-row { gap: 24px; }
  .about { padding-top: 70px; padding-bottom: 80px; }
  .mv-rows { gap: 70px; margin-top: 80px; }
  .mv-row.reverse .mv-img { order: 0; }
  .mv-img { height: 280px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .stat:nth-child(2) { border-right: none; }
  .cards-4, .ach-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 548px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.8) 55%, rgba(255,255,255,.3) 100%); }
}

@media (max-width: 640px) {
  .header-inner { height: 74px; }
  .logo-gvk { font-size: 22px; }
  .logo-text { font-size: 15px; }
  .container { padding: 0 16px; }
  .hero { height: 529px; }
  .hero-bg { background-position: 85% center; }
  .hero-btns .btn { padding: 12px 22px; }
  .section { padding: 56px 0; }
  .about-main { height: 260px; }
  .about-small { height: 160px; width: 55%; }
  .stats { grid-template-columns: 1fr; }
  .stat { justify-content: flex-start; border-right: none !important; }
  .cards-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .level-card .img { height: 120px; }
  .ach-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-photo, .careers-band .form-photo { height: 240px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-inner { flex-direction: column; height: auto; padding: 14px 0; text-align: center; }
}

/* ==========================================================
   INNER PAGES — Mandatory Disclosure
   ========================================================== */
.page-banner {
  background: linear-gradient(100deg, rgba(10,33,73,.94) 0%, rgba(14,42,92,.85) 55%, rgba(14,42,92,.6) 100%), url('../images/hero.png') center/cover;
  color: #fff; padding: 70px 0 64px;
}
.page-banner h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; margin-bottom: 14px; }
.eyebrow-light { color: #dbe4f5; }
.breadcrumb { font-size: 13px; color: #c9d4ea; display: flex; align-items: center; gap: 10px; }
.breadcrumb i { font-size: 9px; color: var(--red); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #fff; }

.disclosure { background: var(--light-bg); padding: 60px 0 70px; }
.disclosure-grid { max-width: 1040px; }

.disclosure-content { display: flex; flex-direction: column; gap: 26px; }
.disc-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px 20px; scroll-margin-top: 112px; }
.disc-head { display: flex; align-items: center; justify-content: center; text-align: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.disc-icon { font-size: 28px; line-height: 1; flex-shrink: 0; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }
.disc-head h2 { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: 22px; line-height: 1.3; }

.disc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.disc-table th {
  background: var(--navy); color: #fff; font-weight: 500; font-size: 12.5px; letter-spacing: .5px;
  text-align: left; padding: 12px 16px;
}
.disc-table th:first-child { border-radius: 8px 0 0 8px; width: 70px; }
.disc-table th:last-child { border-radius: 0 8px 8px 0; width: 34%; }
.disc-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: #33405b; vertical-align: middle; }
.disc-table td:nth-child(2) { color: #1f2b45; font-weight: 500; }
.disc-table tbody tr:nth-child(even) { background: #f8fafd; }
.disc-table tbody tr:hover { background: #eef3fb; }
.disc-table tbody tr:last-child td { border-bottom: none; }
.disc-table td a:not(.doc-link) { color: var(--navy); }
.disc-table td a:not(.doc-link):hover { color: var(--red); }
.doc-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 30px;
  border: 1.5px solid var(--red); color: var(--red); font-size: 12.5px; font-weight: 600; transition: .25s;
}
.doc-link:hover { background: var(--red); color: #fff; }

@media (max-width: 640px) {
  .page-banner { padding: 48px 0 44px; }
  .disc-card { padding: 20px 14px 14px; }
  .disc-head h2 { font-size: 19px; }
  .disc-table { font-size: 13px; }
  .disc-table th, .disc-table td { padding: 10px 8px; }
  .disc-table th:first-child { width: 44px; }
  .disc-table th:last-child { width: auto; }
  .disc-table td:last-child { word-break: break-word; }
}
.doc-link[data-doc]:not(.ready) { visibility: hidden; }
.no-doc { color: #33405b; }

/* ==========================================================
   BLOGS
   ========================================================== */
.blogs { background: var(--light-bg); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.blog-filters button {
  padding: 9px 22px; border-radius: 30px; background: #fff; color: var(--navy);
  font-size: 13px; font-weight: 500; box-shadow: var(--shadow); transition: .25s;
}
.blog-filters button:hover { color: var(--red); }
.blog-filters button.active { background: var(--navy); color: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card.hidden { display: none; }
.blog-card .img { position: relative; height: 210px; overflow: hidden; }
.blog-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .img img { transform: scale(1.08); }
.blog-tag {
  position: absolute; left: 16px; top: 16px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px; letter-spacing: .5px;
}
.blog-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: 12px; color: #7a869c; margin-bottom: 8px; }
.blog-meta i { color: var(--red); margin-right: 6px; }
.blog-card h3 { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.4; color: var(--navy); margin-bottom: 10px; }
.blog-card h3 a:hover { color: var(--red); }
.blog-card .body > p:not(.blog-meta) { font-size: 13.5px; margin-bottom: 18px; flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--red); }
.read-more i { font-size: 11px; transition: transform .3s; }
.read-more:hover i { transform: translateX(4px); }

@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* About text (multi-paragraph) */
.about-text p { font-size: 14.5px; margin-bottom: 14px; }
.about-text p strong { color: var(--navy); font-weight: 600; }
.about-highlight {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; margin-bottom: 0 !important;
  padding: 14px 18px; background: var(--light-bg); border-left: 3px solid var(--red); border-radius: 0 10px 10px 0;
}
.about-highlight i { color: var(--red); font-size: 18px; margin-top: 3px; }
.about-highlight strong { color: var(--navy); font-weight: 600; }

/* Image logo */
.logo img { height: 46px; width: auto; }
.footer-brand .logo img { height: 42px; }
@media (max-width: 1360px) { .logo img { height: 42px; } }
@media (max-width: 640px) { .logo img { height: 34px; } }
.lt-images img:not([style*="z-index: 3"]) { cursor: pointer; }

/* Mandatory Disclosure animations */
.disc-card.reveal .disc-icon { display: inline-block; transform: scale(0) rotate(-30deg); }
.disc-card.visible .disc-icon {
  animation: discPop .7s cubic-bezier(.34, 1.56, .64, 1) .2s forwards, discFloat 3s ease-in-out 1s infinite;
}
.disc-card:hover .disc-icon { animation: discWiggle .6s ease-in-out; transform: none; }
@keyframes discPop { to { transform: scale(1) rotate(0); } }
@keyframes discFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes discWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg) scale(1.15); } 75% { transform: rotate(14deg) scale(1.15); } }

.disc-card.reveal .disc-head h2 { opacity: 0; transform: translateY(10px); transition: opacity .6s ease .35s, transform .6s ease .35s; }
.disc-card.visible .disc-head h2 { opacity: 1; transform: none; }

.disc-card.reveal .disc-table tbody tr { opacity: 0; transform: translateX(-16px); }
.disc-card.visible .disc-table tbody tr { animation: discRow .5s ease forwards; }
.disc-card.visible .disc-table tbody tr:nth-child(1) { animation-delay: .45s; }
.disc-card.visible .disc-table tbody tr:nth-child(2) { animation-delay: .52s; }
.disc-card.visible .disc-table tbody tr:nth-child(3) { animation-delay: .59s; }
.disc-card.visible .disc-table tbody tr:nth-child(4) { animation-delay: .66s; }
.disc-card.visible .disc-table tbody tr:nth-child(5) { animation-delay: .73s; }
.disc-card.visible .disc-table tbody tr:nth-child(6) { animation-delay: .80s; }
.disc-card.visible .disc-table tbody tr:nth-child(7) { animation-delay: .87s; }
.disc-card.visible .disc-table tbody tr:nth-child(8) { animation-delay: .94s; }
.disc-card.visible .disc-table tbody tr:nth-child(9) { animation-delay: 1.01s; }
.disc-card.visible .disc-table tbody tr:nth-child(10) { animation-delay: 1.08s; }
.disc-card.visible .disc-table tbody tr:nth-child(11) { animation-delay: 1.15s; }
@keyframes discRow { to { opacity: 1; transform: none; } }

.doc-link.ready { animation: discPulse 2.4s ease-in-out 1.6s infinite; }
@keyframes discPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(212,32,39,.35); } 50% { box-shadow: 0 0 0 6px rgba(212,32,39,0); } }

@media (prefers-reduced-motion: reduce) {
  .disc-card .disc-icon, .disc-card .disc-head h2, .disc-card .disc-table tbody tr, .doc-link.ready { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Academics — staggered 3D flip-in + mouse tilt + shine */
.acad-cards { perspective: 1200px; }
.acad-cards .level-card {
  opacity: 0; transform: rotateY(-75deg) translateZ(-40px); transform-origin: left center;
  transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1.1), box-shadow .35s ease;
  position: relative; will-change: transform;
}
.acad-cards.in .level-card { opacity: 1; transform: none; }
.acad-cards.in .level-card:nth-child(1) { transition-delay: 0s; }
.acad-cards.in .level-card:nth-child(2) { transition-delay: .15s; }
.acad-cards.in .level-card:nth-child(3) { transition-delay: .3s; }
.acad-cards.in .level-card:nth-child(4) { transition-delay: .45s; }
.acad-cards.in.done .level-card { transition: transform .15s ease-out, box-shadow .35s ease; transition-delay: 0s; }
.acad-cards .level-card::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
  transform: translateX(-120%);
}
.acad-cards .level-card:hover::before { transform: translateX(120%); transition: transform .9s ease; }
.acad-cards .level-card:hover { box-shadow: 0 22px 45px rgba(14,42,92,.2); }
.acad-cards .level-card:hover h4 { color: var(--red); }
.acad-cards .level-card h4 { transition: color .3s; }
.acad-cards .level-card:hover .circle-arrow { transform: rotate(-45deg); }
.circle-arrow { transition: .3s; }
@media (prefers-reduced-motion: reduce) {
  .acad-cards .level-card { opacity: 1; transform: none; transition: none; }
}

/* Section headings — same animated red underline as Our Mission / Our Vision */
.page-banner h1::after {
  content: ''; display: block; width: 0; height: 3px; background: var(--red); border-radius: 2px; margin-top: 14px;
  transition: width 1s cubic-bezier(.65, 0, .35, 1) .3s;
}
.page-banner h1.line-in::after { width: 80px; }
.hero-line { width: 0 !important; height: 3px; transition: width 1s cubic-bezier(.65, 0, .35, 1) .3s; }
.hero-line.line-in { width: 80px !important; }
@media (prefers-reduced-motion: reduce) {
  .page-banner h1::after, .hero-line, .mv-text h3::after { transition: none; }
}

/* Small labels (About Our School, Academics...) — animated red underline */
.eyebrow::after {
  content: ''; display: block; width: 0; height: 2px; background: var(--red); border-radius: 2px; margin-top: 8px;
  transition: width .8s cubic-bezier(.65, 0, .35, 1) .1s;
}
.eyebrow.line-in::after { width: 40px; }
.section-head .eyebrow::after, .leadership-head .eyebrow::after { margin-left: auto; margin-right: auto; }
@media (prefers-reduced-motion: reduce) { .eyebrow::after { transition: none; } }

/* Student Achievements — staggered pop-in, hover lift */
.ach-card { position: relative; overflow: hidden; opacity: 0; transform: translateY(40px) scale(.92);
  transition: opacity .6s ease, transform .7s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease; }
.ach-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(212,32,39,.06), transparent 70%); opacity: 0; transition: opacity .35s ease;
}
.ach-card h5, .ach-card p { position: relative; z-index: 1; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease, color .3s; }
.ach-grid.in .ach-card { opacity: 1; transform: none; }
.ach-grid.in .ach-card h5, .ach-grid.in .ach-card p { opacity: 1; transform: none; }
.ach-grid.in .ach-card:nth-child(1) { transition-delay: 0s; }
.ach-grid.in .ach-card:nth-child(2) { transition-delay: .15s; }
.ach-grid.in .ach-card:nth-child(3) { transition-delay: .3s; }
.ach-grid.in .ach-card:nth-child(4) { transition-delay: .45s; }
.ach-grid.in .ach-card:nth-child(1) h5 { transition-delay: .3s; }  .ach-grid.in .ach-card:nth-child(1) p { transition-delay: .4s; }
.ach-grid.in .ach-card:nth-child(2) h5 { transition-delay: .45s; } .ach-grid.in .ach-card:nth-child(2) p { transition-delay: .55s; }
.ach-grid.in .ach-card:nth-child(3) h5 { transition-delay: .6s; }  .ach-grid.in .ach-card:nth-child(3) p { transition-delay: .7s; }
.ach-grid.in .ach-card:nth-child(4) h5 { transition-delay: .75s; } .ach-grid.in .ach-card:nth-child(4) p { transition-delay: .85s; }
.ach-grid.in.done .ach-card, .ach-grid.in.done .ach-card h5 { transition-delay: 0s; }
.ach-grid.in.done .ach-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ach-card:hover::after { opacity: 1; }
.ach-card:hover h5 { color: var(--red); }
@media (prefers-reduced-motion: reduce) {
  .ach-card, .ach-card h5, .ach-card p { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* About leaves — gentle sway in the breeze */
.leaf { transform-origin: 50% 100%; }
.leaf-left { animation: leafSwayL 6s ease-in-out infinite, leafIn 1.4s ease-out both; }
.leaf-right { animation: leafSwayR 7s ease-in-out infinite, leafIn 1.4s ease-out .3s both; }
@keyframes leafSwayL {
  0%, 100% { transform: rotate(-25deg) translateY(0); }
  50% { transform: rotate(-17deg) translateY(-10px); }
}
@keyframes leafSwayR {
  0%, 100% { transform: rotate(25deg) translateY(0); }
  50% { transform: rotate(33deg) translateY(-12px); }
}
@keyframes leafIn { from { opacity: 0; } to { opacity: .12; } }
@media (prefers-reduced-motion: reduce) { .leaf-left, .leaf-right { animation: none; } }

/* Student Achievements — whole section 10% smaller */
.achievements .section-head { margin-bottom: 16px; }
.achievements .eyebrow { font-size: 9.9px; }
.achievements .title { font-size: clamp(23.4px, 2.7vw, 32.4px); }
.achievements .ach-grid { max-width: 90%; margin: 0 auto; gap: 18px; }
.achievements .ach-card { padding: 15px 16px 14px; border-radius: 12.6px; }
.achievements .ach-card h5 { font-size: 14.4px; margin-bottom: 7px; }
.achievements .ach-card p { font-size: 11.7px; }
@media (max-width: 640px) { .achievements .ach-grid { max-width: 100%; } }

/* Leaves in every section */
.has-leaves { position: relative; overflow: hidden; }
.has-leaves > .container { position: relative; z-index: 1; }
.leaf-light { filter: brightness(0) invert(1); }
.leaf-light.leaf-left, .leaf-light.leaf-right { animation-name: leafSwayL, leafInLight; }
.leaf-light.leaf-right { animation-name: leafSwayR, leafInLight; }
@keyframes leafInLight { from { opacity: 0; } to { opacity: .1; } }
@media (max-width: 1100px) { .leaf { display: none; } }
.achievements .eyebrow { margin-bottom: 10px; }

/* ==========================================================
   HANDWRITTEN HEADINGS (Palisade — falls back to Ms Madi)
   Put the real font at fonts/palisade.ttf to use it automatically.
   ========================================================== */
@font-face {
  font-family: 'Palisade';
  src: url('../fonts/palisade.woff2') format('woff2'), url('../fonts/palisade.ttf') format('truetype');
  font-display: swap;
}
:root { --script: 'Palisade', 'Ms Madi', cursive; }
.eyebrow {
  font-family: var(--script); font-weight: 400 !important; text-transform: none; letter-spacing: 0; line-height: 1.2;
}
.eyebrow { font-size: 30px; margin-bottom: 10px; }
.achievements .eyebrow { font-size: 27px; }
.eyebrow::after { margin-top: 4px; }

/* Writing animation: each word is revealed left-to-right, one after another */
.write-word { display: inline-block; white-space: nowrap; padding-right: .04em; }
.write-ready .write-word {
  -webkit-mask-image: linear-gradient(90deg, #000 0 40%, transparent 60% 100%);
          mask-image: linear-gradient(90deg, #000 0 40%, transparent 60% 100%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.write-ready.writing .write-word { animation: writeWord var(--dur, .5s) cubic-bezier(.45, .05, .55, .95) var(--delay, 0s) forwards; }
@keyframes writeWord { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .write-ready .write-word { -webkit-mask-image: none; mask-image: none; }
}

/* ==========================================================
   HOME: transparent menu over the banner + dark banner overlay
   ========================================================== */
.logo .logo-light { display: none; }
.header-overlay { background: transparent; transition: background .35s ease, box-shadow .35s ease; }
.header-overlay:not(.scrolled) .logo-dark { display: none; }
.header-overlay:not(.scrolled) .logo-light { display: block; }
.header-overlay.scrolled { background: #fff; }
@media (min-width: 1181px) {
  .header-overlay:not(.scrolled) .nav a:not(.btn) { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
  .header-overlay:not(.scrolled) .nav a:not(.btn):hover { color: #ffc947; }
  .header-overlay:not(.scrolled) .nav a.active { color: #ffc947; }
  .header-overlay:not(.scrolled) .nav a.active::after { background: #ffc947; }
}
.header-overlay:not(.scrolled) .menu-toggle { color: #fff; }

/* banner slides up under the see-through menu */
.header-overlay + .hero { margin-top: -92px; height: 697px; }
.header-overlay + .hero .hero-content { padding-top: 92px; }
.header-overlay + .hero .hero-overlay {
  background:
    linear-gradient(180deg, rgba(8,25,58,.6) 0%, rgba(8,25,58,0) 28%),
    linear-gradient(90deg, rgba(8,25,58,.88) 0%, rgba(8,25,58,.7) 32%, rgba(8,25,58,.25) 58%, rgba(8,25,58,0) 75%);
}
.header-overlay + .hero .hero-tagline { color: #dbe4f5; }
.header-overlay + .hero h1 {
  font-family: var(--sans); font-weight: 700; color: #fff; letter-spacing: -.5px; line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero-accent { color: #ff4d55; }
.header-overlay + .hero .hero-text { color: #e3eaf6; }
.btn-outline-light { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-outline-light .play { background: #fff; color: var(--navy); }
.btn-outline-light:hover .play { background: var(--navy); color: #fff; }

@media (max-width: 1360px) { .header-overlay + .hero { margin-top: -92px; } }
@media (max-width: 900px) { .header-overlay + .hero { height: 640px; } }
@media (max-width: 640px) {
  .header-overlay + .hero { margin-top: -74px; height: 603px; }
  .header-overlay + .hero .hero-content { padding-top: 74px; }
  .header-overlay + .hero .hero-overlay { background: linear-gradient(180deg, rgba(8,25,58,.75) 0%, rgba(8,25,58,.55) 60%, rgba(8,25,58,.35) 100%); }
}
/* Banner photo shifted ~5% left */
@media (min-width: 641px) { .header-overlay + .hero .hero-bg { background-position: 61% center; } }

/* Section main headings — same bold font as the banner heading */
.title, .mv-text h3, .page-banner h1, .disc-head h2 {
  font-family: var(--sans); font-weight: 700; letter-spacing: -.5px; line-height: 1.2;
}
.title { font-size: clamp(24px, 2.7vw, 34px); }
.achievements .title { font-size: clamp(22px, 2.4vw, 30px); }
.mv-text h3 { font-size: clamp(24px, 2.7vw, 32px); }
.page-banner h1 { font-size: clamp(28px, 3.6vw, 42px); }
.disc-head h2 { font-size: 20px; letter-spacing: -.3px; }

/* First headings (labels) — same font as "Learn Today • Lead Tomorrow • Inspire Forever", 5% larger */
.eyebrow, .achievements .eyebrow {
  font-family: var(--sans); font-size: 11.3px; font-weight: 500 !important;
  text-transform: uppercase; letter-spacing: 3px; line-height: 1.6; margin-bottom: 12px;
}
.section-head .eyebrow { font-weight: 600 !important; }
.eyebrow::after { margin-top: 8px; }
.hero-tagline { font-size: 11.3px; }

/* First headings (labels) — same colour as "Possibility" in the banner */
.eyebrow, .section-head .eyebrow, .eyebrow-light { color: #ff4d55; }

/* ==========================================================
   TESTIMONIALS — endless scrolling row (marquee), pauses on hover
   ========================================================== */
.testimonials { background: var(--light-bg); padding: 80px 0 70px; }
.testimonials .section-head { margin-bottom: 26px; }
.marquee {
  --gap: 24px; --duration: 80s;
  display: flex; gap: var(--gap); overflow: hidden; padding: 14px 0 34px; position: relative; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee-group { display: flex; gap: var(--gap); flex-shrink: 0; align-items: stretch; animation: marquee var(--duration) linear infinite; }
.marquee:hover .marquee-group { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-100% - var(--gap))); } }

.testi-card {
  width: 340px; flex-shrink: 0; display: flex; flex-direction: column;
  background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.9); border-radius: 22px;
  padding: 28px 28px 26px; box-shadow: 0 10px 30px rgba(14, 42, 92, .08), inset 0 1px 0 #fff;
  backdrop-filter: blur(6px); transition: transform .35s ease, box-shadow .35s ease;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(14, 42, 92, .16); }
.testi-quote {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 15px; margin-bottom: 18px;
}
.testi-stars { color: #f5b301; font-size: 14px; display: flex; gap: 4px; margin-bottom: 14px; }
.testi-card h5 { color: var(--navy); font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.testi-card p { font-size: 14px; color: #4a5568; line-height: 1.75; margin-bottom: 18px; flex: 1; }
.testi-card strong { color: var(--navy); font-size: 15px; font-weight: 700; }
.testi-role { font-size: 13px; color: #7a869c; margin-top: 2px; }

@media (max-width: 640px) {
  .testi-card { width: 280px; padding: 22px; }
  .marquee { --duration: 60s; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-group { animation: none; }
}
/* Testimonials — whole section 5% smaller */
.testimonials { padding: 76px 0 66px; }
.testimonials .section-head { margin-bottom: 25px; }
.testimonials .title { font-size: clamp(23px, 2.57vw, 32.3px); }
.marquee { --gap: 23px; padding: 13px 0 32px; }
.testi-card { width: 323px; padding: 27px 27px 25px; border-radius: 21px; }
.testi-quote { width: 44px; height: 44px; font-size: 14px; margin-bottom: 17px; }
.testi-stars { font-size: 13.3px; margin-bottom: 13px; }
.testi-card h5 { font-size: 14.7px; }
.testi-card p { font-size: 13.3px; margin-bottom: 17px; }
.testi-card strong { font-size: 14.3px; }
.testi-role { font-size: 12.4px; }
@media (max-width: 640px) { .testi-card { width: 266px; padding: 21px; } }
/* Testimonials — another 10% smaller */
.testimonials { padding: 68px 0 59px; }
.testimonials .section-head { margin-bottom: 22px; }
.testimonials .title { font-size: clamp(21px, 2.31vw, 29px); }
.marquee { --gap: 21px; padding: 12px 0 29px; }
.testi-card { width: 291px; padding: 24px 24px 22px; border-radius: 19px; }
.testi-quote { width: 40px; height: 40px; font-size: 12.6px; margin-bottom: 15px; }
.testi-stars { font-size: 12px; margin-bottom: 12px; }
.testi-card h5 { font-size: 13.2px; margin-bottom: 7px; }
.testi-card p { font-size: 12px; margin-bottom: 15px; }
.testi-card strong { font-size: 12.9px; }
.testi-role { font-size: 11.2px; }
@media (max-width: 640px) { .testi-card { width: 250px; padding: 19px; } }
/* Admissions — same light background as Testimonials */
.testimonials .testi-card { background: #fff; }
.admissions-band { background: var(--light-bg); }
.careers-band { background: #fff; }

/* ==========================================================
   CAMPUS FACILITIES — 3D card carousel (coverflow)
   ========================================================== */
.cf-intro { max-width: 640px; margin: 14px auto 0; font-size: 15px; color: #4a5568; }
.cf { position: relative; margin-top: 30px; }
.cf-stage { position: relative; height: 470px; perspective: 1400px; }
.cf-card {
  --w: 380px;
  position: absolute; top: 40px; left: 50%; width: var(--w); margin-left: calc(var(--w) / -2);
  background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 44px rgba(14, 42, 92, .14);
  transition: transform .7s cubic-bezier(.22, .8, .25, 1), opacity .7s ease, filter .7s ease, box-shadow .7s ease;
  cursor: pointer; user-select: none;
}
.cf-card.is-active { cursor: default; box-shadow: 0 26px 60px rgba(14, 42, 92, .22); }
.cf-img { position: relative; height: 230px; overflow: hidden; }
.cf-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .8s ease; }
.cf-card.is-active:hover .cf-img img { transform: scale(1.06); }
.cf-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 30px;
}
.cf-icon {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(14, 42, 92, .55); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; font-size: 17px;
}
.cf-body { padding: 20px 24px 24px; }
.cf-body h4 { color: var(--navy); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.cf-body p { font-size: 14px; color: #4a5568; line-height: 1.7; }

.cf-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 16px;
  box-shadow: 0 8px 24px rgba(14, 42, 92, .15); transition: background .3s, color .3s;
}
.cf-btn:hover { background: var(--navy); color: #fff; }
.cf-btn.prev { left: 0; }
.cf-btn.next { right: 0; }
.cf-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.cf-dots button { width: 9px; height: 9px; border-radius: 10px; background: #c7d1e3; transition: width .4s ease, background .4s ease; }
.cf-dots button.active { width: 34px; background: var(--navy); }

@media (max-width: 900px) {
  .cf-card { --w: 320px; }
  .cf-stage { height: 440px; }
  .cf-img { height: 200px; }
}
@media (max-width: 640px) {
  .cf-card { --w: 260px; top: 20px; }
  .cf-stage { height: 400px; }
  .cf-img { height: 170px; }
  .cf-body { padding: 16px 18px 20px; }
  .cf-body h4 { font-size: 17px; }
  .cf-body p { font-size: 13px; }
  .cf-btn { width: 42px; height: 42px; top: auto; bottom: -6px; transform: none; }
  .cf-btn.prev { left: calc(50% - 110px); }
  .cf-btn.next { right: calc(50% - 110px); }
  .cf-dots { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .cf-card { transition: none; } }
/* Campus Facilities — cards and photos 10% smaller */
.cf-card { --w: 342px; }
.cf-img { height: 207px; }
.cf-stage { height: 430px; }
@media (max-width: 900px) { .cf-card { --w: 288px; } .cf-img { height: 180px; } .cf-stage { height: 400px; } }
@media (max-width: 640px) { .cf-card { --w: 234px; } .cf-img { height: 153px; } .cf-stage { height: 370px; } }

/* ==========================================================
   ACADEMICS — text + emoji points on the left, photo on the right
   ========================================================== */
.acad-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.acad-desc { font-size: 15px; color: #4a5568; line-height: 1.85; margin-bottom: 26px; }
.acad-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acad-points li {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow);
  color: var(--navy); font-size: 14px; font-weight: 600; line-height: 1.35;
  opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease, box-shadow .3s ease, border-color .3s;
}
.acad-text.visible .acad-points li { opacity: 1; transform: none; }
.acad-text.visible .acad-points li:nth-child(1) { transition-delay: .25s; }
.acad-text.visible .acad-points li:nth-child(2) { transition-delay: .4s; }
.acad-text.visible .acad-points li:nth-child(3) { transition-delay: .55s; }
.acad-text.visible .acad-points li:nth-child(4) { transition-delay: .7s; }
.acad-points li:hover { box-shadow: var(--shadow-lg); border-color: rgba(212,32,39,.35); transition-delay: 0s; }
.acad-emoji {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--light-bg);
  display: grid; place-items: center; font-size: 21px; line-height: 1;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; transition: transform .4s ease;
}
.acad-points li:hover .acad-emoji { transform: scale(1.18) rotate(-8deg); }
.acad-photo { position: relative; border-radius: 24px; overflow: hidden; height: 440px; box-shadow: var(--shadow-lg); }
.acad-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.acad-photo:hover img { transform: scale(1.05); }
.acad-photo::after { content: ''; position: absolute; inset: 12px; border: 1.5px dashed rgba(255,255,255,.7); border-radius: 16px; pointer-events: none; }

@media (max-width: 900px) {
  .acad-grid { grid-template-columns: 1fr; gap: 34px; }
  .acad-photo { height: 320px; }
}
@media (max-width: 640px) {
  .acad-points { grid-template-columns: 1fr; }
  .acad-photo { height: 250px; }
}
@media (prefers-reduced-motion: reduce) { .acad-points li { opacity: 1; transform: none; } }
.acad-photo img { object-position: 45% 25%; }

/* ==========================================================
   GALLERY PAGE
   ========================================================== */
.gallery { background: var(--light-bg); }
.gal-grid { columns: 3 300px; column-gap: 20px; }
.gal-item {
  position: relative; break-inside: avoid; margin: 0 0 20px; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); cursor: zoom-in; background: #fff;
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease;
}
.gal-item.in { opacity: 1; transform: none; }
.gal-item.hidden { display: none; }
.gal-item img { width: 100%; height: auto; display: block; transition: transform .7s ease; }
.gal-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; display: flex; align-items: center; justify-content: space-between;
  color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(8,25,58,.85)); opacity: 0; transform: translateY(10px); transition: .4s ease;
}
.gal-item figcaption i { width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 13px; }
.gal-item:hover { box-shadow: var(--shadow-lg); }
.gal-item:hover img { transform: scale(1.07); }
.gal-item:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gal-item figcaption { opacity: 1; transform: none; } }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(6, 16, 38, .94);
  display: flex; align-items: center; justify-content: center; padding: 30px 80px;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; transform: scale(.94); transition: transform .35s ease; }
.lightbox.open .lb-figure { transform: none; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-figure figcaption { color: #fff; margin-top: 14px; font-size: 15px; font-weight: 500; }
.lb-close, .lb-nav {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff;
  font-size: 18px; display: grid; place-items: center; transition: background .3s;
}
.lb-close:hover, .lb-nav:hover { background: var(--red); }
.lb-close { top: 20px; right: 20px; }
.lb-nav.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 20px; top: 50%; transform: translateY(-50%); }
body.lb-lock { overflow: hidden; }
@media (max-width: 640px) {
  .gal-grid { columns: 2 150px; column-gap: 12px; }
  .gal-item { margin-bottom: 12px; border-radius: 12px; }
  .gal-item figcaption { font-size: 12px; padding: 30px 10px 10px; }
  .gal-item figcaption i { display: none; }
  .lightbox { padding: 20px 12px; }
  .lb-nav { top: auto; bottom: 20px; transform: none; }
  .lb-nav.prev { left: calc(50% - 60px); } .lb-nav.next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) { .gal-item { opacity: 1; transform: none; } }

/* ==========================================================
   BLOG ARTICLE PAGES
   ========================================================== */
.blog-dot { margin: 0 6px; opacity: .6; }
.read-more.soon { color: #7a869c; font-weight: 500; }
.blog-card .img a { display: block; height: 100%; }
.post-banner h1 { max-width: 900px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.25; }
.post-meta { color: #c9d4ea; font-size: 13.5px; margin: 4px 0 14px; }
.post-meta i { color: #ff4d55; margin-right: 4px; }
.post { background: #fff; }
.post-wrap { max-width: 860px; }
.post-cover { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); margin-bottom: 40px; }
.post-body { color: #33405b; font-size: 16.5px; line-height: 1.9; }
.post-body p { margin-bottom: 20px; }
.post-body h2 { font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.35; margin: 38px 0 14px; letter-spacing: -.3px; }
.post-body h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 30px 0 12px; }
.post-body h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.post-body ul, .post-body ol { margin: 0 0 22px 22px; }
.post-body ul { list-style: disc; } .post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--navy); }
.post-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--navy); }
.post-body blockquote { border-left: 4px solid var(--red); background: var(--light-bg); padding: 16px 22px; border-radius: 0 12px 12px 0; margin: 0 0 22px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border); }
.post-nav a { display: block; background: var(--light-bg); border-radius: 14px; padding: 18px 20px; transition: .3s; }
.post-nav a:hover { background: var(--navy); }
.post-nav a:hover span, .post-nav a:hover strong { color: #fff; }
.post-nav span { display: block; font-size: 12px; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.post-nav strong { color: var(--navy); font-size: 14.5px; line-height: 1.45; }
.post-next { text-align: right; }
.post-back { margin-top: 34px; text-align: center; }
@media (max-width: 640px) {
  .post-body { font-size: 15.5px; }
  .post-body h2 { font-size: 20px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-next { text-align: left; }
}

/* ==========================================================
   GALLERY ANIMATIONS
   ========================================================== */
.gal-item {
  --rx: 0deg; --ry: 0deg; --tilt: -2deg;
  opacity: 0;
  transform: translateY(46px) scale(.9) rotate(var(--tilt));
  transition: transform 1s cubic-bezier(.22, .8, .25, 1), opacity .6s ease, box-shadow .35s ease;
  will-change: transform;
}
.gal-item img {
  transform: scale(1.25); clip-path: inset(100% 0 0 0);
  transition: transform 1.4s cubic-bezier(.22, .8, .25, 1), clip-path 1s cubic-bezier(.65, 0, .35, 1);
}
.gal-item.in { opacity: 1; transform: none; }
.gal-item.in img { transform: scale(1); clip-path: inset(0 0 0 0); }
.gal-item.settled {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .18s ease-out, box-shadow .35s ease, opacity .3s ease;
}
.gal-item.settled img { transition: transform .7s ease; clip-path: none; }
.gal-item.settled:hover { box-shadow: 0 24px 50px rgba(14, 42, 92, .25); z-index: 2; }
.gal-item.settled:hover img { transform: scale(1.08); }
.gal-item.leaving { opacity: 0 !important; transform: scale(.85) !important; transition: opacity .3s ease, transform .3s ease !important; }

/* light shine sweeping across on hover */
.gal-item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.4) 48%, transparent 66%);
  transform: translateX(-130%);
}
.gal-item.settled:hover::after { transform: translateX(130%); transition: transform 1s ease; }
.gal-item figcaption { z-index: 2; }
.gal-item figcaption span { transform: translateY(8px); transition: transform .45s ease .05s; display: inline-block; }
.gal-item:hover figcaption span { transform: none; }
.gal-item figcaption i { transform: scale(0) rotate(-90deg); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1) .1s; }
.gal-item:hover figcaption i { transform: none; }

/* sliding pill behind the active filter */
.gal-filters { position: relative; }
.gal-pill {
  position: absolute; left: 0; top: 0; border-radius: 30px; background: var(--navy);
  box-shadow: 0 8px 20px rgba(14, 42, 92, .25); z-index: 0;
  transition: transform .45s cubic-bezier(.65, 0, .35, 1), width .45s cubic-bezier(.65, 0, .35, 1);
}
.gal-filters button { position: relative; z-index: 1; transition: color .35s ease; }
.gal-filters button.active { background: transparent; color: #fff; }

@media (hover: none) {
  .gal-item figcaption span { transform: none; }
  .gal-item figcaption i { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gal-item, .gal-item img { opacity: 1; transform: none !important; clip-path: none; transition: none; }
  .gal-pill { transition: none; }
}

/* Admissions & Careers — 15% larger */
.form-split { max-width: 1196px; gap: 41px; }
.form-photo { height: 345px; border-radius: 21px; }
.careers-band .form-photo { height: 391px; }
.form-card { padding: 28px 25px 30px; border-radius: 18px; }
.form-card-head { margin-bottom: 21px; }
.form-card-head h3 { font-size: 21.9px; }
.form-emoji { font-size: 25px; }
.form-call { width: 39px; height: 39px; font-size: 15px; }
.form-grid { gap: 14px 16px; }
.form-grid label { font-size: 13.2px; gap: 7px; }
.form-grid input, .form-grid select { font-size: 14.4px; padding: 11.5px 14px; border-radius: 9px; }
.form-grid input[type="file"] { font-size: 13.8px; padding: 9px; }
.form-submit { font-size: 16px; padding: 15px; margin-top: 18px; }
.form-msg { font-size: 15px; }
@media (max-width: 640px) { .form-photo, .careers-band .form-photo { height: 276px; } }

/* Admissions & Careers — another 5% larger */
.form-split { max-width: 1256px; gap: 43px; }
.form-photo { height: 362px; border-radius: 22px; }
.careers-band .form-photo { height: 411px; }
.form-card { padding: 29px 26px 32px; border-radius: 19px; }
.form-card-head { margin-bottom: 22px; }
.form-card-head h3 { font-size: 23px; }
.form-emoji { font-size: 26px; }
.form-call { width: 41px; height: 41px; font-size: 16px; }
.form-grid { gap: 15px 17px; }
.form-grid label { font-size: 13.9px; }
.form-grid input, .form-grid select { font-size: 15.1px; padding: 12px 15px; }
.form-grid input[type="file"] { font-size: 14.5px; }
.form-submit { font-size: 16.8px; padding: 16px; margin-top: 19px; }
@media (max-width: 640px) { .form-photo, .careers-band .form-photo { height: 290px; } }

/* Admissions & Careers — another 5% larger, photos grow in width and height too */
.form-split.container { max-width: 1300px; }  /* content width 1192px -> 1252px (+5%) */
.form-split { gap: 45px; }
.form-photo { height: 380px; border-radius: 23px; }
.careers-band .form-photo { height: 432px; }
.form-card { padding: 30px 27px 34px; border-radius: 20px; }
.form-card-head { margin-bottom: 23px; }
.form-card-head h3 { font-size: 24.2px; }
.form-emoji { font-size: 27px; }
.form-call { width: 43px; height: 43px; font-size: 17px; }
.form-grid { gap: 16px 18px; }
.form-grid label { font-size: 14.6px; }
.form-grid input, .form-grid select { font-size: 15.9px; padding: 12.6px 15.8px; }
.form-grid input[type="file"] { font-size: 15.2px; }
.form-submit { font-size: 17.6px; padding: 17px; margin-top: 20px; }
@media (max-width: 640px) { .form-photo, .careers-band .form-photo { height: 305px; } }

/* Mandatory Disclosure — compact breakdown under a headline number */
.disc-table td strong { color: var(--navy); font-weight: 600; }
.disc-list { margin: 8px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: #5b6780; line-height: 1.55; }
.disc-list li { position: relative; padding-left: 14px; margin-bottom: 3px; }
.disc-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.disc-table td:last-child { vertical-align: top; }
