/* =============================================
   BRAGGIN PRE & PRIMARY SCHOOL — STYLESHEET
   ============================================= */

/* ---------- ACCESSIBILITY ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--green,#1a6b30);
  color: #fff;
  padding: .6rem 1.2rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: .9rem;
  z-index: 9999;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1a6b30;
  --green-dark:  #134f23;
  --green-light: #e8f5ec;
  --gold:        #f0b429;
  --gold-dark:   #c98a00;
  --red:         #c0392b;
  --navy:        #0d1b2a;
  --text:        #2c3e50;
  --text-light:  #6b7c8d;
  --white:       #ffffff;
  --bg-alt:      #f7f9fb;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.18);
  --transition:  all .35s cubic-bezier(.4,0,.2,1);
  --font:        'Poppins', sans-serif;
  --font-serif:  'Playfair Display', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- TYPOGRAPHY ---------- */
.section__tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: #fff8e1;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__title span { color: var(--green); }

.section__sub {
  max-width: 640px;
  color: var(--text-light);
  font-size: 1.05rem;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section { padding: 6rem 0; }
.section--alt { background: var(--bg-alt); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,107,48,.35);
}
.btn--green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,107,48,.45);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(240,180,41,.4);
}
.btn--gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,180,41,.5);
}

.btn--outline {
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--outline-green {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
}
.btn--outline-green:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- TOP BAR ---------- */
.top-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: .5rem 0;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.top-bar__left { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.top-bar__left span, .top-bar__right a { display: flex; align-items: center; gap: .4rem; }
.top-bar__right { display: flex; gap: .75rem; align-items: center; }
.top-bar__right a {
  color: rgba(255,255,255,.75);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.top-bar__right a:hover { color: var(--gold); }

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.header__logo img { width: 54px; height: 54px; object-fit: contain; }
.header__logo-text { display: flex; flex-direction: column; }
.header__logo-name {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--green);
  line-height: 1;
}
.header__logo-sub {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: .02em;
}

/* NAV */
.nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav__link {
  display: block;
  padding: .5rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav__link:hover, .nav__link.active {
  color: var(--green);
  background: var(--green-light);
}
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-menu li a {
  display: block;
  padding: .6rem 1.25rem;
  font-size: .88rem;
  color: var(--text);
  transition: var(--transition);
}
.nav__dropdown-menu li a:hover {
  background: var(--green-light);
  color: var(--green);
  padding-left: 1.5rem;
}

.header__cta { padding: .6rem 1.4rem; font-size: .88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}
.hero__slides { position: relative; width: 100%; height: 100%; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.active { opacity: 1; z-index: 1; }
.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero__slide.active .hero__bg { transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,.82) 0%,
    rgba(26,107,48,.55) 60%,
    rgba(13,27,42,.4) 100%
  );
}
.hero__content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 1.5rem;
  max-width: 820px;
}
.hero__tag {
  display: inline-block;
  background: rgba(240,180,41,.9);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: .75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero__title span { color: var(--gold); }
.hero__motto {
  font-style: italic;
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: .5rem;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 2px solid rgba(255,255,255,.5);
  transition: var(--transition);
}
.hero__dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.hero__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero__arrow--prev { left: 1.5rem; }
.hero__arrow--next { right: 1.5rem; }
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollPulse 1.8s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---------- STATS ---------- */
.stats {
  background: var(--green);
  padding: 2.5rem 0;
  position: relative;
  z-index: 2;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--white);
  position: relative;
}
.stat-card + .stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,.25);
}
.stat-card__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
}
.stat-card__unit {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-card p {
  margin-top: .3rem;
  font-size: .9rem;
  opacity: .85;
  font-weight: 500;
}

/* ---------- ABOUT ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about__images {
  position: relative;
  min-height: 500px;
}
.about__img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}
.about__img-main img { width: 100%; height: 100%; object-fit: cover; }
.about__img-sub {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 220px;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}
.about__img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about__badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.about__badge-text {
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
}
.about__lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
}
.about__body {
  color: var(--text-light);
  margin-bottom: 2rem;
}
.about__pillars { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--green-light);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
}
.pillar__icon { font-size: 1.5rem; flex-shrink: 0; }
.pillar strong { display: block; font-weight: 600; color: var(--navy); margin-bottom: .2rem; }
.pillar p { font-size: .9rem; color: var(--text-light); margin: 0; }

/* ---------- PROGRAMS ---------- */
.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transition: var(--transition);
}
.program-card:hover::before { transform: scaleX(1); }
.program-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.program-card--featured {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  transform: scale(1.03);
}
.program-card--featured::before { background: var(--gold); transform: scaleX(1); }
.program-card--featured:hover { transform: scale(1.03) translateY(-6px); }
.program-card--featured h3,
.program-card--featured strong { color: var(--white); }
.program-card--featured p { color: rgba(255,255,255,.85); }
.program-card--featured li { color: rgba(255,255,255,.85); }
.program-card--featured li::before { background: var(--gold); }
.program-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.program-card__badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .25rem .8rem;
  border-radius: 50px;
  background: rgba(240,180,41,.15);
  color: var(--gold-dark);
  margin-bottom: .75rem;
}
.program-card--featured .program-card__badge {
  background: rgba(255,255,255,.2);
  color: var(--gold);
}
.program-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
}
.program-card p { font-size: .95rem; color: var(--text-light); margin-bottom: 1.25rem; }
.program-card ul { margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: .45rem; }
.program-card li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-light);
}
.program-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ---------- WHY CHOOSE US ---------- */
.why { background: var(--navy); }
.why .section__tag { background: rgba(240,180,41,.15); color: var(--gold); }
.why .section__title { color: var(--white); }
.why .section__title span { color: var(--gold); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.why-card__icon { font-size: 2.2rem; margin-bottom: 1rem; }
.why-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.why-card p { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.6; margin: 0; }

/* ---------- RESULTS ---------- */
.results__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.results__images { display: flex; flex-direction: column; gap: 1.5rem; }
.results__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.results__img-wrap img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.results__img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: var(--white);
  padding: .75rem 1rem;
  font-size: .85rem;
  font-weight: 600;
}
.results__bars h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
}
.result-bar { margin-bottom: 1.5rem; }
.result-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}
.result-bar__label span:last-child { color: var(--green); font-weight: 700; }
.result-bar__track {
  background: var(--green-light);
  border-radius: 50px;
  height: 10px;
  overflow: hidden;
}
.result-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 50px;
  width: 0;
  transition: width 1.5s cubic-bezier(.4,0,.2,1);
}
.results__note { font-size: .8rem; color: var(--text-light); margin-top: 1.5rem; font-style: italic; }

