@import url("inner-pages.css");

:root {
  --base: #083f49;
  --base-deep: #052b34;
  --base-2: #1c3154;
  --maroon: #8e1935;
  --maroon-deep: #661126;
  --accent: #f2aa2b;
  --accent-bright: #ffc845;
  --cream: #fff8e9;
  --sand: #f5ead2;
  --paper: #fffdf8;
  --ink: #182529;
  --muted: #657176;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(5, 43, 52, 0.14);
  --shadow-strong: 0 24px 60px rgba(5, 43, 52, 0.24);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

/* Keep the current inner page visible inside desktop and mobile dropdowns. */
.site-header .dropdown-menu a:is(.active, [aria-current="page"]) {
  padding-left: 16px;
  border-radius: 4px 10px 10px 4px;
  color: var(--maroon);
  background: rgba(142, 25, 53, 0.09);
  box-shadow: inset 4px 0 0 var(--maroon);
  font-weight: 800;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 70px 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--maroon);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.utility-bar {
  position: relative;
  z-index: 1010;
  color: var(--white);
  background: var(--base-deep);
  font-size: 0.79rem;
  font-weight: 600;
}

.utility-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.utility-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.utility-contact a,
.utility-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
}

.utility-contact a:hover {
  color: var(--accent-bright);
}

.utility-contact i {
  color: var(--accent-bright);
}

.admission-mini {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-inline: 18px;
  color: var(--base-deep);
  background: var(--accent);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.admission-mini span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--maroon);
  box-shadow: 0 0 0 5px rgba(142, 25, 53, 0.15);
  animation: pulse 1.8s infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 248, 0.98);
  border-bottom: 1px solid rgba(8, 63, 73, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(5, 43, 52, 0.12);
}

.nav-wrap {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 390px;
  display: flex;
  align-items: center;
  gap: 17px;
}

.brand img {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  padding: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--white);
  outline: 2px solid rgba(142,25,53,0.22);
  outline-offset: 2px;
  box-shadow: 0 8px 22px rgba(5,43,52,0.16);
  filter: saturate(1.04) contrast(1.02);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-text strong {
  color: var(--maroon);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.015em;
}

.brand-text small {
  margin-top: 7px;
  color: var(--base);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--base-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
  padding: 34px 0;
}

.primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 25px;
  left: 0;
  height: 3px;
  border-radius: 4px;
  background: var(--maroon);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.primary-nav > a:hover,
.primary-nav > a.active {
  color: var(--maroon);
}

.primary-nav > a:hover::after,
.primary-nav > a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  color: var(--white);
  background: var(--maroon);
  border-radius: 13px 13px 3px 13px;
  box-shadow: 0 8px 20px rgba(142, 25, 53, 0.2);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-nav > .nav-cta:hover,
.primary-nav > .nav-cta:focus-visible {
  color: var(--white);
  background: var(--base);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(8,63,73,0.26);
}

.primary-nav > .nav-cta.active {
  color: var(--white);
}

.primary-nav > .nav-cta:hover i,
.primary-nav > .nav-cta:focus-visible i {
  color: var(--accent-bright);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 44px;
  padding: 10px;
  background: var(--base);
  border: 0;
  border-radius: 11px 11px 3px 11px;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  display: block;
  margin: 5px 0;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--base-deep);
}

.hero.banner-only {
  display: block;
  min-height: 0;
  background: transparent;
  overflow: visible;
}

.banner-only > :not(.hero-banner) {
  display: none;
}

.hero.banner-only::before,
.hero.banner-only::after {
  display: none;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
}

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: none;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: none;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 31, 38, 0.93) 0%, rgba(5, 43, 52, 0.8) 40%, rgba(5, 43, 52, 0.24) 76%, rgba(5, 43, 52, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 63, 73, 0.78) 0%, transparent 34%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: 330px;
  height: 330px;
  border: 35px double rgba(242, 170, 43, 0.24);
  border-radius: 50%;
}

.kolam {
  position: absolute;
  z-index: 1;
  width: 160px;
  height: 160px;
  opacity: 0.26;
  background:
    radial-gradient(circle at center, transparent 24%, var(--accent) 25%, var(--accent) 27%, transparent 28%),
    repeating-conic-gradient(from 45deg, transparent 0 10deg, var(--accent) 11deg 13deg, transparent 14deg 45deg);
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.kolam-one {
  top: 54px;
  right: 8%;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: 84px;
  padding-top: 28px;
  padding-bottom: 80px;
}

.hero-copy {
  max-width: 770px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  color: var(--accent-bright);
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-script {
  margin: 18px 0 2px;
  color: var(--accent-bright);
  font-family: "Dancing Script", cursive;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.hero h1 {
  margin: 10px 0 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

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

.hero h2 {
  margin: 13px 0 20px;
  padding-left: 14px;
  border-left: 5px solid var(--maroon);
  font-family: "Work Sans", sans-serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: 0.12em;
}

.hero-intro {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 0;
  border-radius: 14px 14px 4px 14px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--base-deep);
  background: var(--accent-bright);
  box-shadow: 0 12px 26px rgba(242, 170, 43, 0.25);
}

.button-primary:hover {
  background: var(--white);
}

.button-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
}

.button-light:hover {
  background: var(--maroon);
  border-color: var(--maroon);
}

.hero-note {
  position: relative;
  padding: 30px 26px 25px;
  color: var(--base-deep);
  background: var(--cream);
  border: 6px solid var(--white);
  border-radius: 30px 30px 5px 30px;
  box-shadow: var(--shadow-strong);
}

.fold-mark {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 52px;
  height: 52px;
  background: linear-gradient(225deg, var(--base-deep) 48%, var(--accent) 49% 100%);
  border-radius: 0 30px 0 12px;
}

.hero-note-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--maroon);
  border-radius: 18px 18px 4px 18px;
  font-size: 1.45rem;
}

.hero-note > strong {
  display: block;
  color: var(--base);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-note p {
  margin: 9px 0 16px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.hero-note-rule {
  height: 2px;
  background: var(--accent);
  border-radius: 5px;
}

.note-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 17px;
}

.note-facts span {
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.note-facts b {
  color: var(--maroon);
  font-size: 1.35rem;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  bottom: 29px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: translateX(-50%);
}

.hero-controls > button {
  width: 40px;
  height: 40px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  cursor: pointer;
}

.hero-controls > button:hover {
  color: var(--base-deep);
  background: var(--accent);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.active {
  width: 28px;
  background: var(--accent-bright);
}

.trust-ribbon {
  position: relative;
  z-index: 5;
  color: var(--white);
  background: var(--maroon);
}

.trust-ribbon::before,
.trust-ribbon::after {
  display: none;
}

.trust-ribbon::before { top: 0; }
.trust-ribbon::after { bottom: 0; }

.trust-grid {
  min-height: 116px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 12px;
  padding: 22px 0;
}

.trust-grid article {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.045);
  border: 0;
  border-radius: 18px 18px 5px 18px;
}

.trust-grid i {
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: var(--maroon);
  background: var(--accent-bright);
  border-radius: 14px 14px 3px 14px;
  font-size: 1.15rem;
}

.trust-grid div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.trust-grid strong {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.8;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.trust-grid span {
  margin-top: 4px;
  font-size: 0.98rem;
  font-weight: 800;
  transition: color 0.3s ease;
}

.welcome {
  position: relative;
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 170, 43, 0.15), transparent 22%),
    var(--cream);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: 78px;
}

.welcome-visual {
  position: relative;
  min-height: 570px;
}

.photo-tab {
  position: absolute;
  overflow: hidden;
  background: var(--white);
  border: 9px solid var(--white);
  border-radius: 40px 40px 6px 40px;
  box-shadow: var(--shadow);
}

.photo-tab::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 72px;
  height: 72px;
  background: linear-gradient(225deg, var(--cream) 48%, var(--accent) 49%);
  border-radius: 0 34px 0 18px;
}

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

.photo-tab-main {
  inset: auto;
  top: 0;
  left: 0;
  width: calc(100% - 54px);
  height: auto;
  aspect-ratio: 1 / 1;
  border-width: 8px;
  border-radius: 48% 48% 46% 46% / 48% 48% 46% 46%;
  box-shadow: 0 22px 48px rgba(5,43,52,0.2);
}

.photo-tab-small {
  right: 2px;
  bottom: 6px;
  z-index: 2;
  width: 230px;
  height: 230px;
  border-width: 8px;
  border-radius: 50% 16% 50% 50% / 50% 16% 50% 50%;
  box-shadow: 0 20px 42px rgba(5,43,52,0.24);
}

.welcome-visual .photo-tab::after {
  display: none;
}

.welcome-visual .photo-tab-main img {
  object-position: center;
}

.welcome-visual .photo-tab-small img {
  object-position: center;
}

.year-badge {
  position: absolute;
  top: 20px;
  right: -3px;
  left: auto;
  z-index: 3;
  width: 112px;
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--maroon);
  border: 6px solid var(--white);
  border-radius: 50%;
  box-shadow:
    0 0 0 4px var(--accent-bright),
    0 16px 30px rgba(142,25,53,0.25);
  line-height: 1.05;
  text-align: center;
}

.year-badge b {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.55rem;
}

