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

:root {
  --green-900: #1b4332;
  --green-700: #2d6a4f;
  --green-600: #347857;
  --green-500: #40916c;
  --green-300: #74c69d;
  --green-200: #95d5b2;
  --green-100: #d8f3dc;
  --gold: #e9c46a;
  --gold-dark: #c9a84a;
  --white: #ffffff;
  --bg: #f6faf8;
  --text: #1a1a2e;
  --text-light: #5a5a7a;
  --text-muted: #8a8aaa;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1040px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-500); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}
.btn-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--green-700);
}

.btn-large { padding: 16px 36px; font-size: 1.1rem; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-500);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--green-900);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-emoji { font-size: 1.6rem; line-height: 1; }

.logo-text { font-size: 1.05rem; }

.logo-highlight { color: var(--green-700); }

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

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
}
.nav a:hover { color: var(--green-700); }

.nav-cta {
  background: var(--green-700) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-900) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #1b4332 0%, #2d6a4f 50%, #347857 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-scene img,
.hero-scene svg,
.hero-scene video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero-scene video {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-scene video.visible {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(27,67,50,0.7) 0%, rgba(27,67,50,0.4) 60%, rgba(27,67,50,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* How It Works */
.section-how {
  padding: 100px 0;
  background: var(--white);
}

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

.step {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  background: var(--green-700);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.step-emoji {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* What We Accept */
.section-accept {
  padding: 100px 0;
  background: var(--bg);
}

.accept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.accept-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.accept-card:hover { box-shadow: var(--shadow-sm); }

.accept-emoji {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 12px;
}

.accept-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 6px;
}

.accept-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.accept-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-100);
  color: var(--green-900);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.note-emoji { font-size: 1.2rem; flex-shrink: 0; }

/* Why Donate */
.section-why {
  padding: 100px 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.why-card:hover { box-shadow: var(--shadow-sm); }

.why-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--green-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
  line-height: 1;
}

.why-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 8px;
}

.why-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* FAQ */
.section-faq {
  padding: 100px 0;
  background: var(--bg);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  color: var(--text);
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--green-500);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Charity of the Month */
.section-charity {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--green-100) 0%, var(--bg) 100%);
  position: relative;
}
.section-charity::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--gold), var(--green-500));
}
.charity-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.charity-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 24px;
  font-size: 4rem;
  line-height: 1;
  color: var(--green-300);
  font-family: Georgia, serif;
  opacity: 0.5;
}
.charity-bio {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  padding-top: 8px;
}
.charity-card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.btn-charity-log {
  font-size: 0.9rem;
  color: var(--green-700);
  font-weight: 600;
}
.btn-charity-log:hover {
  color: var(--green-500);
  text-decoration: underline;
}
.charity-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-100);
  border: 1px solid var(--green-200);
  border-left: 4px solid var(--green-500);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--green-900);
  margin: 0 auto 24px;
  max-width: 640px;
}
.charity-callout-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Donations page hero */
.donations-hero {
  background: linear-gradient(180deg, #1b4332 0%, #2d6a4f 50%, #347857 100%);
  color: var(--white);
}
.donations-hero .section-label { color: var(--green-200); }
.donations-hero .section-title { color: var(--white); }
.donations-hero .section-desc { color: rgba(255,255,255,0.85); }

/* Donations page table links */
#donationLogBody a:hover { text-decoration: underline; }

/* Charity featured section on donations page */
.section-charity-featured {
  background: var(--white);
  border-bottom: 2px solid var(--border);
}

/* Form */
.section-form {
  padding: 100px 0;
  background: var(--white);
}

.pickup-form {
  max-width: 640px;
  margin: 0 auto;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--font);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.15);
}

.form-textarea { resize: vertical; min-height: 80px; }

.form-actions {
  margin-top: 8px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.success-emoji {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-light);
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--green-300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.footer-attribution {
  margin-top: 4px;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}
.footer-attribution a {
  color: rgba(255,255,255,0.4);
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }

  .nav.open { display: flex; }

  .hero { min-height: auto; padding: 100px 0 60px; }

  .steps,
  .accept-grid { grid-template-columns: 1fr; }

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

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

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }

  .section-title { font-size: 1.5rem; }

  .section-desc { font-size: 1rem; }

  .hero-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-number { font-size: 1.2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-how, .section-accept, .section-why, .section-faq, .section-form, .section-charity { padding: 60px 0; }
  .footer-inner { gap: 32px; }
  .charity-card { padding: 24px; }
  .charity-card-footer { flex-direction: column; align-items: flex-start; }
}
