/* ==========================================================================
   RESHMI EDUCATIONAL INSTITUTIONS — main stylesheet
   To change the site colours, edit the variables in :root below.
   ========================================================================== */
:root {
  --navy: #0B1F3A;
  --navy-2: #081628;
  --blue: #155EEF;
  --gold: #F4B942;
  --bg: #F7F9FC;
  --white: #FFFFFF;
  --text: #172033;
  --muted: #667085;
  --line: #E4EAF2;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 4px 14px rgba(11, 31, 58, .08);
  --shadow-md: 0 14px 34px rgba(11, 31, 58, .12);
  --shadow-lg: 0 26px 60px rgba(11, 31, 58, .18);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden
}

body.modal-lock,
body.menu-open {
  overflow: hidden
}

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

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

ul {
  list-style: none
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit
}

::selection {
  background: var(--gold);
  color: var(--navy)
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  color: var(--navy);
  font-weight: 600
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto
}

.section {
  padding: clamp(72px, 9vw, 116px) 0
}

.section-tight {
  padding: clamp(52px, 6vw, 80px) 0
}

.bg-white {
  background: var(--white)
}

.bg-navy {
  background: var(--navy-2);
  color: #D8E2F0
}

.bg-navy h2,
.bg-navy h3 {
  color: #fff
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 18px;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 10px 0
}

.skip-link:focus {
  left: 0
}

