:root {
  --ink: #17211d;
  --muted: #5d6a64;
  --surface: #ffffff;
  --soft: #f5f7f2;
  --line: #dfe6dd;
  --green: #1f7a4d;
  --green-dark: #135a38;
  --orange: #f37021;
  --gold: #f2b544;
  --shadow: 0 18px 50px rgba(23, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(31, 122, 77, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  background: linear-gradient(110deg, rgba(31, 122, 77, 0.12), rgba(242, 181, 68, 0.18), rgba(243, 112, 33, 0.14));
  color: var(--green-dark);
  transform: translateY(-1px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg, #1f7a4d, #f2b544, #f37021, #1f7a4d);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.nav-links a:hover::after,
.nav-links a.is-current::after {
  animation: chroma-flash 720ms ease-out;
}

.nav-links a.is-current {
  background: #eef5ec;
  color: var(--green-dark);
}

@keyframes chroma-flash {
  0% {
    opacity: 0.48;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.nav-links .donate-link {
  background: var(--green);
  color: white;
}

.nav-links .donate-link:hover {
  background: var(--green-dark);
  color: white;
}

main {
  overflow: hidden;
}

@media (min-width: 821px) {
  body.fit-page {
    height: 100vh;
    overflow: hidden;
  }

  body.fit-page .navbar {
    min-height: 77px;
  }

  body.fit-page main {
    height: calc(100vh - 77px);
    overflow: hidden;
  }

  body.fit-page .page-shell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding-top: clamp(24px, 4vw, 46px);
    padding-bottom: clamp(24px, 4vw, 46px);
  }

  body.fit-page .page-heading {
    margin-bottom: 24px;
  }

  body.fit-page .page-heading h1 {
    font-size: clamp(34px, 5vw, 58px);
  }

  body.fit-page .content-band {
    margin-bottom: 20px;
    padding: 24px;
  }

  body.fit-page .impact-grid article,
  body.fit-page .donation-card,
  body.fit-page .contact-card,
  body.fit-page .stat-card,
  body.fit-page .impact-note {
    padding: 22px;
  }

  body.fit-page .home-main {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  body.fit-page .hero-section {
    min-height: 0;
    padding-top: clamp(26px, 4vw, 50px);
    padding-bottom: clamp(22px, 3vw, 38px);
  }

  body.fit-page .hero-media {
    max-height: min(54vh, 500px);
    justify-self: center;
  }

  body.fit-page h1 {
    font-size: clamp(38px, 6vw, 70px);
  }

  body.fit-page .hero-text,
  body.fit-page .page-heading p,
  body.fit-page .content-band p {
    font-size: clamp(16px, 1.7vw, 20px);
  }

  body.fit-page .impact-section {
    padding-top: 22px;
    padding-bottom: 26px;
  }

  body.fit-page .impact-section h2 {
    font-size: clamp(26px, 3vw, 36px);
  }

  body.fit-page .impact-grid {
    gap: 14px;
    margin-top: 18px;
  }

  body.fit-page .impact-grid span {
    margin-bottom: 14px;
  }

  body.fit-page .stats-grid {
    gap: 14px;
  }

  body.fit-page .stat-card {
    min-height: 230px;
  }

  body.fit-page .drop-mark {
    margin-bottom: 20px;
  }

  body.fit-page .impact-note {
    margin-top: 18px;
  }

  body.fit-page .contact-card {
    aspect-ratio: auto;
    min-height: 330px;
  }

  body.fit-page .contact-page {
    justify-content: center;
    align-items: center;
  }

  body.fit-page .impact-page {
    height: calc(100vh - 77px);
  }
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  min-height: calc(100vh - 77px);
  padding: clamp(42px, 7vw, 88px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(130deg, rgba(31, 122, 77, 0.1), transparent 36%),
    linear-gradient(0deg, #fff9ed, var(--soft));
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-text,
.page-heading p,
.content-band p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 14px 34px rgba(243, 112, 33, 0.25);
}

.button.secondary {
  background: white;
  color: var(--green-dark);
  border: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--orange);
}

.hero-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--surface);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 220ms ease;
}

.hero-carousel img.is-changing {
  opacity: 0.18;
}

.carousel-dots {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
}

.carousel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(23, 33, 29, 0.28);
}

.carousel-dots span.active {
  background: var(--orange);
}

.impact-section,
.page-shell {
  padding: clamp(46px, 7vw, 88px) clamp(20px, 6vw, 86px);
}

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

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.impact-grid article,
.faq-item,
.donation-card,
.contact-card,
.stat-card,
.impact-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(23, 33, 29, 0.06);
}

.impact-grid article {
  padding: 26px;
}

.impact-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.impact-grid p,
.faq-answer p,
.donation-card p,
.check-list {
  color: var(--muted);
}

.impact-page {
  position: relative;
  min-height: calc(100vh - 77px);
  padding: 0;
  background: var(--ink);
}

.impact-showcase {
  position: relative;
  height: 100%;
  min-height: calc(100vh - 77px);
  overflow: hidden;
}

.impact-title {
  position: absolute;
  top: clamp(24px, 5vw, 58px);
  left: clamp(20px, 5vw, 72px);
  z-index: 3;
  max-width: 680px;
  color: white;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.46);
}

.impact-title .eyebrow {
  color: #ffd479;
}

.impact-title h1 {
  margin-bottom: 0;
  font-size: clamp(42px, 7vw, 86px);
}

.impact-carousel {
  position: absolute;
  inset: 0;
  min-height: 100%;
  background: var(--ink);
}

.impact-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(23, 33, 29, 0.7), rgba(23, 33, 29, 0.08) 46%, rgba(23, 33, 29, 0.44)),
    linear-gradient(0deg, rgba(23, 33, 29, 0.72), transparent 38%);
  pointer-events: none;
}