.year-badge span {
  margin-top: 5px;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.welcome-visual .photo-tab:hover {
  border-color: var(--white);
  transform: none;
}

.ruled-motif {
  display: none;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--maroon);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

.section-heading.left .eyebrow::before {
  display: none;
}

.section-heading h2 {
  margin: 9px 0 13px;
  color: var(--base-deep);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading h2 em {
  position: relative;
  color: var(--maroon);
  font-style: normal;
}

.section-heading h2 em::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -7px;
  left: 8%;
  height: 4px;
  background: var(--accent);
  border-radius: 8px;
  transform: scaleX(0.48);
  transition: transform 0.45s var(--ease-spring, ease);
}

.section:hover .section-heading h2 em::after {
  transform: scaleX(1);
}

.section-heading > p {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
}

.section-heading.light .eyebrow,
.section-heading.light h2 {
  color: var(--white);
}

.section-heading.light h2 em {
  color: var(--accent-bright);
}

.section-heading.light > p {
  color: rgba(255, 255, 255, 0.74);
}

.welcome-copy .lead {
  color: var(--base-deep);
  font-size: 1.07rem;
}

.welcome-copy p {
  color: #4f5a5d;
}

.promise-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin: 27px 0 22px;
}

.promise-row div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  color: var(--base-deep);
  background: var(--white);
  border: 0;
  border-radius: 13px 13px 3px 13px;
  box-shadow: 0 8px 20px rgba(5, 43, 52, 0.07);
}

.promise-row i {
  color: var(--maroon);
  font-size: 1.1rem;
}

.promise-row span {
  font-size: 0.69rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.promise-row b {
  display: block;
  font-size: 0.76rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--maroon);
  font-weight: 800;
}

.text-link:hover {
  color: var(--base);
}

.purpose-band {
  position: relative;
  color: var(--white);
  background: var(--base);
  overflow: hidden;
}

.purpose-band::before,
.purpose-band::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 5px;
  background: rgba(242, 170, 43, 0.34);
  transform: rotate(-36deg);
}

.purpose-band::before { top: 65px; left: -82px; }
.purpose-band::after { right: -82px; bottom: 65px; }

.purpose-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.vision-panel,
.mission-panel {
  position: relative;
  min-height: 330px;
  display: grid;
  align-items: center;
  border-radius: 30px 30px 6px 30px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.vision-panel {
  grid-template-columns: 112px 1fr;
  padding: 42px 42px 42px 32px;
  color: var(--ink);
  background: var(--cream);
  border: 0;
}

.mission-panel {
  grid-template-columns: 1fr 112px;
  padding: 42px 32px 42px 42px;
  color: var(--white);
  background: var(--maroon);
  border: 0;
}

.purpose-seal,
.mission-emblem {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.45rem;
}

.purpose-seal {
  color: var(--white);
  background: var(--base);
  box-shadow: 0 0 0 7px rgba(8, 63, 73, 0.1);
}

.mission-emblem {
  justify-self: end;
  color: var(--maroon);
  background: var(--accent-bright);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.1);
}

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

.purpose-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.purpose-label::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 4px;
}

.mission-panel .purpose-label {
  color: var(--accent-bright);
}

.vision-panel h3,
.mission-panel h3 {
  margin: 11px 0 14px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.2;
}

.vision-panel h3 {
  color: var(--base-deep);
}

.vision-panel p,
.mission-panel p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.mission-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.purpose-index {
  position: absolute;
  right: 22px;
  bottom: -24px;
  color: rgba(8, 63, 73, 0.07);
  font-family: "Archivo Black", sans-serif;
  font-size: 7.5rem;
  line-height: 1;
}

.mission-panel .purpose-index {
  left: 22px;
  right: auto;
  color: rgba(255, 255, 255, 0.08);
}

.values-rail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  color: var(--white);
  background: var(--base-deep);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px 22px 5px 22px;
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.18);
}

.values-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.values-icon {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--base-deep);
  background: var(--accent-bright);
  border-radius: 14px 14px 4px 14px;
  font-size: 1.05rem;
}

.values-title span {
  color: var(--accent-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.values-title h3 {
  margin: 2px 0 0;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.3rem;
  line-height: 1.2;
}

.value-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.value-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  color: var(--base-deep);
  background: var(--white);
  border-radius: 12px 12px 3px 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.value-tags i {
  display: inline-grid;
  flex: 0 0 16px;
  width: 16px;
  place-items: center;
  color: var(--maroon);
  font-size: 0.78rem;
}

.academics {
  background: var(--paper);
}

.academic-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.academic-track::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 8%;
  right: 8%;
  height: 4px;
  background: var(--accent);
  border-radius: 8px;
}

.stage-card {
  position: relative;
  z-index: 1;
  min-height: 300px;
  padding: 24px 17px 20px;
  background: var(--white);
  border: 1px solid rgba(8, 63, 73, 0.08);
  border-radius: 22px 22px 5px 22px;
  box-shadow: 0 13px 28px rgba(5, 43, 52, 0.09);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.stage-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--white);
  background: var(--base);
  border: 7px solid var(--paper);
  border-radius: 22px 22px 5px 22px;
  box-shadow: 0 0 0 2px var(--accent);
  font-size: 1.5rem;
}