/* ---------- headings & helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold)
}

.eyebrow.light {
  color: var(--gold)
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(40px, 5vw, 60px)
}

.section-head.center {
  margin-inline: auto;
  text-align: center
}

.section-head.center .eyebrow {
  justify-content: center
}

.section-head.center .eyebrow::before {
  display: none
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  margin-bottom: 14px
}

.lead {
  color: var(--muted);
  font-size: 1.02rem
}

.bg-navy .lead {
  color: #A8BBD4
}

.gold-line {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 20px 0
}

.tnum {
  font-variant-numeric: tabular-nums
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .04em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s, color .35s, border-color .35s;
  border: 1.5px solid transparent;
  white-space: nowrap
}

.btn .arr {
  transition: transform .35s var(--ease)
}

.btn:hover .arr {
  transform: translateX(5px)
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(244, 185, 66, .32)
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(244, 185, 66, .42)
}

.btn-outline {
  border-color: rgba(255, 255, 255, .55);
  color: #fff
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-3px);
  border-color: #fff
}

.btn-navy {
  background: var(--navy);
  color: #fff
}

.btn-navy:hover {
  background: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md)
}

.btn-sm {
  padding: 11px 22px;
  font-size: .82rem
}

/* ---------- loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--navy-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .45s var(--ease), visibility .45s
}

.no-loader #loader {
  display: none
}

#loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.loader-inner {
  text-align: center
}

.loader-logo {
  width: 84px;
  margin: 0 auto 22px;
  animation: loaderPulse 2.2s ease-in-out infinite
}

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1
  }

  50% {
    transform: scale(1.06);
    opacity: .85
  }
}

.loader-bar {
  width: 190px;
  height: 2px;
  background: rgba(255, 255, 255, .14);
  margin: 0 auto 18px;
  border-radius: 2px;
  overflow: hidden
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gold);
  border-radius: 2px;
  animation: loaderBar 1.3s var(--ease) infinite
}

@keyframes loaderBar {
  0% {
    transform: translateX(-110%)
  }

  100% {
    transform: translateX(480%)
  }
}

.loader-text {
  color: #9FB4CE;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase
}

/* ---------- navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  transition: background-color .45s var(--ease), box-shadow .45s, padding .45s var(--ease);
  padding: 20px 0;
  color: #fff
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(11, 31, 58, .10);
  padding: 10px 0;
  color: var(--navy)
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0
}

.brand-logo {
  width: 44px;
  height: 44px
}

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

.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: .02em
}

.brand-text span {
  font-size: .64rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: .78
}

.nav-links {
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
  margin-left: auto
}

.nav-links a {
  position: relative;
  font-size: .83rem;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 6px 2px;
  opacity: .92
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease)
}

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

.nav-links a.active {
  color: var(--gold)
}

.navbar.scrolled .nav-links a.active {
  color: var(--blue)
}

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

.site-language {
  display: flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap
}

.site-language label {
  color: var(--gold)
}

.site-language select {
  min-width: 92px;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 8px;
  background: rgba(8, 22, 40, .7);
  color: #fff;
  font: 500 .76rem var(--font-body);
  cursor: pointer
}

.navbar.scrolled .site-language select {
  border-color: var(--line);
  background: #fff;
  color: var(--navy)
}

.site-language .goog-te-gadget {
  font-family: var(--font-body);
  font-size: 0;
  color: inherit
}

.site-language .goog-te-combo {
  min-width: 92px;
  margin: 0;
  padding: 7px 24px 7px 9px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 8px;
  background: rgba(8, 22, 40, .7);
  color: #fff;
  font: 500 .76rem var(--font-body);
  cursor: pointer
}

.navbar.scrolled .site-language .goog-te-combo {
  border-color: var(--line);
  background: #fff;
  color: var(--navy)
}

.site-language #google_translate_element {
  display: none
}

.site-language .goog-logo-link,
.site-language .goog-te-gadget span {
  display: none
}

.goog-te-banner-frame.skiptranslate {
  display: none !important
}

body {
  top: 0 !important
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 130
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.nav-toggle.open {
  color: #fff
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: linear-gradient(160deg, var(--navy-2), var(--navy) 70%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 8% 40px;
  transform: translateY(-102%);
  transition: transform .55s var(--ease);
  visibility: hidden
}

.mobile-menu.open {
  transform: translateY(0);
  visibility: visible
}

.mobile-links a {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 5.6vw, 2.1rem);
  color: #fff;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s
}

.mobile-menu.open .mobile-links a {
  opacity: 1;
  transform: none
}

.mobile-links a:hover,
.mobile-links a.active {
  color: var(--gold)
}

.mobile-menu .btn {
  margin-top: 26px;
  align-self: flex-start
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden
}

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

.hero-slide {
  opacity: 0;
  transition: opacity 1.5s ease
}

.hero-slide.active {
  opacity: 1;
  z-index: 1
}

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

.hero-slide.active img {
  animation: kenburns 7.5s var(--ease) forwards
}

@keyframes kenburns {
  0% {
    transform: scale(1.14) translate(1.6%, 1%)
  }

  100% {
    transform: scale(1.02) translate(0, 0)
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(100deg, rgba(6, 15, 30, .88) 0%, rgba(8, 22, 40, .62) 45%, rgba(8, 22, 40, .28) 100%), linear-gradient(0deg, rgba(6, 15, 30, .75) 0%, transparent 40%)
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 660px;
  padding: 150px 0 130px
}

.hero-eyebrow {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 22px
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px
}

.hero-title em {
  color: var(--gold);
  font-style: normal
}

.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: .06em
}

.reveal-line>span {
  display: inline-block;
  transform: translateY(118%)
}

body.loaded .reveal-line>span {
  animation: lineUp .8s var(--ease) forwards
}

body.loaded .reveal-line:nth-child(2)>span {
  animation-delay: .14s
}

@keyframes lineUp {
  to {
    transform: translateY(0)
  }
}

.hero-fade {
  opacity: 0
}

body.loaded .hero-fade {
  animation: fadeUp .7s var(--ease) forwards;
  animation-delay: calc(var(--d, .3s) * .6)
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.hero-sub {
  font-size: .95rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #CBD9EC;
  margin-bottom: 16px
}

.hero-desc {
  color: #B9C9DF;
  max-width: 520px;
  margin-bottom: 36px
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .35s, transform .35s var(--ease)
}

.hero-arrow:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-50%) scale(1.08)
}

.hero-arrow.prev {
  left: 26px
}

.hero-arrow.next {
  right: 26px
}

.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .4);
  transition: width .4s var(--ease), background-color .3s
}

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

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .20);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: #fff;
  box-shadow: 0 14px 34px rgba(4, 11, 23, .3);
  animation: floaty 6.5s ease-in-out infinite alternate
}

.float-card i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0
}

.float-card small {
  display: block;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #B9C9DF
}

@keyframes floaty {
  from {
    transform: translateY(-9px)
  }

  to {
    transform: translateY(11px)
  }
}

.fc-1 {
  top: 24%;
  right: 9%
}

.fc-2 {
  top: 42%;
  right: 20%;
  animation-delay: 1.4s
}

.fc-3 {
  top: 60%;
  right: 7%;
  animation-delay: .7s
}

.fc-4 {
  top: 76%;
  right: 22%;
  animation-delay: 2s
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: clamp(4%, 6vw, 80px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9FB4CE;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase
}

.scroll-cue i {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: #fff;
  animation: cueDrop 1.8s var(--ease) infinite
}

@keyframes cueDrop {
  to {
    top: 110%
  }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 180px 0 96px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-2), var(--navy) 60%, #123a6e)
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 94, 239, .35), transparent 65%);
  top: -260px;
  right: -120px
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 55%)
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  font-weight: 700;
  margin-bottom: 14px
}

.page-hero .lead {
  color: #AFC3DC;
  max-width: 620px
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  font-size: .82rem;
  letter-spacing: .06em;
  color: #8FA6C4
}

.breadcrumb a {
  color: var(--gold)
}

.breadcrumb a:hover {
  text-decoration: underline
}

/* ---------- split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center
}

.split.reverse>.split-media {
  order: 2
}

.split-media {
  position: relative
}

.split-media .frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg)
}

.split-media .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease)
}

.split-media:hover .frame img {
  transform: scale(1.05)
}

.split-media::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: 120px;
  height: 120px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 4px 0 0 0
}

.frame-badge {
  position: absolute;
  bottom: 22px;
  left: -16px;
  background: var(--navy);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-md)
}

.frame-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--gold)
}

.frame-badge span {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #AFC3DC
}

.split-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 6px
}

.split-text p {
  color: var(--muted);
  margin-bottom: 16px
}

.split-text .btn {
  margin-top: 14px
}

/* ---------- stats ---------- */
.stats {
  background: linear-gradient(135deg, var(--navy-2), var(--navy) 55%, #12386b);
  color: #fff;
  position: relative;
  overflow: hidden
}

.stats::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 185, 66, .12), transparent 65%);
  bottom: -240px;
  left: -140px
}

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

