/* =========================================================
   The International School of KSAFH (BIST) — Stylesheet
   ========================================================= */

:root {
  --navy: #07294d;
  --navy-2: #0a3d62;
  --blue: #1463a0;
  --green: #2e8b57;
  --green-2: #27ae60;
  --gold: #c9a227;
  --gold-2: #d4af37;
  --sand: #f3ede1;
  --ink: #1b2733;
  --muted: #5b6b7b;
  --line: #e6e9ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 45px -22px rgba(7, 41, 77, 0.45);
  --shadow-sm: 0 8px 24px -14px rgba(7, 41, 77, 0.4);
  --container: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --sidebar-w: 272px;
  --topbar-h: 38px;
  --topheader-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--navy); box-shadow: 0 10px 25px -12px rgba(201,162,39,0.8); }
.btn--primary:hover { transform: translateY(-2px); background: var(--gold-2); }
.btn--ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn--small { padding: 9px 18px; background: var(--green); color: #fff; font-size: 0.88rem; }
.btn--small:hover { background: var(--green-2); }
.btn--block { width: 100%; }

/* ---------- Sidebar layout ---------- */
body.has-sidebar {
  padding-left: var(--sidebar-w);
  padding-top: var(--topbar-h);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--line);
  box-shadow: 4px 0 24px rgba(7, 41, 77, 0.06);
  transition: transform 0.3s ease;
}

.sidebar__brand {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.sidebar__brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar__logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(201, 162, 39, 0.35);
}

.sidebar__brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.sidebar__brand-text strong {
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}

.sidebar__brand-text small {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3;
}

.sidebar__nav::-webkit-scrollbar { width: 4px; }
.sidebar__nav::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}

.sidebar__link:hover {
  background: rgba(7, 41, 77, 0.06);
  color: var(--navy);
}

.sidebar__link.active {
  background: linear-gradient(135deg, rgba(7, 41, 77, 0.1), rgba(46, 139, 87, 0.08));
  color: var(--navy);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--gold);
}

.sidebar__icon {
  width: 22px;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
  opacity: 0.85;
}

.sidebar__divider {
  height: 1px;
  background: var(--line);
  margin: 10px 8px;
}

.sidebar__group-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  padding: 4px 12px 6px;
}

.sidebar__footer {
  padding: 14px 14px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-soft);
}

.sidebar__cta {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
  transition: transform 0.2s;
}

.sidebar__cta:hover { transform: translateY(-2px); }

.sidebar__portal {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px;
  transition: color 0.2s;
}

.sidebar__portal:hover { color: var(--navy); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 29, 54, 0.5);
  z-index: 85;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.open { display: block; }

/* Top bar — spans main column only */
body.has-sidebar .topbar {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  z-index: 70;
}

body.has-sidebar .topbar__inner {
  max-width: none;
  padding: 0 24px;
}