.stage-two .stage-icon { background: #126b68; }
.stage-three .stage-icon { background: #a85c18; }
.stage-four .stage-icon { background: var(--maroon); }
.stage-five .stage-icon { background: var(--base-2); }

.stage-card > span {
  color: var(--maroon);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.stage-card h3 {
  min-height: 50px;
  margin: 7px 0 5px;
  color: var(--base-deep);
  font-size: 1.12rem;
  line-height: 1.25;
}

.stage-card p {
  margin: 0 0 11px;
  color: var(--maroon);
  font-size: 0.82rem;
  font-weight: 800;
}

.stage-card small {
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.streams-panel {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: stretch;
  margin-top: 32px;
  border-radius: 26px 26px 8px 26px;
  box-shadow: 0 20px 44px rgba(4, 55, 63, 0.16);
  overflow: hidden;
}

.streams-title {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
}

.streams-title > i {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px 18px 5px 18px;
  color: var(--maroon);
  background: var(--accent-bright);
  box-shadow: 0 10px 24px rgba(68, 4, 25, 0.24);
  font-size: 1.45rem;
}

.streams-title span {
  color: rgba(255,255,255,0.82);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.streams-title h3 {
  margin: 4px 0 0;
  font-size: 1.22rem;
  line-height: 1.25;
}

.stream-list {
  display: grid;
  grid-template-columns: 0.9fr 1.05fr 0.9fr 1.4fr;
  background: linear-gradient(135deg, var(--base-deep), var(--base));
}

.stream-item {
  --stream-color: var(--accent-bright);
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 22px 17px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}

.stream-item:nth-child(2) { --stream-color: #58d5c6; }
.stream-item:nth-child(3) { --stream-color: #ff8e7e; }
.stream-item:nth-child(4) { --stream-color: #bda2ff; }
.stream-item:last-child { border-right: 0; }

.stream-item > i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px 15px 4px 15px;
  color: var(--stream-color);
  background: rgba(255,255,255,0.09);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  font-size: 1.12rem;
}

.stream-copy {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.stream-copy b {
  flex: 0 0 auto;
  color: var(--accent-bright);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.22rem;
}

.stream-copy span {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.why-section {
  position: relative;
  color: var(--white);
  background: var(--maroon-deep);
  overflow: hidden;
}

.why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 53%, rgba(242, 170, 43, 0.08) 53% 100%);
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 80px;
}

.why-section .section-heading.light .eyebrow {
  color: var(--accent-bright);
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-list article {
  display: flex;
  position: relative;
  isolation: isolate;
  gap: 15px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px 16px 4px 16px;
  overflow: hidden;
}

.why-list article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 12%, rgba(255,255,255,0.2) 46%, transparent 72%);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity 0.38s ease, transform 0.55s ease;
}

.why-list article > span {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--maroon-deep);
  background: var(--accent-bright);
  border-radius: 13px 13px 3px 13px;
  font-family: "Archivo Black", sans-serif;
  font-size: 0.88rem;
}

.why-list h3 {
  margin: 0 0 5px;
  font-size: 0.96rem;
}

.why-list p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
  line-height: 1.55;
}

.why-visual {
  position: relative;
  min-height: 530px;
}

.why-photo {
  position: absolute;
  inset: 0 0 95px 0;
  overflow: hidden;
  border: 9px solid var(--white);
  border-radius: 38px 38px 6px 38px;
  box-shadow: var(--shadow-strong);
}

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

.why-visual blockquote {
  position: absolute;
  right: 20px;
  bottom: 8px;
  left: -45px;
  margin: 0;
  padding: 25px 24px 25px 68px;
  color: var(--base-deep);
  background: var(--accent-bright);
  border-radius: 18px 18px 4px 18px;
  box-shadow: var(--shadow);
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.6;
}

.why-visual blockquote i {
  position: absolute;
  top: 25px;
  left: 24px;
  color: var(--maroon);
  font-size: 1.7rem;
}

.why-chip {
  position: absolute;
  top: 28px;
  right: -38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  color: var(--base-deep);
  background: var(--white);
  border-radius: 15px 15px 3px 15px;
  box-shadow: var(--shadow);
}

.why-chip i {
  color: #23825d;
  font-size: 1.5rem;
}

.why-chip span {
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.why-chip b {
  font-size: 0.76rem;
}

.facilities {
  background:
    radial-gradient(circle at 8% 80%, rgba(142,25,53,0.08), transparent 23%),
    var(--sand);
}

.facility-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: -20px 0 20px;
}

.facility-controls span {
  color: var(--base);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.facility-controls button {
  width: 43px;
  height: 43px;
  color: var(--white);
  background: var(--base);
  border: 0;
  border-radius: 13px 13px 3px 13px;
  cursor: pointer;
}

.facility-controls button:hover {
  background: var(--maroon);
}

.facility-track {
  display: flex;
  gap: 22px;
  padding: 18px 10px 24px;
  overflow-x: auto;
  scroll-padding-inline: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}

.facility-track::-webkit-scrollbar {
  display: none;
}

.facility-card {
  position: relative;
  flex: 0 0 calc((100% - 44px) / 3);
  height: 370px;
  overflow: hidden;
  background: var(--white);
  border: 8px solid var(--white);
  border-radius: 28px 28px 5px 28px;
  box-shadow: none;
  outline: 3px solid transparent;
  outline-offset: -3px;
  scroll-snap-align: start;
}

.facility-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: 58px;
  background: linear-gradient(225deg, var(--sand) 48%, var(--accent) 49%);
  border-radius: 0 20px 0 16px;
}

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

.facility-card:hover img {
  transform: scale(1.035);
}

.facility-label {
  position: absolute;
  right: 15px;
  bottom: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  color: var(--white);
  background: rgba(5, 43, 52, 0.91);
  border-left: 5px solid var(--accent);
  border-radius: 13px 13px 3px 13px;
  backdrop-filter: blur(7px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-spring, ease);
}

.facility-label i {
  color: var(--accent-bright);
  font-size: 1.28rem;
}

.facility-label span {
  display: flex;
  flex-direction: column;
  font-size: 0.76rem;
  line-height: 1.3;
}

.facility-label b {
  margin-bottom: 3px;
  font-size: 0.98rem;
}

.stats-band {
  position: relative;
  padding: 54px 0;
  color: var(--white);
  background: var(--base-2);
  overflow: hidden;
}

.stats-band::before,
.stats-band::after {
  display: none;
}

.stats-band::before { top: 0; }
.stats-band::after { bottom: 0; }

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

.stats-grid article {
  display: grid;
  justify-items: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.stats-grid article:last-child { border-right: 0; }

.stats-grid i {
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: var(--base-2);
  background: var(--accent-bright);
  border-radius: 50%;
  font-size: 1.2rem;
}

.stats-grid strong {
  color: var(--accent-bright);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.stats-grid span {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-life {
  background: var(--cream);
}

.life-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 70px;
}

.life-copy > p {
  color: var(--muted);
}

.activity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.activity-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: var(--base-deep);
  background: var(--white);
  border: 1px solid rgba(8, 63, 73, 0.1);
  border-radius: 13px 13px 3px 13px;
  box-shadow: 0 7px 16px rgba(5, 43, 52, 0.06);
  font-size: 0.82rem;
  font-weight: 700;
}

.activity-chips i {
  color: var(--maroon);
}

.button-outline {
  color: var(--maroon);
  background: transparent;
  border: 2px solid var(--maroon);
}

.button-outline:hover {
  color: var(--white);
  background: var(--maroon);
}

.life-mosaic {
  min-height: 510px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
}

.life-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 7px solid var(--white);
  border-radius: 25px 25px 5px 25px;
  box-shadow: var(--shadow);
}

.life-tile.tile-tall {
  grid-row: 1 / span 2;
}

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

.life-tile:hover img {
  transform: scale(1.06);
}

.life-tile figcaption {
  position: absolute;
  right: 11px;
  bottom: 11px;
  left: 11px;
  padding: 11px 13px;
  color: var(--white);
  background: rgba(142, 25, 53, 0.9);
  border-left: 4px solid var(--accent-bright);
  border-radius: 11px 11px 2px 11px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.achievements {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 18%, rgba(142,25,53,0.26), transparent 29%),
    radial-gradient(circle at 88% 78%, rgba(242,170,43,0.12), transparent 27%),
    linear-gradient(145deg, #042d35, var(--base-deep) 48%, #073b43);
  overflow: hidden;
}

.achievements::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/achievement-pattern.svg");
  background-position: center 28px;
  background-size: 360px 360px;
  opacity: 0.62;
  pointer-events: none;
}

.achievements::after {
  content: "";
  position: absolute;
  top: -150px;
  right: -90px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(242,170,43,0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(242,170,43,0.025),
    0 0 0 96px rgba(242,170,43,0.018);
  pointer-events: none;
}

.achievements .container {
  position: relative;
  z-index: 1;
}

.achievement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.achievement-card {
  --card-surface: #fff0d2;
  --card-caption: #f6ddb0;
  margin: 0;
  padding: 8px;
  background: linear-gradient(145deg, var(--card-surface), var(--card-caption));
  border: 1px solid rgba(242,170,43,0.48);
  border-radius: 26px 26px 5px 26px;
  box-shadow:
    0 22px 46px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.72);
  overflow: hidden;
}

.achievement-card:nth-child(2) {
  --card-surface: #e3f2eb;
  --card-caption: #cce6dc;
}

.achievement-card img {
  width: 100%;
  aspect-ratio: 2.1 / 1;
  object-fit: cover;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 10px 24px rgba(4,45,53,0.17);
}

.achievement-card figcaption {
  display: flex;
  position: relative;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding: 16px 17px 17px;
  color: var(--ink);
  background: rgba(255,255,255,0.24);
  border-radius: 5px 5px 2px 18px;
}

.achievement-card figcaption::before {
  content: "";
  position: absolute;
  top: 0;
  left: 17px;
  width: 48px;
  height: 3px;
  background: var(--achievement-color, var(--accent));
  border-radius: 4px;
}

.achievement-card figcaption > span {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--maroon);
  background: var(--accent-bright);
  border-radius: 14px 14px 3px 14px;
  box-shadow: 0 8px 18px rgba(142,25,53,0.14);
  font-size: 1.2rem;
}

.achievement-card figcaption div {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.achievement-card figcaption b {
  color: var(--base-deep);
  font-size: 0.96rem;
}

.achievement-card figcaption small {
  color: rgba(5,43,52,0.7);
  font-size: 0.82rem;
}

.leadership {
  position: relative;
  color: var(--white);
  background-image: url("../images/school-1.png");
  background-position: center 48%;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow: hidden;
}

.leadership::before {
  display: none;
}

.leadership .container {
  position: relative;
  z-index: 1;
}

.leadership .section-heading .eyebrow {
  color: var(--accent-bright);
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.leadership .section-heading h2 {
  color: var(--white);
  text-shadow: 0 3px 15px rgba(0,0,0,0.95);
}

.leadership .section-heading h2 em {
  color: var(--accent-bright);
}

.leader-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px;
}

.leader-card {
  display: grid;
  grid-template-columns: 145px 1fr;
  min-height: 300px;
  background: rgba(255,250,239,0.96);
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 27px 27px 5px 27px;
  box-shadow: 0 22px 48px rgba(0,0,0,0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.leader-initial {
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  background: var(--base);
  font-family: "Archivo Black", sans-serif;
  font-size: 2.8rem;
}

.leader-card:nth-child(2) .leader-initial {
  background: var(--maroon);
}

.leader-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 18%;
  background: var(--base);
  transition: transform 0.55s var(--ease-spring), filter 0.4s ease;
}

.leader-card:hover .leader-photo {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.leader-content {
  padding: 29px 27px;
}

.leader-content > i {
  color: var(--accent);
  font-size: 1.7rem;
}

.leader-content p {
  margin: 10px 0 19px;
  color: #505b5e;
  font-size: 0.97rem;
  font-style: italic;
}

.leader-content h3 {
  margin: 0;
  color: var(--base-deep);
  font-size: 1rem;
}

.leader-content span {
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admissions {
  position: relative;
  background:
    linear-gradient(135deg, transparent 0 25%, rgba(255,255,255,0.18) 25% 26%, transparent 26% 50%, rgba(255,255,255,0.18) 50% 51%, transparent 51%) 0 0 / 58px 58px,
    var(--accent);
}

.admission-card {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  padding: 0;
  background: var(--white);
  border-radius: 32px 32px 7px 32px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.admission-copy {
  padding: 48px;
  color: var(--white);
  background: var(--maroon);
}

.admission-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: var(--maroon);
  background: var(--accent-bright);
  border-radius: 12px 12px 3px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.script-line {
  margin: 18px 0 3px;
  color: var(--accent-bright);
  font-family: "Dancing Script", cursive;
  font-size: 1.8rem;
}

.admission-copy h2 {
  margin: 0 0 12px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.08;
}

.admission-copy > p:not(.script-line) {
  max-width: 650px;
  color: rgba(255,255,255,0.78);
}

.admission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 23px;
}

.button-dark {
  color: var(--white);
  background: var(--base-deep);
}

.button-white {
  color: var(--maroon);
  background: var(--white);
}

.admission-steps {
  padding: 46px 34px;
  color: var(--white);
  background: var(--base);
}

.admission-steps h3 {
  margin: 0 0 23px;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.2rem;
}

.admission-steps ol {
  position: relative;
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admission-steps ol::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 21px;
  border-left: 2px dashed rgba(255,255,255,0.25);
}

.admission-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
}

.admission-steps li > span {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--base-deep);
  background: var(--accent-bright);
  border: 5px solid var(--base);
  border-radius: 50%;
  font-family: "Archivo Black", sans-serif;
}

.admission-steps li div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.admission-steps b {
  font-size: 0.9rem;
}

.admission-steps small {
  color: rgba(255,255,255,0.68);
  font-size: 0.7rem;
}

.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 30px;
}

.contact-details,
.enquiry-form {
  background: var(--white);
  border-radius: 27px 27px 6px 27px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-photo {
  position: relative;
  height: 225px;
}

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

.contact-photo span {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 9px 19px;
  color: var(--white);
  background: var(--maroon);
  border-radius: 0 13px 0 0;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 14px 22px 24px;
}

.contact-list > a,
.contact-list > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 12px;
  border-bottom: 1px dashed rgba(8,63,73,0.16);
}

.contact-list i {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--base);
  border-radius: 12px 12px 3px 12px;
}

.contact-list span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.55;
}

.contact-list b {
  margin-bottom: 3px;
  color: var(--base-deep);
  font-size: 0.85rem;
}

.contact-list > a:hover b {
  color: var(--maroon);
}

.enquiry-form {
  padding: 34px;
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 23px;
}

.form-heading > i {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  color: var(--maroon);
  background: var(--accent-bright);
  border-radius: 16px 16px 4px 16px;
  font-size: 1.25rem;
}

.form-heading span {
  color: var(--maroon);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.form-heading h3 {
  margin: 2px 0 0;
  color: var(--base-deep);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.enquiry-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--base-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbf8f1;
  border: 1px solid #ded9cc;
  border-radius: 11px;
  outline: none;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(142,25,53,0.1);
}

.form-submit {
  width: 100%;
  color: var(--white);
  background: var(--maroon);
}

.form-submit:hover {
  background: var(--base);
}

.form-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.map-facade {
  position: relative;
  width: 100%;
  min-height: 118px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 19px;
  margin-top: 30px;
  padding: 25px 30px;
  color: var(--white);
  background: var(--base-2);
  border: 0;
  border-radius: 24px 24px 5px 24px;
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.map-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background:
    linear-gradient(30deg, transparent 48%, white 49% 51%, transparent 52%) 0 0 / 60px 60px,
    linear-gradient(120deg, transparent 48%, white 49% 51%, transparent 52%) 0 0 / 60px 60px;
}

.map-pin,
.map-facade > span:not(.map-pattern) {
  position: relative;
  z-index: 1;
}

.map-pin {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  color: var(--maroon);
  background: var(--accent-bright);
  border-radius: 50%;
  font-size: 1.5rem;
}

.map-facade > span:not(.map-pattern) {
  display: flex;
  flex-direction: column;
}

.map-facade b {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.2rem;
}

.map-facade small {
  color: rgba(255,255,255,0.72);
}

.map-facade > i {
  position: relative;
  z-index: 1;
  color: var(--accent-bright);
  font-size: 1.3rem;
}

.site-footer {
  position: relative;
  padding-top: 50px;
  color: rgba(255,255,255,0.74);
  background: var(--base-deep);
}

.footer-top-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.72fr 0.78fr 1.12fr;
  gap: 48px;
  padding-bottom: 28px;
}

.footer-grid .footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
}

.footer-brand img {
  flex: 0 0 94px;
  width: 94px;
  height: 94px;
  padding: 0;
  object-fit: cover;
  object-position: center;
  background: var(--white);
  border-radius: 50%;
  border: 3px solid var(--white);
  outline: 2px solid rgba(242,170,43,0.72);
  outline-offset: 2px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.24);
  filter: saturate(1.05) contrast(1.03);
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.16;
}