.stat {
  text-align: center;
  padding: 26px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  transition: transform .4s var(--ease), border-color .4s
}

.stat:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 185, 66, .5)
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gold)
}

.stat-label {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #A8BBD4;
  margin-top: 8px
}

/* ---------- institution cards ---------- */
.inst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}

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

.inst-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s
}

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

.inst-media {
  position: relative;
  height: 230px;
  overflow: hidden
}

.inst-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease)
}

.inst-card:hover .inst-media img {
  transform: scale(1.08)
}

.inst-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(4, 11, 23, .28)
}

.inst-year {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(8, 22, 40, .78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  padding: 6px 14px;
  border-radius: 999px
}

.inst-body {
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.inst-body h3 {
  font-size: 1.18rem;
  margin-bottom: 14px
}

.inst-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 14px;
  margin-bottom: 16px
}

.inst-meta li {
  font-size: .8rem;
  color: var(--muted)
}

.inst-meta strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: .86rem
}

.inst-body p {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 20px
}

.inst-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .86rem;
  color: var(--navy)
}

.inst-link .ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .35s, border-color .35s, transform .35s var(--ease)
}

.inst-card:hover .inst-link .ico {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateX(5px)
}

/* ---------- pathway timeline ---------- */
.pathway {
  position: relative;
  max-width: 920px;
  margin: 0 auto
}

.pathway::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(var(--gold), var(--blue), var(--gold))
}

.path-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  margin-bottom: 44px
}

.path-item:last-child {
  margin-bottom: 0
}

.path-year {
  grid-column: 2;
  justify-self: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 0 0 8px var(--bg);
  z-index: 2
}

.path-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s
}

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

.path-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px
}

.path-card .tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: #EAF1FE;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px
}

.path-card p {
  font-size: .88rem;
  color: var(--muted)
}

.path-item .left {
  grid-column: 1;
  text-align: right
}

.path-item .right {
  grid-column: 3
}

