:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --surface-dark: #0d1b2a;
  --text: #18324a;
  --text-soft: #5f7388;
  --primary: #0a66c2;
  --primary-dark: #084f97;
  --secondary: #f0b400;
  --secondary-dark: #cf9700;
  --success: #15803d;
  --border: rgba(24, 50, 74, 0.1);
  --shadow: 0 20px 50px rgba(7, 35, 66, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 1rem; }
.container { width: var(--container); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(24,50,74,0.08);
}
.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.brand img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-size: 1.15rem;
}
.brand span {
  display: block;
  max-width: 360px;
  color: var(--text-soft);
  font-size: 0.92rem;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text-soft);
  font-weight: 600;
  transition: color 0.2s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #edf4ff;
  border: 1px solid rgba(10,102,194,0.15);
  color: var(--primary);
  font-weight: 800;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(7, 35, 66, 0.15);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1b84f1);
  color: white;
}
.btn-secondary {
  background: rgba(255,255,255,0.14);
  color: white;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-outline {
  border: 1px solid rgba(10,102,194,0.18);
  color: var(--primary);
  background: white;
}
.section-soft .btn-secondary,
.donate-panel .btn-secondary {
  color: var(--primary);
  background: #fff;
  border: 1px solid rgba(10,102,194,0.14);
}
.menu-toggle {
  display: none;
  border: 1px solid rgba(24,50,74,0.12);
  background: white;
  color: var(--text);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}
.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0c1930;
}
.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  background:
    linear-gradient(120deg, rgba(4, 18, 33, 0.9), rgba(8, 47, 91, 0.6)),
    linear-gradient(0deg, rgba(240,180,0,0.08), rgba(240,180,0,0.08));
}
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 5rem 0;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.79rem;
  font-weight: 800;
}
.hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.7rem);
  max-width: 900px;
}
.hero p {
  max-width: 720px;
  font-size: 1.12rem;
  color: rgba(255,255,255,0.88);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-badges li {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 600;
}
.impact-strip {
  margin-top: -3.2rem;
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stats-grid article {
  background: white;
  padding: 1.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stats-grid strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.45rem;
}
.stats-grid span { color: var(--text-soft); }
.section { padding: 6rem 0; }
.section-soft { background: linear-gradient(180deg, #f9fbff 0%, #eef5ff 100%); }
.section-dark {
  background: linear-gradient(135deg, #071628, #112b47 52%, #0d3f5e 100%);
  color: white;
}
.section-contact {
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}
.section-heading p,
.section-copy p,
.info-card p,
.program-card p,
.contact-card li,
.small-note { color: var(--text-soft); }
.section-dark .section-copy p,
.section-dark .check-list li { color: rgba(255,255,255,0.82); }
.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-layout.reverse {
  grid-template-columns: 1fr 1.05fr;
}
.image-stack {
  position: relative;
  min-height: 570px;
}
.card-image {
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: cover;
}
.card-image.main {
  width: 78%;
  height: 520px;
}
.card-image.accent {
  width: 54%;
  height: 290px;
  position: absolute;
  right: 0;
  bottom: 0;
  border: 12px solid white;
}
.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.pillars span {
  background: white;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(10,102,194,0.1);
  font-weight: 700;
  color: var(--primary-dark);
}
.cards-3,
.program-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.info-card,
.program-card,
.contact-card,
.partner-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.program-grid { grid-template-columns: repeat(3, 1fr); }
.program-card {
  border: 1px solid rgba(24,50,74,0.06);
  min-height: 210px;
}
.program-card.highlighted {
  background: linear-gradient(135deg, var(--primary), #0f83ea);
  color: white;
}
.program-card.highlighted p,
.program-card.highlighted h3 { color: white; }
.light { color: white; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.85rem;
}
.check-list li {
  position: relative;
  padding-left: 1.8rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: 900;
}
.image-panel img,
.partner-card img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
}
.image-panel img { min-height: 420px; }
.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-grid figure {
  margin: 0;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
}
.gallery-grid figcaption {
  padding: 1rem 1.1rem 1.15rem;
  font-weight: 700;
}
.donate-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  background: white;
  border-radius: 32px;
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.donate-actions {
  background: linear-gradient(135deg, #0b66c3, #0d8cf5);
  color: white;
  padding: 2rem;
  border-radius: 26px;
  display: grid;
  gap: 1rem;
}
.small-note {
  color: rgba(255,255,255,0.84);
  font-size: 0.92rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.motto {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.contact-card a { color: var(--primary); }
.site-footer {
  background: #071628;
  color: rgba(255,255,255,0.85);
  padding: 1.6rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1080px) {
  .stats-grid,
  .cards-3,
  .program-grid,
  .gallery-grid,
  .donate-panel,
  .contact-grid,
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr 1fr;
  }
  .header-inner {
    grid-template-columns: auto auto auto;
  }
  .main-nav {
    justify-content: flex-start;
  }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .header-inner {
    grid-template-columns: auto auto auto;
    align-items: center;
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0.9rem;
  }
  .main-nav.is-open { display: flex; }
  .header-actions .btn { display: none; }
  .stats-grid,
  .cards-3,
  .program-grid,
  .gallery-grid,
  .donate-panel,
  .contact-grid,
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
  }
  .image-stack {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }
  .card-image.main,
  .card-image.accent {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
  }
  .hero { min-height: 84vh; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .brand span { display: none; }
  .section { padding: 4.6rem 0; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .stats-grid article,
  .info-card,
  .program-card,
  .contact-card,
  .partner-card,
  .donate-panel { padding: 1.3rem; }
}