/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: #2b2b2b;
  font-size: 16px;
  line-height: 1.55;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============ Theme ============ */
:root {
  --blue: #0069e0;
  --blue-dark: #0052b3;
  --heading: #0069e0;
  --navy: #00113F;
  --navy-deep: #00113F;
  --gray-bg: #ECECEC;
  --gray-soft: #F5F5F5;
  --border: #D8D8D8;
  --text: #2b2b2b;
  --text-muted: #5a6577;
  --radius: 0;
  --container: 1180px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  border: none;
  transition: background .2s ease, transform .15s ease;
  text-align: center;
}
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  border-bottom: 1px solid #eee;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}
.nav-links a.btn { color: #fff; }
.nav-links a:hover,
.nav-links a.active { color: var(--blue); }
.nav-links a.btn.active,
.nav-links a.btn:hover { color: #fff; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  position: relative;
}
.menu-toggle span {
  display: block;
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--navy);
  transition: transform .3s, opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 25px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    box-shadow: 0 14px 24px -16px rgba(0,0,0,.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 460px; }
  .nav-links li { border-top: 1px solid #f0f0f0; }
  .nav-links a {
    display: block;
    padding: 16px 20px;
  }
  .nav-links .btn {
    margin: 12px 20px;
  }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  color: #fff;
  background: #0a2a55;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,42,85,.4) 0%, rgba(10,42,85,.6) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 90px 0 110px;
  text-align: center;
}
.hero-inner.left { text-align: left; }
.hero h1 { color: #fff; }
.hero .eyebrow {
  letter-spacing: 2px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: .92;
}

/* split hero (image + text) */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--gray-bg);
}
.split-hero .copy {
  padding: 64px 50px;
  max-width: 560px;
}
.split-hero .copy h1 {
  color: var(--navy);
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -.012em;
  text-wrap: balance;
  margin-bottom: .55em;
}
.split-hero .copy p { color: var(--text); }
.split-hero .image {
  background-size: cover;
  background-position: center;
  min-height: 360px;
}
@media (max-width: 800px) {
  .split-hero { grid-template-columns: 1fr; }
  .split-hero .copy { padding: 40px 24px; }
  .split-hero .image { min-height: 240px; }
}

/* ============ Sections ============ */
section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-gray { background: var(--gray-soft); }
.section-navy {
  background: var(--navy);
  color: #fff;
}
.section-navy h2,
.section-navy h3 { color: #fff; }

.intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.intro h2 {
  font-size: clamp(1.35rem, 2.35vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -.012em;
  text-wrap: balance;
  margin-bottom: .55em;
}

/* ============ Programs grid ============ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.program-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}
.program-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.75) 100%);
}
.program-card .content {
  position: relative;
  padding: 22px 24px;
}
.program-card.dark { background: var(--navy); }
.program-card.dark::before { display: none; }
.program-card h3 { color: #fff; margin-bottom: 8px; font-size: 1.4rem; }
.program-card p { font-size: .92rem; opacity: .92; margin-bottom: 14px; }
@media (max-width: 720px) {
  .programs-grid { grid-template-columns: 1fr; }
}

/* ============ Side-by-side feature ============ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 36px;
}
.feature-split .img {
  background-size: cover;
  background-position: center;
  min-height: 280px;
  border-radius: var(--radius);
}
.feature-split .text-box {
  background: #fff;
  border: 1px solid #cfdcef;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
@media (max-width: 800px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split .img { order: -1; min-height: 220px; }
  .feature-split .text-box,
  .feature-split > div:not(.img) { order: 1; }
}

/* ============ Card pillars ============ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.pillar {
  border: 1.5px solid #B9D4F2;
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
}
.pillar h3 { color: var(--heading); }
@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ============ Trust strip ============ */
.trust {
  background: var(--blue);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.trust h2 { color: #fff; font-size: 1.4rem; }
.trust .subtitle {
  font-size: .85rem; opacity: .9; margin-bottom: 22px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px 26px;
  margin-top: 8px;
}
.badge {
  height: 86px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.15));
  transition: transform .2s ease, filter .2s ease;
}
.badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
}
@media (max-width: 700px) {
  .badge { height: 64px; max-width: 100px; }
  .badges { gap: 16px 18px; }
}

/* ============ Testimonial ============ */
.testimonial {
  text-align: center;
  padding: 80px 20px;
}
.testimonial .mark {
  width: 78px;
  height: 78px;
  display: block;
  margin: 0 auto 28px;
  object-fit: contain;
}
.testimonial blockquote {
  margin: 0 auto;
  max-width: 780px;
  font-size: 1.15rem;
  color: var(--heading);
  font-weight: 500;
  line-height: 1.55;
}
.testimonial cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  color: var(--heading);
  font-weight: 600;
}

