/* ===== Skygrove Foundation — Styles ===== */
:root {
  --green-900: #0f2e25;
  --green-800: #14463a;
  --green-700: #1a5e4c;
  --green-600: #2a7d63;
  --teal-500: #2f9e8a;
  --teal-400: #4cc0a8;
  --teal-300: #7fd9c6;
  --sand-100: #f6f4ec;
  --sand-200: #ece8db;
  --ink: #1c2b27;
  --ink-soft: #4a5a54;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15, 46, 37, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 46, 37, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 46, 37, 0.18);
  --maxw: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-700); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
}
.btn-primary { background: var(--teal-500); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ===== Header / Nav ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(15,46,37,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav { max-width: var(--maxw); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: 1.15rem; }
.logo-mark { font-size: 1.4rem; }
.logo-accent { color: var(--teal-300); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--teal-300); }
.nav-cta { background: var(--teal-500); color: var(--white) !important; padding: 9px 22px; border-radius: 50px; }
.nav-cta:hover { background: var(--teal-400); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 45%, var(--teal-500) 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(79,217,198,0.18), transparent 40%), radial-gradient(circle at 80% 70%, rgba(42,125,99,0.25), transparent 45%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,46,37,0.2), rgba(15,46,37,0.55)); }
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 120px 24px 80px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; color: var(--teal-300); margin-bottom: 18px; font-weight: 600; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.05; margin-bottom: 14px; letter-spacing: -1px; }
.hero-tagline { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 500; color: var(--teal-300); margin-bottom: 22px; font-style: italic; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,0.88); max-width: 620px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: 2rem; color: rgba(255,255,255,0.6); z-index: 2; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--sand-200); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; color: var(--teal-500); font-weight: 700; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--green-800); font-weight: 800; letter-spacing: -0.5px; }
.section-lead { margin-top: 14px; color: var(--ink-soft); font-size: 1.08rem; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.about-text p { margin-bottom: 18px; color: var(--ink-soft); font-size: 1.05rem; }
.about-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--teal-500); }
.about-card h3 { color: var(--green-800); font-size: 1.3rem; margin-bottom: 14px; }
.about-card p { color: var(--ink-soft); margin-bottom: 14px; font-size: 0.98rem; }
.about-stats { list-style: none; display: flex; gap: 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--sand-200); }
.about-stats li { display: flex; flex-direction: column; }
.about-stats strong { font-size: 1.6rem; color: var(--teal-500); font-weight: 800; }
.about-stats span { font-size: 0.82rem; color: var(--ink-soft); }

/* ===== Programs ===== */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.program-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; border-bottom: 4px solid transparent; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-bottom-color: var(--teal-500); }
.program-icon { font-size: 2.4rem; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--sand-200), var(--teal-300)); border-radius: 16px; margin-bottom: 20px; }
.program-card h3 { color: var(--green-800); font-size: 1.25rem; margin-bottom: 12px; }
.program-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ===== Get Involved ===== */
.involved-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.involved-card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.involved-card h3 { color: var(--green-800); font-size: 1.15rem; margin-bottom: 10px; }
.involved-card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 16px; }
.involved-highlight { background: linear-gradient(135deg, var(--green-800), var(--teal-500)); color: var(--white); }
.involved-highlight h3 { color: var(--white); }
.involved-highlight p { color: rgba(255,255,255,0.9); }

/* ===== Donate ===== */
.donate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; max-width: 920px; margin: 0 auto; }
.donate-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.donate-card h3 { color: var(--green-800); font-size: 1.35rem; margin-bottom: 12px; }
.donate-card p { color: var(--ink-soft); margin-bottom: 24px; }
.donate-featured { border: 2px solid var(--teal-500); transform: scale(1.04); }
.badge { display: inline-block; background: var(--teal-500); color: var(--white); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 5px 14px; border-radius: 50px; margin-bottom: 16px; }
.donate-note { text-align: center; margin-top: 36px; color: var(--ink-soft); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-info h3 { color: var(--green-800); font-size: 1.4rem; margin-bottom: 20px; }
.contact-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--teal-500); font-weight: 700; margin-top: 22px; margin-bottom: 6px; }
.contact-info address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
.contact-badge { display: inline-block; margin-top: 28px; background: var(--green-800); color: var(--teal-300); padding: 10px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--green-800); margin-bottom: 6px; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--sand-200); border-radius: 10px; font-family: inherit; font-size: 0.98rem; color: var(--ink); background: var(--sand-100); transition: border-color .2s, box-shadow .2s; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(47,158,138,0.15); }
.form-note { margin-top: 16px; color: var(--green-700); font-weight: 600; background: var(--teal-300); padding: 12px 16px; border-radius: 10px; text-align: center; }

/* ===== Footer ===== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.8); padding: 56px 0 32px; }
.footer-inner { text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
.footer-mission { max-width: 480px; margin: 0 auto 24px; font-size: 0.98rem; color: rgba(255,255,255,0.7); }
.footer-nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-nav a { color: rgba(255,255,255,0.8); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--teal-300); }
.footer-legal { font-size: 0.82rem; color: rgba(255,255,255,0.5); padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .donate-featured { transform: none; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; top: 60px; right: 0; left: 0; flex-direction: column; background: var(--green-900); padding: 24px; gap: 18px; transform: translateY(-150%); transition: transform .3s ease; box-shadow: var(--shadow-lg); }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .about-stats { flex-wrap: wrap; }
}
