* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --bg: #14532d;
  --bg-soft: #166534;
  --panel: #166534;
  --panel-2: #14532d;
  --line: #22c55e;
  --text: #f8fff9;
  --muted: #bbf7d0;
  --primary: #22c55e;
  --primary-hover: #16a34a;
  --success: #5dd089;
  --danger: #ff9b8a;
  --header-expanded-h: 146px;
  --header-compact-h: 82px;
}

body {
  background: linear-gradient(180deg, #14532d 0%, #166534 52%, #1c7a46 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-offset, var(--header-expanded-h));
}

img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

.header {
  background: linear-gradient(115deg, #14532d 0%, #166534 58%, #1f7a45 100%);
  border-bottom: none;
  padding: 1.35rem clamp(1rem, 3vw, 2rem);
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1300;
  box-shadow: 0 8px 20px rgba(10, 38, 20, 0.18);
  transition: min-height 0.22s ease, padding 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  min-height: var(--header-expanded-h);
}

.header h1 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  transition: font-size 0.2s ease, letter-spacing 0.2s ease;
}

.header .intro-note,
.header .muted-text {
  transition: opacity 0.2s ease, max-height 0.2s ease, margin 0.2s ease;
}

.header.header-scrolled {
  padding: 0.72rem clamp(0.85rem, 2.6vw, 1.35rem);
  background: linear-gradient(115deg, #124728 0%, #14532d 64%, #166534 100%);
  box-shadow: 0 10px 24px rgba(8, 30, 16, 0.28);
  min-height: var(--header-compact-h);
}

.header.header-scrolled h1 {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0.01em;
}

.header.header-scrolled .intro-note,
.header.header-scrolled .muted-text {
  opacity: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  gap: 0.28rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.menu-toggle .menu-bar {
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: #fff8df;
}

.nav-backdrop {
  display: none;
}

.header-nav-wrap {
  margin-top: 0.78rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.48rem;
  position: relative;
}

.header-nav {
  display: none;
  flex-direction: column;
  gap: 0.38rem;
  min-width: min(340px, calc(100vw - 2rem));
  max-height: min(70vh, 460px);
  overflow-y: auto;
  padding: 0.6rem;
  border-radius: 12px;
  background: rgba(12, 45, 27, 0.96);
  border: 1px solid rgba(241, 211, 122, 0.45);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 1350;
}

.header.nav-open .header-nav {
  display: flex;
}

.header-nav a {
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.45rem 0.72rem;
  font-size: 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(241, 211, 122, 0.45);
}

.header-nav a.active {
  background: #d9b044;
  color: #203315;
  font-weight: 700;
}

.header-nav-toggle {
  display: inline-flex;
  width: 44px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.27rem;
}

.header-nav-bar {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #f8ffea;
}

.top-return-btn {
  display: none;
}

.top-return-btn.show {
  display: inline-flex;
}

.intro-note {
  color: #e6f7e6;
  margin-top: 0.35rem;
}

.layout {
  display: block;
  flex: 1;
  min-height: 0;
}

.sidebar {
  display: none;
  width: 280px;
  background: linear-gradient(180deg, #185f34 0%, #1f7240 100%);
  border-right: 1px solid var(--line);
  padding: 1rem 0.8rem;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar h2 {
  font-size: 1.08rem;
  color: #fff8df;
  margin-bottom: 0.55rem;
  letter-spacing: 0.02em;
}

.sidebar a,
.sidebar .logout-btn {
  text-decoration: none;
  color: #ffffff;
  padding: 0.65rem 0.72rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
  cursor: pointer;
  position: relative;
  padding-left: 1.45rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sidebar a::before,
.sidebar .logout-btn::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f3c64f;
  position: absolute;
  left: 0.68rem;
  top: 50%;
  transform: translateY(-50%);
}

.sidebar a:hover,
.sidebar .logout-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #f2cf72;
}

.sidebar a.active {
  background: #f5cf69;
  border-color: #f6d98f;
  color: #2a4d1c;
  font-weight: 700;
}

.header-section-info {
  margin-top: 0.4rem;
  color: #fff2c9;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.content {
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  display: grid;
  gap: 0.9rem;
  align-content: start;
  position: relative;
  z-index: 1;
}

.hero,
.card,
.resource-card,
.section-box,
.stat-box,
.option-card,
.story-card,
.program-card,
.donate-side-story {
  background: linear-gradient(180deg, #1d5d39, #184f31);
  border: none;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(19, 71, 36, 0.06);
}

.hero,
.donate-hero,
.home-hero {
  margin: 0;
}

.hero-kicker {
  display: inline-block;
  border: none;
  color: #6f5210;
  background: #f3d57f;
  border-radius: 999px;
  font-size: 0.82rem;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.6rem;
}

.hero h1,
.donate-hero h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  margin-bottom: 0.4rem;
}

.hero p,
.muted-text,
.stat-box p,
.section-box p,
.need-stats,
.need-visual p,
.chat-thread-item span,
.chat-thread-item small {
  color: var(--muted);
}

.stats,
.grid,
.resource-grid,
.section-grid,
.option-grid {
  display: grid;
  gap: 0.9rem;
}

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

.stat-box h2 {
  color: #f2cb67;
}

button,
.link-btn,
.cta-btn,
[data-route-go] {
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #1f2f11;
  cursor: pointer;
  font-weight: 600;
  padding: 0.64rem 1rem;
}

button:hover,
.link-btn:hover,
.cta-btn:hover,
[data-route-go]:hover {
  background: var(--primary-hover);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(241, 211, 122, 0.5);
  color: #fff7d5;
}

.route-picker,
.form-row-2 {
  display: grid;
  gap: 0.65rem;
}

.form-grid {
  display: grid;
  gap: 0.7rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: none;
  background: #f2fde9;
  color: #113221;
  padding: 0.65rem 0.7rem;
  box-shadow: inset 0 0 0 1px rgba(109, 155, 114, 0.45);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(199, 155, 39, 0.24);
  border-color: #c79b27;
}

.status-text {
  min-height: 1.2rem;
  font-size: 0.93rem;
}

.status-text.ok { color: var(--success); }
.status-text.error { color: var(--danger); }

.inline-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.org-columns {
  display: grid;
  gap: 0.9rem;
}

.location-card p + p {
  margin-top: 0.6rem;
}

.bullet-list {
  list-style: disc;
  padding-left: 1.2rem;
}

.numbered-list {
  list-style: decimal;
  padding-left: 1.3rem;
}

.inline-list a {
  color: #e9ffd9;
  text-decoration: none;
}

.inline-list a:hover {
  text-decoration: underline;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.tab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 213, 127, 0.65);
  background: rgba(11, 47, 26, 0.45);
  color: #fff8df;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.tab-link:hover {
  background: rgba(243, 213, 127, 0.18);
}

.tab-link.active {
  background: #f3d57f;
  color: #2a4a1d;
  border-color: #f3d57f;
}

.need-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #1d5d39, #184f31);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.need-visual {
  min-height: 220px;
  padding: 1.1rem;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
}

.need-visual h3 {
  font-size: 1.2rem;
}

.need-body {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
  flex: 1;
  align-content: start;
}

.need-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #dff5e1;
}

.need-progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.need-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c79b27, #2f7b46);
}