.path-or {
  position: relative;
  text-align: center;
  margin: -16px 0 30px
}

.path-or span {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: 6px 20px;
  border-radius: 999px;
  border: 1.5px dashed var(--gold);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--navy)
}

/* ---------- photo swap viewer ---------- */
.swap-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9.5;
  background: var(--navy-2)
}

.swap-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .45s var(--ease), transform .6s var(--ease)
}

.swap-main img.swapping {
  opacity: 0;
  transform: scale(1.05)
}

.swap-cap {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(8, 22, 40, .72);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .06em;
  border-left: 3px solid var(--gold)
}

.swap-thumbs {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap
}

.swap-thumb {
  position: relative;
  width: 108px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  transition: border-color .3s, transform .35s var(--ease);
  flex-shrink: 0
}

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

.swap-thumb:hover {
  transform: translateY(-4px)
}

.swap-thumb.active {
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(244, 185, 66, .35)
}

.swap-thumb span {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(6, 15, 30, .85));
  color: #fff;
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 8px 6px;
  text-align: center
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 10px 0
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 48s linear infinite
}

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

.marquee-item {
  width: 280px;
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm)
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease)
}

.marquee-item:hover img {
  transform: scale(1.07)
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

/* ---------- chips / filters / search ---------- */
.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center
}

.chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .3s var(--ease)
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px)
}

.chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm)
}

.search-box {
  position: relative;
  min-width: 250px
}

.search-box input {
  width: 100%;
  padding: 11px 18px 11px 44px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: .88rem;
  transition: border-color .3s, box-shadow .3s
}

.search-box input:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(244, 185, 66, .18)
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted)
}

.filter-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px
}

.empty-state {
  display: none;
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: #fff
}

.empty-state.show {
  display: block
}

.empty-state strong {
  display: block;
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 6px
}

/* ---------- teachers ---------- */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}

.support-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px
}

.t-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s;
  animation: pop .5s var(--ease)
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.97)
  }

  to {
    opacity: 1;
    transform: none
  }
}

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

.t-photo {
  position: relative;
  aspect-ratio: 4/4.2;
  overflow: hidden;
  background: var(--navy-2)
}

.t-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease)
}

.t-card:hover .t-photo img {
  transform: scale(1.06)
}

.t-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(6, 15, 30, .72))
}

.t-sample {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(8, 22, 40, .7);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 185, 66, .45)
}

.t-body {
  padding: 22px 24px 24px
}

.t-subject {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px
}

.t-body h3 {
  font-size: 1.12rem;
  margin-bottom: 12px
}

.t-meta li {
  display: flex;
  gap: 10px;
  font-size: .82rem;
  color: var(--muted);
  padding: 4px 0
}

.t-meta svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold)
}

.t-view {
  margin-top: 18px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  font-size: .84rem;
  letter-spacing: .06em;
  transition: all .35s var(--ease)
}

.t-view:hover {
  background: var(--navy);
  color: #fff
}

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .4s var(--ease), visibility .4s
}

.modal.open {
  visibility: visible;
  opacity: 1
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 30, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px)
}

.modal-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  max-width: 900px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 330px 1fr;
  box-shadow: var(--shadow-lg);
  transform: scale(.93) translateY(18px);
  transition: transform .45s var(--ease)
}

.modal.open .modal-card {
  transform: none
}

.modal-photo {
  position: relative;
  min-height: 420px;
  background: var(--navy-2)
}

.modal-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.modal-body {
  padding: 38px 36px
}

.modal-body .t-subject {
  margin-bottom: 4px
}

.modal-body h3 {
  font-size: 1.6rem;
  margin-bottom: 18px
}

.modal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line)
}

.modal-fields div span {
  display: block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px
}

.modal-fields div strong {
  font-size: .92rem;
  color: var(--text);
  font-weight: 600
}

.modal-body h4 {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px
}

.modal-body .bio {
  font-size: .92rem;
  color: var(--muted)
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .3s, transform .35s var(--ease)
}

.modal-close:hover {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(90deg)
}

/* ---------- gallery ---------- */
.masonry {
  columns: 4 250px;
  column-gap: 18px
}

.g-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  animation: pop .5s var(--ease)
}

