﻿/* ==========================================================================
   VIMAL VIDYALAY CONVENT HIGH SCHOOL â€” core stylesheet
   Design tokens grounded in the school's own content:
   - forest green + river blue + saffron, echoing the four houses named
     after the rivers of Jammu & Kashmir (Ravi, Tawi, Jhelum, Chenab)
   - a flowing "river line" motif used sparingly as the signature device
   - serif display type for institutional weight, clean sans for reading
   ========================================================================== */

:root {
  /* ---- Color tokens ----
     A fresh, premium institutional palette: deep charcoal ink, a
     sophisticated deep teal, warm bronze/gold accents and a soft
     stone-neutral background, with translucent glass surfaces used
     throughout for a modern, layered feel. */
  --ink: #182B20;
  --ink-soft: #3C4B41;
  --forest: #128A3E;
  --forest-dark: #0B5C29;
  --forest-tint: #E7F7EC;
  --river: #1591BE;
  --river-dark: #0E6E92;
  --river-tint: #E4F5FA;
  --saffron: #F2932B;
  --saffron-dark: #C97418;
  --saffron-tint: #FDECD8;
  --cream: #FAF6EC;
  --cream-deep: #F3EDDD;
  --stone: #EDE7D8;
  --white: #FFFFFF;
  --line: #E1D9C4;
  --line-soft: #EDE6D4;

  /* Glass-surface utilities */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-dark-bg: rgba(20, 24, 29, 0.55);
  --glass-dark-border: rgba(255, 255, 255, 0.14);
  --glass-blur: 16px;

  /* House colors â€” as given in the source content */
  --house-ravi: #C0392B;
  --house-tawi: #D9A521;
  --house-jhelum: #1B4A6B;
  --house-chenab: #1E7A4C;

  /* ---- Type ---- */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- Layout ---- */
  --container: 1320px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --header-h: 118px;
  --header-h-scrolled: 76px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Glass surface utility ---- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
}
.glass-dark {
  background: var(--glass-dark-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-dark-border);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
.fa-solid,
.fa-regular,
.fa-brands {
    letter-spacing: normal;
   margin-top:6px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest-dark);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-weight: 600;
}
p { margin: 0 0 1em; max-width: 68ch; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
  background: var(--forest-dark);
  color: #DCEAE0;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}
.topbar-info {
  position: relative;
  z-index: 270;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
/* On wide screens, centre the contact info across the whole bar instead of
   letting it sit flush left, where it would overlap the large logo badge. */
@media (min-width: 761px) {
  .topbar .container { justify-content: flex-end; }
  .topbar-info {
    /* Left-anchored at a fixed offset (clear of the logo card, which
       bleeds up into this bar) rather than horizontally centred â€” a
       percentage centre-point shifts the whole block's left edge whenever
       an item is added or removed, which is how it ended up back under
       the logo. A fixed offset stays clear no matter how many items
       this holds. */
    position: absolute;
    left: 260px;
    top: 50%;
    transform: translateY(-50%);
  }
}
.topbar-info a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 22px;
  color: #DCEAE0;
  overflow-wrap: anywhere;
  transition: color 0.2s var(--ease);
}
.topbar-info a:hover { color: var(--saffron); }
.topbar-tag {
  position: relative;
  z-index: 270;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #A9C4B3;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.topbar i { color: var(--saffron); font-size: 0.9em; }
.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  background: rgba(242, 147, 43, 0.16);
  border: 1px solid rgba(242, 147, 43, 0.55);
  border-radius: 20px;
  color: var(--saffron);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.topbar-badge i { color: var(--saffron); }
.topbar-badge:hover { background: rgba(242, 147, 43, 0.28); transform: translateY(-1px); }
@media (max-width: 760px) {
  .topbar-badge { font-size: 0.7rem; padding: 3px 11px; }
}

/* Below the centred-desktop breakpoint, stack the contact details in a
   tidy single column instead of letting them wrap unpredictably across
   the bar â€” much cleaner on phone widths. */
@media (max-width: 760px) {
  .topbar { font-size: 0.74rem; }
  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .topbar-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    width: 100%;
  }
  .topbar-info a { margin-right: 0; }
  .topbar-tag { width: 100%; }
}
/* On the smallest phones, drop the address line from the topbar entirely â€”
   it's still one tap away via the footer and the Contact page â€” so the
   bar only carries the two most time-critical items. */
@media (max-width: 480px) {
  .topbar-tag { display: none; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
/* The header row (logo + nine nav items + CTA) needs more room than the
   1320px page container gives it, so let it and the topbar run wider.
   They share a width so the logo card stays aligned across both bars. */
.topbar .container,
.site-header .container { max-width: 1560px; }
.site-header {
  position: sticky;
  top: 0;
  /* Must outrank .nav-overlay (z-index: 240): the mobile drawer (.main-nav,
     z-index: 250) lives INSIDE .site-header, so its z-index is only
     compared against its own siblings within the header, not globally.
     From the page's perspective the whole header subtree paints at
     .site-header's own z-index â€” if that were below the overlay's, the
     dark scrim would paint over the (visually white) drawer, exactly the
     washed-out grey look this fixes. */
  z-index: 260;
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow 0.3s var(--ease);
}
/* The frosted-glass background lives on a pseudo-element rather than on
   .site-header itself. backdrop-filter (like transform/filter) on an
   element creates a new containing block for any position:fixed
   descendant â€” and the mobile off-canvas nav (.main-nav) is fixed. With
   the filter directly on .site-header, that fixed nav was being confined
   to the header's own small box instead of the full viewport. Putting the
   blur on ::before (which has no descendants of its own) keeps the same
   look without affecting how .main-nav's fixed positioning resolves. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 246, 236, 0.78);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  transition: background 0.3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(15, 46, 30, 0.1);
}
.site-header.is-scrolled::before {
  background: rgba(250, 246, 236, 0.92);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  transition: padding 0.3s var(--ease);
}
.site-header.is-scrolled .header-inner { padding: 10px 0; }
@media (max-width: 700px) {
  /* With no nav or CTA visible inline, a plain left-logo/right-toggle row
     leaves a big dead gap in the middle. Centre the logo instead and pin
     the menu button to the corner, so the bar reads as one balanced unit. */
  .header-inner { justify-content: center; }
  .nav-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  /* Never let the brand shrink: .brand-mark is a fixed-width card, so a
     squeezed .brand just lets the logo spill rightward under the nav. */
  flex-shrink: 0;
}
/* The wide lockup sits on a white rounded card that bleeds up into the
   topbar, echoing the old circular badge's overlap effect but shaped to
   suit a rectangular logo instead of cropping it into a circle. */
.brand-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 0px 0px;
  margin: -34px 0 0 28px;
  box-shadow: 0 16px 34px rgba(15, 46, 30, 0.26);
  transition: margin 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-radius: 10px;
}
.brand-mark img {
  height: 73px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  transition: height 0.3s var(--ease);
  border-radius: 50px 50px 50px 0px;
}
.site-header.is-scrolled .brand-mark {
  margin: 0;
  padding: 8px 16px;
  box-shadow: 0 6px 16px rgba(15, 46, 30, 0.18);
}
.site-header.is-scrolled .brand-mark img { height: 44px; }
@media (max-width: 700px) {
  /* No bleed-up effect on mobile â€” the topbar there is a separate stacked
     column, not a single bar the card can overlap cleanly. */
  .brand-mark { margin: 0; padding: 9px 18px; border-radius: 14px; }
  .brand-mark img { height: 44px; }
}
/* Desktop-only: give the logo a little breathing room from the container
   edge once the header is scrolled/fixed and the badge's margin resets. */
@media (min-width: 701px) {
  .site-header.is-scrolled .brand-mark { margin-left: 20px; }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--forest-dark);
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--river);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ---- Main nav ---- */
.main-nav { display: flex; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-list > li { position: relative; }
.nav-list > li > a,
.nav-list > li > button.nav-top-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 11px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink);
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-list > li > a:hover,
.nav-list > li > button.nav-top-link:hover,
.nav-list > li.is-active > a {
  color: var(--forest);
  background: var(--forest-tint);
}
.nav-list > li > a.is-current {
  color: var(--forest);
  font-weight: 700;
}
.nav-list > li > a::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-list > li > a:hover::after,
.nav-list > li > a.is-current::after {
  transform: scaleX(1);
}
.nav-caret { font-size: 0.6rem; margin-top: 1px; transition: transform 0.2s var(--ease); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(15, 46, 30, 0.14);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav-list > li:hover > .dropdown,
.nav-list > li.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-list > li:hover > button .nav-caret,
.nav-list > li.is-open > button .nav-caret { transform: rotate(180deg); }

/* Dropdowns near the right edge of the header (e.g. Gallery) would
   otherwise extend past the viewport and cause horizontal page scroll,
   even while hidden â€” open them leftward off their own item instead. */
@media (min-width: 1181px) {
  .nav-list > li:nth-last-child(2) .dropdown {
    left: auto;
    right: 0;
  }
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
}
.dropdown a:hover { background: var(--forest-tint); color: var(--forest-dark); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  background: var(--saffron);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.header-cta:hover { background: var(--saffron-dark); transform: translateY(-1px); }

.nav-close { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--forest-tint);
  border: none;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--forest-dark);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.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); }

