/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #ffffff;
  --color-text: #111c16;
  --color-muted: #4d6358;
  --color-primary: #1b6b4a;
  --color-primary-dark: #0f3d28;
  --color-primary-light: #e8f5ef;
  --color-accent: #e8541a;
  --color-accent-light: #fdf0ea;
  --color-alt-bg: #f7f6f0;          /* warm cream */
  --color-border: #d9e6de;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 61, 40, 0.07);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--color-text); background: var(--color-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; scroll-margin-top: 88px; }
.section-alt { background: var(--color-alt-bg); }
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.section-intro { color: var(--color-muted); max-width: 720px; margin-bottom: 2.5rem; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--color-primary); color: #fff;
  padding: 0.85rem 1.75rem; border-radius: 999px; font-weight: 600;
  font-size: 0.95rem; border: none; cursor: pointer; font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(27, 107, 74, 0.25); }
.btn-accent { background: var(--color-accent); }
.btn-accent:hover { box-shadow: 0 12px 24px rgba(232, 84, 26, 0.28); }

/* Small buttons for report cards */
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(27, 107, 74, 0.2);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo span { color: var(--color-primary); }
.logo-img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #fff; }

.main-nav ul { display: flex; align-items: center; gap: 1.4rem; list-style: none; }
.main-nav a { font-size: 0.9rem; font-weight: 500; color: var(--color-muted); transition: color 0.2s ease; }
.main-nav a:hover { color: var(--color-primary); }
.nav-cta {
  background: var(--color-accent); color: #fff !important;
  padding: 0.55rem 1.15rem; border-radius: 999px; font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: #d1481a; transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-text); transition: transform 0.3s ease, opacity 0.3s ease; }

/* ---------- Slider base ---------- */
.slider { position: relative; }
.slider .slides-wrap { position: relative; overflow: hidden; }
.slider .slide { will-change: opacity, transform; }

/* Fade variant */
.slider--fade .slides { display: grid; }
.slider--fade .slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.slider--fade .slide.is-active { opacity: 1; pointer-events: auto; }

/* Track variant */
.slider--track .slides { display: flex; transition: transform 0.5s ease; will-change: transform; }
.slider--track .slide { flex: 0 0 calc(100% / var(--per-view, 1)); padding: 0 0.5rem; box-sizing: border-box; }
.slider--track .slides-wrap { margin: 0 -0.5rem; }

/* Report slides fill full height */
.slide--report { display: flex; }
.slide--report .report-card { width: 100%; }

/* Arrows — green by default, orange on hover */
.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--color-primary); color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 61, 40, 0.28); z-index: 5;
  display: grid; place-items: center;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.slider-prev:hover, .slider-next:hover {
  background: var(--color-accent);
  box-shadow: 0 8px 22px rgba(232, 84, 26, 0.34);
  transform: translateY(-50%) scale(1.05);
}
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

/* Dots */
.slider-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 5;
}
.slider-dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; border: none;
  background: rgba(27, 107, 74, 0.25); cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider-dots button.is-active { background: var(--color-primary); transform: scale(1.2); }

/* Track slider overrides — dots below */
.slider--track .slider-dots { position: static; transform: none; justify-content: center; margin-top: 1.25rem; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero .slide { position: relative; min-height: 80vh; display: flex; align-items: center; }
.hero .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero .slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(246, 249, 247, 0.85) 0%, rgba(255, 255, 255, 0.9) 100%),
    radial-gradient(circle at 20% 20%, rgba(27, 107, 74, 0.15), transparent 40%);
}
.hero .hero-content { position: relative; z-index: 2; padding: 4rem 1.5rem; max-width: 760px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.hero p { font-size: 1.15rem; color: var(--color-muted); margin-bottom: 2rem; max-width: 600px; }

/* Hero arrows — translucent dark glass */
.hero .slider-prev, .hero .slider-next {
  background: rgba(15, 61, 40, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.hero .slider-prev:hover, .hero .slider-next:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.hero .slider-dots button { background: rgba(27, 107, 74, 0.25); }
.hero .slider-dots button.is-active { background: var(--color-primary); }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.25rem; }
.stat-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.5rem 1rem;
  text-align: center; box-shadow: var(--shadow);
}
.stat-number {
  display: block; font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--color-primary); letter-spacing: -0.02em;
}
.stat-label { font-size: 0.85rem; color: var(--color-muted); margin-top: 0.25rem; display: block; }

