/* ============================
   CSS VARIABLES & RESET
   ============================ */
:root {
  --navy: #1a3060;
  --navy-dark: #0f2040;
  --gold: #d4960a;
  --gold-light: #f0b429;
  --gold-btn: #e5a012;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray-mid: #e8ecf2;
  --gray-text: #555e70;
  --text: #1a1a2e;
  --shadow: 0 4px 24px rgba(26,48,96,0.10);
  --shadow-lg: 0 8px 40px rgba(26,48,96,0.16);
  --radius: 10px;
  --radius-lg: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================
   TOPBAR
   ============================ */
.topbar {
  background: var(--navy-dark);
  color: #c8d4e8;
  font-size: 12.5px;
  padding: 7px 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-left a { color: #c8d4e8; transition: color .2s; }
.topbar-left a:hover { color: var(--gold-light); }
.topbar-right { display: flex; gap: 10px; }
.topbar-right a {
  color: #c8d4e8;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background .2s, color .2s;
}
.topbar-right a:hover { background: var(--gold); color: var(--white); }

/* ============================
   HEADER
   ============================ */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(26,48,96,0.09);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-wrap img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: 6px;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.logo-sub {
  font-size: 11.5px;
  color: var(--gray-text);
  font-weight: 600;
  letter-spacing: .3px;
}

.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--gold-btn);
}
.main-nav > ul > li > a.active {
  border-bottom: 2.5px solid var(--gold-btn);
  border-radius: 0;
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  overflow: hidden;
  border-top: 3px solid var(--gold);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: background .15s, color .15s;
}
.dropdown li a:hover { background: var(--gray-light); color: var(--gold-btn); }

/* Admissions button */
.btn-admissions {
  background: var(--gold-btn);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 25px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
  box-shadow: 0 3px 12px rgba(213,160,18,.35);
}
.btn-admissions:hover { background: var(--gold); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,24,50,0.88) 42%, rgba(10,24,50,0.30) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px;
  width: 100%;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--gold-light);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.hero-tagline {
  font-size: 17px;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-admission {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-line {
  display: inline-block;
  width: 60px; height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold-btn);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 30px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(213,160,18,.4);
  display: inline-block;
}
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(213,160,18,.45); }
.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.7);
  transition: background .2s, color .2s, border-color .2s;
  display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ============================
   FEATURES STRIP
   ============================ */
.features-strip {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 3;
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.feature-item {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s;
}
.feature-item:hover { background: var(--gray-light); }
.feature-item strong { display: block; font-size: 15px; font-weight: 800; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff4dc;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-btn);
  flex-shrink: 0;
}
.feature-divider {
  width: 1px;
  background: var(--gray-mid);
  margin: 16px 0;
}

/* ============================
   ABOUT SECTION
   ============================ */
.about-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--navy);
}
.about-text h2 .gold { color: var(--gold-btn); }
.about-text p {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 14px;
  line-height: 1.8;
}
.about-land { color: var(--navy) !important; font-weight: 600 !important; }
.btn-learn {
  display: inline-block;
  margin-top: 10px;
  background: var(--gold-btn);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 30px;
  transition: background .2s;
  box-shadow: 0 3px 12px rgba(213,160,18,.3);
}
.btn-learn:hover { background: var(--gold); }
.about-img-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ============================
   HIGHLIGHTS
   ============================ */
.highlights-section {
  background: var(--navy);
  padding: 60px 24px;
}
.highlights-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.highlight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hcard-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff4dc;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-btn);
  margin: 0 auto 16px;
}
.highlight-card h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: .5px;
}
.hcard-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.highlight-card hr { border: none; border-top: 1.5px solid var(--gray-mid); margin-bottom: 14px; }
.highlight-card p { font-size: 13.5px; color: var(--gray-text); margin-bottom: 20px; line-height: 1.7; }
.btn-details {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 24px;
  border-radius: 20px;
  transition: background .2s;
}
.btn-details:hover { background: var(--gold-btn); }

/* ============================
   TRUSTEES
   ============================ */
.trustees-section {
  padding: 80px 24px;
  background: var(--gray-light);
}
.trustees-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.trustees-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.trustees-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 700;
}
.trustees-list { display: flex; flex-direction: column; gap: 14px; }
.trustees-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold-btn);
  box-shadow: 0 2px 10px rgba(26,48,96,0.07);
}
.trustees-list li span { color: var(--gold-btn); flex-shrink: 0; }

/* ============================
   MEMBERS
   ============================ */