/* ==========================================================================
   MOBILE NAV
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    width: min(340px, 86vw);
    background: var(--white);
    box-shadow: -20px 0 50px rgba(0,0,0,0.16);
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    overflow-y: auto;
    padding: 74px 0 40px;
    z-index: 250;
  }
  .main-nav.is-open { transform: translateX(0); }
  /* The header's own hamburger/X button sits underneath the open drawer
     (the drawer covers that same corner of the screen), so it can't be
     used to close the menu once it's open â€” this button, inside the
     drawer itself, is the actual way to close it on mobile. */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--forest-tint);
    border: none;
    color: var(--forest-dark);
    font-size: 1.15rem;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav-close:hover { background: var(--saffron); color: var(--white); transform: rotate(90deg); }
  .nav-list { flex-direction: column; align-items: stretch; padding: 0 14px; gap: 0; }
  .nav-list > li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-list > li > a, .nav-list > li > button.nav-top-link {
    width: 100%;
    padding: 15px 10px;
    justify-content: space-between;
    font-size: 1rem;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
    background: var(--cream-deep);
    margin: 0 0 8px;
  }
  .nav-list > li.is-open > .dropdown { display: block; }
  .nav-list > li:hover > .dropdown { display: none; }
  .nav-list > li.is-open:hover > .dropdown { display: block; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(15, 30, 20, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
    z-index: 240;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; }
}

@media (min-width: 1181px) {
  .topbar-tag { display: block; }
}
@media (max-width: 1580px) {
  .header-cta { display: none; }
}
@media (max-width: 1300px) and (min-width: 1181px) {
  .nav-list > li > a, .nav-list > li > button.nav-top-link { padding: 8px 7px; font-size: 0.8rem; }
  .brand-name { font-size: 0.98rem; }
  .brand-sub { display: none; }
}

/* ==========================================================================
   MARQUEE NOTICE â€” a slim scrolling announcement strip, sits just below
   the sticky header (not sticky itself) on every page.
   ========================================================================== */
.marquee-notice {
  display: flex;
  align-items: stretch;
  background: var(--saffron);
}
.marquee-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--saffron-dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.marquee-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 42s linear infinite;
}
.marquee-set { display: flex; flex-shrink: 0; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 60px 9px 40px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.marquee-item i { font-size: 0.95em; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-notice:hover .marquee-track,
.marquee-notice:focus-within .marquee-track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-viewport { overflow-x: auto; }
  .marquee-set:last-child { display: none; }
}
@media (max-width: 600px) {
  .marquee-label { padding: 8px 12px; font-size: 0.72rem; }
  .marquee-item { font-size: 0.8rem; padding: 8px 40px 8px 24px; }
}

/* ==========================================================================
   HERO SLIDER (homepage)
   ========================================================================== */
.hero-slider {
  position: relative;
  height: clamp(560px, 78vh, 700px);
  min-height: 560px;
  overflow: hidden;
  background: var(--forest-dark);
  color: var(--white);
}
@media (max-width: 760px) {
  .hero-slider { height: clamp(560px, 92vh, 660px); min-height: 560px; }
}

.hero-river {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--saffron);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--saffron);
  margin-right: 10px;
  flex-shrink: 0;
}
.hero-slide[data-align="right"] .hero-eyebrow::before { margin-right: 0; margin-left: 10px; }

.hero-slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 1.1s;
  display: flex;
  align-items: center;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition: opacity 1.1s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0s;
}

.hero-slide-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; background: var(--forest-dark); }
.hero-slide-bg-inner { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: scale(1); }
.hero-slide-bg-inner img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-slide.is-active .hero-slide-bg-inner { animation: kenBurns 6.3s ease-out forwards; }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.05); } }

.hero-slide-art {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
}
.hero-slide[data-align="left"] .hero-slide-art { right: -4%; }
.hero-slide[data-align="right"] .hero-slide-art { left: -4%; }
.hero-slide[data-align="center"] .hero-slide-art { left: 50%; width: 44%; opacity: 0.22; transform: translateX(-50%) translateY(-6%); }
.hero-slide-art-panel {
  width: 72%;
  height: 74%;
  border-radius: 38% 62% 61% 39% / 44% 41% 59% 56%;
  background: linear-gradient(155deg, rgba(255,255,255,0.22), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.32);
  box-shadow: 0 30px 70px rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7%;
}
.hero-slide[data-align="center"] .hero-slide-art-panel { background: none; border: none; box-shadow: none; width: 100%; height: 100%; }
.hero-slide-art svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.28)); }

.hero-slide-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.hero-slide[data-align="left"] .hero-slide-overlay {
  background: linear-gradient(100deg, rgba(7,34,20,0.94) 0%, rgba(7,34,20,0.74) 38%, rgba(7,34,20,0.34) 64%, rgba(7,34,20,0.08) 86%);
}
.hero-slide[data-align="right"] .hero-slide-overlay {
  background: linear-gradient(260deg, rgba(8,32,46,0.94) 0%, rgba(8,32,46,0.74) 38%, rgba(8,32,46,0.34) 64%, rgba(8,32,46,0.08) 86%);
}
.hero-slide[data-align="center"] .hero-slide-overlay {
  background: radial-gradient(60% 78% at 50% 50%, rgba(6,26,16,0.88) 0%, rgba(6,26,16,0.68) 55%, rgba(6,26,16,0.5) 100%);
}
@media (max-width: 900px) {
  .hero-slide-art { width: 80%; opacity: 0.32; }
  .hero-slide[data-align="center"] .hero-slide-art { width: 70%; opacity: 0.28; }
  .hero-slide-overlay {
    background: linear-gradient(190deg, rgba(6,40,24,0.7) 0%, rgba(6,40,24,0.87) 55%, rgba(6,40,24,0.95) 100%) !important;
  }
}

