:root {
  --navy: #0d2852;
  --navy-soft: #183b70;
  --turquoise: #18b7a6;
  --green: #79c043;
  --mint: #eaf8f5;
  --sky: #edf5ff;
  --white: #ffffff;
  --text: #1d2d44;
  --muted: #66758d;
  --border: #dce7ef;
  --shadow: 0 18px 45px rgba(13, 40, 82, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(13, 40, 82, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
}

.logo img {
  width: auto;
  height: 70px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a,
.dropdown-toggle {
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}

.site-nav a:hover,
.dropdown-toggle:hover,
.text-link:hover {
  color: var(--turquoise);
}

.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: "⌄";
  margin-left: 6px;
  font-size: 0.8rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 280px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.is-open .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 6px;
}

.dropdown-menu a:hover {
  background: var(--mint);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  padding: 96px clamp(18px, 5vw, 72px);
  color: var(--white);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 40, 82, 0.82) 0%, rgba(13, 40, 82, 0.58) 32%, rgba(13, 40, 82, 0.16) 58%, rgba(13, 40, 82, 0.02) 100%);
}

.hero-content {
  width: min(640px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--turquoise);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #90f2df;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  color: inherit;
  font-size: clamp(2.3rem, 6vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.hero-title-long {
  max-width: 640px;
  font-size: clamp(1.45rem, 2.35vw, 2.35rem);
  line-height: 1.18;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0;
  margin-bottom: 16px;
}

h3 {
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero p {
  max-width: 660px;
  font-size: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--turquoise);
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(24, 183, 166, 0.24);
  cursor: pointer;
}

.btn:hover {
  background: var(--green);
}

.btn.secondary {
  color: var(--navy);
  background: var(--mint);
  box-shadow: none;
}

.section {
  padding: 84px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.intro-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.card-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.feature-card,
.image-card,
.result-item,
.partner-card,
.contact-panel,
.contact-form {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 34px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--turquoise);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--green);
}

.tinted {
  background: linear-gradient(180deg, var(--sky), var(--mint));
}

.image-card {
  overflow: hidden;
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.image-card.compact img {
  aspect-ratio: 1 / 0.78;
}

.card-body {
  padding: 24px;
}

.image-card .card-body h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.25;
}

.meta {
  margin-bottom: 8px;
  color: var(--turquoise);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.page-hero {
  padding: 96px clamp(18px, 5vw, 72px) 72px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-soft) 55%, var(--turquoise));
}

.partners-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 40, 82, 0.82) 0%, rgba(13, 40, 82, 0.54) 34%, rgba(13, 40, 82, 0.14) 62%, rgba(13, 40, 82, 0.02) 100%),
    url("../images/partners.webp") center right / cover no-repeat;
}

.about-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 40, 82, 0.84) 0%, rgba(13, 40, 82, 0.56) 34%, rgba(13, 40, 82, 0.16) 62%, rgba(13, 40, 82, 0.02) 100%),
    url("../images/about-hero.jpg") center right / cover no-repeat;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  line-height: 1.15;
}

.page-hero p {
  max-width: 850px;
}

.page-hero .page-title-long {
  max-width: 640px;
  font-size: clamp(1.45rem, 2.35vw, 2.35rem);
  line-height: 1.18;
}

.page-hero p:not(.eyebrow) {
  font-size: 1.1rem;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.rich-text {
  color: var(--muted);
}

.rich-text ul {
  margin: 0;
  padding-left: 22px;
}

.rich-text ol {
  margin: 0;
  padding-left: 22px;
}

.rich-text li {
  margin-bottom: 12px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.timeline-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline article {
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
}

.timeline span,
.result-item span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--turquoise);
  font-weight: 800;
}

.partner-list {
  display: grid;
  gap: 22px;
}

.partner-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.partner-card h2 {
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.2;
}

.partner-logo {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--turquoise));
  font-size: 1.6rem;
  font-weight: 800;
}

.partner-name-link {
  color: var(--navy);
}

.partner-name-link:hover {
  color: var(--turquoise);
}

.partner-detail {
  max-width: 980px;
  margin: 0 auto;
}

.partner-detail .btn {
  margin-top: 20px;
}

.news-detail {
  max-width: 980px;
  margin: 0 auto;
}

.news-detail > img {
  width: 100%;
  margin-bottom: 34px;
  border-radius: 8px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.news-detail .btn {
  margin-top: 20px;
}

.result-item {
  padding: 30px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

.contact-panel,
.contact-form {
  padding: 30px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.form-message {
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.form-message.success {
  color: #14583f;
  background: #e7f7ef;
  border: 1px solid #bde8d1;
}

.form-message.error {
  color: #7b1d1d;
  background: #fdeaea;
  border: 1px solid #f4b8b8;
}

label {
  color: var(--navy);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  padding: 56px clamp(18px, 5vw, 72px) 28px;
  color: var(--white);
  background: var(--navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: start;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1.5rem;
}

.footer-funded-logo {
  width: min(420px, 100%);
  height: auto;
  margin-bottom: 22px;
  border-radius: 4px;
}

.disclaimer {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.copyright {
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 14px;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
  }

  .hero {
    min-height: 560px;
  }

  .intro-section,
  .two-column,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .card-grid,
  .results-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .logo img {
    height: 54px;
  }

  .hero,
  .section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: 620px;
  }

  .feature-grid,
  .card-grid,
  .results-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .partner-card {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .card-body,
  .result-item,
  .partner-card,
  .contact-panel,
  .contact-form {
    padding: 22px;
  }
}