/* Compact top header */
.topheader {
  position: sticky;
  top: var(--topbar-h);
  z-index: 60;
  display: none;
  align-items: center;
  gap: 14px;
  min-height: var(--topheader-h);
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topheader.scrolled { box-shadow: var(--shadow-sm); }

.topheader__menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.topheader__menu span:first-child,
.topheader__menu span:last-child {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.topheader__menu-label {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
}

.topheader__brand {
  display: none;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.topheader__brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.topheader__brand span {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topheader__actions { margin-left: auto; flex-shrink: 0; }

/* Legacy nav — hidden */
.nav { display: none !important; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__contacts a { transition: color 0.2s; }
.topbar__contacts a:hover { color: var(--gold-2); }
.topbar .ico { color: var(--gold-2); margin-right: 4px; }
.topbar__meta { display: flex; gap: 10px; opacity: 0.8; }
.topbar__meta .dot { color: var(--gold-2); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__seal { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 1.02rem; color: var(--navy); letter-spacing: 0.2px; }
.brand__text small { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 0.92rem; font-weight: 500; color: var(--ink); position: relative; transition: color 0.2s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold); transition: width 0.25s ease;
}
.nav__links a:not(.btn):hover { color: var(--navy); }
.nav__links a:not(.btn):hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: 0.3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(46,139,87,0.45), transparent 60%),
    linear-gradient(135deg, #062138 0%, #07294d 45%, #0a3d62 100%);
  overflow: hidden;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 15% 110%, rgba(201,162,39,0.25), transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; padding: 92px 24px 96px; max-width: 880px; }
.hero__badge {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-2);
  border: 1px solid rgba(201,162,39,0.5); padding: 7px 16px; border-radius: 999px;
  background: rgba(201,162,39,0.08);
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.08;
  margin: 22px 0 12px;
  font-weight: 700;
}
.hero__title span {
  display: block; font-family: var(--sans); font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 500; color: rgba(255,255,255,0.8); letter-spacing: 0.5px; margin-top: 14px;
}
.hero__tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  color: var(--gold-2); margin: 6px 0 18px;
}
.hero__lead { font-size: 1.06rem; color: rgba(255,255,255,0.86); max-width: 660px; }
.hero__lead em { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 38px; }

.hero__accred { display: flex; gap: 14px; flex-wrap: wrap; }
.accred {
  display: flex; flex-direction: column; padding: 12px 20px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm); backdrop-filter: blur(4px); min-width: 150px;
}
.accred strong { color: #fff; font-size: 0.98rem; }
.accred span { color: rgba(255,255,255,0.65); font-size: 0.8rem; }

/* ---------- Strip ---------- */
.strip { background: var(--sand); border-bottom: 1px solid var(--line); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item {
  text-align: center; padding: 30px 16px; border-right: 1px solid rgba(7,41,77,0.08);
  display: flex; flex-direction: column; gap: 4px;
}
.strip__item:last-child { border-right: 0; }
.strip__num { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--navy); }
.strip__label { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.4px; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section--tint { background: var(--bg-soft); }
.section--dark { background: linear-gradient(160deg, #07294d, #0a3d62); color: #fff; }
.section--dark p { color: rgba(255,255,255,0.82); }

.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold-2); }
.section__title { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.15; margin: 0 0 18px; color: inherit; font-weight: 700; }
.section--dark .section__title, .section--dark .eyebrow { color: #fff; }
.section--dark .eyebrow--light { color: var(--gold-2); }
.section__head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section__sub { font-size: 1.05rem; color: var(--muted); }
.section--dark .section__sub { color: rgba(255,255,255,0.78); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }

/* ticks */
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); font-weight: 500; }
.ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; background: var(--green); color: #fff; border-radius: 50%;
  font-size: 11px; display: grid; place-items: center;
}
.section--dark .ticks li { color: rgba(255,255,255,0.9); }

/* about cards */
.about__cards { display: grid; gap: 18px; }
.vcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vcard__icon { font-size: 1.7rem; display: inline-block; margin-bottom: 6px; }
.vcard h3 { margin: 4px 0 8px; color: var(--navy); font-size: 1.15rem; }
.vcard p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* vision / mission */
.vm__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px; box-shadow: var(--shadow-sm); height: 100%;
}
.vm__tag {
  display: inline-block; background: var(--navy); color: #fff; padding: 6px 18px;
  border-radius: 999px; font-family: var(--sans); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.vm__tag--green { background: var(--green); }
.vm__panel h3 { margin: 0 0 18px; }
.vm__panel p { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chips span {
  background: var(--sand); color: var(--navy); font-size: 0.85rem; font-weight: 500;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(201,162,39,0.25);
}
.chips--lg span { font-size: 0.92rem; padding: 9px 16px; }

/* director message */
.message__photo img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  object-fit: cover; aspect-ratio: 4 / 4.4; object-position: top center;
}
.message__quote {
  font-family: var(--serif); font-size: 1.4rem; font-style: italic; line-height: 1.4;
  color: var(--navy); border-left: 3px solid var(--gold); padding-left: 20px; margin: 0 0 18px;
}
.message__sign { margin-top: 22px; display: flex; flex-direction: column; }
.message__sign strong { color: var(--navy); font-size: 1.05rem; }
.message__sign span { color: var(--green); font-size: 0.9rem; font-weight: 600; }

/* journey */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stage {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 28px; transition: transform 0.25s ease, background 0.25s ease;
  position: relative; overflow: hidden;
}
.stage::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), var(--green)); }
.stage:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.stage__key {
  display: inline-block; font-weight: 800; font-size: 0.85rem; letter-spacing: 1px;
  color: var(--navy); background: var(--gold-2); padding: 5px 12px; border-radius: 8px; margin-bottom: 12px;
}
.stage h3 { margin: 0 0 8px; color: #fff; font-size: 1.2rem; }
.stage p { margin: 0; color: rgba(255,255,255,0.78); font-size: 0.95rem; }

.pathways { margin-top: 60px; }
.pathways__title { text-align: center; font-family: var(--serif); font-size: 1.7rem; color: #fff; margin: 0 0 30px; }
.pathways__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.path {
  background: #fff; border-radius: var(--radius); padding: 26px 22px; text-align: center;
  box-shadow: var(--shadow); transition: transform 0.25s ease;
}
.path:hover { transform: translateY(-5px); }
.path__icon { font-size: 1.9rem; display: block; margin-bottom: 10px; }
.path h4 { margin: 0 0 6px; color: var(--navy); font-size: 1.05rem; }
.path p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* approach */
.approach__models { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 44px; }
.model {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--green);
  padding: 12px 20px; border-radius: var(--radius-sm); font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm); font-size: 0.95rem;
}
.assess { align-items: stretch; gap: 24px; }
.assess__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm);
}
.assess__card h3 { margin: 0 0 14px; color: var(--navy); font-size: 1.2rem; }
.assess__card .ticks { grid-template-columns: 1fr; }
.approach__note { text-align: center; margin-top: 34px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--navy); }