.need-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

#needsContainer {
  align-items: stretch;
}

#needsContainer .need-card .link-btn {
  width: 100%;
  text-align: center;
}

.cta-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 0.5rem 0 0.8rem;
}

.donate-layout {
  gap: 1.2rem;
}

.donate-hero {
  background: linear-gradient(rgba(22, 72, 44, 0.72), rgba(18, 58, 36, 0.82)),
    url("https://images.unsplash.com/photo-1469571486292-b53601020b72?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  border: none;
  border-radius: 14px;
  padding: 1rem;
}

.donate-flow {
  display: grid;
  gap: 1rem;
}

.donate-form-panel {
  padding: 0.9rem 0;
}

.checkbox-line {
  display: flex;
  gap: 0.55rem;
  color: #2f5537;
  align-items: center;
}

.chat-box {
  background: #e6f7ea;
  border: 1px solid #7aa57d;
  border-radius: 12px;
  padding: 0.7rem;
  min-height: 260px;
  max-height: 380px;
  overflow-y: auto;
  display: grid;
  gap: 0.5rem;
}

.chat-bubble {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  max-width: 80%;
}

.chat-bubble.own {
  justify-self: end;
  background: #d9f1dd;
}

.chat-bubble.org {
  justify-self: start;
  background: #f6efce;
}

.chat-bubble small {
  color: #35543a;
  font-size: 0.75rem;
}

.admin-chat-layout {
  display: grid;
  gap: 0.8rem;
}

.chat-threads {
  display: grid;
  gap: 0.55rem;
  max-height: 360px;
  overflow-y: auto;
}

.chat-thread-item {
  text-align: left;
  background: #e6f7ea;
  border: 1px solid #7aa57d;
  padding: 0.65rem;
  border-radius: 10px;
  display: grid;
  gap: 0.22rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 28, 14, 0.55);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 1000;
}

