:root {
  --bg-dark: #0a1628;
  --bg-dark-2: #0f233b;
  --accent: #f2b632;
  --accent-hover: #e0a61f;
  --surface: #f5f8fc;
  --text-main: #11233a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.7;
}

a {
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(242, 182, 50, 0.62);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  transform: translateY(-150%);
  background: #fff;
  color: var(--text-main);
  border-radius: 0.5rem;
  padding: 0.65rem 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.18);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-space {
  padding: 5.5rem 0;
}

.section-space-sm {
  padding: 3rem 0 2rem;
}

.container > .row.g-5 {
  --bs-gutter-x: 1.5rem;
}

.section-soft {
  background: var(--surface);
}

.site-nav {
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav .navbar-brand,
.site-nav .nav-link {
  color: #fff;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: var(--accent);
}

.site-nav .nav-link.active {
  color: var(--accent);
}

.brand-mark {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffe6a0);
  box-shadow: 0 0 0 6px rgba(242, 182, 50, 0.16);
}

.hero-section {
  min-height: 100vh;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(10, 22, 40, 0.95), rgba(15, 35, 59, 0.82)),
    url("https://images.unsplash.com/photo-1521790797524-b2497295b8a0?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.page-hero {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(10, 22, 40, 0.95), rgba(15, 35, 59, 0.82)),
    url("https://images.unsplash.com/photo-1559056199-641a0ac8b55e?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  padding-top: 8.5rem;
  padding-bottom: 4.5rem;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.78rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  backdrop-filter: blur(6px);
}

.impact-item {
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-item h3 {
  margin-bottom: 0.25rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

.impact-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.btn-accent {
  background-color: var(--accent);
  border: 0;
  color: #0f1b2d;
  font-weight: 700;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--accent-hover);
  color: #0f1b2d;
}

.btn-outline-dark.active,
.btn-outline-dark[aria-pressed="true"] {
  background: var(--text-main);
  color: #fff;
}

.form-status {
  min-height: 1.4rem;
}

.trust-list li + li {
  margin-top: 0.6rem;
}

.info-tile {
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 0.85rem;
  padding: 1.2rem;
  box-shadow: 0 8px 20px rgba(10, 22, 40, 0.05);
}

.info-tile p {
  color: #5a6b80;
  font-size: 0.95rem;
}

.impact-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e4eaf2;
  box-shadow: 0 10px 25px rgba(15, 35, 59, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(15, 35, 59, 0.12);
}

.program-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 20px rgba(13, 31, 52, 0.05);
}

.program-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(242, 182, 50, 0.15);
  color: #8f6703;
  font-weight: 700;
}

.gallery-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(13, 31, 52, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(13, 31, 52, 0.12);
}

.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0) 35%, rgba(10, 22, 40, 0.78) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.95rem 1rem;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-card:hover .gallery-overlay,
.gallery-card:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.story-feature {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 28px rgba(15, 35, 59, 0.06);
}

.story-tag {
  display: inline-block;
  background: rgba(17, 35, 58, 0.1);
  color: var(--text-main);
  border-radius: 2rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quote-card {
  background: var(--bg-dark);
  color: #fff;
  border-radius: 1rem;
  padding: 2rem;
}

.quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
}

.cta-section {
  background: linear-gradient(120deg, var(--bg-dark), #132f4b);
  color: #fff;
}

.site-footer {
  background: #f9fbff;
}

.site-footer a {
  color: #445870;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #0f253e;
}

.site-footer .form-label {
  color: #445870;
}

.legal-page h2 {
  margin-top: 2rem;
}

.legal-page h2:first-child {
  margin-top: 0;
}

.report-stat {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.report-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--text-main);
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 4.5rem 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: 7rem;
  }

  .page-hero {
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
  }

  .gallery-img {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .hero-card,
  .impact-card,
  .program-card,
  .story-feature,
  .quote-card {
    overflow-wrap: anywhere;
  }
}