.footer-brand strong {
  color: var(--accent-bright);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.18rem;
  white-space: nowrap;
}

.footer-brand small {
  color: var(--white);
  margin-top: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-about > p {
  max-width: 390px;
  margin: 14px 0 0;
  font-size: 0.86rem;
}

.footer-script {
  color: var(--accent-bright);
  font-family: "Dancing Script", cursive;
  font-size: 1.4rem !important;
}

.footer-grid h3 {
  margin: 10px 0 20px;
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
}

.footer-grid h3::after {
  content: "";
  width: 42px;
  height: 3px;
  display: block;
  margin-top: 8px;
  background: var(--accent);
}

.footer-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  font-size: 0.84rem;
}

.footer-grid li a:hover {
  color: var(--accent-bright);
}

.footer-grid ul:not(.footer-contact) a::before {
  content: "›";
  margin-right: 8px;
  color: var(--accent-bright);
  font-weight: 900;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.footer-contact i {
  margin-top: 5px;
  color: var(--accent-bright);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.11);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.76rem;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 10px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 13px 13px 4px 13px;
}

.footer-credit span {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-credit img {
  display: block;
  width: 90px;
  height: auto;
  padding: 3px 6px;
  background: var(--white);
  border-radius: 8px 8px 3px 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.floating-actions {
  position: fixed;
  z-index: 900;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.floating-actions a,
.floating-actions button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.19);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.floating-actions a:hover,
.floating-actions button:hover {
  transform: translateY(-3px) scale(1.04);
}

.float-whatsapp { background: #25d366; }
.float-call { background: var(--maroon); }

#backToTop {
  display: none;
  background: var(--base);
}

#backToTop.visible {
  display: grid;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(142,25,53,0.12); }
  50% { box-shadow: 0 0 0 8px rgba(142,25,53,0.02); }
}

/* Full-page UI polish and interaction system */
:root {
  --container: min(1240px, calc(100% - 64px));
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section,
.trust-ribbon,
.stats-band {
  isolation: isolate;
}

.section-heading > p,
.welcome-copy > p,
.life-copy > p {
  font-size: 1rem;
  line-height: 1.82;
}

.button,
.nav-cta,
.admission-mini {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button::after,
.nav-cta::before,
.admission-mini::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -90%;
  left: -48%;
  width: 34%;
  height: 280%;
  background: rgba(255, 255, 255, 0.34);
  transform: rotate(24deg) translateX(-180%);
  transition: transform 0.7s var(--ease-spring);
}

.button:hover::after,
.nav-cta:hover::before,
.admission-mini:hover::after {
  transform: rotate(24deg) translateX(620%);
}

.button i,
.nav-cta i,
.text-link i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease-spring);
}

.button:hover i,
.nav-cta:hover i,
.text-link:hover i {
  transform: translateX(4px) scale(1.08);
}

.brand img {
  transition: transform 0.45s var(--ease-spring), filter 0.35s ease;
}

.brand:hover img {
  transform: translateY(-2px) scale(1.025);
  filter: saturate(1.08) contrast(1.04);
}

.brand-text strong,
.brand-text small {
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}

.brand:hover .brand-text strong {
  color: var(--base);
  letter-spacing: 0.025em;
}