/* ============ Featured projects ============ */
.featured {
  padding: 50px 0;
}
.tag {
  display: inline-block;
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: 5px 14px;
  border-radius: 0;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.projects-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 22px -18px rgba(0,0,0,.4);
  background: #fff;
}
.project .img {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.project .info {
  padding: 14px 16px;
}
.project .info strong { color: var(--navy); display: block; font-size: 1.05rem; }
.project .info span { color: var(--text-muted); font-size: .88rem; }
@media (max-width: 800px) {
  .projects-row { grid-template-columns: 1fr; }
}

/* ============ Map ============ */
.map-section {
  text-align: center;
  padding: 60px 0;
}
.map-wrap {
  max-width: 880px;
  margin: 30px auto 0;
}
.map-wrap svg,
.map-wrap img { width: 100%; height: auto; display: block; }
.map-legend {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
  font-size: .8rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.map-legend span { display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 2px; background: var(--navy); }
.dot.gray { background: #b9b9b9; }

/* ============ Overlay CTA ============ */
.overlay-cta {
  position: relative;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 60px 0;
}
.overlay-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0));
}
.overlay-cta .card {
  position: relative;
  background: rgba(255,255,255,.95);
  padding: 32px;
  border-radius: var(--radius);
  max-width: 420px;
  margin-left: auto;
}
.overlay-cta.right .card { margin-left: 0; margin-right: auto; }
.overlay-cta .card h2 { margin-bottom: 14px; }

/* ============ Forms ============ */
.form-block {
  background: var(--gray-bg);
  padding: 40px;
  border-radius: var(--radius);
}
.form-block .required-note {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  margin-bottom: 18px;
}
.form-row.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(31,143,255,.15);
}
.form-field .error {
  color: #d12d2d;
  font-size: .8rem;
  margin-top: 6px;
  display: none;
}
.form-field.invalid input,
.form-field.invalid select {
  border-color: #d12d2d;
}
.form-field.invalid .error { display: block; }

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin: 6px 0 18px;
}
.radio-group.label-only legend {
  grid-column: 1 / -1;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 8px;
  padding: 0;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
}
.radio-option input[type="radio"],
.radio-option input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 8px 0 22px;
  font-size: .88rem;
  line-height: 1.45;
}
.consent input { margin-top: 3px; }
.form-actions {
  display: flex;
  justify-content: flex-end;
}
.form-success {
  display: none;
  background: #e6f4ea;
  color: #1d6b34;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-weight: 500;
}
.form-success.show { display: block; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }
  .form-block { padding: 26px 20px; }
}

/* ============ Two column layout ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-deep);
  color: #cdd6e2;
  padding: 50px 0 24px;
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-grid a { display: block; color: #cdd6e2; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-logo {
  display: inline-flex;
  margin-bottom: 14px;
}
.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  font-size: .74rem;
  line-height: 1.55;
  color: #8b97aa;
}
.footer-bottom p { margin: 0 0 10px; }
.footer-bottom p:last-child { margin: 0; }
.footer-bottom .ehl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #b6c1d5;
  margin-right: 6px;
}
.footer-bottom .ehl svg { width: 14px; height: 14px; }
.footer-bottom a { color: #b6c1d5; text-decoration: underline; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ Utilities ============ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; }
.muted { color: var(--text-muted); }
