:root {
  color-scheme: light;
  --cream: #f4e8d2;
  --mustard: #c28b47;
  --terracotta: #b35f3c;
  --olive: #6f7d4c;
  --sage: #d1c7a1;
  --rose: #b4747a;
  --text: #3f3227;
  --muted: #726153;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  background-color: #e8d4a8;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cdefs%3E%3Cpattern id='florals' x='0' y='0' width='180' height='180' patternUnits='userSpaceOnUse'%3E%3C!-- Orange flower top-left --%3E%3Cg%3E%3Ccircle cx='30' cy='30' r='0.8' fill='%23f4b860'/%3E%3Ccircle cx='25' cy='25' r='6' fill='%23d97f3a' opacity='0.8'/%3E%3Ccircle cx='35' cy='25' r='6' fill='%23e8934d' opacity='0.75'/%3E%3Ccircle cx='30' cy='18' r='6' fill='%23d97f3a' opacity='0.8'/%3E%3Ccircle cx='23' cy='35' r='6' fill='%23e8934d' opacity='0.75'/%3E%3Ccircle cx='37' cy='35' r='6' fill='%23d97f3a' opacity='0.8'/%3E%3Ccircle cx='30' cy='30' r='4' fill='%23f4b860'/%3E%3C/g%3E%3C!-- Green leaf top-right --%3E%3Cg%3E%3Cellipse cx='140' cy='25' rx='4' ry='9' fill='%236f8c3d' transform='rotate(-35 140 25)'/%3E%3Cellipse cx='155' cy='35' rx='4' ry='9' fill='%238ba754' transform='rotate(25 155 35)'/%3E%3Cellipse cx='145' cy='45' rx='3.5' ry='8' fill='%236f8c3d' transform='rotate(-45 145 45)'/%3E%3C/g%3E%3C!-- Orange flower bottom-right --%3E%3Cg%3E%3Ccircle cx='150' cy='155' r='0.8' fill='%23f4b860'/%3E%3Ccircle cx='145' cy='150' r='6' fill='%23e8934d' opacity='0.75'/%3E%3Ccircle cx='155' cy='150' r='6' fill='%23d97f3a' opacity='0.8'/%3E%3Ccircle cx='150' cy='143' r='6' fill='%23e8934d' opacity='0.75'/%3E%3Ccircle cx='143' cy='160' r='6' fill='%23d97f3a' opacity='0.8'/%3E%3Ccircle cx='157' cy='160' r='6' fill='%23e8934d' opacity='0.75'/%3E%3Ccircle cx='150' cy='155' r='4' fill='%23f4b860'/%3E%3C/g%3E%3C!-- Green leaves bottom-left --%3E%3Cg%3E%3Cellipse cx='45' cy='160' rx='4' ry='9' fill='%238ba754' transform='rotate(-30 45 160)'/%3E%3Cellipse cx='60' cy='150' rx='4' ry='9' fill='%236f8c3d' transform='rotate(40 60 150)'/%3E%3Cellipse cx='50' cy='140' rx='3.5' ry='8' fill='%238ba754' transform='rotate(-50 50 140)'/%3E%3C/g%3E%3C!-- Small center flourish --%3E%3Cg%3E%3Ccircle cx='90' cy='90' r='5' fill='%23d97f3a' opacity='0.7'/%3E%3Ccircle cx='85' cy='87' r='3' fill='%238ba754' opacity='0.6'/%3E%3Ccircle cx='95' cy='87' r='3' fill='%238ba754' opacity='0.6'/%3E%3Ccircle cx='88' cy='95' r='3' fill='%23e8934d' opacity='0.6'/%3E%3Ccircle cx='92' cy='95' r='3' fill='%23e8934d' opacity='0.6'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='%23e8d4a8'/%3E%3Crect width='100%25' height='100%25' fill='url(%23florals)'/%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: auto;
  color: var(--text);
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

/* Global text glow */
h1, h2, h3, h4, h5, h6 {
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.6), 0 0 12px rgba(255, 255, 255, 0.3);
}

p, a, span, label, button, .button {
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
}