/* school life */
.life { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.life h3 { color: var(--navy); font-size: 1.25rem; margin: 0 0 16px; }
.life h3.mt { margin-top: 34px; }
.life__routine {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow);
}
.life__routine h3 { color: #fff; }
.routine { list-style: none; padding: 0; margin: 0; }
.routine li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.routine li:last-child { border-bottom: 0; }
.routine li span { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.routine li strong { color: var(--gold-2); }
.routine__note { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin: 18px 0 0; line-height: 1.6; }

/* leaders */
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.leader {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold);
  transition: transform 0.25s ease;
}
.leader:hover { transform: translateY(-4px); }
.leader strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.leader span { color: var(--muted); font-size: 0.86rem; }

/* contact */
.contact { align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.ci { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(201,162,39,0.18); color: var(--gold-2); font-size: 1.1rem; }
.contact__list strong { display: block; color: #fff; font-size: 0.95rem; margin-bottom: 2px; }
.contact__list a, .contact__list span { color: rgba(255,255,255,0.78); }
.contact__list--light strong { color: var(--navy); }
.contact__list--light a, .contact__list--light span { color: var(--muted); }
.contact__list--light a:hover { color: var(--green); }

.contact__form { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,139,87,0.15); }
.field textarea { resize: vertical; }
.form__hint { text-align: center; font-size: 0.88rem; margin: 14px 0 0; min-height: 18px; color: var(--green); font-weight: 600; }

/* footer */
.footer { background: #051d36; color: rgba(255,255,255,0.78); padding-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 50px; padding-bottom: 44px; }
.footer__brand img { width: 200px; border-radius: 10px; margin-bottom: 16px; }
.footer__brand p { font-size: 0.92rem; line-height: 1.7; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer__cols h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.footer__cols p { font-size: 0.9rem; margin: 0 0 8px; }
.footer__cols a { display: block; font-size: 0.92rem; margin-bottom: 8px; transition: color 0.2s; }
.footer__cols a:hover { color: var(--gold-2); }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 0.82rem; }
.footer__bar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__bar a { color: var(--gold-2); transition: color 0.2s; }
.footer__bar a:hover { color: #fff; }

/* to top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px;
  display: grid; place-items: center; background: var(--gold); color: var(--navy);
  border-radius: 50%; font-size: 1.2rem; font-weight: 700; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: 0.3s; z-index: 60;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold-2); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .pathways__grid { grid-template-columns: repeat(2, 1fr); }
  .leaders { grid-template-columns: repeat(2, 1fr); }
  .life { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .message__photo { max-width: 360px; }
}

@media (max-width: 1023px) {
  html { scroll-padding-top: 110px; }

  body.has-sidebar {
    padding-left: 0;
  }

  body.has-sidebar .topbar {
    left: 0;
  }

  .topbar__meta { display: none; }

  .sidebar {
    transform: translateX(-100%);
    box-shadow: none;
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 8px 0 40px rgba(7, 41, 77, 0.2);
  }

  .topheader {
    display: flex;
  }

  .topheader__menu {
    display: flex;
  }

  .topheader__brand {
    display: flex;
  }

  body.sidebar-open {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  .topbar__contacts a:last-child { display: none; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(2) { border-right: 0; }
  .ticks { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer__bar .container { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .journey, .pathways__grid, .leaders, .footer__cols { grid-template-columns: 1fr; }
  .brand__text strong { font-size: 0.92rem; }
  .hero__content { padding: 64px 24px; }
}

/* ========== Multi-page additions ========== */
.nav__links a.active { color: var(--navy); font-weight: 700; }
.nav__links a.active::after { width: 100%; }
.nav__dropdown { position: relative; }
.nav__dropbtn {
  background: none; border: 0; font-family: var(--sans); font-size: 0.92rem; font-weight: 500;
  color: var(--ink); cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 0;
}
.nav__dropmenu {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: 0.2s ease; z-index: 100;
}
.nav__dropmenu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropmenu a { display: block; padding: 10px 14px !important; border: 0 !important; border-radius: 8px; }
.nav__dropmenu a:hover { background: var(--bg-soft); }
.btn--outline {
  padding: 9px 18px; border: 1.5px solid var(--navy); color: var(--navy);
  font-size: 0.88rem; border-radius: 999px; font-weight: 600;
}
.btn--outline:hover { background: var(--navy); color: #fff; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; color: #fff; padding: 88px 0 72px; overflow: hidden;
  background: linear-gradient(135deg, #062138 0%, #07294d 50%, #0a3d62 100%);
}
.page-hero--img::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/hero-campus.JPG") center/cover no-repeat;
  opacity: 0.35;
}
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,41,77,0.92), rgba(7,41,77,0.75)); }
.page-hero .container { position: relative; z-index: 2; max-width: 800px; }
.page-hero .eyebrow { color: var(--gold-2); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 14px; line-height: 1.1; }
.page-hero p { color: rgba(255,255,255,0.88); font-size: 1.08rem; margin: 0; }

/* Hero with photo (home) */
.hero--photo { background: none; min-height: 88vh; display: flex; align-items: center; }
.hero--photo .hero__bg {
  position: absolute; inset: 0; background: url("../img/hero-campus.JPG") center/cover no-repeat;
}
.hero--photo .hero__overlay {
  background: linear-gradient(135deg, rgba(6,33,56,0.92) 0%, rgba(7,41,77,0.82) 45%, rgba(10,61,98,0.78) 100%);
}
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: #fff;
}
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; max-width: 560px; }
.hero__stat {
  text-align: center; padding: 18px 12px; border-radius: var(--radius);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
}
.hero__stat strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold-2); }
.hero__stat span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.7); }