.hero-slide-content { position: relative; z-index: 3; width: 100%; }
.hero-slide-inner { max-width: 600px; }
.hero-slide[data-align="right"] .hero-slide-inner { margin-left: auto; text-align: right; }
.hero-slide[data-align="right"] .hero-eyebrow { justify-content: flex-end; }
.hero-slide[data-align="right"] .hero-eyebrow::before { order: 2; }
.hero-slide[data-align="right"] .hero-actions { justify-content: flex-end; }
.hero-slide[data-align="center"] .hero-slide-inner { margin: 0 auto; text-align: center; max-width: 660px; }
.hero-slide[data-align="center"] .hero-eyebrow { justify-content: center; }
.hero-slide[data-align="center"] .hero-eyebrow::before { display: none; }
.hero-slide[data-align="center"] .hero-actions { justify-content: center; }
.hero-slide[data-align="center"] .hero-slide-desc { margin-left: auto; margin-right: auto; }

.hero-slide-heading {
  color: var(--white);
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  margin-bottom: 18px;
}
.hero-slide-desc {
  font-size: 1.05rem;
  color: #EAF2EC;
  max-width: 54ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* staggered per-slide text entrance, retriggers each time a slide activates */
.hero-slide .hero-eyebrow,
.hero-slide .hero-slide-heading,
.hero-slide .hero-slide-desc,
.hero-slide .hero-actions,
.hero-slide .hero-slide-stats {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.hero-slide.is-active .hero-eyebrow { transition-delay: 0.1s; }
.hero-slide.is-active .hero-slide-heading { transition-delay: 0.25s; }
.hero-slide.is-active .hero-slide-desc { transition-delay: 0.4s; }
.hero-slide.is-active .hero-actions { transition-delay: 0.55s; }
.hero-slide.is-active .hero-slide-stats { transition-delay: 0.7s; }
.hero-slide.is-active .hero-eyebrow,
.hero-slide.is-active .hero-slide-heading,
.hero-slide.is-active .hero-slide-desc,
.hero-slide.is-active .hero-actions,
.hero-slide.is-active .hero-slide-stats {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-stats {
  display: inline-flex;
  gap: 20px;
  margin-top: 4px;
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 20px 44px rgba(8,34,18,0.3);
}
.fc-item { text-align: left; margin-right: 20px; }
.fc-item:last-child { margin-right: 0; }
.fc-num { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--forest-dark); line-height: 1; }
.fc-label { font-size: 0.68rem; color: var(--ink-soft); margin-top: 4px; white-space: nowrap; }
.fc-div { width: 1px; background: var(--line-soft); }
@media (max-width: 480px) {
  .hero-slide-stats { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .fc-item { margin-right: 12px; margin-bottom: 4px; }
}

/* ---- Controls, indicator, pause, scroll cue ---- */
.hero-controls {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 26px;
  display: flex;
  gap: 10px;
}
.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); transform: translateY(-2px); }
.hero-arrow:active { transform: translateY(0) scale(0.94); }

.hero-indicator {
  position: absolute;
  z-index: 4;
  left: 24px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.hero-indicator-count { font-family: var(--font-display); font-size: 0.92rem; letter-spacing: 0.03em; min-width: 46px; }
.hero-progress-track { width: 110px; height: 3px; background: rgba(255,255,255,0.25); border-radius: 2px; overflow: hidden; }
.hero-progress-bar { height: 100%; width: 0%; background: var(--saffron); border-radius: 2px; }
.hero-progress-bar.is-animating { width: 100%; transition: width 6s linear; }
.hero-pause-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.hero-pause-btn:hover { background: rgba(255,255,255,0.3); }
@media (max-width: 640px) {
  .hero-progress-track { width: 64px; }
}
@media (max-width: 480px) {
  .hero-controls { right: 16px; bottom: 16px; }
  .hero-indicator { left: 16px; bottom: 16px; gap: 10px; }
  .hero-progress-track { display: none; }
}

.hero-scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.82);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero-scroll-cue i { animation: scrollBounce 1.8s ease-in-out infinite; }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 560px) { .hero-scroll-cue { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active .hero-slide-bg-inner { animation: none; }
  .hero-progress-bar.is-animating { transition: none; width: 0%; }
  .hero-scroll-cue i { animation: none; }
  .hero-slide-stats { transition: opacity 0.4s var(--ease); }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  border: 2px solid transparent;
}
.btn-primary { background: var(--saffron); color: var(--white); box-shadow: 0 4px 14px rgba(217,138,43,0.28); }
.btn-primary:hover { background: var(--saffron-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217,138,43,0.35); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-line { border-color: var(--forest); color: var(--forest); }
.btn-line:hover { background: var(--forest-tint); }
.btn-solid { background: var(--forest); color: var(--white); box-shadow: 0 4px 14px rgba(15,92,62,0.22); }
.btn-solid:hover { background: var(--forest-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,92,62,0.28); }



.page-hero {
  position: relative;
  background: linear-gradient(160deg, var(--forest-dark), var(--forest));
  color: var(--white);
  padding: 66px 0 56px;
  overflow: hidden;
}
.page-hero .hero-river { opacity: 0.28; }
.page-hero .breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: #BFDBCB;
  margin-bottom: 16px;
}
.page-hero .breadcrumb a:hover { color: var(--saffron); }
.page-hero h1 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 10px;
}
.page-hero p {
  position: relative;
  z-index: 2;
  color: #DCEAE0;
  max-width: 62ch;
  font-size: 1.02rem;
}

/* Entrance animation for every inner page's header â€” applies site-wide
   since every subpage shares this .page-hero markup. */
@keyframes pageHeroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-hero .breadcrumb,
.page-hero .hero-eyebrow,
.page-hero h1,
.page-hero p {
  animation: pageHeroIn 0.7s var(--ease) both;
}
.page-hero .breadcrumb { animation-delay: 0.05s; }
.page-hero .hero-eyebrow { animation-delay: 0.15s; }
.page-hero h1 { animation-delay: 0.25s; }
.page-hero p { animation-delay: 0.38s; }
@media (prefers-reduced-motion: reduce) {
  .page-hero .breadcrumb,
  .page-hero .hero-eyebrow,
  .page-hero h1,
  .page-hero p {
    animation: none;
  }
}

/* ==========================================================================
   SECTIONS / GENERIC
   ========================================================================== */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-deep { background: var(--forest-dark); color: var(--white); }