.g-item img {
  width: 100%;
  transition: transform .7s var(--ease)
}

.g-item:hover img {
  transform: scale(1.06)
}

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(6, 15, 30, .78));
  opacity: 0;
  transition: opacity .4s
}

.g-item:hover::after {
  opacity: 1
}

.g-cap {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s, transform .4s var(--ease)
}

.g-cap small {
  display: block;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold)
}

.g-item:hover .g-cap {
  opacity: 1;
  transform: none
}

.g-item.hide {
  display: none
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(5, 12, 24, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s
}

.lightbox.open {
  visibility: visible;
  opacity: 1
}

.lightbox img {
  max-width: 88vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  animation: lbIn .4s var(--ease)
}

@keyframes lbIn {
  from {
    opacity: 0;
    transform: scale(.94)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.lb-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  transition: background-color .3s, transform .3s var(--ease);
  z-index: 2
}

.lb-btn:hover {
  background: var(--gold);
  color: var(--navy)
}

.lb-prev {
  left: 26px;
  top: 50%;
  transform: translateY(-50%)
}

.lb-next {
  right: 26px;
  top: 50%;
  transform: translateY(-50%)
}

.lb-close {
  top: 24px;
  right: 26px
}

.lb-count {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: #B9C9DF;
  font-size: .85rem;
  letter-spacing: .2em
}

.lb-title {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: .9rem;
  letter-spacing: .04em;
  background: rgba(255, 255, 255, .08);
  padding: 8px 22px;
  border-radius: 999px
}

/* ---------- facilities ---------- */
.facility {
  padding: clamp(48px, 6vw, 76px) 0;
  border-bottom: 1px solid var(--line)
}

.facility:last-of-type {
  border-bottom: 0
}

.facility .split {
  align-items: start
}

.fac-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px
}

.fac-num {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em
}

.facility h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem)
}

.facility p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 18px
}

.tick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px
}

.tick {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 18px;
  font-size: .88rem;
  font-weight: 500;
  transition: transform .35s var(--ease), border-color .3s
}

.tick:hover {
  transform: translateY(-4px);
  border-color: var(--gold)
}

.tick svg {
  color: var(--gold);
  flex-shrink: 0
}

/* ---------- achievements ---------- */
.ach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto
}

.ach-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s
}

.ach-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg)
}

.ach-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--blue))
}

.ach-ribbon {
  position: absolute;
  top: 20px;
  right: -40px;
  transform: rotate(45deg);
  background: var(--navy);
  color: var(--gold);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  padding: 7px 48px;
  text-transform: uppercase
}

.ach-year {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px
}

.ach-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px
}

.ach-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .92rem
}

.ach-row:last-of-type {
  border-bottom: 0
}

.ach-row span {
  color: var(--muted)
}

.ach-row strong {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--navy)
}

.ach-row strong.gold {
  color: var(--gold)
}

.disclaimer {
  margin-top: 34px;
  background: #FFFBEE;
  border: 1.5px dashed var(--gold);
  border-radius: 14px;
  padding: 20px 26px;
  font-size: .88rem;
  color: #7A6420;
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px
}

.note-box {
  background: #FFFBEE;
  border: 1.5px dashed var(--gold);
  border-radius: 14px;
  padding: 22px 28px;
  font-size: .92rem;
  color: #7A6420
}

.note-box strong {
  display: block;
  font-family: var(--font-head);
  color: var(--navy);
  margin-bottom: 6px;
  font-size: .95rem;
  letter-spacing: .04em
}

/* ---------- history timeline (cinematic, dark) ---------- */
.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 0
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(transparent, var(--gold) 8%, var(--gold) 92%, transparent)
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  margin-bottom: 64px;
  align-items: center
}

.tl-dot {
  grid-column: 2;
  justify-self: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(244, 185, 66, .18), 0 0 0 12px var(--navy-2);
  z-index: 2
}

.tl-card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .4s
}

.tl-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 185, 66, .5)
}

.tl-card img {
  width: 100%;
  height: 210px;
  object-fit: cover
}

.tl-body {
  padding: 24px 26px
}

.tl-year {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px
}

.tl-body h3 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 8px
}