.hero-note {
  animation: softFloat 5s ease-in-out infinite;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.hero-note:hover {
  border-color: var(--accent-bright);
  box-shadow: 0 28px 70px rgba(5, 43, 52, 0.36);
}

.hero-note:hover .hero-note-icon {
  color: var(--maroon);
  background: var(--accent-bright);
  transform: rotate(-8deg) scale(1.08);
}

.hero-note-icon,
.trust-grid i,
.stage-icon,
.facility-label i,
.stats-grid i,
.values-icon,
.purpose-seal,
.mission-emblem,
.achievement-card figcaption > span,
.form-heading > i,
.leader-initial,
.promise-row i,
.activity-chips i {
  transition: transform 0.38s var(--ease-spring), color 0.3s ease, background 0.3s ease;
}

.year-badge {
  animation: badgeFloat 5.5s ease-in-out infinite;
}

.photo-tab,
.why-photo,
.life-tile,
.contact-photo {
  transition: transform 0.45s var(--ease-spring), box-shadow 0.4s ease, border-color 0.35s ease;
}

.photo-tab:hover,
.why-photo:hover,
.life-tile:hover {
  transform: translateY(-7px);
  border-color: var(--accent-bright);
  box-shadow: 0 26px 56px rgba(5, 43, 52, 0.23);
}

.photo-tab img,
.why-photo img,
.contact-photo img {
  transition: transform 0.65s var(--ease-spring), filter 0.4s ease;
}

.photo-tab:hover img,
.why-photo:hover img,
.contact-details:hover .contact-photo img {
  transform: scale(1.055);
  filter: saturate(1.09) contrast(1.03);
}

.promise-row div {
  transition: transform 0.3s var(--ease-spring), color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.promise-row div:nth-child(1) { --promise-color: var(--maroon); }
.promise-row div:nth-child(2) { --promise-color: #168566; }
.promise-row div:nth-child(3) { --promise-color: #b66a13; }

.promise-row div:hover {
  color: var(--white);
  background: var(--promise-color);
  border-color: var(--promise-color);
  transform: translateY(-6px);
  box-shadow: 0 16px 28px color-mix(in srgb, var(--promise-color) 28%, transparent);
}

.promise-row div:hover i {
  color: var(--accent-bright);
  transform: rotate(-10deg) scale(1.15);
}

.trust-grid article {
  position: relative;
  overflow: hidden;
  transition: background 0.32s ease, box-shadow 0.32s ease;
}

.trust-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 16%, rgba(255,255,255,0.16) 47%, transparent 72%);
  opacity: 0;
  transform: translateX(-75%);
  transition: opacity 0.35s ease, transform 0.55s ease;
}

.trust-grid article:hover {
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  backdrop-filter: blur(10px) saturate(125%);
  transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 0 0 1px rgba(255,255,255,0.12);
}

.trust-grid article:hover::before {
  opacity: 1;
  transform: translateX(70%);
}

.trust-grid article:hover i {
  color: var(--maroon);
  background: var(--white);
  box-shadow: 0 7px 18px rgba(69,0,20,0.2);
  transform: rotate(-6deg) scale(1.05);
}

.trust-grid article:hover strong {
  opacity: 1;
}

.trust-grid article:hover span {
  color: var(--accent-bright);
}

.vision-panel,
.mission-panel,
.values-rail {
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease, border-color 0.35s ease;
}

.vision-panel:hover,
.mission-panel:hover {
  transform: translateY(-9px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.vision-panel:hover .purpose-seal {
  color: var(--base-deep);
  background: var(--accent-bright);
  transform: rotate(-10deg) scale(1.09);
}

.mission-panel:hover .mission-emblem {
  color: var(--white);
  background: var(--base);
  transform: rotate(10deg) scale(1.09);
}

.values-rail:hover {
  border-color: rgba(242, 170, 43, 0.65);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.27);
}

.value-tags span {
  transition: transform 0.28s var(--ease-spring), color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.value-tags span:nth-child(1),
.value-tags span:nth-child(4) { --value-color: var(--maroon); }
.value-tags span:nth-child(2),
.value-tags span:nth-child(5) { --value-color: #168566; }
.value-tags span:nth-child(3),
.value-tags span:nth-child(6) { --value-color: #b66a13; }

.value-tags span:hover {
  color: var(--white);
  background: var(--value-color);
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--value-color) 30%, transparent);
}

.value-tags span:hover i {
  color: var(--accent-bright);
}

.academic-track {
  align-items: stretch;
}

.stage-card {
  --card-accent: var(--base);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 13px 28px rgba(5, 43, 52, 0.09);
  transition: transform 0.36s var(--ease-spring), box-shadow 0.36s ease, background 0.36s ease, border-color 0.36s ease;
}

.stage-card:nth-child(1) { --card-accent: #158573; }
.stage-card:nth-child(2) { --card-accent: #e99a19; }
.stage-card:nth-child(3) { --card-accent: #8e1935; }
.stage-card:nth-child(4) { --card-accent: #304a86; }
.stage-card:nth-child(5) { --card-accent: #6e4698; }

.stage-card:hover {
  color: var(--white);
  background: var(--card-accent);
  border-color: transparent;
  transform: translateY(-11px) scale(1.015);
  box-shadow: 0 24px 45px color-mix(in srgb, var(--card-accent) 32%, transparent);
}

.stage-card:hover h3,
.stage-card:hover p,
.stage-card:hover small,
.stage-card:hover > span {
  color: var(--white);
}

.stage-card:hover .stage-icon {
  color: var(--card-accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-bright);
  transform: rotate(-8deg) scale(1.08);
}

.stream-item {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.stream-item > i,
.stream-copy b,
.stream-copy span {
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.stream-item:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--stream-color) 55%, transparent);
}

.stream-item:hover > i {
  color: var(--base-deep);
  background: var(--stream-color);
  box-shadow: 0 9px 20px color-mix(in srgb, var(--stream-color) 28%, transparent);
  transform: rotate(-7deg) scale(1.08);
}

.stream-item:hover .stream-copy b {
  color: var(--stream-color);
}

.stream-item:hover .stream-copy span {
  color: var(--stream-color);
}

.why-list article {
  transition: transform 0.32s var(--ease-spring), background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.why-list article:hover {
  color: var(--white);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.38);
  -webkit-backdrop-filter: blur(15px) saturate(135%);
  backdrop-filter: blur(15px) saturate(135%);
  transform: translateY(-5px);
  box-shadow:
    0 18px 38px rgba(35, 0, 12, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -1px 0 rgba(255,255,255,0.1);
}

.why-list article:hover::before {
  opacity: 1;
  transform: translateX(42%);
}

.why-list article:hover p {
  color: rgba(255,255,255,0.82);
}

.why-list article:hover > span {
  color: var(--maroon-deep);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 9px 22px rgba(35,0,12,0.22);
  transform: rotate(-5deg) scale(1.06);
}

.facility-track {
  align-items: stretch;
  padding: 18px 10px 24px;
}

.facility-card {
  transition: transform 0.38s var(--ease-spring), box-shadow 0.38s ease, border-color 0.38s ease;
}

.facility-card:nth-child(3n + 1) { --facility-color: var(--accent); }
.facility-card:nth-child(3n + 2) { --facility-color: #31b9aa; }
.facility-card:nth-child(3n + 3) { --facility-color: #d84a69; }

.facility-card:hover {
  z-index: 2;
  border-color: var(--white);
  outline-color: var(--facility-color);
  transform: translateY(-5px);
  box-shadow: none;
}

.facility-card:hover .facility-label {
  background: rgba(5, 43, 52, 0.96);
  border-left-color: var(--facility-color);
  transform: translateY(-2px);
}

.facility-card:hover .facility-label i {
  color: var(--facility-color);
  transform: rotate(-7deg) scale(1.1);
}

.facility-controls button {
  transition: transform 0.25s var(--ease-spring), color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.facility-controls button:hover {
  color: var(--maroon);
  background: var(--accent-bright);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 22px rgba(242, 170, 43, 0.28);
}

.stats-grid article {
  transition: transform 0.32s var(--ease-spring), background 0.32s ease;
}

.stats-grid article:nth-child(1) { --stat-color: #8e1935; }
.stats-grid article:nth-child(2) { --stat-color: #0d7774; }
.stats-grid article:nth-child(3) { --stat-color: #9b5b18; }
.stats-grid article:nth-child(4) { --stat-color: #5e4187; }

.stats-grid article:hover {
  background: var(--stat-color);
  transform: translateY(-7px);
}

.stats-grid article:hover i {
  color: var(--stat-color);
  background: var(--white);
  transform: rotate(10deg) scale(1.1);
}

.activity-chips span {
  --chip-color: var(--maroon);
  transition: transform 0.28s var(--ease-spring), color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.activity-chips span:nth-child(2),
.activity-chips span:nth-child(5) { --chip-color: #168566; }
.activity-chips span:nth-child(3),
.activity-chips span:nth-child(6) { --chip-color: #b66a13; }

.activity-chips span:hover {
  color: var(--white);
  background: var(--chip-color);
  transform: translateY(-5px);
  box-shadow: 0 12px 22px color-mix(in srgb, var(--chip-color) 28%, transparent);
}

.activity-chips span:hover i {
  color: var(--accent-bright);
  transform: rotate(-8deg) scale(1.12);
}

.achievement-grid,
.leader-grid {
  align-items: stretch;
}

.achievement-card,
.leader-card {
  transition: transform 0.38s var(--ease-spring), box-shadow 0.38s ease, border-color 0.38s ease;
}

.achievement-card {
  display: flex;
  flex-direction: column;
}

.achievement-card figcaption {
  flex: 1;
}

.achievement-card:nth-child(1) { --achievement-color: var(--accent); }
.achievement-card:nth-child(2) { --achievement-color: #36b5a5; }

.achievement-card:hover {
  border-color: var(--achievement-color);
  transform: translateY(-10px);
  box-shadow: 0 28px 56px color-mix(in srgb, var(--achievement-color) 24%, rgba(0,0,0,0.25));
}

.achievement-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.12);
}

.achievement-card img {
  transition: transform 0.55s var(--ease-spring), filter 0.4s ease;
}

.achievement-card:hover figcaption > span {
  color: var(--white);
  background: var(--maroon);
  transform: rotate(-8deg) scale(1.08);
}

.leader-card:nth-child(1) { --leader-color: #0d7774; }
.leader-card:nth-child(2) { --leader-color: var(--maroon); }

.leader-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 26px 52px color-mix(in srgb, var(--leader-color) 22%, rgba(5,43,52,0.18));
}

.leader-card:hover .leader-initial {
  color: var(--leader-color);
  background: var(--accent-bright);
}

.footer-grid a,
.footer-contact a {
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s var(--ease-spring);
}

.footer-grid a:hover,
.footer-contact a:hover {
  color: var(--accent-bright);
  transform: translateX(4px);
}

.floating-actions a,
.floating-actions button {
  animation: actionPulse 3.4s ease-in-out infinite;
}

.floating-actions > :nth-child(2) { animation-delay: 0.45s; }
.floating-actions > :nth-child(3) { animation-delay: 0.9s; }

.reveal {
  --reveal-x: 0px;
  --reveal-y: 28px;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(0.985);
  transition-duration: 0.75s;
  transition-timing-function: var(--ease-spring);
  transition-delay: var(--stagger-delay, 0ms);
}

.welcome-visual.reveal,
.why-copy.reveal,
.life-copy.reveal {
  --reveal-x: -34px;
  --reveal-y: 0px;
}

.welcome-copy.reveal,
.why-visual.reveal,
.life-mosaic.reveal {
  --reveal-x: 34px;
  --reveal-y: 0px;
}

.reveal.visible {
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-7px) rotate(2deg); }
}

@keyframes actionPulse {
  0%, 100% { box-shadow: 0 10px 25px rgba(0,0,0,0.19), 0 0 0 0 rgba(242,170,43,0); }
  50% { box-shadow: 0 12px 28px rgba(0,0,0,0.22), 0 0 0 7px rgba(242,170,43,0.12); }
}

.motion-group.in-view > * {
  animation: cascadeIn 0.7s var(--ease-spring) backwards;
  animation-delay: var(--item-delay, 0ms);
}

@keyframes cascadeIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1120px) {
  :root { --container: min(100% - 48px, 1040px); }

  .brand { min-width: auto; }
  .brand img { flex-basis: 78px; width: 78px; height: 78px; }
  .brand-text strong { font-size: 1.08rem; }
  .brand-text small { font-size: 0.68rem; }
  .primary-nav { gap: 16px; font-size: 0.8rem; }

  .hero-content { gap: 44px; }
  .hero { min-height: 640px; }

  .trust-grid article { padding: 0 14px; }
  .trust-grid span { font-size: 0.88rem; }

  .welcome-grid,
  .why-grid,
  .life-grid { gap: 50px; }

  .academic-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .academic-track::before { display: none; }
  .stage-card:nth-child(4),
  .stage-card:nth-child(5) { grid-column: span 1; }

  .streams-panel { grid-template-columns: 270px 1fr; }
  .stream-list { grid-template-columns: 1fr 1fr; }
  .stream-item:nth-child(2) { border-right: 0; }
  .stream-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.12); }

  .why-chip { right: -15px; }

  .footer-grid { gap: 30px; }
}

@media (max-width: 900px) {
  :root { --container: calc(100% - 48px); }

  .section { padding: 58px 0; }

  .utility-contact span { display: none; }

  .nav-wrap { min-height: 92px; }
  .nav-toggle { display: block; }

  .brand img { flex-basis: 72px; width: 72px; height: 72px; }
  .brand-text strong { font-size: 1.12rem; }
  .brand-text small { font-size: 0.7rem; }

  .footer-brand img { flex-basis: 86px; width: 86px; height: 86px; }
  .footer-brand strong { font-size: 1.18rem; }
  .footer-brand small { font-size: 0.73rem; }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(390px, 88vw);
    z-index: 1100;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 105px 28px 30px;
    color: var(--white);
    background: var(--base-deep);
    box-shadow: -20px 0 50px rgba(0,0,0,0.25);
    transform: translateX(110%);
    transition: transform 0.3s ease;
  }

  .primary-nav.open { transform: translateX(0); }

  .primary-nav > a:not(.nav-cta) {
    padding: 15px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .primary-nav > a:not(.nav-cta)::after { display: none; }
  .primary-nav > a:hover,
  .primary-nav > a.active { color: var(--accent-bright); }
  .primary-nav .nav-cta,
  .primary-nav .nav-cta.active { margin-top: 23px; justify-content: center; background: var(--accent); color: var(--base-deep); }

  .nav-toggle[aria-expanded="true"] {
    position: fixed;
    top: 20px;
    right: 22px;
    z-index: 1200;
    background: var(--maroon);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: 730px; }
  .hero-content { grid-template-columns: 1fr; gap: 25px; padding: 76px 0 105px; }
  .hero-copy { max-width: 720px; }
  .hero-note { max-width: 390px; padding: 22px; }
  .hero-note-icon { width: 46px; height: 46px; margin-bottom: 13px; }

  .trust-grid { grid-template-columns: 1fr 1fr; padding: 18px 0; }
  .trust-grid article { padding: 16px; border: 0; }

  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-visual { width: min(600px, 100%); margin: 0 auto; }
  .welcome-copy { max-width: 720px; }

  .purpose-layout { grid-template-columns: 1fr; }
  .vision-panel,
  .mission-panel { min-height: 285px; }
  .values-rail { grid-template-columns: 245px 1fr; }

  .why-grid { grid-template-columns: 1fr; }
  .why-copy { max-width: 760px; }
  .why-visual { width: min(650px, 100%); margin: 0 auto; }

  .facility-card { flex-basis: calc((100% - 22px) / 2); }

  .life-grid { grid-template-columns: 1fr; }
  .life-copy { max-width: 720px; }

  .leader-card { grid-template-columns: 115px 1fr; }

  .leadership { background-attachment: scroll; }

  .admission-card { grid-template-columns: 1fr; }
  .admission-steps ol { grid-template-columns: repeat(3, 1fr); }
  .admission-steps ol::before { top: 21px; bottom: auto; left: 6%; right: 6%; border-left: 0; border-top: 2px dashed rgba(255,255,255,0.25); }
  .admission-steps li { align-items: flex-start; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1.3fr 0.7fr 0.7fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-contact { grid-template-columns: 1.3fr 0.6fr 1fr !important; }
}

@media (max-width: 680px) {
  :root { --container: calc(100% - 32px); }

  html { scroll-padding-top: 88px; }
  body { font-size: 15px; }
  .section { padding: 44px 0; }

  .utility-inner { min-height: 38px; }
  .utility-contact a:nth-child(2) { display: none; }
  .admission-mini { padding-inline: 10px; font-size: 0.66rem; }

  .nav-wrap { min-height: 84px; }
  .brand { gap: 11px; }
  .brand img { flex-basis: 64px; width: 64px; height: 64px; }
  .brand-text strong { font-size: 0.94rem; }
  .brand-text small { margin-top: 4px; font-size: 0.6rem; }

  .footer-brand img { flex-basis: 78px; width: 78px; height: 78px; }
  .footer-brand strong { font-size: 1.08rem; }
  .footer-brand small { font-size: 0.68rem; }

  .hero { min-height: 745px; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,31,38,0.94), rgba(5,43,52,0.69)), linear-gradient(0deg, rgba(8,63,73,0.8), transparent 45%); }
  .hero-content { padding-top: 45px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.1rem); }
  .hero h2 { font-size: 0.86rem; letter-spacing: 0.07em; }
  .hero-intro { font-size: 0.92rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-note { max-width: 100%; }
  .kolam-one { display: none; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article { padding: 13px; border: 0 !important; }

  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 2rem; }

  .welcome-grid { gap: 45px; }
  .welcome-visual { min-height: clamp(400px, 92vw, 560px); }
  .photo-tab-main { top: 0; right: auto; bottom: auto; width: calc(100% - 46px); }
  .photo-tab-small {
    right: 0;
    bottom: 0;
    width: clamp(145px, 32vw, 190px);
    height: clamp(145px, 32vw, 190px);
  }
  .year-badge {
    top: 16px;
    right: 0;
    left: auto;
    width: clamp(84px, 18vw, 104px);
    height: clamp(84px, 18vw, 104px);
  }
  .year-badge b { font-size: clamp(1.15rem, 4vw, 1.4rem); }
  .promise-row { grid-template-columns: 1fr; }

  .vision-panel,
  .mission-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 24px 38px;
  }
  .purpose-seal,
  .mission-emblem {
    width: 66px;
    height: 66px;
    justify-self: start;
    font-size: 1.25rem;
  }
  .mission-emblem { order: -1; }
  .vision-panel p,
  .mission-panel p { font-size: 0.95rem; }
  .values-rail { grid-template-columns: 1fr; padding: 24px; }
  .value-tags { justify-content: flex-start; }

  .academic-track { grid-template-columns: 1fr; }
  .stage-card { min-height: 0; }
  .streams-panel { grid-template-columns: 1fr; }
  .stream-list { grid-template-columns: 1fr; }
  .stream-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stream-item:last-child { border-bottom: 0; }

  .why-list { grid-template-columns: 1fr; }
  .why-visual { min-height: 440px; }
  .why-photo { bottom: 105px; }
  .why-visual blockquote { left: 8px; right: 0; padding: 20px 18px 20px 52px; font-size: 0.78rem; }
  .why-visual blockquote i { top: 20px; left: 18px; font-size: 1.3rem; }
  .why-chip { top: 20px; right: -4px; }

  .facility-controls { margin-top: 0; justify-content: center; }
  .facility-card { flex-basis: 88%; height: 340px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 25px 0; }
  .stats-grid article:nth-child(2) { border-right: 0; }
  .stats-grid strong { font-size: 2.25rem; }

  .life-mosaic { min-height: 630px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 0.8fr; }
  .life-tile.tile-tall { grid-column: 1 / -1; grid-row: auto; }

  .achievement-grid { grid-template-columns: 1fr; }
  .achievement-card img { aspect-ratio: 1.8 / 1; }

  .leader-grid { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 110px 1fr; min-height: 0; }
  .leader-initial { font-size: 1.8rem; }
  .leader-content { padding: 23px 18px; }

  .admission-copy { padding: 32px 24px; }
  .admission-actions { flex-direction: column; }
  .admission-steps { padding: 31px 24px; }
  .admission-steps ol { grid-template-columns: 1fr; }
  .admission-steps ol::before { top: 20px; bottom: 20px; left: 21px; right: auto; border-top: 0; border-left: 2px dashed rgba(255,255,255,0.25); }

  .contact-list { grid-template-columns: 1fr; }
  .enquiry-form { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .map-facade { grid-template-columns: auto 1fr; padding: 20px; }
  .map-facade > i { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-contact { grid-template-columns: 1fr !important; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }

  .floating-actions { right: 10px; bottom: 10px; }
  .floating-actions a,
  .floating-actions button { width: 43px; height: 43px; }
}

@media (max-width: 390px) {
  .brand img { flex-basis: 56px; width: 56px; height: 56px; }
  .brand-text strong { font-size: 0.8rem; }
  .brand-text small { max-width: 190px; font-size: 0.53rem; }
  .utility-contact { gap: 8px; }
  .utility-contact a { font-size: 0.66rem; }
  .admission-mini { font-size: 0.58rem; }
  .hero { min-height: 775px; }
  .life-mosaic { min-height: 560px; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-initial { min-height: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide.active { transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Keep the complete official logo visible in the header and footer. */
.brand img,
.footer-brand img {
  display: block;
  padding: 4px;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}

/* Justified alignment for long-form inner content only. */
main .section p:not(.script-line):not(.form-note),
.footer-about > p:not(.footer-script) {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}

/* Welcome section: architectural campus gallery on the left only. */
.welcome-visual {
  isolation: isolate;
  min-height: 590px;
}

.welcome-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 46px;
  right: 4px;
  bottom: 46px;
  left: 66px;
  border: 2px solid rgba(142, 25, 53, 0.28);
  transform: translate(16px, 16px);
}

.welcome-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20px;
  left: 26px;
  width: 118px;
  height: 118px;
  background: var(--accent-bright);
}

.welcome-visual .photo-tab-main {
  top: 0;
  right: 16px;
  bottom: auto;
  left: 48px;
  width: auto;
  height: 520px;
  aspect-ratio: auto;
  border-width: 8px;
  border-radius: 4px 76px 4px 4px;
  box-shadow: 0 24px 52px rgba(5, 43, 52, 0.22);
}

.welcome-visual .photo-tab-main img {
  object-position: center;
}

.welcome-visual .photo-tab-small {
  right: auto;
  bottom: 0;
  left: 0;
  width: 270px;
  height: 178px;
  border-width: 8px;
  border-radius: 4px 38px 4px 4px;
  box-shadow: 0 18px 38px rgba(5, 43, 52, 0.25);
  transform: rotate(-2deg);
}

.welcome-visual .photo-tab-small img {
  object-position: center 58%;
}

.welcome-visual .year-badge {
  top: auto;
  right: 0;
  bottom: 22px;
  left: auto;
}

.welcome-visual .ruled-motif {
  position: absolute;
  top: 78px;
  left: 0;
  z-index: 4;
  width: 34px;
  height: 224px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--base-deep);
  box-shadow: 8px 10px 22px rgba(5, 43, 52, 0.2);
}

.welcome-visual .ruled-motif::after {
  content: "OUR CAMPUS";
  color: var(--accent-bright);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.welcome-visual .photo-tab-small:hover {
  transform: rotate(-2deg) translateY(-4px);
}

@media (max-width: 680px) {
  .welcome-visual {
    min-height: clamp(440px, 116vw, 540px);
  }

  .welcome-visual::before {
    top: 34px;
    right: 4px;
    bottom: 38px;
    left: 42px;
    transform: translate(10px, 10px);
  }

  .welcome-visual::after {
    top: 12px;
    left: 18px;
    width: 82px;
    height: 82px;
  }

  .welcome-visual .photo-tab-main {
    top: 0;
    right: 12px;
    left: 28px;
    width: auto;
    height: calc(100% - 52px);
    border-width: 6px;
    border-radius: 3px 50px 3px 3px;
  }

  .welcome-visual .photo-tab-small {
    right: auto;
    bottom: 0;
    left: 0;
    width: clamp(170px, 57vw, 220px);
    height: clamp(112px, 36vw, 145px);
    border-width: 6px;
    border-radius: 3px 28px 3px 3px;
  }

  .welcome-visual .year-badge {
    top: auto;
    right: 0;
    bottom: 8px;
    left: auto;
  }

  .welcome-visual .ruled-motif {
    top: 62px;
    left: -2px;
    width: 27px;
    height: 160px;
  }

  .welcome-visual .ruled-motif::after {
    font-size: 0.49rem;
  }
}

/* Student life: centered story, expanded gallery, activity cards below. */
.student-life .life-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 38px;
}

.student-life .life-copy {
  width: min(840px, 100%);
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.student-life .life-copy .section-heading {
  margin-bottom: 18px;
}

.student-life .life-copy > p {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center !important;
  text-align-last: center;
  font-size: 1.06rem;
  line-height: 1.8;
}

.student-life .life-copy.reveal,
.student-life .life-mosaic.reveal {
  --reveal-x: 0px;
  --reveal-y: 28px;
}

.student-life .life-mosaic {
  width: 100%;
  min-height: 556px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, 270px);
  gap: 16px;
}

.student-life .life-tile.tile-tall {
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
}

.student-life .life-tile:nth-child(2) {
  grid-column: 6 / span 4;
  grid-row: 1;
}

.student-life .life-tile:nth-child(3) {
  grid-column: 10 / span 3;
  grid-row: 1;
}

.student-life .life-tile:nth-child(4) {
  grid-column: 6 / span 3;
  grid-row: 2;
}

.student-life .life-tile:nth-child(5) {
  grid-column: 9 / span 4;
  grid-row: 2;
}

.student-life .life-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.student-life .activity-chips {
  justify-content: center;
  width: min(980px, 100%);
  margin: 0;
}

.student-life .life-actions .button {
  min-width: 240px;
}

@media (max-width: 900px) {
  .student-life .life-mosaic {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 360px 230px 230px;
  }

  .student-life .life-tile.tile-tall {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .student-life .life-tile:nth-child(2),
  .student-life .life-tile:nth-child(3),
  .student-life .life-tile:nth-child(4),
  .student-life .life-tile:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .student-life .life-grid {
    gap: 30px;
  }

  .student-life .life-copy > p {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .student-life .life-mosaic {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 300px repeat(2, 190px);
    gap: 13px;
  }

  .student-life .life-tile.tile-tall {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .student-life .life-tile:nth-child(2),
  .student-life .life-tile:nth-child(3),
  .student-life .life-tile:nth-child(4),
  .student-life .life-tile:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .student-life .activity-chips {
    gap: 8px;
  }

  .student-life .activity-chips span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    text-align: center;
  }

  .student-life .life-actions .button {
    width: 100%;
  }
}

/* Unified header — selected Option C */
html {
  scroll-padding-top: 168px;
}

.site-header {
  overflow: visible;
  background: rgba(255, 253, 248, 0.985);
  border-top: 1px solid rgba(8, 63, 73, 0.08);
  border-bottom: 1px solid rgba(8, 63, 73, 0.13);
  box-shadow: 0 8px 24px rgba(5, 43, 52, 0.08);
}

.site-header::before {
  display: none;
}

.site-header.scrolled {
  background: rgba(255, 253, 248, 0.995);
  box-shadow: 0 14px 34px rgba(5, 43, 52, 0.15);
}

.site-header .nav-wrap {
  min-height: 154px;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.72fr);
  align-items: stretch;
  gap: 38px;
  padding-block: 14px;
}

.site-header .brand {
  min-width: 0;
  align-self: center;
  gap: 18px;
  padding-right: 28px;
  border-right: 1px solid rgba(8, 63, 73, 0.11);
}

.site-header .brand img {
  flex-basis: 100px;
  width: 100px;
  height: 100px;
}

.site-header .brand-text strong {
  font-size: 1.22rem;
}

.site-header .brand-text small {
  font-size: 0.7rem;
}

.header-content {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
}

.site-header .utility-inner {
  min-height: 54px;
  justify-content: flex-end;
  gap: 22px;
  color: var(--base-deep);
  border-bottom: 1px solid rgba(242, 170, 43, 0.72);
}

.site-header .utility-contact {
  flex: 1;
  justify-content: flex-end;
  gap: 20px;
}

.site-header .utility-contact a,
.site-header .utility-contact span {
  gap: 7px;
  opacity: 1;
  white-space: nowrap;
}

.site-header .utility-contact i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  background: var(--base-deep);
  border-radius: 50%;
  font-size: 0.72rem;
}

.site-header .utility-contact a:hover {
  color: var(--maroon);
}

.site-header .admission-mini {
  align-self: center;
  flex: 0 0 auto;
  padding: 7px 0 7px 16px;
  color: var(--base-deep);
  background: transparent;
  border-left: 1px solid rgba(242, 170, 43, 0.72);
  font-size: 0.74rem;
}

.header-nav-row {
  min-width: 0;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-header .primary-nav {
  width: 100%;
  justify-content: flex-end;
  gap: 26px;
  font-size: 0.92rem;
}

.site-header .primary-nav > a:not(.nav-cta) {
  padding: 21px 0;
  white-space: nowrap;
}

.site-header .primary-nav > a:not(.nav-cta)::after {
  bottom: 13px;
}

.site-header .nav-cta {
  margin-left: 4px;
  padding: 12px 17px;
}

@media (max-width: 1120px) {
  .site-header .nav-wrap {
    grid-template-columns: minmax(270px, 0.68fr) minmax(0, 1.32fr);
    gap: 24px;
  }

  .site-header .brand {
    gap: 13px;
    padding-right: 18px;
  }

  .site-header .brand img {
    flex-basis: 84px;
    width: 84px;
    height: 84px;
  }

  .site-header .brand-text strong {
    font-size: 1rem;
  }

  .site-header .brand-text small {
    font-size: 0.59rem;
  }

  .site-header .utility-contact span {
    display: none;
  }

  .site-header .utility-inner {
    gap: 14px;
    font-size: 0.7rem;
  }

  .site-header .primary-nav {
    gap: 15px;
    font-size: 0.78rem;
  }

  .site-header .nav-cta {
    padding-inline: 13px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 128px;
  }

  .site-header::before {
    width: 6px;
  }

  .site-header .nav-wrap {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px 16px;
    padding: 10px 0 0;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    padding-right: 0;
    border-right: 0;
  }

  .site-header .brand img {
    flex-basis: 70px;
    width: 70px;
    height: 70px;
  }

  .site-header .brand-text strong {
    font-size: 1.02rem;
  }

  .site-header .brand-text small {
    font-size: 0.62rem;
  }

  .site-header .header-content {
    display: contents;
  }

  .site-header .utility-inner {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 37px;
    justify-content: space-between;
    padding-inline: 4px;
    border-top: 1px solid rgba(242, 170, 43, 0.45);
    border-bottom: 0;
  }

  .site-header .utility-contact {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .site-header .utility-contact span {
    display: none;
  }

  .site-header .utility-contact i {
    width: 23px;
    height: 23px;
    font-size: 0.62rem;
  }

  .site-header .admission-mini {
    padding: 4px 0 4px 12px;
    font-size: 0.68rem;
  }

  .site-header .header-nav-row {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
  }

  .site-header .nav-toggle {
    display: block;
  }

  .site-header .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    width: min(390px, 88vw);
    justify-content: flex-start;
    gap: 0;
    padding: 105px 28px 30px;
    font-size: 0.84rem;
  }

  .site-header .primary-nav > a:not(.nav-cta) {
    padding: 15px 4px;
    white-space: normal;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 118px;
  }

  .site-header .nav-wrap {
    gap: 6px 10px;
    padding-top: 8px;
  }

  .site-header .brand {
    gap: 10px;
  }

  .site-header .brand img {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }

  .site-header .brand-text strong {
    font-size: 0.84rem;
  }

  .site-header .brand-text small {
    margin-top: 4px;
    font-size: 0.51rem;
  }

  .site-header .utility-inner {
    min-height: 34px;
    font-size: 0.65rem;
  }

  .site-header .admission-mini {
    font-size: 0.62rem;
  }

  .site-header .utility-contact a:nth-child(2) {
    display: none;
  }

  .footer-contact a,
  .footer-contact span {
    overflow-wrap: anywhere;
  }

  .values-rail {
    padding: 22px 18px;
  }

  .values-title {
    justify-content: center;
  }

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

  .value-tags span {
    width: 100%;
    justify-content: flex-start;
    padding: 9px 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 390px) {
  .student-life .life-mosaic {
    grid-template-rows: 270px repeat(2, 170px);
    gap: 10px;
  }

  .student-life .life-tile {
    border-width: 5px;
  }

  .student-life .life-tile figcaption {
    right: 7px;
    bottom: 7px;
    left: 7px;
    padding: 8px 9px;
    font-size: 0.66rem;
  }
}

/* Tablet layout corrections around 1024px. */
@media (min-width: 681px) and (max-width: 1050px) {
  .purpose-layout {
    grid-template-columns: 1fr;
  }

  .vision-panel,
  .mission-panel {
    min-height: 270px;
  }

  .values-rail {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .values-title {
    justify-content: center;
    text-align: center;
  }

  .value-tags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
  }

  .value-tags span {
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 681px) and (max-width: 1120px) {
  .academic-track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .academic-track .stage-card {
    grid-column: span 2;
  }

  .academic-track .stage-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .academic-track .stage-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* Keep centered section introductions visually balanced. */
.section-heading:not(.left) > p {
  text-align: center;
  text-align-last: center;
}

.facilities .section-heading h2 em {
  white-space: nowrap;
}

/* =========================================
   NAVIGATION DROPDOWNS
   ========================================= */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  background: none;
  border: none;
  padding: 34px 0;
  color: var(--base-deep);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.nav-dropdown > button i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-dropdown > button::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 25px;
  left: 0;
  height: 3px;
  border-radius: 4px;
  background: var(--maroon);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.nav-dropdown:hover > button,
.nav-dropdown > button[aria-expanded="true"] {
  color: var(--maroon);
}

.nav-dropdown:hover > button::after,
.nav-dropdown > button[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 240px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(5, 43, 52, 0.15);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 100;
  border: 1px solid rgba(8, 63, 73, 0.08);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  color: var(--base-deep);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  color: var(--maroon);
  background: var(--paper);
  padding-left: 28px;
}

/* Common Inner Page Classes */
.inner-hero {
  min-height: 380px;
  background: var(--base-deep);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 60px 0;
}

.inner-hero::after {
  content: "";
  position: absolute;
  right: -5%;
  top: -20%;
  width: 400px;
  height: 400px;
  border: 40px double rgba(242, 170, 43, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.inner-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.inner-breadcrumb {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.inner-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.inner-breadcrumb a:hover {
  color: var(--white);
}

.inner-hero h1 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 20px 0;
  color: var(--white);
}

.inner-hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 90%;
}

.inner-hero-img-wrapper {
  position: relative;
  border-radius: 20px 20px 4px 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.inner-hero-img-wrapper img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.inner-page-section {
  padding: 60px 0;
}

.inner-page-section:nth-of-type(even) {
  background: var(--cream);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  color: var(--base-deep);
  margin: 0 0 24px 0;
}

.content-wrapper h3 {
  font-size: 1.35rem;
  color: var(--maroon);
  margin: 32px 0 16px 0;
}

.content-wrapper p {
  margin-bottom: 1.5rem;
}

.content-wrapper ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.content-wrapper li {
  margin-bottom: 8px;
}

/* Responsive updates for inner navigation */
@media (max-width: 1024px) {
  .primary-nav {
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 20px 40px rgba(5,43,52,0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown > button {
    padding: 15px 0;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    padding: 5px 0 5px 15px;
    margin-left: 10px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown:focus-within .dropdown-menu,
  .nav-dropdown.active .dropdown-menu {
    display: block;
  }

  .inner-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Final inner-page navigation behaviour for tablets and phones. */
@media (max-width: 1024px) {
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 990;
    background: rgba(5, 43, 52, 0.56);
    backdrop-filter: blur(2px);
  }

  .site-header .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-header .primary-nav {
    position: fixed !important;
    z-index: 1150;
    inset: 0 0 0 auto !important;
    display: flex !important;
    width: min(340px, 88vw) !important;
    height: 100dvh;
    max-height: none;
    margin: 0 !important;
    padding: 78px 22px 28px;
    overflow-x: hidden;
    overflow-y: auto;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    gap: 3px;
    border: 0;
    border-left: 3px solid var(--accent);
    background: var(--white);
    box-shadow: -24px 0 55px rgba(5, 43, 52, 0.2);
    opacity: 1 !important;
    visibility: hidden !important;
    transform: translate3d(101%, 0, 0) !important;
    transition: transform 0.3s ease, visibility 0.3s ease !important;
  }

  .site-header .primary-nav.open {
    visibility: visible !important;
    transform: translate3d(0, 0, 0) !important;
  }

  .site-header .primary-nav > :is(a, .nav-dropdown) {
    width: 100%;
    flex: 0 0 auto;
  }

  .site-header .primary-nav > a:not(.nav-cta),
  .site-header .nav-dropdown > button {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 11px 8px;
    border-bottom: 1px solid rgba(8, 63, 73, 0.08);
    color: var(--base-deep);
    font-size: 0.9rem;
    font-weight: 750;
  }

  .site-header .nav-dropdown > button::after {
    display: none;
  }

  .site-header .nav-dropdown > button:focus {
    outline: none;
  }

  .site-header .nav-dropdown > button:focus-visible {
    border-radius: 8px;
    outline: 2px solid var(--accent);
    outline-offset: -2px;
  }

  .site-header .nav-dropdown > button[aria-expanded="true"] {
    color: var(--maroon);
    background: rgba(142, 25, 53, 0.06);
  }

  .site-header .nav-dropdown > button[aria-expanded="true"] i {
    transform: rotate(180deg);
  }

  .site-header .dropdown-menu {
    position: static;
    display: none !important;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 6px 0 7px 15px;
    border: 0;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-header .nav-dropdown.active .dropdown-menu {
    display: block !important;
  }

  .site-header .dropdown-menu a {
    padding: 10px 12px;
    white-space: normal;
  }

  .site-header .dropdown-menu a.active {
    padding-left: 16px;
    border-radius: 4px 9px 9px 4px;
    color: var(--maroon);
    background: rgba(142, 25, 53, 0.08);
    box-shadow: inset 3px 0 0 var(--maroon);
    font-weight: 800;
  }

  .site-header .primary-nav .nav-cta {
    min-height: 50px;
    margin-top: 18px;
    justify-content: center;
  }

  .site-header .nav-toggle[aria-expanded="true"] {
    position: fixed;
    z-index: 1200;
    top: 16px;
    right: 18px;
    background: var(--maroon);
    box-shadow: 0 8px 22px rgba(5, 43, 52, 0.28);
  }

  .site-header .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .site-header .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 560px) {
  .site-header .primary-nav {
    width: min(320px, 88vw) !important;
    padding: 74px 18px 24px;
  }

  .site-header .brand-text strong {
    font-size: 0.88rem;
  }

  .site-header .brand-text small {
    font-size: 0.55rem;
  }
}

/* Zoho Forms embeds (admission, career, contact) */
.zoho-form-card {
  min-width: 0;
}

.zoho-form-frame {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
  background: transparent;
}

.zoho-form-fallback {
  margin: 14px 0 0;
  color: var(--muted, #5c6b70);
  font-size: 0.82rem;
  text-align: center;
}

.zoho-form-fallback a {
  color: var(--maroon);
  font-weight: 700;
  text-decoration: underline;
}

.zoho-form-card.site-form {
  padding: 0 0 16px;
  overflow: hidden;
}