.section-deep h2, .section-deep h3 { color: var(--white); }
.section-deep .lede { color: rgba(255,255,255,0.82); }
.section-deep .section-kicker { color: var(--saffron); }
.section-deep .alumni-card {
  background: rgba(10, 20, 14, 0.42);
  border-color: rgba(255,255,255,0.16);
}
.section-deep .alumni-card:hover { border-color: rgba(255,255,255,0.32); box-shadow: 0 22px 44px rgba(0,0,0,0.28); }
.section-deep .alumni-card h3 { color: var(--white); }
.section-deep .alumni-card p { color: rgba(255,255,255,0.92); }
.section-deep .alumni-meta { color: var(--saffron); font-weight: 700; }
.section-deep .alumni-avatar { background: rgba(255,255,255,0.14); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.section-deep .btn-line { border-color: rgba(255,255,255,0.55); color: var(--white); }
.section-deep .btn-line:hover { background: rgba(255,255,255,0.12); }
.section-deep .carousel-arrow { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35); color: var(--white); }
.section-deep .carousel-arrow:hover { background: rgba(255,255,255,0.26); border-color: rgba(255,255,255,0.5); }
.section-deep .alumni-dot { background: rgba(255,255,255,0.3); }
.section-deep .alumni-dot.is-active { background: var(--saffron); }
.section-deep .alumni-dot:hover { background: var(--saffron); }
#alumni-teaser::before, #alumni-teaser::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
#alumni-teaser::before { width: 340px; height: 340px; background: rgba(169,128,63,0.22); top: -120px; left: -80px; }
#alumni-teaser::after { width: 300px; height: 300px; background: rgba(255,255,255,0.06); bottom: -140px; right: -60px; }
#alumni-teaser .container { position: relative; z-index: 1; }

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-kicker {
  color: var(--saffron-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  display: block;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center p { margin-left: auto; margin-right: auto; }

.lede { font-size: 1.08rem; color: var(--ink-soft); }

/* ---- Grids ---- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- Split layout ---- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.split.split-reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.split-reverse .split-visual { order: 2; }
@media (max-width: 900px) {
  .split, .split.split-reverse { grid-template-columns: 1fr; }
  .split.split-reverse .split-visual { order: 0; }
}

.visual-panel {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--forest-tint);
  border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 3.1;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-panel svg { width: 100%; height: 100%; }
.visual-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visual-panel--river { background: var(--river-tint); }
.visual-panel--saffron { background: var(--saffron-tint); }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,46,30,0.1);
  border-color: transparent;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest-tint);
  color: var(--forest);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 0; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--forest);
}
.card .card-link i { transition: transform 0.2s var(--ease); }
.card:hover .card-link i { transform: translateX(3px); }

/* ---- Stat cards ---- */
.stats-band {
  background: var(--forest-dark);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--saffron);
  font-weight: 600;
}
.stat-label { font-size: 0.88rem; color: #C4DBCC; margin-top: 6px; }

/* ---- Timeline ---- */
.timeline { position: relative; margin-left: 8px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--forest), var(--river));
}
.timeline-item { position: relative; padding: 0 0 40px 62px; }
.timeline-item:last-child { padding-bottom: 4px; }
.timeline-dot {
  position: absolute;
  left: 8px;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-year {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--river);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.timeline-item p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---- Steps ---- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--saffron-dark);
}
.step-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step-item p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.95rem; }

/* ---- Profile cards ---- */
.profile-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.profile-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,46,30,0.1); }
.profile-avatar {
  aspect-ratio: 1;
  background: var(--forest-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}
.profile-body { padding: 22px 20px; }
.profile-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.profile-role { color: var(--river); font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.profile-body p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---- House cards ---- */
.house-card {
  border-radius: var(--radius-md);
  padding: 30px 26px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.house-card h3 { color: var(--white); font-size: 1.3rem; }
.house-card p { color: rgba(255,255,255,0.92); font-size: 0.94rem; }
.house-ravi { background: linear-gradient(155deg, var(--house-ravi), #8E2A1D); }
.house-tawi { background: linear-gradient(155deg, var(--house-tawi), #A67514); }
.house-jhelum { background: linear-gradient(155deg, var(--house-jhelum), #0E2E42); }
.house-chenab { background: linear-gradient(155deg, var(--house-chenab), #124E30); }

/* ---- Quote block ---- */
.quote-block {
  border-left: 4px solid var(--saffron);
  padding: 6px 0 6px 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--forest-dark);
  margin: 28px 0;
}
.quote-block cite { display: block; font-style: normal; font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; }

/* ---- News cards ---- */
.news-card {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(15,46,30,0.12); }
.news-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--forest-tint), var(--saffron-tint));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-soft);
}
.news-media i {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(15,46,30,0.1);
}
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-date {
  font-size: 0.78rem;
  color: var(--saffron-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.news-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.news-body p { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
.news-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--forest-tint);
  color: var(--forest-dark);
  font-weight: 600;
}

/* ---- Alumni ---- */
.alumni-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.alumni-avatar {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--river-tint);
  color: var(--river);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
}
.alumni-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.alumni-meta { font-size: 0.82rem; color: var(--saffron-dark); font-weight: 600; margin-bottom: 10px; }
.alumni-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---- Gallery placeholders ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-tile {
  width: 100%;
  height: 100%;
  min-height: 200px;
  aspect-ratio: 4/3.2;
  border-radius: 16px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px dashed var(--forest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--forest);
  text-align: center;
  padding: 20px;
}
.gallery-tile i { font-size: 1.8rem; }
.gallery-tile span { font-size: 0.85rem; font-weight: 600; }
.gallery-tile small { color: var(--ink-soft); font-size: 0.76rem; }
.gallery-notice {
  background: var(--saffron-tint);
  border: 1px solid var(--saffron);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: var(--saffron-dark);
  font-size: 0.94rem;
  margin-bottom: 40px;
}

/* ---- Accordion ---- */
.accordion-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--forest-dark);
}
.accordion-trigger i { transition: transform 0.25s var(--ease); color: var(--saffron-dark); flex-shrink: 0; }
.accordion-item.is-open .accordion-trigger i { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.accordion-panel-inner { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.95rem; }
.accordion-panel-inner ul { padding-left: 20px; list-style: disc; margin-bottom: 10px; }
.accordion-panel-inner li { margin-bottom: 6px; }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
th { background: var(--forest-tint); color: var(--forest-dark); font-weight: 700; }
tr:last-child td { border-bottom: none; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--forest-tint);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item h3 { font-size: 0.98rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }
.contact-item a:hover { color: var(--forest); }
.map-panel {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  min-height: 340px;
}
.map-panel iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--river-dark), var(--river));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #D6E4EC; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER â€” premium, image-backed, glass-accented
   ========================================================================== */
.site-footer {
  position: relative;
  color: #CFE1D5;
  padding: 0;
  overflow: hidden;
  background-color: var(--forest-dark);
}
.footer-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: url('https://images.unsplash.com/photo-1759643740737-9ba5a2e62332?fm=jpg&q=60&w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.38;
  z-index: 0;
}
@media (max-width: 900px) {
  .footer-bg { background-attachment: scroll; }
}
.footer-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(175deg, rgba(6,26,16,0.88) 0%, rgba(11,46,29,0.9) 55%, rgba(6,26,16,0.95) 100%);
  z-index: 1;
}
.footer-glow-a, .footer-glow-b {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}
.footer-glow-a { width: 360px; height: 360px; background: rgba(242,147,43,0.14); top: -140px; left: -80px; }
.footer-glow-b { width: 320px; height: 320px; background: rgba(21,145,190,0.14); bottom: -120px; right: -60px; }
.footer-main { position: relative; z-index: 2; padding: 80px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; row-gap: 40px; } }

.footer-col-inner { height: 100%; }

.footer-brand { display: flex; align-items: center; margin-bottom: 18px; }
/* The logo lockup already carries the school name and year, so it stands
   alone here (no adjacent text label needed) â€” set on a white chip since
   it reads as dark text on a light ground, and the footer itself is dark. */
.footer-brand img {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}
.footer-brand span { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: var(--white); line-height: 1.25; }
.footer-desc { color: #B9D2C2; font-size: 0.92rem; margin-bottom: 18px; }
.footer-tagline {
  display: inline-block;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--saffron);
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 14px;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  animation: footerFloat 3.6s ease-in-out infinite;
}
.footer-social a:nth-child(2) { animation-delay: 0.4s; }
.footer-social a:nth-child(3) { animation-delay: 0.8s; }
.footer-social a:hover { background: var(--saffron); border-color: var(--saffron); transform: translateY(-3px); }
@keyframes footerFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .footer-social a { animation: none; }
}