.tl-body p {
  font-size: .88rem;
  color: #A8BBD4
}

.tl-item .left {
  grid-column: 1
}

.tl-item .right {
  grid-column: 3
}

/* ---------- contact ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.c-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px
}

.c-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold)
}

.c-ico {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform .45s var(--ease)
}

.c-card:hover .c-ico {
  transform: scale(1.1) rotate(-6deg);
  background: linear-gradient(135deg, var(--gold), #d99f22);
  color: var(--navy)
}

.c-card h3 {
  font-size: 1rem;
  margin-bottom: 2px
}

.c-card p {
  font-size: .8rem;
  color: var(--muted)
}

.c-card .go {
  margin-top: 12px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue)
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start
}

.info-block {
  background: var(--navy);
  color: #D8E2F0;
  border-radius: var(--radius);
  padding: 38px 34px;
  position: relative;
  overflow: hidden
}

.info-block::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 185, 66, .16), transparent 65%);
  top: -140px;
  right: -100px
}

.info-block h3 {
  color: #fff;
  margin-bottom: 20px
}

.info-line {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-size: .9rem
}

.info-line:last-child {
  border-bottom: 0
}

.info-line svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px
}

.info-line span {
  color: #93A9C6;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: block
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-md)
}

.form-card h3 {
  margin-bottom: 6px
}

.form-card>p {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 24px
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.form-field.full {
  grid-column: 1/-1
}

.form-field label {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

.form-field input,
.form-field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: .92rem;
  background: var(--bg);
  transition: border-color .3s, box-shadow .3s;
  width: 100%
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(244, 185, 66, .16);
  background: #fff
}

.form-field textarea {
  min-height: 130px;
  resize: vertical
}

.form-field.error input,
.form-field.error textarea {
  border-color: #D92D20;
  background: #FEF6F5
}

.field-msg {
  font-size: .74rem;
  color: #D92D20;
  display: none
}

.form-field.error .field-msg {
  display: block
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 500
}

.form-status.ok {
  display: block;
  background: #ECFDF3;
  border: 1px solid #A6F4C5;
  color: #067647;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  width: min(440px, calc(100vw - 48px));
  margin: 0;
  box-shadow: var(--shadow-md);
  animation: toast-in .25s var(--ease)
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.form-status.err {
  display: block;
  background: #FEF3F2;
  border: 1px solid #FECDCA;
  color: #B42318
}

.map-placeholder {
  margin-top: 60px;
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  background: #fff;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 40px;
  color: var(--muted)
}

.map-placeholder svg {
  color: var(--gold)
}

.map-placeholder strong {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.1rem
}

.map-placeholder code {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: .8rem
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-2), var(--navy) 55%, #123a6e);
  color: #fff;
  text-align: center
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 94, 239, .4), transparent 65%);
  top: -260px;
  left: 50%;
  transform: translateX(-50%)
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
  position: relative
}

.cta-band p {
  color: #AFC3DC;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative
}

.cta-band .hero-btns {
  justify-content: center;
  position: relative
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy-2);
  color: #B9C9DF;
  padding-top: 74px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 54px
}

.footer .brand-text strong {
  color: #fff
}

.footer .brand-text span {
  color: #8FA6C4
}

.footer-desc {
  font-size: .88rem;
  margin: 18px 0 22px;
  max-width: 300px;
  color: #93A9C6
}

.footer h4 {
  color: var(--gold);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 20px
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: .9rem;
  transition: color .3s, transform .3s var(--ease)
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(5px)
}

.footer-contact li {
  display: flex;
  gap: 12px;
  font-size: .88rem;
  padding: 7px 0;
  color: #93A9C6
}

.footer-contact svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 4px
}

.socials {
  display: flex;
  gap: 12px
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B9C9DF;
  transition: all .35s var(--ease)
}

.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-4px)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #7E93B1
}

.footer-bottom span {
  color: var(--gold)
}

/* ---------- back to top ---------- */
#toTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(244, 185, 66, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .45s var(--ease)
}

#toTop.show {
  opacity: 1;
  visibility: visible;
  transform: none
}

#toTop:hover {
  transform: translateY(-4px)
}

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease)
}

[data-reveal="left"] {
  transform: translateX(-44px)
}

