* {
  box-sizing: border-box;
}

:root {
  --green: #175441;
  --green-dark: #144a3a;
  --gold: #eab500;
  --gold-dark: #d9a700;
  --blue: #0d3c78;
  --red: #e90b0b;
  --white: #ffffff;
  --text: #12212b;
  --muted: #65737d;
  --line: #e9ecef;
  --soft: #f6f8f7;
  --shadow: 0 24px 70px rgba(10, 28, 24, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-container {
  width: min(1450px, calc(100% - 70px));
  margin: 0 auto;
}

/* =========================
   HEADER TOPBAR
========================= */

.topbar {
  min-height: 48px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar-left a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.top-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #fff;
}

.topbar-right {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

/* =========================
   HEADER NAVBAR
========================= */

.navbar {
  min-height: 84px;
  background: #fff;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 410px 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  min-height: 84px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 360px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  white-space: nowrap;
}

.menu a {
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.menu a:hover,
.menu a.active {
  color: var(--gold);
}

.mobile-donate-btn {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.search-icon {
  position: relative;
  width: 34px;
  height: 42px;
  display: inline-block;
}

.search-icon::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 3px;
  width: 21px;
  height: 21px;
  border: 3px solid #10243b;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 3px;
  right: 1px;
  bottom: 9px;
  border-radius: 10px;
  background: #10243b;
  transform: rotate(45deg);
}

.help-btn {
  min-width: 198px;
  height: 60px;
  padding: 0 24px;
  border-radius: 11px;
  background: var(--gold);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.help-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.help-dot {
  font-size: 10px;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid #122a22;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 21px;
  height: 3px;
  border-radius: 50px;
  background: var(--green);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   HERO / DONATION CARD
========================= */

.donation-hero {
  position: relative;
  padding: 72px 0 92px;
  background:
    radial-gradient(circle at 8% 12%, rgba(234, 181, 0, 0.18), transparent 26%),
    radial-gradient(circle at 80% 10%, rgba(23, 84, 65, 0.16), transparent 24%),
    linear-gradient(135deg, #f9fbfa 0%, #eef5f2 100%);
  overflow: hidden;
}

.donation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 84, 65, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 84, 65, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.donation-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 575px;
  align-items: center;
  gap: 58px;
}

.hero-copy {
  padding-right: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(234, 181, 0, .16);
  color: #8f6d00;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.hero-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  color: var(--green);
  font-weight: 800;
  letter-spacing: -1.2px;
}

.hero-copy p {
  margin: 0;
  max-width: 560px;
  color: #43545e;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 500;
}

.impact-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.impact-item {
  min-height: 94px;
  padding: 18px 16px;
  border: 1px solid rgba(23, 84, 65, .14);
  border-radius: 18px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 16px 40px rgba(16, 41, 35, .06);
  backdrop-filter: blur(7px);
}

.impact-item strong,
.impact-item span {
  display: block;
}

.impact-item strong {
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
}

.impact-item span {
  margin-top: 4px;
  color: #68777e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.donation-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 60, 120, .09);
}

.card-title {
  background: var(--blue);
  color: #fff;
  padding: 28px 32px;
}

.card-title h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.6px;
}

.card-body {
  padding: 34px 32px 30px;
}

.alert {
  border-radius: 12px;
  padding: 15px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.alert.success {
  background: #e8f7ee;
  border: 1px solid #b6e3c8;
  color: #14653a;
}

.alert.error {
  background: #fff0f0;
  border: 1px solid #ffc3c3;
  color: #a11717;
}

.section-heading h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 800;
}

.section-heading p {
  margin: 8px 0 22px;
  color: var(--red);
  font-size: 15px;
  font-weight: 500;
}

.amount-input-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: stretch;
  min-height: 86px;
  margin-bottom: 28px;
}

.currency-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  border-radius: 12px 0 0 12px;
}

.amount-input-row input {
  width: 100%;
  border: 2px solid #edf0f2;
  border-left: 0;
  border-radius: 0 12px 12px 0;
  padding: 0 28px;
  color: var(--blue);
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  font-family: inherit;
  outline: none;
}

.amount-input-row input:focus {
  border-color: rgba(13, 60, 120, .34);
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.amount-btn {
  min-height: 88px;
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  padding: 12px 10px;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.amount-btn:hover,
.amount-btn.active {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(233, 11, 11, .22);
  filter: brightness(.97);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0 24px;
}

.donor-heading {
  margin-bottom: 18px;
}

.donor-heading h3 {
  font-size: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #33444e;
  font-size: 13px;
  font-weight: 700;
}

.field label span {
  color: #7d8a92;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid #dbe1e4;
  border-radius: 11px;
  background: #fff;
  padding: 14px 15px;
  font-family: inherit;
  font-size: 14px;
  color: #192932;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(23, 84, 65, .55);
  box-shadow: 0 0 0 4px rgba(23, 84, 65, .09);
}

.donate-btn {
  width: 100%;
  min-height: 82px;
  border: 0;
  margin-top: 24px;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .2px;
  transition: transform .2s ease, filter .2s ease;
}

.donate-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.form-note {
  margin: 16px 0 0;
  color: #77838b;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
  font-weight: 500;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: var(--green);
  color: #fff;
  padding: 78px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .7fr .85fr 1.05fr;
  gap: 48px;
}

.footer-logo-wrap img {
  width: 345px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-logo-fallback {
  display: none;
  color: #fff;
}

.footer-logo-fallback strong,
.footer-logo-fallback small {
  display: block;
}

.footer-logo-fallback strong {
  font-size: 18px;
  font-weight: 800;
}

.footer-logo-fallback small {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.footer-about p {
  max-width: 380px;
  margin: 24px 0 36px;
  font-size: 15px;
  line-height: 1.78;
  font-weight: 600;
}

.site-footer h3 {
  margin: 0 0 24px;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
  margin: 0 0 11px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.footer-contact p {
  white-space: normal;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
  transition: background .2s ease;
}

.social-row a:hover {
  background: rgba(255,255,255,.12);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 62px;
  min-height: 68px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  max-width: 395px;
}

.newsletter-form input {
  border: 0;
  padding: 0 22px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.newsletter-form button {
  border: 0;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 26px;
  cursor: pointer;
}

.footer-bottom {
  margin-top: 78px;
  padding-top: 46px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
}

.footer-bottom strong {
  font-weight: 800;
}

.floating-contact {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 20;
  min-width: 112px;
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #3d4650;
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1250px) {
  .header-container {
    width: min(100% - 40px, 1450px);
  }

  .nav-inner {
    grid-template-columns: 340px 1fr auto;
    gap: 20px;
  }

  .brand img {
    width: 320px;
  }

  .menu {
    gap: 22px;
  }

  .menu a {
    font-size: 14px;
  }

  .help-btn {
    min-width: 172px;
    height: 56px;
    padding: 0 18px;
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .topbar-right {
    white-space: normal;
  }

  .donation-grid {
    grid-template-columns: 1fr;
  }

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

  .donation-card {
    max-width: 690px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .header-container {
    width: calc(100% - 28px);
  }

  .topbar {
    min-height: auto;
    padding: 12px 0;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .topbar-left {
    width: 100%;
    flex-direction: row;
    gap: 8px 18px;
  }

  .topbar-left a {
    font-size: 13px;
  }

  .top-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .topbar-right {
    width: 100%;
    max-width: 100%;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
  }

  .navbar {
    min-height: 94px;
    padding: 14px 0;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
  }

  .brand {
    min-height: auto;
  }

  .brand img {
    width: 255px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-actions {
    display: none;
  }

  .menu {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    margin-top: 14px;
    padding: 10px 0 0;
    border-top: 1px solid #e8ece9;
    background: #fff;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    white-space: normal;
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid #eef1ef;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
  }

  .menu a:last-child {
    border-bottom: 0;
  }

  .mobile-donate-btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: 178px;
    height: 54px;
    margin: 17px 0 6px;
    padding: 0 22px !important;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--gold);
    color: #fff !important;
    border-bottom: 0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
  }

  .donation-hero {
    padding: 42px 0 62px;
  }

  .hero-copy h1 {
    font-size: 34px;
    letter-spacing: -.6px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .impact-boxes {
    grid-template-columns: 1fr;
  }

  .card-title {
    padding: 22px 20px;
  }

  .card-title h2 {
    font-size: 28px;
  }

  .card-body {
    padding: 24px 18px 22px;
  }

  .section-heading h3 {
    font-size: 22px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .amount-input-row {
    grid-template-columns: 86px 1fr;
    min-height: 74px;
  }

  .currency-box {
    font-size: 28px;
  }

  .amount-input-row input {
    padding: 0 16px;
    font-size: 31px;
  }

  .preset-grid {
    grid-template-columns: 1fr;
  }

  .amount-btn {
    min-height: 66px;
  }

  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .donate-btn {
    min-height: 70px;
    font-size: 21px;
  }

  .site-footer {
    padding: 56px 0 34px;
  }

  .site-footer h3 {
    font-size: 22px;
  }

  .footer-bottom {
    margin-top: 48px;
    padding-top: 28px;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 235px;
  }

  .topbar-left {
    gap: 8px 14px;
  }

  .topbar-left a {
    font-size: 12.5px;
  }

  .topbar-right {
    font-size: 12px;
  }
}
/* ===== reCAPTCHA V2 Styling ===== */

.captcha-wrap {
  margin-top: 22px;
  margin-bottom: 4px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
}

@media (max-width: 420px) {
  .captcha-wrap {
    transform: scale(0.92);
    transform-origin: left center;
    width: 330px;
    margin-bottom: -4px;
  }
}