/* Feature / life cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Calendar */
.cal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cal-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.cal-box h3 { margin: 0 0 18px; color: var(--navy); font-size: 1.2rem; padding-bottom: 12px; border-bottom: 2px solid var(--sand); }
.cal-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.cal-row:last-child { border-bottom: 0; }
.cal-row span { color: var(--muted); }
.cal-row strong { color: var(--navy); text-align: right; font-weight: 600; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; background: #fff; }
.faq__q {
  width: 100%; text-align: left; padding: 16px 20px; background: none; border: 0;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--navy);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq__q::after { content: "+"; font-size: 1.2rem; color: var(--green); }
.faq__item.open .faq__q::after { content: "−"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__a p { margin: 0; padding: 0 20px 16px; color: var(--muted); font-size: 0.94rem; }
.faq__item.open .faq__a { max-height: 200px; }

/* Gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.gallery-filters button {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: 0.2s;
}
.gallery-filters button.active, .gallery-filters button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; border: 0; padding: 0; background: var(--navy);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px;
  background: linear-gradient(transparent, rgba(7,41,77,0.9)); color: #fff;
  font-size: 0.85rem; font-weight: 600;
}
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5,29,54,0.94);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox__close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff;
  font-size: 1.5rem; cursor: pointer;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff;
  font-size: 1.4rem; cursor: pointer;
}
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

/* PDF viewer */
.pdf-viewer { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pdf-viewer iframe { width: 100%; height: 75vh; border: 0; display: block; }

/* Map */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 320px; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* Content prose */
.prose p { margin: 0 0 16px; color: var(--ink); }
.prose h3 { color: var(--navy); margin: 28px 0 12px; font-size: 1.25rem; }
.prose blockquote {
  margin: 24px 0; padding: 20px 24px; border-left: 4px solid var(--gold);
  background: var(--sand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--navy);
}

.footer__cols { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .cards-3, .gallery-grid, .cal-grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: 1fr; }
}
