/* ===== GROW — Global Resources and Opportunities for Wellness ===== */

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

:root {
  /* Greens — from logo gradient */
  --green-900: #1a5e1f;
  --green-700: #2d7a2e;
  --green-600: #4a9e3f;
  --green-400: #8cc63f;
  --green-200: #c8e6a0;
  --green-50:  #f2f9ec;
  /* Blues — from logo globe */
  --blue-700:  #1a6fb0;
  --blue-500:  #2e8bc7;
  --blue-300:  #7ec8e3;
  --blue-50:   #eaf5fb;
  /* Accents */
  --gold:      #4a9e3f;
  --gold-light:#c8e6a0;
  --gray-900:  #2a2a2a;
  --gray-700:  #4a4a4a;
  --gray-400:  #8a8a8a;
  --gray-100:  #f5f5f5;
  --white:     #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  line-height: 1.7;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-400); }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }
.section { padding: 5rem 0; }
.section--alt { background: var(--green-50); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--green-900); line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: .5rem; }
p + p { margin-top: 1rem; }

.section-subtitle {
  color: var(--gray-400);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn--primary {
  background: var(--green-400);
  color: var(--green-900);
}
.btn--primary:hover {
  background: var(--green-600);
  color: var(--white);
}
.btn--outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover {
  background: var(--white);
  color: var(--green-900);
}
.btn--gold {
  background: var(--blue-500);
  color: var(--white);
}
.btn--gold:hover {
  background: var(--blue-700);
  color: var(--white);
}
.btn--lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ---------- Shimmer Donate Button ---------- */
@keyframes shimmer-sweep {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.btn--shimmer {
  background: linear-gradient(110deg,
    #ffb703 0%, #ffb703 38%,
    #ffe066 50%,
    #ffb703 62%, #ffb703 100%);
  background-size: 250% 100%;
  color: #0b0f1a !important;
  border-color: transparent;
  animation: shimmer-sweep 2.8s ease-in-out infinite;
  box-shadow: 0 8px 28px rgba(255, 183, 3, 0.40);
  font-weight: 700;
}
.btn--shimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(255, 183, 3, 0.60);
  color: #0b0f1a !important;
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 72px;
  width: auto;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-400);
  transition: width var(--transition);
}
.nav a:hover::after { width: 100%; }
.nav a.active {
  background: var(--green-200);
  color: var(--green-900);
  padding: .4rem .8rem;
  border-radius: var(--radius);
}
.nav a.active::after { display: none; }
.nav a:hover { color: var(--green-700); }
.nav .btn { padding: .6rem 1.4rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  margin: 5px 0;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #0b1d2e;
  color: var(--white);
  padding: 5rem 0;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.hero-text {
  text-align: left;
  z-index: 2;
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero p {
  font-size: 1.15rem;
  max-width: 540px;
  margin: 0 0 2rem;
  opacity: .92;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-map {
  position: relative;
  width: 100%;
  height: 210px;
}
.hero-map canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-text { text-align: center; }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-map { height: 160px; }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--blue-700);
  color: var(--white);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 2.4rem;
  font-family: var(--font-heading);
}
.stat-item span {
  font-size: .9rem;
  opacity: .85;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.card h3 { color: var(--green-900); }
.card p { color: var(--gray-700); font-size: .95rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-700), var(--green-600));
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: .8rem; }
.cta-banner p { max-width: 560px; margin: 0 auto 2rem; opacity: .9; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--blue-50);
  border-left: 4px solid var(--blue-500);
  padding: 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 700px;
  margin: 0 auto;
}
.testimonial blockquote { font-style: italic; font-size: 1.1rem; color: var(--gray-700); }
.testimonial cite { display: block; margin-top: .8rem; font-weight: 600; color: var(--green-900); font-style: normal; }

/* ---------- Team Grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.team-member {
  text-align: center;
}
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--green-200);
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
}
.team-member h3 { margin-bottom: .2rem; }
.team-member p { color: var(--gray-400); font-size: .9rem; }

/* ---------- Timeline ---------- */
.timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--green-200);
}
.timeline-item { margin-bottom: 2rem; position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: .4rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue-500);
  border: 3px solid var(--blue-300);
}
.timeline-item h3 { font-size: 1.1rem; }
.timeline-item .year { font-weight: 700; color: var(--blue-700); font-size: .9rem; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray-700);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #d0d0d8;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(82,183,136,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Donate Amounts ---------- */
.donate-amounts {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.donate-amount {
  padding: .75rem 1.5rem;
  border: 2px solid var(--green-200);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.donate-amount:hover,
.donate-amount.active {
  border-color: var(--blue-500);
  background: var(--blue-50);
  color: var(--blue-700);
}

/* ---------- Contact Info ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---------- Page Header ---------- */
.page-header {
  background: #0b1d2e;
  color: var(--white);
  padding: 3rem 0;
  overflow: hidden;
}
.page-header h1 { color: var(--white); margin-bottom: .5rem; }
.page-header p { opacity: .9; max-width: 600px; margin: 0; }

.page-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.page-header-map {
  position: relative;
  width: 100%;
  height: 210px;
}
.page-header-map canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.value-item { text-align: center; padding: 1.5rem; }
.value-icon {
  font-size: 2.5rem;
  margin-bottom: .8rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: var(--green-400); }
.footer ul li { margin-bottom: .5rem; }
.footer-about p { font-size: .9rem; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}
.footer-bottom a { margin-left: 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .page-header-split { grid-template-columns: 1fr; }
  .page-header-map { height: 160px; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    gap: 1rem;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .8rem; text-align: center; }
}