.footer-col h4 {
  position: relative;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--saffron);
  transition: width 0.3s var(--ease);
}
.footer-col:hover h4::after { width: 52px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  position: relative;
  color: #B9D2C2;
  font-size: 0.92rem;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.footer-col a:hover { color: var(--saffron); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: #B9D2C2; }
.footer-contact a { color: #B9D2C2; transition: color 0.2s var(--ease); }
.footer-contact a:hover { color: var(--saffron); }
.footer-contact-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--saffron);
  flex-shrink: 0;
  font-size: 0.78rem;
}

.footer-bottom-bar {
  position: relative;
  z-index: 2;
  background: rgba(4, 18, 11, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  font-size: 0.82rem;
  color: #8FAE9B;
  flex-wrap: wrap;
}
.footer-bottom a { color: #8FAE9B; }
.footer-bottom a:hover { color: var(--saffron); }

/* ==========================================================================
   MISC UTILITIES
   ========================================================================== */
.tac { text-align: center; margin-left: auto; margin-right: auto; max-width: none; }
.mt-0 { margin-top: 0; }
/* Content is visible by default (no-JS / crawlers always see it in full).
   JS only ever ADDS "reveal-pending" as a progressive-enhancement step,
   then removes it again once the element scrolls into view. */
.reveal { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.reveal-pending { opacity: 0; transform: translateY(18px); }

.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest-dark);
}
.badge i { color: var(--saffron-dark); }

.list-check { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); }
.list-check i { color: var(--forest); margin-top: 4px; flex-shrink: 0; }

.two-col-text { columns: 2; column-gap: 40px; }
@media (max-width: 760px) { .two-col-text { columns: 1; } }
.two-col-text p { break-inside: avoid; }

.sidebar-page { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .sidebar-page { grid-template-columns: 1fr; } }
.page-toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 20px; }
.page-toc h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 12px; }
.page-toc a { display: block; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--ink); margin-bottom: 2px; }
.page-toc a:hover, .page-toc a.is-active { background: var(--forest-tint); color: var(--forest-dark); }

.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .principles-grid { grid-template-columns: 1fr; } }
.principle-item { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: var(--white); }
.principle-num { font-family: var(--font-display); color: var(--saffron-dark); font-size: 1.2rem; font-weight: 700; flex-shrink: 0; }
.principle-item p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }

/* ==========================================================================
   WELCOME â€” overlapping editorial composition
   ========================================================================== */
.welcome-overlap { padding-top: 100px; padding-bottom: 100px; }
.welcome-grid { display: flex; align-items: center; gap: 76px; flex-wrap: wrap; }
.welcome-visual { position: relative; flex: 1 1 380px; max-width: 440px; margin: 0 auto; padding: 28px; }
.welcome-visual-shape {
  position: relative;
  height: 400px;
  border-radius: 46% 54% 38% 62% / 50% 42% 58% 50%;
  background: linear-gradient(155deg, var(--forest-tint), var(--river-tint));
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(15, 46, 30, 0.14);
}
.welcome-visual-shape svg { width: 100%; height: 100%; }
.welcome-stat-float {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 20px 40px rgba(15, 46, 30, 0.18);
  border: 1px solid var(--line-soft);
  z-index: 2;
}
.welcome-stat-float-a { bottom: 6px; left: -4px; }
.welcome-stat-float-b { top: 6px; right: -4px; }
@media (max-width: 640px) {
  .welcome-visual { padding: 8px; }
  .welcome-visual-shape { height: 280px; }
  .welcome-stat-float { position: static; display: inline-block; margin: 12px 10px 0 0; }
}

/* ==========================================================================
   HISTORY â€” alternating center timeline
   ========================================================================== */
.timeline--center { position: relative; max-width: 920px; margin: 0 auto; }
.timeline--center::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--forest), var(--river));
  transform: translateX(-50%);
}
.timeline-row { position: relative; display: flex; justify-content: center; margin-bottom: 48px; }
.timeline-row:last-child { margin-bottom: 0; }
.timeline-row:nth-child(even) { flex-direction: row-reverse; }
.timeline-row .timeline-dot {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.timeline-card {
  width: 44%;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: 0 14px 34px rgba(15, 46, 30, 0.07);
}
.timeline-row:nth-child(odd) .timeline-card { margin-right: 6%; text-align: right; }
.timeline-row:nth-child(even) .timeline-card { margin-left: 6%; text-align: left; }
.timeline-card .timeline-year { display: inline-block; font-family: var(--font-display); color: var(--river); font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
.timeline-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.timeline-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
@media (max-width: 860px) {
  .timeline--center::before { left: 19px; transform: none; }
  .timeline-row, .timeline-row:nth-child(even) { flex-direction: row; justify-content: flex-start; }
  .timeline-card, .timeline-row:nth-child(odd) .timeline-card, .timeline-row:nth-child(even) .timeline-card {
    width: auto; margin: 0 0 0 56px; text-align: left;
  }
  .timeline-row .timeline-dot { left: 8px; transform: none; }
}

/* ==========================================================================
   ADMISSIONS â€” circular milestone infographic
   ========================================================================== */
.milestone-flow { position: relative; display: flex; justify-content: space-between; gap: 24px; padding: 56px 0 12px; }
.milestone-flow::before {
  content: '';
  position: absolute;
  top: 84px;
  left: 70px;
  right: 70px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 20px);
  z-index: 0;
}
.milestone { position: relative; z-index: 1; flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.milestone-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 16px;
  box-shadow: 0 16px 32px rgba(15, 46, 30, 0.2);
  border: 4px solid var(--cream);
}
.milestone-c1 { background: linear-gradient(155deg, var(--forest), var(--forest-dark)); }
.milestone-c2 { background: linear-gradient(155deg, var(--river), var(--river-dark)); }
.milestone-c3 { background: linear-gradient(155deg, var(--saffron), var(--saffron-dark)); }
.milestone-c4 { background: linear-gradient(155deg, var(--forest-dark), var(--river-dark)); }
.milestone-num { font-family: var(--font-display); font-weight: 700; color: var(--saffron-dark); font-size: 0.85rem; margin-bottom: 6px; }
.milestone h3 { font-size: 1.02rem; margin-bottom: 8px; }
.milestone p { font-size: 0.88rem; color: var(--ink-soft); max-width: 220px; margin: 0; }
.admissions-wave { margin: 40px -8px -20px; opacity: 0.7; }
.admissions-wave svg { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .milestone-flow { flex-direction: column; gap: 30px; padding-top: 8px; }
  .milestone-flow::before { top: 0; bottom: 0; left: 39px; width: 3px; height: auto; right: auto; background: repeating-linear-gradient(180deg, var(--line) 0 10px, transparent 10px 20px); }
  .milestone { flex-direction: row; text-align: left; align-items: flex-start; gap: 18px; }
  .milestone-circle { margin-bottom: 0; flex-shrink: 0; width: 60px; height: 60px; font-size: 1.15rem; }
  .milestone p { max-width: none; }
}

/* ==========================================================================
   HOUSE SYSTEM â€” interactive selector
   ========================================================================== */
.house-selector {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 44px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 46, 30, 0.08);
}
.house-selector::before,
.house-selector::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}
.house-selector::before {
  width: 260px; height: 260px;
  background: rgba(169, 128, 63, 0.22);
  top: -100px; right: -60px;
}
.house-selector::after {
  width: 220px; height: 220px;
  background: rgba(14, 74, 66, 0.18);
  bottom: -90px; left: -60px;
}
.house-tabs, .house-panels { position: relative; z-index: 1; }
.house-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
@media (max-width: 640px) { .house-selector { padding: 26px 20px; border-radius: 20px; } }
.house-tab {
  position: relative;
  z-index: 1;
  padding: 12px 22px;
  border-radius: 30px;
  border: 2px solid var(--line-soft);
  background: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}