.modal.hidden { display: none; }

.modal-panel {
  width: min(560px, 96%);
  background: #e8f8ec;
  border: 1px solid #6e9873;
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.modal-close {
  justify-self: end;
}

.auth-wrap {
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.auth-card {
  width: min(520px, 95%);
}

.site-footer,
footer {
  border-top: none;
  color: #f1ffe6;
  background: linear-gradient(180deg, #0f3c24, #12492c);
  text-align: center;
  padding: 0.95rem;
}

.site-footer {
  display: grid;
  gap: 0.55rem;
  justify-items: stretch;
}

.footer-bank-details {
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0.95rem;
}

.footer-bank-details h3 {
  font-size: 1rem;
  color: #ffe9a6;
  margin-bottom: 0.35rem;
}

.footer-address {
  margin-top: 0.2rem;
}

@media (min-width: 960px) {
  .org-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-picker,
  .form-row-2 {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .resource-grid,
  .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .donate-flow {
    grid-template-columns: 1.5fr 1fr;
  }

  .admin-chat-layout {
    grid-template-columns: 320px 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --header-expanded-h: 132px;
    --header-compact-h: 74px;
  }
  .layout { display: block; }
  .menu-toggle { display: none; }
  .header {
    display: flex;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.3rem;
    flex-wrap: wrap;
  }
  .header h1 {
    flex: 1 1 auto;
  }
  .header-section-info {
    width: 100%;
    margin-top: 0.15rem;
  }
  .header-nav-toggle { display: inline-flex; }
  .sidebar { display: none; }
  .top-return-btn {
    position: fixed;
    right: 0.75rem;
    top: 0.65rem;
    z-index: 1400;
    border: 1px solid #e6cc7f;
    border-radius: 999px;
    background: #f8efcd;
    color: #614a0e;
    font-weight: 700;
    padding: 0.45rem 0.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  .content {
    padding: 0.9rem;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 1rem 0.85rem;
  }

  .content { gap: 0.85rem; }

  .sidebar { display: none; }

  .checkbox-line {
    align-items: flex-start;
  }

  .checkbox-line input {
    margin-top: 0.2rem;
    width: auto;
  }

  .site-footer,
  footer {
    padding: 0.8rem;
  }

  .footer-bank-details {
    padding: 0.75rem;
  }
}

.stats-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: linear-gradient(180deg, #1b6038, #195433);
  border: 1px solid #6f9872;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
}

.stat-card h2 {
  font-size: 2rem;
  color: #2d6f3f;
}

.chart-section {
  margin-bottom: 1.5rem;
}

.soft-card {
  background: #f7fcf2;
  border: 1px solid #78a67b;
  margin-bottom: 0.8rem;
}

.donor-dashboard-page .soft-card {
  background: linear-gradient(180deg, #1b6038, #195433);
  border-color: #3b8b57;
}

.donor-support-hero {
  background: linear-gradient(rgba(17, 59, 35, 0.75), rgba(12, 42, 25, 0.84)),
    url("assets/WhatsApp%20Image%202026-02-16%20at%2013.01.29.jpeg");
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  margin: 0.65rem 0 0.85rem;
}

.donor-chat-section {
  background: linear-gradient(180deg, #1d5d39, #184f31);
  border: 1px solid #3f8c59;
}

.donor-bank-hero {
  background: linear-gradient(rgba(17, 59, 35, 0.72), rgba(12, 42, 25, 0.82)),
    url("assets/WhatsApp%20Image%202026-02-16%20at%2013.01.21.jpeg");
  background-size: cover;
  background-position: center;
  border-radius: 16px;
}

.donor-bank-hero h2,
.donor-bank-hero p {
  color: #f7fff2;
}

.donor-dashboard-page .chat-box {
  background: linear-gradient(180deg, #1b6038, #184f31);
  border-color: #3f8c59;
}

.donor-dashboard-page .chat-bubble.own {
  background: #22c55e;
  color: #0e2d1a;
}

.donor-dashboard-page .chat-bubble.org {
  background: #14532d;
  color: #f4fff6;
}

.donor-dashboard-page .chat-bubble small {
  color: #d9f7df;
}

.donor-dashboard-page input,
.donor-dashboard-page select,
.donor-dashboard-page textarea {
  background: #e8f8ec;
  color: #174028;
  box-shadow: inset 0 0 0 1px rgba(59, 139, 87, 0.55);
}

.donor-dashboard-page input::placeholder,
.donor-dashboard-page textarea::placeholder {
  color: #3c6d4d;
}

.donor-dashboard-page #directAdminContactInfo,
.donor-dashboard-page #donorChatUnread,
.donor-dashboard-page #donorChatThreadStatus {
  color: #dff7e5;
}

.reply-suggestions {
  display: grid;
  gap: 0.5rem;
  margin: 0.65rem 0 0.8rem;
}

.reply-suggestions button {
  text-align: left;
}

.impact-metric-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.feature-grid {
  display: grid;
  gap: 0.9rem;
}

.feature-card {
  background: linear-gradient(180deg, #1b6038, #195433);
  border: 1px solid #3b8b57;
  border-radius: 14px;
  padding: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.3rem;
}

.feature-card p {
  color: var(--muted);
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f3d57f;
  color: #6d5112;
  border: 1px solid #d0b262;
  margin-bottom: 0.7rem;
}

.reveal {
  animation: revealUp 0.55s ease both;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #fef9e5;
  color: #2f5236;
  border: 1px solid #c9ac5a;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}

.admin-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.admin-toast.ok {
  border-color: #2e8a4f;
}

.admin-toast.error {
  border-color: #9d4b4b;
}

.home-hero {
  background: linear-gradient(rgba(20, 68, 41, 0.62), rgba(17, 56, 34, 0.72)),
    url("assets/WhatsApp%20Image%202026-02-16%20at%2013.01.14.jpeg");
  background-size: cover;
  background-position: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 16px;
}

.about-hero {
  background: linear-gradient(rgba(17, 59, 35, 0.7), rgba(12, 42, 25, 0.78)),
    url("assets/WhatsApp%20Image%202026-02-16%20at%2013.01.20.jpeg");
  background-size: cover;
  background-position: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 16px;
}

.gallery-hero {
  background: linear-gradient(rgba(17, 59, 35, 0.7), rgba(12, 42, 25, 0.78)),
    url("assets/WhatsApp%20Image%202026-02-16%20at%2013.01.27.jpeg");
  background-size: cover;
  background-position: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 16px;
}

.home-hero h1,
.home-hero p,
.home-hero .muted-text,
.image-feature h3,
.image-feature p,
.needs-hero-card h3,
.needs-hero-card p {
  color: #f7fff2;
}

.home-hero .hero-kicker {
  background: #f5d989;
  border-color: #ffe7ad;
  color: #664f0f;
}

.image-feature {
  border-radius: 14px;
  min-height: 210px;
  background-size: cover;
  background-position: center;
  border: 1px solid #7ba57d;
  display: grid;
  align-content: end;
  padding: 0.9rem;
}

.image-feature h3 {
  font-size: 1.1rem;
}

.image-feature p {
  color: #f4ffe9;
}

.image-grid {
  display: grid;
  gap: 0.9rem;
}

.needs-hero-grid {
  display: grid;
  gap: 0.9rem;
}

.needs-hero-card {
  min-height: 200px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-size: cover;
  background-position: center;
  padding: 1rem;
  display: grid;
  align-content: end;
}

.needs-hero-card:nth-child(1) {
  background-image: linear-gradient(rgba(10, 35, 21, 0.45), rgba(10, 35, 21, 0.72)),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1500&q=80");
}

.needs-hero-card:nth-child(2) {
  background-image: linear-gradient(rgba(10, 35, 21, 0.45), rgba(10, 35, 21, 0.72)),
    url("https://images.unsplash.com/photo-1547592166-23ac45744acd?auto=format&fit=crop&w=1500&q=80");
}

.needs-hero-card:nth-child(3) {
  background-image: linear-gradient(rgba(10, 35, 21, 0.45), rgba(10, 35, 21, 0.72)),
    url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=1500&q=80");
}

.needs-hero-card h3 {
  font-size: 1.2rem;
}

.needs-hero-card p {
  color: #f0ffe4;
}

@media (min-width: 960px) {
  .image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .needs-hero-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.7rem;
}

.gallery-card {
  border: 1px solid #7ca77f;
  border-radius: 14px;
  overflow: hidden;
  background: #e6f8ea;
}

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

.gallery-card p {
  padding: 0.65rem 0.75rem;
  color: #2f5236;
}

.gallery-video {
  margin-top: 0.9rem;
  border: 1px solid #7ca77f;
  border-radius: 14px;
  overflow: hidden;
  background: #e6f8ea;
}

.gallery-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