.eyebrow, .brand-label, .brand-subtitle, .program-badge {
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(112, 80, 55, 0.22);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(118, 80, 51, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand > div {
  min-width: 0;
}

.logo-mark {
  width: 160px;
  height: 160px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-label {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-subtitle {
  margin: 3px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--olive);
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 42px 34px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(112, 80, 55, 0.22);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -40px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at center, rgba(180, 96, 60, 0.15), transparent 58%);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.hero h1,
.section-head h2,
.about-card h3,
.program-card h3,
.contact-card h2 {
  color: var(--text);
  margin: 0;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: clamp(2.4rem, 3.4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 20px;
  font-weight: 900;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.hero p {
  max-width: 660px;
  line-height: 1.9;
  color: #3f3227;
  margin-bottom: 26px;
  font-size: 1rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mustard), var(--terracotta));
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 30px rgba(175, 91, 51, 0.2);
}

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(245,235,220,0.9));
  border: 1px solid rgba(112, 80, 55, 0.2);
  border-radius: 32px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(112, 80, 55, 0.08);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.section {
  margin-bottom: 36px;
}

.section-intro,
.section-head {
  margin-bottom: 24px;
}

.section-intro h2,
.section-head h2 {
  font-size: 2.2rem;
  margin: 10px 0 16px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.section-intro p,
.section-head p,
.about-card p,
.program-card p,
.contact-card p {
  color: #5f4d3e;
  line-height: 1.9;
  font-weight: 500;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.about-card,
.program-card,
.contact-card {
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(112, 80, 55, 0.18);
}

.about-card {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  z-index: 1;
  transition: background 0.3s ease;
}

.about-card:hover::before {
  background: rgba(255, 255, 255, 0.35);
}

.about-card > * {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.5);
}

.about-card:hover h3,
.about-card:hover p {
  color: var(--text);
}

.about-card h3,
.program-card h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.program-card {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 30px;
  z-index: 1;
  transition: background 0.3s ease;
}

.program-card:hover::before {
  background: rgba(255, 255, 255, 0.35);
}

.program-card > * {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.5);
}

.program-card:hover h3,
.program-card:hover p {
  color: var(--text);
}

.program-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(111, 125, 76, 0.12);
  color: var(--olive);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(112, 80, 55, 0.18);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(118, 80, 51, 0.12);
  transform: translateY(-4px);
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.6;
  font-size: 1rem;
}

.testimonial-author {
  margin: 0;
  font-weight: 600;
  color: var(--mustard);
  font-size: 0.95rem;
}

.contact-card {
  max-width: 680px;
  display: grid;
  gap: 20px;
}

.contact-details {
  display: grid;
  gap: 8px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.98rem;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(112, 80, 55, 0.15);
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
  color: var(--text);
}

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

.form-button {
  width: fit-content;
}

.site-footer {
  margin-top: 20px;
  padding-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Impact Page Styles */

.hero-impact {
  background: linear-gradient(135deg, rgba(178, 117, 105, 0.1) 0%, rgba(111, 125, 76, 0.1) 100%);
}

.impact-intro {
  background: rgba(255, 255, 255, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.stat-card {
  padding: 32px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid rgba(194, 139, 71, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(194, 139, 71, 0.5);
  box-shadow: 0 12px 40px rgba(118, 80, 51, 0.12);
  transform: translateY(-6px);
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--mustard);
  margin-bottom: 12px;
  line-height: 1;
}

.stat-card h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  color: var(--text);
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
}

.stat-card p {
  margin: 0 0 12px;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.6;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.6);
}

.stat-source {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin: 12px 0 0 !important;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.benefit-card {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(112, 80, 55, 0.18);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(118, 80, 51, 0.12);
  transform: translateY(-4px);
}

.benefit-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--text);
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
}

.benefit-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.6;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.6);
}

.impact-testimonial {
  background: linear-gradient(135deg, rgba(194, 139, 71, 0.08) 0%, rgba(212, 199, 161, 0.1) 100%);
  padding: 60px 40px;
}

.testimonial-featured {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text);
  margin: 0 0 24px;
  line-height: 1.8;
  font-weight: 500;
}

.testimonial-attribution {
  font-weight: 600;
  color: var(--mustard);
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.testimonial-note {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.impact-call-to-action {
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  padding: 60px 40px;
}

.cta-content h2 {
  margin-top: 0;
}

.cta-content p {
  max-width: 600px;
  margin: 20px auto;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .hero,
  .about-grid,
  .program-cards {
    grid-template-columns: 1fr;
  }

  .page-shell {
    padding: 20px 18px 32px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px 18px;
  }
  .hero {
    padding: 24px;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  nav {
    width: 100%;
    justify-content: flex-start;
  }
}