.house-tab:hover { transform: translateY(-2px); }
.house-tab:active { transform: translateY(0) scale(0.96); }
.house-tab-ravi:hover { border-color: var(--house-ravi); color: var(--house-ravi); }
.house-tab-tawi:hover { border-color: var(--house-tawi); color: var(--house-tawi); }
.house-tab-jhelum:hover { border-color: var(--house-jhelum); color: var(--house-jhelum); }
.house-tab-chenab:hover { border-color: var(--house-chenab); color: var(--house-chenab); }
.house-tab-ravi.is-active { background: var(--house-ravi); border-color: var(--house-ravi); color: var(--white); }
.house-tab-tawi.is-active { background: var(--house-tawi); border-color: var(--house-tawi); color: var(--white); }
.house-tab-jhelum.is-active { background: var(--house-jhelum); border-color: var(--house-jhelum); color: var(--white); }
.house-tab-chenab.is-active { background: var(--house-chenab); border-color: var(--house-chenab); color: var(--white); }
.house-tab.is-active { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18); transform: translateY(-1px); }
.house-panels { position: relative; }
.house-panel { display: none; }
.house-panel.is-active { display: block; animation: housePanelIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes housePanelIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.house-panel.is-active .house-icon { animation: houseIconIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both; }
@keyframes houseIconIn {
  from { opacity: 0; transform: scale(0.5) rotate(-12deg); }
  to { opacity: 0.9; transform: scale(1) rotate(0deg); }
}
.house-panel.is-active .house-panel-body h3,
.house-panel.is-active .house-panel-body p,
.house-panel.is-active .house-panel-tags {
  animation: houseFadeUp 0.5s var(--ease) both;
}
.house-panel.is-active .house-panel-body h3 { animation-delay: 0.08s; }
.house-panel.is-active .house-panel-body p { animation-delay: 0.16s; }
.house-panel.is-active .house-panel-tags { animation-delay: 0.24s; }
@keyframes houseFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.house-panel-tags span { transition: transform 0.2s var(--ease); }
.house-panel-tags span:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .house-panel.is-active,
  .house-panel.is-active .house-icon,
  .house-panel.is-active .house-panel-body h3,
  .house-panel.is-active .house-panel-body p,
  .house-panel.is-active .house-panel-tags {
    animation: none;
  }
}
.house-panel-inner {
  border-radius: var(--radius-md);
  padding: 44px;
  color: var(--white);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.house-panel-inner .house-icon { font-size: 2.6rem; opacity: 0.9; }
.house-panel-inner h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 10px; }
.house-panel-inner p { color: rgba(255,255,255,0.94); margin: 0; max-width: 62ch; }
.house-panel-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.house-panel-tags span { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35); border-radius: 20px; padding: 5px 14px; font-size: 0.78rem; font-weight: 600; color: var(--white); }
@media (max-width: 560px) {
  .house-panel-inner { grid-template-columns: 1fr; padding: 30px; text-align: center; }
  .house-panel-inner .house-icon { justify-self: center; }
  .house-panel-tags { justify-content: center; }
}

/* ==========================================================================
   FINAL CTA â€” curved diagonal boundary + decorative blobs
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
  margin: 40px 0;
}
.cta-band::before, .cta-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.cta-band::before { width: 320px; height: 320px; top: -140px; left: -80px; }
.cta-band::after { width: 220px; height: 220px; bottom: -110px; right: -40px; background: rgba(242,147,43,0.16); }
.cta-band .container { position: relative; z-index: 2; }
@media (max-width: 640px) {
  .cta-band { clip-path: polygon(0 3%, 100% 0%, 100% 97%, 0% 100%); margin: 24px 0; }
}

/* ---- Back to top ---- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 10px 26px rgba(15, 46, 30, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s, background 0.2s var(--ease);
  z-index: 150;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--forest-dark); }
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.2s, visibility 0.2s; }
}
/* ==========================================================================
   PARALLAX BANNER (homepage)
   ========================================================================== */
.parallax-banner {
  position: relative;
  min-height: 420px;
  background-image: linear-gradient(160deg, rgba(7,34,20,0.78) 0%, rgba(7,34,20,0.62) 55%, rgba(7,34,20,0.82) 100%),  url('https://lh3.googleusercontent.com/gps-cs-s/AHRPTWn0w8tEH_X8L_lCogLmF5dDXXMleKCnc7ACzpwG6-8H6JxnGQrWZk_q9qn_R4rVDogr20RfohyYYsx7Edag0d1WtRR-cSq0ZduexWVf2oesNc0fM65be_BdQuoj6sB8teTb7HHa=s680-w680-h510-rw');

background-size: cover;
background-position: center;
background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 90px 24px;
}

.parallax-banner--tall { padding: 90px 0 100px; }
@media (max-width: 900px) {
  .parallax-banner { background-attachment: scroll; min-height: 380px; }
}
.parallax-banner .container { position: relative; z-index: 1; }
.parallax-banner-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.parallax-banner h2 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 16px; }
.parallax-banner p { color: rgba(255,255,255,0.9); font-size: 1.08rem; margin: 0 auto 30px; }
.parallax-banner .hero-eyebrow { color: var(--saffron); }

.parallax-cards { margin: 46px 0 56px; }
.parallax-cards .card {
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.22);
  text-align: left;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.parallax-cards .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
}
.parallax-cards .card-icon { background: rgba(255,255,255,0.16); color: var(--saffron); }
.parallax-cards .card h3 { color: var(--white); }
.parallax-cards .card p { color: rgba(255,255,255,0.86); }

.parallax-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.18); }
.parallax-stats .stat-num { color: var(--saffron); }
.parallax-stats .stat-label { color: rgba(255,255,255,0.82); }

/* ==========================================================================
   HOMEPAGE GALLERY PREVIEW CAROUSEL
   ========================================================================== */
.home-gallery-carousel-wrap { position: relative; overflow: hidden; padding: 6px 2px 2px; }
.home-gallery-track {
  display: flex;
  gap: 20px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.home-gallery-slide { flex: 0 0 calc(33.333% - 14px); min-width: 0; }
@media (max-width: 980px) { .home-gallery-slide { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 560px) { .home-gallery-slide { flex: 0 0 84%; } }
@media (prefers-reduced-motion: reduce) { .home-gallery-track { transition: none; } }
.home-gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3.1;
  box-shadow: 0 10px 28px rgba(15,46,30,0.1);
}
.home-gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease);
}
.home-gallery-item:hover img { transform: scale(1.08); }
.home-gallery-item::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(0deg, rgba(7,34,20,0.6) 0%, rgba(7,34,20,0) 45%);
  pointer-events: none;
}
.home-gallery-caption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  color: var(--white); font-weight: 600; font-size: 0.95rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
@media (prefers-reduced-motion: reduce) {
  .home-gallery-item img, .home-gallery-item:hover img { transition: none; transform: none; }
}

/* ==========================================================================
   NEWS & GALLERY â€” carousels (reuse alumni track/dot mechanics)
   ========================================================================== */