/* ---------- GALLERY ---------- */
.gallery__filters {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.gallery__filter {
  padding: .5rem 1.5rem;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  border: 2px solid var(--green-light);
  color: var(--text-light);
  transition: var(--transition);
}
.gallery__filter.active,
.gallery__filter:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: var(--transition);
}
.gallery__item--tall { grid-row: span 2; aspect-ratio: auto; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.75));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
}
.gallery__zoom {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.4);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.gallery__zoom:hover { background: var(--gold); color: var(--navy); }
.gallery__item[style*="display: none"] { display: none !important; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img-wrap {
  max-width: 90vw;
  max-height: 85vh;
}
.lightbox__img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10000;
}
.lightbox__close:hover { background: var(--red); }
.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox__arrow:hover { background: var(--gold); color: var(--navy); }
.lightbox__arrow--prev { left: 1.5rem; }
.lightbox__arrow--next { right: 1.5rem; }

/* ---------- BOARDING ---------- */
.boarding__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.boarding__lead {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.boarding__features { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.boarding__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.boarding__feature-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.boarding__feature strong { display: block; font-weight: 600; color: var(--navy); margin-bottom: .2rem; }
.boarding__feature p { font-size: .9rem; color: var(--text-light); margin: 0; }
.boarding__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.boarding__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--green); }
.testimonials .section__tag { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.testimonials .section__title { color: var(--white); }
.testimonials .section__title span { color: var(--gold); }
.testimonials__slider {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  min-height: 220px;
}
.testimonial {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
}
.testimonial.active { display: block; }
.testimonial__stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: .1em; }
.testimonial__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; color: var(--white); font-size: .95rem; }
.testimonial__author span { font-size: .82rem; color: rgba(255,255,255,.65); }
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}
.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  transition: var(--transition);
}
.testimonials__dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ---------- ADMISSIONS ---------- */
.admissions__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.admissions__steps h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
}
.step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__body strong { display: block; font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
.step__body p { font-size: .9rem; color: var(--text-light); margin: 0; }

/* FORM */
.admissions__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.admissions__form h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.75rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group { margin-bottom: 1.1rem; }
.form__group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid #e5eaf0;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,107,48,.1);
}
.form__group textarea { resize: vertical; min-height: 90px; }
.form__submit { width: 100%; justify-content: center; margin-top: .5rem; }
.form__note {
  font-size: .78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: .75rem;
}