.impact-carousel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: opacity 420ms ease, transform 420ms ease;
}

.impact-carousel img.is-changing {
  opacity: 0.18;
  transform: scale(1.015);
}

.impact-caption {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  bottom: clamp(42px, 8vw, 86px);
  z-index: 3;
  max-width: min(760px, calc(100% - 40px));
  color: white;
  font-size: clamp(19px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.62);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.impact-showcase.captions-on .impact-caption {
  opacity: 1;
  transform: translateY(0);
}

.impact-showcase.captions-on .impact-caption.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.caption-toggle {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 18px;
  z-index: 3;
  min-width: 54px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(14px);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.caption-toggle:hover,
.caption-toggle[aria-pressed="true"] {
  background: var(--orange);
  color: white;
  transform: translateY(-1px);
}

.impact-carousel .carousel-dots {
  z-index: 3;
  left: clamp(20px, 5vw, 72px);
  bottom: 18px;
}

.page-shell {
  min-height: calc(100vh - 77px);
}

.page-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.page-heading h1 {
  font-size: clamp(38px, 6vw, 68px);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 34px;
  max-width: 1180px;
  align-items: end;
}

.about-heading {
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--soft) 0%, rgba(245, 247, 242, 0.96) 38%, rgba(245, 247, 242, 0.66) 62%, rgba(245, 247, 242, 0.22) 100%),
    var(--soft);
}

.about-page::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  width: min(58vw, 760px);
  height: min(58vh, 430px);
  background:
    linear-gradient(90deg, var(--soft) 0%, rgba(245, 247, 242, 0.72) 26%, rgba(245, 247, 242, 0.18) 58%, rgba(245, 247, 242, 0) 100%),
    linear-gradient(0deg, var(--soft) 0%, rgba(245, 247, 242, 0.22) 30%, rgba(245, 247, 242, 0) 62%),
    url("images/mainPic.png") right top / contain no-repeat;
  opacity: 0.34;
}

.about-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 28%, rgba(242, 181, 68, 0.22), transparent 30%),
    radial-gradient(circle at 74% 78%, rgba(31, 122, 77, 0.18), transparent 34%);
  pointer-events: none;
}

.content-band {
  max-width: 900px;
  margin: 0 0 32px;
  padding: 34px;
  border-left: 5px solid var(--orange);
  background: white;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  font-weight: 800;
  padding: 22px 24px;
  text-align: left;
}

.faq-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef5ec;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 24px;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 24px;
}

.faq-item.is-open .faq-icon {
  background: var(--green);
  color: white;
}

.donation-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: start;
  max-width: 1120px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.donation-card {
  padding: 28px;
}