.news-carousel-wrap { position: relative; overflow: hidden; padding: 6px 2px 2px; }
.news-track {
  display: flex;
  gap: 24px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.news-slide { flex: 0 0 calc(33.333% - 16px); min-width: 0; display: flex; }
@media (max-width: 980px) { .news-slide { flex: 0 0 calc(50% - 12px); } }
@media (max-width: 640px) { .news-slide { flex: 0 0 100%; } }
@media (prefers-reduced-motion: reduce) { .news-track { transition: none; } }

.gallery-carousel-wrap { position: relative; overflow: hidden; padding: 6px 2px 2px; }
.gallery-track {
  display: flex;
  gap: 20px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.gallery-slide { flex: 0 0 calc(25% - 15px); min-width: 0; }
@media (max-width: 980px) { .gallery-slide { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 560px) { .gallery-slide { flex: 0 0 84%; } }
@media (prefers-reduced-motion: reduce) { .gallery-track { transition: none; } }

/* ==========================================================================
   ALUMNI â€” modern animated carousel
   ========================================================================== */
.alumni-carousel-wrap { position: relative; overflow: hidden; padding: 6px 2px 2px; }
.alumni-track {
  display: flex;
  gap: 24px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.alumni-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
}
@media (max-width: 980px) {
  .alumni-slide { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 640px) {
  .alumni-slide { flex: 0 0 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .alumni-track { transition: none; }
}

.alumni-card {
  height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.alumni-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(15, 46, 30, 0.14); border-color: transparent; }
.alumni-avatar { transition: transform 0.3s var(--ease); }
.alumni-card:hover .alumni-avatar { transform: scale(1.08); }

.alumni-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.alumni-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), width 0.25s var(--ease);
}
.alumni-dot.is-active { background: var(--forest); width: 24px; border-radius: 5px; }
.alumni-dot:hover { background: var(--saffron); }

.alumni-carousel-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}
.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-soft);
  color: var(--forest-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.carousel-arrow:hover { background: var(--forest-tint); border-color: var(--forest); transform: translateY(-2px); }

/* ==========================================================================
   FACILITIES â€” large photographic cards
   ========================================================================== */
.facility-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .facility-photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .facility-photo-grid { grid-template-columns: 1fr; } }

.facility-photo-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 30px rgba(15, 46, 30, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.facility-photo-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(15, 46, 30, 0.16); }
.facility-photo-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--forest-tint); }
.facility-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.facility-photo-card:hover .facility-photo-media img { transform: scale(1.08); }
.facility-photo-media::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(0deg, rgba(7,34,20,0.55) 0%, rgba(7,34,20,0) 45%);
  pointer-events: none;
}
.facility-photo-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.facility-photo-body { padding: 20px 22px 22px; }
.facility-photo-body p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 14px; }
.facility-photo-explore {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--forest);
}
.facility-photo-explore i { transition: transform 0.2s var(--ease); font-size: 0.78rem; }
.facility-photo-card:hover .facility-photo-explore i { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .facility-photo-card, .facility-photo-media img, .facility-photo-explore i { transition: none; }
  .facility-photo-card:hover { transform: none; }
  .facility-photo-card:hover .facility-photo-media img { transform: none; }
}

/* ==========================================================================
   LIGHTBOX â€” for gallery images
   ========================================================================== */
.lightbox-trigger { cursor: zoom-in; position: relative; display: block; }
.lightbox-trigger::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(6,26,16,0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
}
.lightbox-trigger:hover::after, .lightbox-trigger:focus-visible::after { opacity: 1; transform: scale(1); }

.lightbox-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 500;
  background: rgba(4, 14, 9, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.lightbox-figure {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}
.lightbox-overlay.is-open .lightbox-figure { transform: scale(1); }
.lightbox-figure img {
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-caption {
  text-align: center;
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  margin-top: 14px;
}
.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s var(--ease);
}
.lightbox-close:hover { transform: scale(1.08); }
@media (max-width: 640px) {
  .lightbox-close { top: -50px; right: 0; }
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.28); }
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }
@media (max-width: 900px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
.lightbox-count {
  position: absolute;
  top: -18px;
  left: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-family: var(--font-display);
}
@media (prefers-reduced-motion: reduce) {
  .lightbox-overlay, .lightbox-figure, .lightbox-close, .lightbox-nav { transition: none; }
}

/* ==========================================================================
   VIDEO GALLERY
   ========================================================================== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
.video-tile {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 14px;
  background: var(--forest-tint);
  border: 1px dashed var(--forest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--forest);
  text-align: center;
  padding: 20px;
}
.video-tile i { font-size: 1.9rem; }
.video-tile span { font-size: 0.9rem; font-weight: 700; }
.video-tile small { color: var(--ink-soft); font-size: 0.78rem; }
.video-play-badge {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(15,46,30,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--forest);
  font-size: 1.3rem;
}

/* ==========================================================================
   YOUTUBE VIDEO CARDS â€” click-to-play facade. Only a thumbnail image loads
   up front; the real YouTube iframe is created on click, so six embeds
   never cost six iframe loads on page visit.
   ========================================================================== */
.yt-video {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 26px rgba(15, 46, 30, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.yt-video:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(15, 46, 30, 0.14); }
.yt-video-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0;
  padding: 0;
  border: 0;
  background: linear-gradient(135deg, var(--forest-tint), var(--river-tint));
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
}
.yt-video-media .yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yt-video-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.yt-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.72);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.yt-video-media:hover .yt-play-icon { background: #FF0000; transform: translate(-50%, -50%) scale(1.08); }
.yt-placeholder-badge {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--forest-tint);
}
.yt-placeholder-badge i { font-size: 1.5rem; color: #FF0000; }
.yt-video.is-placeholder .yt-play-icon,
.yt-video.is-placeholder .yt-thumb { display: none; }
.yt-video.is-placeholder .yt-placeholder-badge { display: flex; }
.yt-video.is-placeholder .yt-video-media { cursor: default; }
.yt-video-body { padding: 14px 16px 16px; }
.yt-video-body h3 { font-size: 0.98rem; margin: 0; color: var(--forest-dark); }
.section-deep .yt-video-body h3 { color: var(--forest-dark); }

/* ---- Masonry gallery (CSS columns) ---- */
.masonry-gallery { column-count: 3; column-gap: 20px; }
@media (max-width: 900px) { .masonry-gallery { column-count: 2; } }
@media (max-width: 560px) { .masonry-gallery { column-count: 1; } }
.masonry-item {
  display: block;
  position: relative;
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15,46,30,0.1);
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease);
}
.masonry-item:hover img { transform: scale(1.06); }
.masonry-item::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(0deg, rgba(7,34,20,0.6) 0%, rgba(7,34,20,0) 45%);
  z-index: 1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .masonry-item img, .masonry-item:hover img { transition: none; transform: none; }
}
/* =========================================================
   PHOTO GALLERY PAGE
   ========================================================= */

.gallery-section {
    padding: 70px 0 65px;
    overflow: hidden;
}


/* =========================================================
   GALLERY GRID
   ========================================================= */

.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   GALLERY ITEM
   ========================================================= */

.masonry-item {
    position: relative;
    display: block;
    width: 100%;
    height: 260px;
    margin: 0;
    padding: 0;
    overflow: hidden;

    background: #f1f3f2;
    border-radius: 18px;

    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);

    cursor: zoom-in;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


/* =========================================================
   IMAGE
   ========================================================= */

.masonry-item img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    object-fit: cover;
    object-position: center center;

    opacity: 1 !important;
    visibility: visible !important;

    transform: scale(1);

    transition:
        transform 0.45s ease,
        opacity 0.3s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.masonry-item:hover {
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.13);

    transform: translateY(-3px) !important;
}


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


/* =========================================================
   DISABLE GLOBAL REVEAL ANIMATION
   ========================================================= */

.masonry-item.reveal,
.masonry-item.reveal.active,
.masonry-item.reveal.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}


/* =========================================================
   IMAGE LOAD ERROR
   ========================================================= */

.masonry-item.image-load-error {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f4f4;
}