[data-reveal="right"] {
  transform: translateX(44px)
}

[data-reveal="zoom"] {
  transform: scale(.93)
}

[data-reveal].in {
  opacity: 1;
  transform: none
}

/* ---------- parallax ---------- */
.parallax-img {
  overflow: hidden
}

.parallax-img img {
  transform: scale(1.16);
  will-change: transform
}

/* ---------- image fallback (shown automatically if a photo is missing) ---------- */
.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-2), #123a6e);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  padding: 30px;
  width: 100%;
  height: 100%;
  min-height: 190px;
  border-radius: inherit
}

.img-fallback span {
  border: 1.5px dashed rgba(244, 185, 66, .55);
  padding: 16px 26px;
  border-radius: 12px
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  html {
    scroll-behavior: auto
  }

  [data-reveal] {
    opacity: 1;
    transform: none
  }

  .reveal-line>span {
    transform: none
  }

  .hero-fade {
    opacity: 1
  }

  .marquee-track {
    animation: none
  }
}

/* ---------- Programme cards (PU college, diploma, Hindi vidyalaya, distance education) ---------- */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px
}

.prog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .45s var(--ease), box-shadow .45s
}

.prog-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .32), transparent 70%);
  transition: transform .6s var(--ease)
}

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

.prog-card:hover::after {
  transform: scale(1.5)
}

.prog-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(212, 175, 55, .14);
  border: 1px solid rgba(212, 175, 55, .45);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px
}

.prog-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px
}

.prog-card h3 {
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 12px
}

.prog-card p {
  font-size: .86rem;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1
}

.prog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px
}

.prog-meta span {
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 5px 11px;
  border-radius: 999px
}

.prog-card .inst-link {
  color: var(--gold)
}

.prog-card .inst-link .ico {
  border-color: rgba(212, 175, 55, .5);
  color: var(--gold)
}

.prog-card:hover .inst-link .ico {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateX(5px)
}

.prog-card.light {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-sm)
}

.prog-card.light h3 {
  color: var(--navy)
}

.prog-card.light p {
  color: var(--muted)
}

.prog-card.light .prog-meta span {
  color: var(--navy);
  background: #EAF1FE;
  border-color: #dbe6fb
}

.prog-card.light .inst-link {
  color: var(--blue)
}

/* ---------- founder ---------- */
.founder {
  background: var(--navy-2);
  color: #fff;
  position: relative;
  overflow: hidden
}

.founder::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .18), transparent 70%)
}

.founder .eyebrow {
  color: var(--gold)
}

.founder h2,
.founder .split-text p {
  color: #fff
}

.founder .split-text>p {
  color: rgba(255, 255, 255, .78)
}

.founder-media .frame {
  aspect-ratio: 9/11;
  max-width: 440px;
  margin: 0 auto
}

.founder-media .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.founder-quote {
  position: relative;
  margin-top: 28px;
  padding: 24px 26px 22px 30px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, .05);
  border-radius: 0 var(--radius) var(--radius) 0
}

.founder-quote svg {
  position: absolute;
  top: -16px;
  left: 18px;
  color: var(--gold);
  opacity: .9;
  background: var(--navy-2);
  padding: 0 4px
}

.founder-quote p {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  margin: 6px 0 10px
}

.founder-quote cite {
  font-style: normal;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold)
}

/* ---------- two-card institutions grid ---------- */
.inst-grid.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 960px;
  margin: 0 auto
}

/* ---------- map embed ---------- */
.map-embed {
  position: relative;
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: #e9eef6
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0
}

.map-embed .map-open {
  position: absolute;
  right: 18px;
  bottom: 18px
}

/* ---------- teacher groups ---------- */
.t-group {
  margin-bottom: 56px
}

.t-group:last-child {
  margin-bottom: 0
}

.t-group-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px
}

.t-group-head h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  white-space: nowrap
}

.t-group-head .rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent)
}

.t-group-head .count {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: #EAF1FE;
  padding: 5px 12px;
  border-radius: 999px
}

.t-card.lead-card {
  border-color: rgba(212, 175, 55, .55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .14), var(--shadow-md)
}

.t-role {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--navy);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2
}