/* ==========================================
   HOME PAGE STYLES
   ========================================== */

/* Section Header */
.section-header{
  text-align:center;
  max-width:70ch;
  margin:0 auto var(--spacing-lg);
}

/* Why Matters Section */
.why-matters{
  padding:var(--spacing-xl) 0;
  background:linear-gradient(135deg, rgba(15,59,47,0.02) 0%, rgba(199,154,58,0.03) 100%);
  border-radius:var(--radius-lg);
}
.story-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:var(--spacing-lg);
  margin-top:var(--spacing-lg);
}
.story-card{
  background:var(--surface);
  padding:var(--spacing-lg);
  border-radius:var(--radius);
  border:1px solid rgba(15,59,47,0.06);
  box-shadow:var(--shadow-sm);
  transition:all 0.3s ease;
}
.story-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-hover);
}
.story-image{
  width:100%;
  height:200px;
  overflow:hidden;
  border-radius:var(--radius-sm);
  margin-bottom:var(--spacing-md);
}
.story-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.4s ease;
}
.story-card:hover .story-image img{
  transform:scale(1.08);
}
.story-card h3{
  color:var(--accent);
  font-size:1.25rem;
  margin-bottom:var(--spacing-sm);
}

/* Impact Section */
.impact-section{
  padding:var(--spacing-xl) 0;
  text-align:center;
}
.impact-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:var(--spacing-lg);
  margin:var(--spacing-lg) 0;
}
.stat-card{
  background:linear-gradient(135deg, rgba(199,154,58,0.08) 0%, rgba(15,59,47,0.04) 100%);
  padding:var(--spacing-lg);
  border-radius:var(--radius);
  border:1px solid rgba(199,154,58,0.12);
}
.stat-number{
  font-size:clamp(2.5rem, 5vw, 3.5rem);
  font-weight:700;
  color:var(--accent);
  font-family:'Plus Jakarta Sans', serif;
}
.stat-label{
  color:var(--text-soft);
  font-weight:600;
  margin-top:var(--spacing-xs);
}
.testimonials{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:var(--spacing-lg);
  margin-top:var(--spacing-xl);
}
.testimonial{
  background:var(--surface);
  padding:var(--spacing-lg);
  border-radius:var(--radius);
  border-left:4px solid var(--accent);
  box-shadow:var(--shadow-sm);
  margin:0;
  transition:all 0.3s ease;
}
.testimonial:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-hover);
}
.testimonial-image{
  width:80px;
  height:80px;
  border-radius:50%;
  overflow:hidden;
  margin-bottom:var(--spacing-md);
  border:3px solid var(--accent);
}
.testimonial-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.testimonial p{
  font-style:italic;
  color:var(--text-soft);
  margin-bottom:var(--spacing-sm);
  line-height:1.7;
}
.testimonial cite{
  color:var(--muted);
  font-style:normal;
  font-weight:600;
  font-size:0.9375rem;
}

/* Featured Resources */
.featured-resources{
  padding:var(--spacing-xl) 0;
}
.resource-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:var(--spacing-lg);
  margin-top:var(--spacing-lg);
}
.resource-card{
  background:var(--surface);
  padding:0;
  border-radius:var(--radius);
  border:1px solid rgba(15,59,47,0.06);
  box-shadow:var(--shadow);
  text-align:center;
  transition:all 0.3s ease;
  overflow:hidden;
}
.resource-card-image{
  width:100%;
  height:220px;
  overflow:hidden;
}
.resource-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.4s ease;
}
.resource-card:hover .resource-card-image img{
  transform:scale(1.1);
}
.resource-card h3,
.resource-card p,
.resource-card .btn{
  padding-left:var(--spacing-lg);
  padding-right:var(--spacing-lg);
}
.resource-card h3{
  margin-top:var(--spacing-lg);
}
.resource-card .btn{
  margin-bottom:var(--spacing-lg);
}
.resource-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
  border-color:rgba(199,154,58,0.15);
}
.resource-card h3{
  margin-bottom:var(--spacing-sm);
  color:var(--text);
}
.resource-card p{
  color:var(--text-soft);
  margin-bottom:var(--spacing-md);
}

/* CTA Actions */
.cta-actions{
  display:flex;
  gap:var(--spacing-sm);
  justify-content:center;
  align-items:center;
  margin-top:var(--spacing-md);
}

/* Mission Banner */
.mission-banner{
  margin-top:var(--spacing-xl);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:0 12px 40px rgba(15,59,47,0.12), 
             0 4px 16px rgba(199,154,58,0.08);
}
.mission-image{
  width:100%;
  height:auto;
  display:block;
}
