:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --primary: #1c5d99;
  --primary-dark: #134675;
  --accent: #f6aa1c;
  --text: #1f2a37;
  --muted: #4b5563;
  --border: #d1d5db;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Work Sans', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4vw;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30, 64, 175, 0.08);
}

.header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(28, 93, 153, 0.22);
  background-color: rgba(28, 93, 153, 0.08);
  color: var(--primary);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header__toggle:hover {
  background-color: rgba(28, 93, 153, 0.15);
  border-color: rgba(28, 93, 153, 0.35);
}

.header__toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.header__toggle-bars {
  display: grid;
  width: 20px;
  gap: 5px;
}

.header__toggle-bars span {
  height: 2px;
  border-radius: 999px;
  background-color: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header--menu-open .header__toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header--menu-open .header__toggle-bars span:nth-child(2) {
  opacity: 0;
}

.header--menu-open .header__toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 22px rgba(17, 24, 39, 0.18);
}

.brand span {
  display: inline-block;
  line-height: 1.2;
}

.nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--primary);
}

.breadcrumb {
  display: none;
  font-size: 0.85rem;
  color: var(--muted);
  gap: 0.35rem;
  align-items: center;
  line-height: 1.4;
}

.breadcrumb__divider {
  color: rgba(79, 70, 229, 0.6);
}

.breadcrumb__current {
  font-weight: 600;
  color: var(--primary);
}

.donate-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(28, 93, 153, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 3rem;
  padding: 4rem 4vw 3rem;
}

.hero__copy h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0 0 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero__copy p {
  max-width: 520px;
  color: var(--muted);
}

.hero__meta {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.meta__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta__value {
  font-size: 1.1rem;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(28, 93, 153, 0.25);
}

.btn--primary:hover {
  transform: translateY(-3px);
}

.btn--ghost {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__visual img,
.hero__visual iframe {
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  box-shadow: 0 30px 45px rgba(17, 24, 39, 0.12);
}

.hero__video {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 45px rgba(17, 24, 39, 0.12);
}

.hero__video::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.hero__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.section {
  padding: 4rem 4vw;
}

.section--alt {
  background-color: #ffffff;
}

.section__header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section__header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section__header p {
  color: var(--muted);
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stats article {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.stats h3 {
  margin: 0 0 0.5rem;
  font-size: 2.2rem;
  color: var(--primary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--surface);
  padding: 2.5rem 2rem;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.card img {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background-color: #eff6ff;
  padding: 1rem;
}

.card .role {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.grid article {
  background-color: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.grid__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background-color: rgba(28, 93, 153, 0.1);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}

.grid ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.objects__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.objects__list ul {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--muted);
}

.trustees__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  background-color: var(--surface);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.trustees__grid ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style-type: disc;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--muted);
}

.reports {
  background: linear-gradient(135deg, rgba(28, 93, 153, 0.08), rgba(246, 170, 28, 0.08));
}

.reports__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.reports__card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid rgba(28, 93, 153, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reports__card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.reports__card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.support__grid article {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support__grid article h3 {
  margin: 0;
}

.support__grid article p {
  margin: 0;
  color: var(--muted);
}

.support__contact {
  margin-top: 3rem;
  max-width: 640px;
  background-color: var(--surface);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.support__contact p {
  margin: 0;
  color: var(--muted);
}

.support__contact p + p {
  margin-top: 0.75rem;
}

.support__contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-weight: 600;
}

.support__contact-actions a {
  color: var(--primary);
  text-decoration: none;
}

.support__contact-actions a:hover {
  text-decoration: underline;
}

.stories__carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.stories__carousel figure {
  margin: 0;
  background-color: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.stories__carousel img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.stories__carousel figcaption {
  padding: 1.5rem;
  color: var(--muted);
}

.footer {
  background-color: #0f172a;
  color: #eef2f7;
  padding: 4rem 4vw 2rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer__content h3 {
  margin-top: 0;
  font-family: 'Poppins', sans-serif;
}

.footer a {
  color: #93c5fd;
  text-decoration: none;
}

.subscribe {
  display: flex;
  gap: 0.75rem;
}

.subscribe input {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
}

.subscribe button {
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  background-color: var(--accent);
  color: #0f172a;
  font-weight: 600;
  cursor: pointer;
}

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

.footer__copy {
  margin-top: 3rem;
  text-align: center;
  color: rgba(226, 232, 240, 0.7);
}

@media (max-width: 720px) {
  .hero {
    padding-top: 6rem;
  }

  .header {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 4vw 1.25rem;
  }

  .header .brand {
    order: 0;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .header__toggle {
    display: inline-flex;
    order: 1;
    margin-left: auto;
  }

  .breadcrumb {
    display: flex;
    width: 100%;
    order: 2;
    font-size: 0.8rem;
    margin-top: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(30, 64, 175, 0.12);
  }

  .nav a {
    padding: 0.4rem 0;
  }

  .donate-btn {
    order: 4;
    width: 100%;
    margin-top: 0.25rem;
  }

  .header:not(.header--menu-open) .nav,
  .header:not(.header--menu-open) .donate-btn {
    display: none;
  }

  .subscribe {
    flex-direction: column;
  }

  .subscribe button {
    width: 100%;
  }
}
