/* --- Hero Section (smaller than homepage) --- */
.hero-small {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("assets/hero-programs.jpg") center/cover no-repeat;
  position: relative;
  color: white;
  text-align: center;
}
.hero-small::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}
.hero-small .hero-content {
  position: relative;
  z-index: 1;
}
.hero-small h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero-small p {
  font-size: 1.2rem;
}

/* --- Programs Section --- */
.programs-section {
  padding: 4rem 2rem;
  background: #f9f9f9;
  text-align: center;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.program-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.program-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.program-card h3 {
  font-size: 1.4rem;
  margin: 0.5rem 0;
  color: #0056b3;
}
.program-card p {
  font-size: 1rem;
  color: #555;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Impact Section --- */
.impact-section {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}
.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.impact-card {
  background: #f0f6ff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.impact-card:hover {
  transform: scale(1.05);
}
.impact-card .counter {
  font-size: 2rem;
  font-weight: bold;
  color: #0056b3;
}
.impact-card p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #444;
}

/* --- Call to Action --- */
.cta-section {
  background: linear-gradient(135deg, #0056b3, #0077cc);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}
.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.cta-section .donate-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: #ffcc00;
  color: #222;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.cta-section .donate-btn:hover {
  background: #ffdb4d;
  transform: translateY(-3px);
}

/* --- Fade-in effect for cards (already supported by JS) --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
  .hero-small h1 {
    font-size: 2rem;
  }
  .program-card img {
    height: 150px;
  }
}
