/* Hero */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(10,74,53,.92), rgba(15,107,76,.85)),
              url('https://jafarwelfareeducationsociety.com/wp-content/uploads/2023/06/IMG-20211003-WA0059-1-1024x768.jpg') center/cover;
  color: #fff;
  padding: 110px 0 90px;
}
.hero h1 {
  color: #fff;
  font-size: 46px;
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero p.lead {
  color: rgba(255,255,255,.88);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 30px;
}
.hero .hero-actions a { margin-right: 14px; margin-bottom: 10px; }

.hero-stats {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(10,74,53,.18);
  padding: 30px 10px;
  margin-top: -55px;
  position: relative;
  z-index: 2;
}
.hero-stats .stat-item { text-align: center; padding: 10px; }
.hero-stats .stat-item h3 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 4px;
}
.hero-stats .stat-item span {
  display: block;
  font-family: var(--font-head);
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

/* About snippet */
.about-snippet img {
  border-radius: 18px;
}
.about-snippet .badge-years {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--accent);
  color: #fff;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(212,160,23,.4);
}
.about-snippet .badge-years strong { font-size: 26px; line-height: 1; }
.about-snippet .badge-years small { font-size: 11px; }
.about-snippet-img-wrap { position: relative; }

.mission-list { list-style: none; padding: 0; margin: 22px 0; }
.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.mission-list i {
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Services */
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 34px 26px;
  height: 100%;
  border: 1px solid var(--border);
  transition: all .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15,107,76,.12);
  border-color: transparent;
}
.service-card .service-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.service-card a.read-more { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; }

/* Updates / posts */
.post-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  transition: all .3s ease;
}
.post-card:hover { box-shadow: 0 18px 40px rgba(15,107,76,.12); transform: translateY(-4px); }
.post-card .post-thumb { width: 100%; height: 190px; object-fit: cover; }
.post-card .post-body { padding: 20px; }
.post-card .post-date {
  font-size: 12.5px;
  color: var(--accent-dark);
  font-weight: 600;
  font-family: var(--font-head);
}
.post-card h4 { font-size: 16px; margin: 8px 0 0; line-height: 1.4; }
.post-card h4 a { color: var(--text); }
.post-card h4 a:hover { color: var(--primary); }
.no-posts { color: var(--muted); }

/* Donate CTA */
.donate-cta {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  border-radius: 22px;
  color: #fff;
  padding: 55px 40px;
}
.donate-cta h2 { color: #fff; }
.donate-cta p { color: rgba(255,255,255,.85); }

/* Testimonials */
.testimonial-card {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
}
.testimonial-card .stars { color: var(--accent); margin-bottom: 14px; }
.testimonial-card p.quote { font-style: italic; color: var(--text); margin-bottom: 18px; }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; }
.testimonial-card .person-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
}
.testimonial-card .person strong { display: block; font-size: 14.5px; }
.testimonial-card .person span { font-size: 12.5px; color: var(--muted); }

@media (max-width: 767px) {
  .hero { padding: 70px 0 60px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-stats { margin-top: 30px; }
}
