/* ── Fonts ─────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&family=Lato:ital,wght@0,400;0,700;1,400;1,700&family=Oswald:wght@400;600&display=swap');

/* ── Custom Properties ─────────────────────────────────────────────────────── */
:root {
  --navy:       #1f69b6;
  --navy-light: #b9d2e7;
  --navy-dark:  #0b528f;
  --gold:       #e8b135;
  --gold-light: #ffbd36;
  --gold-dark:  #ad6704;
  --off-white:  #eaeaea;
}

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

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

body {
  font-family: 'Lato', sans-serif;
  color: #373737;
  background: #fff;
  line-height: 1.6;
}

h1 {
  font-family: 'EB Garamond', serif;
  font-weight: normal;
  line-height: 1.2;
}

h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  text-transform: uppercase;
  color: var(--navy);
}

h3 {
  color: var(--navy);
}

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

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
  font-weight: 600;
}

.section-sub {
  font-size: 1.0625rem;
  color: #373737;
  margin-top: 0.75rem;
  max-width: 40rem;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 0.375rem;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  border: 2px solid transparent;
  font-family: 'Lato', sans-serif;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--navy); }

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

/* ── Masthead ──────────────────────────────────────────────────────────────── */
.masthead {
  background: #fff;
  padding: 1.5rem 0;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.masthead-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
}

.masthead-logo {
  height: 100px;
  width: auto;
}

.masthead-text {
  display: flex;
  flex-direction: column;
}

.masthead-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--navy);
  font-weight: 400;
}

.masthead-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  font-weight: normal;
  line-height: 1.1;
}

.masthead-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 0.9375rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.masthead-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.masthead-actions .btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 767px) {
  .masthead { padding: 1rem 0; }
  .masthead-inner { flex-direction: column; gap: 1rem; }
  .masthead-logo { height: 70px; }
  .masthead-text { text-align: center; align-items: center; }
  .masthead-actions { flex-direction: row; }
}

/* ── Navbar ────────────────────────────────────────────────────────────────── */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
}

.nav-links > li > a,
.nav-links > li > .nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75em;
  transition: color 0.15s;
}

.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > li > .nav-dropdown-btn:hover { color: var(--navy-light); }

.nav-home { display: flex; align-items: center; }
.nav-home svg { fill: #fff; }
.nav-home:hover svg { fill: var(--navy-light); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fefefe;
  padding: 0.25rem;
}

.mobile-nav {
  display: none;
  padding-bottom: 1rem;
  list-style: none;
}
.mobile-nav li a {
  display: block;
  padding: 0.5rem 0;
  color: #fefefe;
  font-size: 0.9375rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.mobile-nav li a:hover { color: var(--gold); }
.mobile-nav .btn { margin-top: 0.75rem; width: 100%; text-align: center; }
.mobile-nav.open { display: block; }

/* Desktop dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}
.nav-dropdown.active > .nav-dropdown-btn { color: var(--gold); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: #fff;
  border-radius: 0.625rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  min-width: 14rem;
  padding: 0.5rem 0;
  z-index: 200;
  list-style: none;
}
.nav-dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #373737;
  transition: background 0.12s, color 0.12s;
}
.nav-dropdown-menu li a:hover {
  background: var(--off-white);
  color: var(--navy);
}
.nav-dropdown-menu li a.active {
  color: var(--gold);
  font-weight: 600;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }

/* Mobile about accordion */
.mobile-about-toggle {
  background: none;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  color: #fefefe;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.mobile-about-toggle:hover { color: var(--gold); }

.mobile-about-chevron { transition: transform 0.2s; }
.mobile-about-toggle.open .mobile-about-chevron { transform: rotate(180deg); }

.mobile-about-submenu {
  display: none;
  list-style: none;
  padding-left: 1rem;
}
.mobile-about-submenu.open { display: block; }
.mobile-about-submenu li a {
  display: block;
  padding: 0.375rem 0;
  color: #bebebe;
  font-size: 0.875rem;
  transition: color 0.15s;
}
.mobile-about-submenu li a:hover { color: var(--gold); }

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ── Footer Nav ────────────────────────────────────────────────────────────── */
.footer-nav {
  background: var(--navy);
}

.footer-nav-links {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-links li a {
  display: block;
  padding: 0.7em 1em;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav-links li a:hover { color: var(--navy-light); }

@media (max-width: 767px) {
  .footer-nav-links { flex-direction: column; text-align: center; }
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  background: #333;
  color: #fefefe;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer-left, .footer-right {
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-right {
  text-align: right;
}

.footer-org-name {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.footer-org-sub {
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-contact {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #fefefe;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-contact a:hover { color: #fff; text-decoration: underline; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  color: #bebebe;
  transition: color 0.15s;
}

.footer-social a:hover { color: #fff; }

.footer-social a svg {
  height: 2rem;
  width: 2rem;
}

.footer-charter {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: #bebebe;
}

@media (max-width: 767px) {
  .footer-grid { flex-direction: column; gap: 2rem; }
  .footer-right { text-align: left; }
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31,105,182,0.82), rgba(31,105,182,0.7), rgba(11,82,143,0.92));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 900px;
  padding: 2rem 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(232,177,53,0.4);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: normal;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--gold); }

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #fefefe;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-scroll {
  margin-top: 3.5rem;
  animation: bounce 2s infinite;
  color: var(--gold);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Stats Bar ─────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 2.25rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  color: #fff;
}

@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat + .stat { border-left: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 640px) { .stat:nth-child(odd) { border-left: none; } }

.stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8125rem;
  color: #bebebe;
  margin-top: 0.2rem;
  line-height: 1.3;
}

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.875rem;
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-color: rgba(232,177,53,0.35);
}

/* ── Page Hero (inner pages) ───────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}

.page-hero .eyebrow {
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero p {
  color: #fefefe;
  font-size: 1.0625rem;
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.65;
}

/* ── CTA Banner ────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy) 100%);
  padding: 5rem 0;
  text-align: center;
  color: #fff;
}

.cta-banner .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,177,53,0.2);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1.25rem;
}

.cta-banner p {
  color: #fff;
  font-size: 1.0625rem;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.cta-banner .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-banner .fine-print {
  font-size: 0.75rem;
  color: #bebebe;
  margin-top: 1.25rem;
}

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #373737;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  font-family: 'Lato', sans-serif;
  color: #373737;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31,105,182,0.12);
}

.form-group textarea { resize: vertical; min-height: 6.5rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.form-group .required { color: #ef4444; }

/* Alert messages */
.alert {
  border-radius: 0.5rem;
  padding: 0.875rem 1.125rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  display: none;
}
.alert.show { display: block; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ── Misc ──────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.py-16 { padding-block: 4rem; }
.py-20 { padding-block: 5rem; }
.bg-light { background: var(--off-white); }