.masonry-item.image-load-error::after {
    content: "Image unavailable";

    color: #777;

    font-size: 14px;
    font-weight: 500;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.gallery-pagination {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    width: 100%;

    margin: 35px auto 0;
    padding: 0;

    text-align: center;
}


/* =========================================================
   PAGINATION LINKS + SPANS
   ========================================================= */

.gallery-pagination a,
.gallery-pagination > span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    box-sizing: border-box;

    padding: 0 13px;

    border: 1px solid #e1e5e9;
    border-radius: 10px;

    background: #ffffff;

    color: #17212b;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    line-height: 1;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.gallery-pagination a:hover {
    background: #F2932B;
    border-color: #F2932B;

    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   ACTIVE PAGE
   ========================================================= */

.gallery-pagination .active {
    background: #17863C;
    border-color: #17863C;

    color: #ffffff;

    cursor: default;
}


/* =========================================================
   DISABLED PREVIOUS / NEXT
   ========================================================= */

.gallery-pagination .disabled {
    background: #f8f8f8;

    border-color: #e7e7e7;

    color: #b5b5b5;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   PREVIOUS / NEXT
   ========================================================= */

.gallery-pagination .prev,
.gallery-pagination .next {
    min-width: auto;

    padding-left: 15px;
    padding-right: 15px;

    gap: 8px;
}


/* =========================================================
   PAGE NUMBER
   ========================================================= */

.gallery-pagination .active,
.gallery-pagination a:not(.prev):not(.next) {
    min-width: 42px;

    padding-left: 12px;
    padding-right: 12px;
}


/* =========================================================
   DOTS
   ========================================================= */

.gallery-pagination .dots {
    min-width: 28px;

    padding: 0;

    border-color: transparent;

    background: transparent;

    color: #777;

    cursor: default;
}


/* =========================================================
   PAGINATION ICONS
   ========================================================= */

.gallery-pagination i {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin: 0;

    font-size: 13px;

    line-height: 1;

    letter-spacing: normal;
}


/* =========================================================
   PAGINATION TEXT
   ========================================================= */

.gallery-pagination .pagination-text {
    display: inline-block;

    line-height: 1;
}


/* =========================================================
   PAGINATION INFORMATION
   ========================================================= */

.gallery-pagination-info {
    display: block;

    width: 100%;

    margin: 13px 0 0;

    padding: 0;

    text-align: center;

    color: #5f6368;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.5;
}


/* =========================================================
   EMPTY GALLERY MESSAGE
   ========================================================= */

.gallery-notice {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;

    margin: 30px 0;

    padding: 20px 24px;

    box-sizing: border-box;

    border: 1px solid #f0d7b0;
    border-radius: 14px;

    background: #fff8ed;

    color: #6d522d;

    text-align: center;

    font-size: 15px;
}


/* =========================================================
   VIDEO BUTTON SECTION
   ========================================================= */

.gallery-section + .section-alt {
    padding: 55px 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .gallery-section {
        padding: 55px 0 55px;
    }


    .masonry-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px;
    }


    .masonry-item {
        height: 240px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .gallery-section {
        padding: 45px 0 45px;
    }


    .masonry-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 15px;
    }


    .masonry-item {
        height: 210px;

        border-radius: 14px;
    }


    .gallery-pagination {
        margin-top: 28px;

        gap: 6px;
    }


    .gallery-pagination a,
    .gallery-pagination > span {
        min-width: 40px;
        height: 40px;

        padding-left: 10px;
        padding-right: 10px;

        border-radius: 9px;

        font-size: 14px;
    }


    .gallery-pagination .prev,
    .gallery-pagination .next {
        padding-left: 12px;
        padding-right: 12px;
    }


    .gallery-pagination-info {
        font-size: 14px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .masonry-gallery {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .masonry-item {
        height: 235px;

        border-radius: 15px;
    }


    .gallery-pagination {
        gap: 5px;
    }


    .gallery-pagination .pagination-text {
        display: none;
    }


    .gallery-pagination .prev,
    .gallery-pagination .next {
        min-width: 40px;

        padding: 0;
    }


    .gallery-pagination .prev i,
    .gallery-pagination .next i {
        font-size: 14px;
    }

}
/* =========================================
   FULL SCREEN / FULL WIDTH ACADEMICS
   ========================================= */

.academics-full-width {
    width: 100%;
    max-width: 100%;
    text-align:justify;
}


/* Main container */

.academics-full-width .container {
    width: 100%;
    max-width: 100%;
    padding-left: 44px;
    padding-right: 44px;
    box-sizing: border-box;
}


/* Section heading */

.academics-full-width .section-head {
    width: 100%;
    max-width: 100%;
}


/* Curriculum description */

.academics-full-width .section-head .lede {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}


/* Full 12-column grid */

.academics-full-width .grid-12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 24px;
}


/* Full width card */

.academics-full-width .grid-12 > * {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}


/* Full width card content */

.academics-full-width .curriculum-card {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none !important;
}


/* Paragraphs */

.academics-full-width .curriculum-card p {
    width: 100%;
    max-width: none;
    line-height: 1.8;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .academics-full-width .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .academics-full-width .grid-12 {
        grid-template-columns: 1fr;
    }

    .academics-full-width .grid-12 > * {
        grid-column: 1 / -1;
    }

    .academics-full-width .section-head .lede {
        width: 100%;
    }

    .academics-full-width .curriculum-card p {
        text-align: left;
    }

}
/* =========================================
   ADMISSION ENQUIRY FORM
   ========================================= */

.admission-section {
    padding: 70px 0 90px;
}


/* FORM CARD */

.admission-form-card {
    width: 100%;
    max-width: 1050px !important;
    margin: 0 auto !important;
    padding: 40px !important;
    box-sizing: border-box;
    border-radius: 20px;
}


/* GRID */

.admission-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
    width: 100%;
}


/* FORM ROW */

.admission-form-grid .admin-form-row {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


/* FULL WIDTH */

.admission-full {
    grid-column: 1 / -1;
}


/* LABEL */

.admission-form-card .admin-form-row label {
    display: block;
    margin-bottom: 8px;
    color: #173b2d;
    font-size: 15px;
    font-weight: 600;
}


.required {
    color: #c0392b;
}


/* INPUTS */

.admission-input,
.admission-select,
.admission-textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    border: 1px solid #d7ddd9;
    border-radius: 10px;
    background: #ffffff;
    color: #26352f;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease,
                box-shadow .2s ease;
}


/* TEXT INPUT */

.admission-input {
    height: 50px;
    padding: 0 15px;
}


/* DROPDOWN */

.admission-select {
    height: 50px;
    padding: 0 14px;
    cursor: pointer;
}


/* TEXTAREA */

.admission-textarea {
    min-height: 140px;
    padding: 14px 15px;
    line-height: 1.6;
    resize: vertical;
}


/* FOCUS */

.admission-input:focus,
.admission-select:focus,
.admission-textarea:focus {
    border-color: #0d8b45;
    box-shadow: 0 0 0 3px rgba(13, 139, 69, .10);
}


/* VALIDATION */

.admission-form-card .field-validation-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #c0392b;
}


/* SUBMIT AREA */

.admission-submit-area {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}


/* SUBMIT BUTTON */

.admission-submit {
    min-width: 190px;
    min-height: 50px;
    padding: 12px 28px !important;
    border-radius: 10px !important;
    font-weight: 700;
}


/* VALIDATION SUMMARY */

.admission-validation-summary {
    margin-top: 15px;
}


/* SUCCESS */

.admission-notice {
    width: 100%;
    max-width: 1050px !important;
    margin: 0 auto 25px !important;
    box-sizing: border-box;
}


/* ERROR */

.admission-error {
    border-color: #c0392b !important;
    background: #fcebe9 !important;
    color: #96291d !important;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .admission-section {
        padding: 45px 0 60px;
    }

    .admission-form-card {
        padding: 24px 20px !important;
        border-radius: 16px;
    }

    .admission-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admission-full {
        grid-column: auto;
    }

    .admission-submit-area {
        display: block;
    }

    .admission-submit {
        width: 100%;
    }

}