.members-section {
  padding: 80px 24px;
  background: var(--white);
}
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
}
.section-heading h2 .gold { color: var(--gold-btn); }
.section-divider {
  width: 60px; height: 3px;
  background: var(--gold-btn);
  margin: 14px auto 0;
  border-radius: 2px;
}
.members-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.member-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  font-size: 13.5px;
  color: var(--gray-text);
  line-height: 1.7;
  border-top: 3px solid var(--gold-btn);
  transition: box-shadow .2s, transform .2s;
}
.member-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.member-card img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid var(--gold-btn);
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: var(--navy);
  padding: 56px 24px;
}
.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 6px;
}
.cta-text p.gold { color: var(--gold-light); font-size: 16px; font-weight: 600; }

/* ============================
   FOOTER
   ============================ */
.site-footer { background: var(--navy-dark); color: #b0becc; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  gap: 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2.5px;
  background: var(--gold-btn);
  border-radius: 2px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 13.5px; }
.footer-col ul li a { color: #b0becc; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col ul li a::before { content: '• '; color: var(--gold-btn); margin-right: 2px; }
.footer-contact li { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.6; }
.footer-contact li::before { display: none; }
.footer-map iframe { border-radius: var(--radius); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #b0becc;
  transition: background .2s, color .2s;
}
.footer-socials a:hover { background: var(--gold-btn); color: var(--white); }

/* ============================
   PAGE HERO (inner pages)
   ============================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(212,150,10,0.10);
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--white);
  font-weight: 900;
  position: relative;
  z-index: 1;
}
.page-hero p {
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ============================
   PAGE CONTENT WRAPPER
   ============================ */
.page-content {
  max-width: 960px;
  margin: 60px auto;
  padding: 0 24px;
}
.page-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 8px;
}
.page-content p.subtitle {
  color: var(--gray-text);
  font-size: 15px;
  margin-bottom: 32px;
}

/* ============================
   TABLES (shared)
   ============================ */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.styled-table thead tr {
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.styled-table thead td,
.styled-table thead th {
  padding: 14px 18px;
}
.styled-table tbody tr:nth-child(odd) { background: var(--gray-light); }
.styled-table tbody tr:nth-child(even) { background: var(--white); }
.styled-table tbody tr:last-child {color: var(--white); font-weight: 800; }
.styled-table tbody td { padding: 13px 18px; border-bottom: 1px solid var(--gray-mid); }
.styled-table tfoot td { padding: 14px 18px; background: #ffffff; font-weight: 700; color: var(--navy); }

/* two-col table */
.two-col-table td:first-child { font-weight: 700; color: var(--navy); width: 60%; }
.two-col-table td:last-child { text-align: right; font-weight: 700; color: var(--gold-btn); }

/* ============================
   STAFF PAGE
   ============================ */
.staff-intro-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.staff-intro-img {
  width: 150px; height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid var(--gold-btn);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.staff-intro-text p {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border-top: 4px solid var(--gold-btn);
}
.contact-info-card img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 20px;
  border: 3px solid var(--gold-btn);
}
.contact-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-info-card address {
  font-style: normal;
  font-size: 14px;
  color: var(--gray-text);
  line-height: 2;
}
.contact-info-card address strong { color: var(--navy); }
.contact-map iframe {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: 320px;
  border: 0;
}

/* ============================
   FEES TABLE ANNOTATION
   ============================ */
.table-note {
  font-size: 13px;
  color: var(--gray-text);
  font-style: italic;
  margin-top: 12px;
  text-align: right;
}

/* ============================
   MANDATORY DISCLOSURE
   ============================ */
.disclosure-section {
  max-width: 960px;
  margin: 60px auto;
  padding: 0 24px 60px;
}
.disclosure-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 16px;
  margin-top: 36px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-btn);
}
.disclosure-section p,
.disclosure-section li {
  font-size: 14.5px;
  color: var(--gray-text);
  margin-bottom: 10px;
  line-height: 1.8;
}
.disclosure-section ul { padding-left: 20px; list-style: disc; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .main-nav, .btn-admissions { display: none; }
  .hamburger { display: flex; }
  .header-inner { justify-content: space-between; }

  .about-inner,
  .trustees-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  .highlights-inner { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  /* Mobile nav shown via JS */
  .mobile-nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 2px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px 32px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .mobile-nav-open .main-nav > ul {
    flex-direction: column;
    gap: 4px;
  }
  .mobile-nav-open .main-nav > ul > li > a {
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-mid);
  }
  .mobile-nav-open .dropdown {
    position: static;
    display: block;
    box-shadow: none;
    border-top: none;
    background: var(--gray-light);
    border-radius: var(--radius);
    margin-top: 4px;
  }
  .mobile-nav-open .btn-admissions {
    display: inline-block;
    margin-top: 16px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-title { font-size: 36px; }
  .features-inner { flex-direction: column; }
  .feature-divider { width: 100%; height: 1px; margin: 0; }
  .cta-inner { flex-direction: column; text-align: center; }
  .members-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