/* ---------- CONTACT ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact__info p { color: var(--text-light); margin-bottom: 2rem; }
.contact__details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact__icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact__detail strong { display: block; font-weight: 600; color: var(--navy); }
.contact__detail p { color: var(--text-light); font-size: .9rem; margin: 0; }
.contact__social { display: flex; flex-wrap: wrap; gap: .75rem; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.25rem;
  border-radius: 50px;
  border: 2px solid var(--green-light);
  color: var(--text);
  font-size: .88rem;
  font-weight: 600;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  transform: translateY(-2px);
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.map-directions-btn {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  width: 100%;
}

/* ---------- FOOTER ---------- */
.footer__top { background: var(--navy); padding: 5rem 0 3rem; }
.footer__top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer__logo { width: 70px; margin-bottom: 1.25rem; }
.footer__brand p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.7; margin-bottom: .5rem; }
.footer__motto {
  color: var(--gold) !important;
  font-style: italic;
  font-weight: 600;
  font-size: .85rem !important;
}
.footer__links h4, .footer__programs h4, .footer__contact h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(240,180,41,.3);
}
.footer__links ul, .footer__programs ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer__links a, .footer__programs a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: var(--transition);
}
.footer__links a:hover, .footer__programs a:hover {
  color: var(--gold);
  padding-left: .4rem;
}
.footer__contact p {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer__social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer__social a:hover { background: var(--gold); color: var(--navy); }
.footer__bottom {
  background: var(--green-dark);
  padding: 1.25rem 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__bottom p { color: rgba(255,255,255,.65); font-size: .82rem; }

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: var(--green);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 9999;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---------- SCROLL REVEAL ---------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__images { min-height: 380px; }
  .about__img-main { height: 350px; }
  .about__img-sub { display: none; }
  .about__badge { top: 10px; left: 10px; }
  .programs__grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .program-card--featured { transform: none; }
  .program-card--featured:hover { transform: translateY(-6px); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .results__grid { grid-template-columns: 1fr; }
  .boarding__grid { grid-template-columns: 1fr; }
  .admissions__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(3)::before { display: none; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .header__cta { display: none; }
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 90vw);
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 5rem 2rem 2rem;
    transition: var(--transition);
    z-index: 998;
    overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .nav__link { font-size: 1.05rem; width: 100%; padding: .75rem 1rem; }
  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 1rem;
    display: none;
    border-left: 3px solid var(--green-light);
    margin-left: 1rem;
    margin-top: .3rem;
  }
  .nav__dropdown.open .nav__dropdown-menu { display: block; }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: 2.2rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__arrow { display: none; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--tall { grid-row: auto; }
  .gallery__item--wide { grid-column: auto; }
  .why__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top-grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .section { padding: 4rem 0; }
  .admissions__form { padding: 1.75rem; }
  .hero__scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.9rem; }
  .programs__grid { max-width: 100%; }
}