.zeffy-donate-button {
  display: inline-block;
  margin-bottom: 18px;
  padding: 14px 30px;
  border: 2px solid var(--green-dark);
  border-radius: 8px;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(31, 122, 77, 0.3);
  color: white;
  font-size: 20px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.zeffy-donate-button:hover {
  background: var(--green-dark);
  box-shadow: 0 14px 30px rgba(31, 122, 77, 0.38);
  transform: translateY(-2px);
}

.donation-notice {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.55;
}

.donation-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(23, 33, 29, 0.56);
}

.donation-modal.is-open {
  display: grid;
}

.donation-dialog {
  width: min(100%, 520px);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  padding: 28px;
}

.donation-dialog h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.donation-dialog p {
  color: var(--muted);
}

.donation-email-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff8e8;
  color: var(--ink);
  font-weight: 700;
}

.donation-email-note a {
  color: var(--green-dark);
}

.donation-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 22px 0;
  color: var(--ink);
  font-weight: 700;
}

.donation-check input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--green);
}

.donation-countdown {
  display: inline-flex;
  min-width: 42px;
  justify-content: center;
  margin-left: 6px;
  color: var(--orange);
  font-weight: 800;
}

.donation-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.donation-modal-actions button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.donation-cancel {
  background: #eef5ec;
  color: var(--green-dark);
}

.donation-continue {
  background: var(--orange);
  color: white;
}

.donation-continue:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
}

.contact-page {
  position: relative;
  align-items: center;
  background:
    radial-gradient(circle at 18% 28%, rgba(242, 181, 68, 0.24), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(243, 112, 33, 0.18), transparent 24%),
    radial-gradient(circle at 72% 86%, rgba(31, 122, 77, 0.2), transparent 28%),
    var(--soft);
}

.contact-heading {
  width: min(100%, 980px);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.contact-heading h1 {
  margin-right: auto;
  margin-left: auto;
}

.contact-page .contact-grid {
  width: min(100%, 1180px);
  margin-right: auto;
  margin-left: auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 1;
  padding: 28px;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, rgba(31, 122, 77, 0.7), rgba(242, 181, 68, 0.72), rgba(243, 112, 33, 0.58)) border-box;
  border-color: transparent;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(23, 33, 29, 0.12);
}

.contact-card h2 {
  margin-bottom: 24px;
  font-size: 28px;
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card a {
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--green);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
}

.stat-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  overflow: hidden;
}

.drop-mark {
  width: 46px;
  height: 46px;
  display: inline-block;
  margin-bottom: 30px;
  border-radius: 50% 50% 50% 8px;
  background: var(--green);
  transform: rotate(-45deg);
  box-shadow: 0 10px 26px rgba(31, 122, 77, 0.22);
}

.drop-mark.gold {
  background: var(--gold);
  box-shadow: 0 10px 26px rgba(242, 181, 68, 0.24);
}

.drop-mark.orange {
  background: var(--orange);
  box-shadow: 0 10px 26px rgba(243, 112, 33, 0.24);
}

.stat-number {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 800;
  line-height: 1;
}

.stat-card h2 {
  margin-bottom: 12px;
  font-size: 23px;
}

.stat-card p:last-child,
.impact-note p {
  color: var(--muted);
}

.impact-note {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 980px;
  margin-top: 24px;
  padding: 30px;
}

.impact-note h2 {
  margin-bottom: 0;
  font-size: 30px;
}

@media (max-width: 820px) {
  .navbar,
  .brand,
  .nav-links {
    align-items: flex-start;
  }

  .navbar {
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-section,
  .impact-grid,
  .stats-grid,
  .split-heading,
  .donation-panel,
  .contact-grid,
  .impact-note {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-media {
    aspect-ratio: 16 / 11;
  }

  .about-page::before {
    width: 100%;
    height: 330px;
    opacity: 0.14;
  }

  .impact-page,
  .impact-showcase {
    min-height: 760px;
  }

  .impact-title {
    right: 20px;
  }

  .impact-title h1 {
    font-size: 42px;
  }

  .impact-caption {
    bottom: 62px;
  }
}

@media (max-width: 520px) {
  .brand {
    white-space: normal;
  }

  .nav-links a {
    padding: 9px 11px;
  }

  h1 {
    font-size: 40px;
  }

  .faq-question {
    font-size: 17px;
    padding: 18px;
  }
}
