:root {
  --green: #4a9a85;
  --green-dark: #1f5c4a;
  --heading: #1f4d3f;
  --footer: #1d4a3c;
  --tint: #f2f7f5;
  --badge: #e3f1ec;
  --text: #222;
  --muted: #444;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  font-family: "Lexend", system-ui, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 400; }
.nav-links a:not(.btn):hover { color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--heading); margin: 5px 0; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 8px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  transition: background 0.2s;
}
.btn:hover { background: var(--green-dark); }
.btn-small { padding: 4px 14px; border-radius: 3px; font-size: 13px; }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--badge); }

/* Hero */
.hero {
  background: center / cover no-repeat;
  min-height: 520px;
  display: flex; align-items: center;
}
.hero-content { max-width: 1100px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  max-width: 13ch;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.hero p {
  color: #fff;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.2;
  max-width: 17ch;
  margin: 20px 0 24px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section { padding: 80px 0; }
.tint { background: var(--tint); }
.center { text-align: center; }

h2 {
  color: var(--heading);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  text-align: center;
  margin-bottom: 12px;
}
h2.left { text-align: left; margin-bottom: 24px; }
h3 { font-weight: 500; font-size: 1.05rem; color: #111; }
.sub { text-align: center; font-size: 15px; max-width: 640px; margin: 0 auto 40px; }
.small-top { margin: 40px auto 0; }
.lead { font-size: 1.3rem; font-weight: 300; }

.icon {
  width: 44px; height: 44px;
  fill: none; stroke: var(--green); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  margin: 0 auto 16px;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split p { font-size: 15px; }
.rounded { border-radius: 8px; width: 100%; object-fit: cover; }

/* Goals */
.goals {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px 80px; max-width: 860px; margin: 40px auto 0;
}
.goal h3 { margin-bottom: 14px; }
.goal p { font-size: 14px; }

/* Project */
.project { grid-template-columns: 1fr 1.3fr; align-items: start; }
.badge {
  display: inline-block; background: var(--badge); color: var(--green);
  font-size: 13px; padding: 2px 14px; border-radius: 999px; margin-bottom: 16px;
}
.project-title { color: var(--heading); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; margin-bottom: 16px; }
.list-title { margin: 20px 0 4px 16px; }
.project ul { margin-left: 32px; font-size: 14px; }

/* Cards */
.card { background: #fff; box-shadow: var(--card-shadow); border-radius: 4px; overflow: hidden; }

/* Gallery carousel */
.carousel { max-width: 860px; margin: 0 auto; }
.track {
  display: flex; gap: 40px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px 4px 12px;
}
.track::-webkit-scrollbar { display: none; }
.track .card { flex: 0 0 calc((100% - 80px) / 3); scroll-snap-align: start; }
.track img { width: 100%; aspect-ratio: 180 / 170; object-fit: cover; }
.track figcaption { padding: 16px; font-size: 14px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #cfe3dc; cursor: pointer; padding: 0; }
.dots button.active { background: var(--green); }

/* Donate */
.donate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 860px; margin: 0 auto; }
.donate {
  border-top: 8px solid var(--green);
  text-align: center; padding: 20px 8px;
  display: flex; flex-direction: column; align-items: center;
}
.donate h3 { font-size: 15px; margin-bottom: 16px; }
.donate p { font-size: 14px; margin-bottom: 16px; padding: 0 8px; flex: 1; }
.donate img { width: 100%; aspect-ratio: 166 / 93; object-fit: cover; border-radius: 4px; margin-bottom: 16px; }

/* Team */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 860px; margin: 0 auto; }
.member { text-align: center; padding: 16px 24px 28px; }
.member img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; }
.member h3 { font-size: 15px; margin-bottom: 20px; }
.member p { font-size: 14px; }

/* CTA */
.cta { background: var(--green); color: #fff; padding: 48px 0; }
.cta h2 { color: #fff; }
.cta p { font-size: 14px; margin-bottom: 20px; }

/* Footer */
.footer { background: var(--footer); color: #fff; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 32px; }
.footer h4 { font-weight: 500; margin-bottom: 20px; }
.footer a { display: block; text-decoration: none; margin-bottom: 4px; }
.footer a:hover { text-decoration: underline; }
.footer p { margin-bottom: 20px; }
.copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 12px; opacity: 0.8; }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 20px; width: 100%; text-align: center; }
  .nav-links .btn-small { width: auto; margin: 8px 0 16px; padding: 6px 24px; }

  .hero { min-height: 440px; background-position: 70% center; position: relative; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.05)); }
  .hero-content { position: relative; }

  .section { padding: 56px 0; }
  .split, .project, .goals, .team-grid, .donate-grid { grid-template-columns: 1fr; gap: 32px; }
  .donate-grid, .team-grid { max-width: 420px; }
  .track { gap: 20px; }
  .track .card { flex-basis: 80%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Bank details */
.bank {
  max-width: 520px; margin: 40px auto 0; padding: 28px 32px;
  border-top: 8px solid var(--green); text-align: center;
}
.bank h3 { color: var(--heading); font-size: 1.2rem; margin-bottom: 20px; }
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; text-align: left; margin-bottom: 20px; }
.bank dt { font-size: 14px; color: var(--muted); }
.bank dd { font-weight: 500; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bank p { font-size: 13px; }
.bank p a { color: var(--green); }
.copy {
  font: inherit; font-size: 12px; font-weight: 400;
  background: var(--badge); color: var(--green);
  border: 0; border-radius: 999px; padding: 2px 12px; cursor: pointer;
}
.copy:hover { background: #d2e9e1; }
@media (max-width: 480px) {
  .bank { padding: 24px 20px; }
  .bank dl { grid-template-columns: 1fr; gap: 2px; }
  .bank dd { margin-bottom: 10px; }
}

/* Text written in the CMS */
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 4px; }
.prose h2, .prose h3 { text-align: left; margin: 28px 0 12px; }
.prose img { border-radius: 8px; margin: 20px 0; }
.prose a { color: var(--green); }
.prose blockquote { border-left: 4px solid var(--green); padding-left: 16px; margin: 20px 0; font-style: italic; }
.project + .project { margin-top: 64px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; max-width: 960px; margin: 0 auto; }
.post-card { display: flex; flex-direction: column; text-decoration: none; transition: transform 0.2s; }
.post-card:hover { transform: translateY(-3px); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card time, .article time { font-size: 13px; color: var(--green); }
.post-card p { font-size: 14px; flex: 1; }
.read-more { font-size: 14px; color: var(--green); font-weight: 400; }

.article { max-width: 760px; }
.article h1 { color: var(--heading); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 8px 0 24px; }
.article .back { display: block; width: fit-content; font-size: 14px; color: var(--green); text-decoration: none; margin-bottom: 24px; }
.article-cover { margin-bottom: 32px; max-height: 460px; }
.article .prose { font-size: 16px; }
.article-cta { margin-top: 48px; padding: 28px; background: var(--tint); border-radius: 8px; text-align: center; }
.article-cta p { margin-bottom: 14px; }
.prose strong, .split strong { font-weight: 600; }