/* Dark green stats band for Who We Are */
#who-we-are .stats-grid {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 61, 40, 0.18);
  gap: 0;
}
#who-we-are .stat-card {
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: left;
  padding: 0.5rem 1.5rem;
  position: relative;
}
#who-we-are .stat-card + .stat-card {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
#who-we-are .stat-number {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
}
#who-we-are .stat-label {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Impact cards ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.impact-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.impact-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 61, 40, 0.1); }
.impact-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--color-primary-light); color: var(--color-primary);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.impact-icon svg { width: 26px; height: 26px; }
.impact-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.impact-card p { color: var(--color-muted); font-size: 0.95rem; }

/* ---------- Gallery images ---------- */
.slider--track .slide img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: var(--radius);
  display: block; box-shadow: var(--shadow);
}

/* ---------- Quote ---------- */
.quote-section { background: var(--color-primary); color: #fff; }
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote p { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 500; line-height: 1.5; margin-bottom: 1.25rem; }
.quote footer { font-size: 0.95rem; opacity: 0.85; }

/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.team-member {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 61, 40, 0.1);
}
.team-photo {
  width: 112px; height: 112px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-primary-light);
  margin: 0 auto 1.15rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.35rem; }
.team-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
}
.team-bio {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ---------- Report cards ---------- */
.report-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 61, 40, 0.12);
}

.report-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 20% 20%, rgba(232, 84, 26, 0.28), transparent 55%),
    linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.report-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.6;
}
.report-cover svg {
  position: relative;
  width: 54px;
  height: 54px;
  color: rgba(255, 255, 255, 0.92);
  transition: transform 0.3s ease;
}
.report-card:hover .report-cover svg { transform: scale(1.08); }

.report-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}
.report-year {
  position: absolute;
  bottom: 8px;
  right: 14px;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  letter-spacing: -0.03em;
}

.report-body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.report-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.4rem; }
.report-meta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.report-desc {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.15rem;
  flex: 1;
}
.report-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ---------- Donate ---------- */
.donate-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; align-items: start; }
.amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.amount-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-accent);
}
.amount {
  display: block; font-size: 1.5rem; font-weight: 800;
  color: var(--color-accent); letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.amount-card p { color: var(--color-muted); font-size: 0.92rem; }

.bank-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2rem 1.85rem;
  box-shadow: var(--shadow);
}
.bank-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.25rem; }

/* Green tinted bank details block */
.bank-list {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 1.25rem;
  background: var(--color-primary-light);
  border-radius: 10px;
  padding: 1rem 1.15rem;
}
.bank-list > div {
  display: flex; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid rgba(27, 107, 74, 0.14);
  padding-bottom: 0.6rem;
}
.bank-list > div:last-child { border-bottom: none; padding-bottom: 0; }
.bank-list dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-primary-dark); font-weight: 600; }
.bank-list dd { font-weight: 700; font-size: 0.92rem; text-align: right; color: var(--color-text); }

.bank-note { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 1.25rem; }
.bank-card .btn { width: 100%; text-align: center; }
.bank-small { font-size: 0.75rem; color: var(--color-muted); margin-top: 0.75rem; text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem; align-items: start; }
.contact-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2rem 1.85rem;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.35rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-list li { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.92rem; color: var(--color-muted); }
.contact-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-primary);
}
.contact-list a:hover { color: var(--color-primary); }

.social-row { display: flex; gap: 0.6rem; margin-top: 1.75rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--color-primary-light); color: var(--color-primary-dark);
  display: grid; place-items: center; font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-btn:hover { background: var(--color-accent); color: #fff; transform: translateY(-2px); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-muted);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--color-border); border-radius: 10px;
  font-family: inherit; font-size: 0.92rem; font-weight: 400;
  letter-spacing: normal; text-transform: none;
  color: var(--color-text); background: #fff; outline: none;
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--color-primary); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: flex-start; }
.form-note { font-size: 0.78rem; color: var(--color-muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0; text-align: center;
  color: var(--color-muted); font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .donate-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 80vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem; }
  .main-nav li { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
  .main-nav li:last-child { border-bottom: none; padding-top: 1rem; }
  .nav-cta { display: inline-block; text-align: center; }

  .hero .slide { min-height: 70vh; }
  .slider-prev, .slider-next { width: 38px; height: 38px; font-size: 1.25rem; }
  .slider-prev { left: 0.5rem; }
  .slider-next { right: 0.5rem; }

  /* Dark stats band — stack on mobile */
  #who-we-are .stats-grid { padding: 1.5rem 1rem; gap: 0; }
  #who-we-are .stat-card {
    border-left: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.9rem 0;
    text-align: center;
  }
  #who-we-are .stat-card:last-child { border-bottom: none; }

  .form-row { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}