:root {
  --green-dark:   #1a5c35;
  --green-mid:    #2d7a4f;
  --green-bright: #3a9e60;
  --green-pale:   #e8f5e9;
  --green-accent: #c8e6c9;
  --earth:        #6d4c41;
  --sky:          #e1f5fe;
  --white:        #ffffff;
  --off-white:    #f9fafb;
  --text:         #1a1a1a;
  --text-muted:   #555555;
  --border:       #e0e0e0;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --radius:       8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── LAYOUT ─────────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }

/* ── NAV ────────────────────────────────────────── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  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 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  letter-spacing: -0.2px;
}
.logo:hover { text-decoration: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-links a:hover { color: var(--green-dark); text-decoration: none; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
  line-height: 1.4;
}
.btn:hover { opacity: 0.88; text-decoration: none; }
.btn-primary  { background: var(--green-mid); color: var(--white); }
.btn-outline  { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-lg       { padding: 14px 32px; font-size: 15px; }
.btn-block    { width: 100%; text-align: center; display: block; }

/* ── HERO ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a5c35 0%, #2d7a4f 55%, #1e6840 100%);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M26 0 L0 26 L52 26 Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 18px;
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── STATS BAR ───────────────────────────────────── */
.stats-bar { background: var(--green-dark); color: var(--white); padding: 36px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-num   { font-size: 36px; font-weight: 800; display: block; line-height: 1.1; }
.stat-label { font-size: 13px; opacity: 0.72; margin-top: 4px; display: block; letter-spacing: 0.2px; }

/* ── TYPOGRAPHY HELPERS ──────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 10px;
}
.section-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-subtext {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ── MISSION SPLIT ───────────────────────────────── */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mission-image {
  border-radius: 12px;
  height: 380px;
  background: linear-gradient(160deg, #2d7a4f 0%, #1a5c35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
}

/* ── HOW IT WORKS ────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }
.step-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.step-number {
  width: 48px; height: 48px;
  background: var(--green-pale);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  margin: 0 auto 18px;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── EVENTS ──────────────────────────────────────── */
.events-section { background: var(--off-white); }
.events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.event-card.featured { border: 2px solid var(--green-mid); }
.event-header { background: var(--green-pale); padding: 14px 20px; border-bottom: 1px solid var(--green-accent); }
.event-header.featured-header { background: var(--green-mid); }
.event-date { font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--green-dark); }
.featured-header .event-date { color: rgba(255,255,255,0.85); }
.event-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  background: rgba(255,255,255,0.25);
  color: var(--white);
  margin-top: 6px;
  letter-spacing: 0.3px;
}
.event-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.event-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.event-body p  { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; flex: 1; }
.event-meta { margin-bottom: 14px; }
.event-meta span { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 3px; }
.spots-badge { font-size: 11px; color: #c0392b; font-weight: 700; margin-bottom: 14px; display: block; }

/* ── TESTIMONIALS ────────────────────────────────── */
.testimonials-section { background: var(--green-pale); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.testimonial-quote { font-size: 14px; line-height: 1.75; color: var(--text); margin-bottom: 18px; font-style: italic; }
.testimonial-author { font-size: 13px; font-weight: 700; color: var(--green-dark); }
.testimonial-org    { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── PARTNERS ────────────────────────────────────── */
.partners-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }
.partner-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
}

/* ── NEWSLETTER ──────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, #1a5c35, #2d7a4f);
  color: var(--white);
  text-align: center;
}
.newsletter-form { display: flex; gap: 12px; justify-content: center; max-width: 440px; margin: 24px auto 0; }
.newsletter-form input {
  flex: 1; padding: 12px 16px;
  border: none; border-radius: var(--radius);
  font-size: 14px; outline: none;
}

/* ── FOOTER ──────────────────────────────────────── */
footer { background: #0f1f15; color: rgba(255,255,255,0.65); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { color: var(--white); margin-bottom: 14px; display: inline-flex; }
.footer-brand p { font-size: 14px; line-height: 1.75; max-width: 260px; }
.footer-col h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--white); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.55); }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); margin-left: 16px; }

/* ── PAGE HERO (inner pages) ─────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #1a5c35 0%, #2d7a4f 100%);
  color: var(--white);
  padding: 64px 0;
}
.page-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 10px; }
.page-hero p  { font-size: 16px; opacity: 0.82; max-width: 560px; line-height: 1.7; }

/* ── ABOUT / TEAM ────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin-top: 40px; }
.team-card { text-align: center; }
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin: 0 auto 14px;
  border: 3px solid var(--green-accent);
}
.team-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.team-card .team-role { font-size: 12px; color: var(--text-muted); }
.team-card .team-bio  { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }

/* ── VALUES ──────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 40px; }
.value-card {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.value-icon { font-size: 32px; margin-bottom: 14px; }
.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── VOLUNTEER PAGE ──────────────────────────────── */
.volunteer-types-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.vol-type-card {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.vol-type-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--green-dark); }
.vol-type-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }

.faq-list { margin-top: 32px; max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-q { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.faq-a { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── REGISTER PAGE ───────────────────────────────── */
.register-section { background: var(--off-white); padding: 72px 0; }
.register-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.register-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}
.register-card-header { background: var(--green-dark); color: var(--white); padding: 28px 36px; }
.register-card-header h2 { font-size: 22px; margin-bottom: 6px; }
.register-card-header p  { font-size: 14px; opacity: 0.78; line-height: 1.6; }
.register-card-body { padding: 36px; }
.form-step { }
.form-step.hidden { display: none; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px; color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,122,79,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0;
  color: var(--text-muted); font-size: 13px;
}
.form-divider::before,
.form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.sso-button {
  width: 100%; padding: 13px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  margin-bottom: 10px;
}
.sso-button:hover { border-color: var(--green-mid); background: var(--green-pale); text-decoration: none; }
.info-box {
  background: var(--green-pale);
  border: 1px solid var(--green-accent);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--green-dark);
  line-height: 1.65;
}
.register-sidebar { }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--green-dark); }
.sidebar-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 10px; }
.sidebar-card ul { list-style: none; }
.sidebar-card li { font-size: 13px; color: var(--text-muted); padding: 4px 0; padding-left: 18px; position: relative; }
.sidebar-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green-mid); font-weight: 700; }
.event-summary {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
}
.event-summary h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.8px; }
.event-summary p  { font-size: 14px; margin-bottom: 6px; }
.event-summary .event-name { font-size: 16px; font-weight: 700; opacity: 1; margin-bottom: 12px; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .hero h1           { font-size: 36px; }
  .stats-grid        { grid-template-columns: 2fr 2fr; gap: 28px; }
  .mission-grid      { grid-template-columns: 1fr; }
  .mission-image     { height: 240px; font-size: 64px; }
  .steps-grid        { grid-template-columns: 1fr; }
  .events-grid       { grid-template-columns: 1fr; }
  .partners-grid     { grid-template-columns: 2fr 2fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .team-grid         { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid       { grid-template-columns: 1fr; }
  .volunteer-types-grid { grid-template-columns: 1fr; }
  .register-layout   { grid-template-columns: 1fr; }
  .nav-links         { display: none; }
}
