/* ============================================================
   Program detail pages — shared styling for all 5 programs
   (health, education, women, community, healthcare-center)
   ============================================================ */

.pd-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 30%, rgba(64,156,247,.28), transparent 32%),
    linear-gradient(135deg, #0a397b 0%, #0b57b5 55%, #1470dc 100%);
  color: #fff;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: 48px 0 54px;
}

/* Health Initiatives — custom background image (1920x460) */
.pd-hero.pd-hero-health {
  background:
    linear-gradient(100deg, rgba(10,57,123,.88) 0%, rgba(10,57,123,.65) 40%, rgba(10,57,123,.25) 70%, rgba(10,57,123,.05) 100%),
    url('../assets/programs/health-hero.jpg') center/cover no-repeat;
}

/* Educational Programs — custom background image (1920x460) */
.pd-hero.pd-hero-education {
  background:
    linear-gradient(100deg, rgba(10,57,123,.88) 0%, rgba(10,57,123,.65) 40%, rgba(10,57,123,.25) 70%, rgba(10,57,123,.05) 100%),
    url('../assets/programs/education-hero.jpg') center/cover no-repeat;
}

/* Women Empowerment Programs — custom background image (1920x460) */
.pd-hero.pd-hero-women {
  background:
    linear-gradient(100deg, rgba(10,57,123,.88) 0%, rgba(10,57,123,.65) 40%, rgba(10,57,123,.25) 70%, rgba(10,57,123,.05) 100%),
    url('../assets/programs/women-hero.jpg') center/cover no-repeat;
}

/* Community Development — custom background image (1920x460) */
.pd-hero.pd-hero-community {
  background:
    linear-gradient(100deg, rgba(10,57,123,.88) 0%, rgba(10,57,123,.65) 40%, rgba(10,57,123,.25) 70%, rgba(10,57,123,.05) 100%),
    url('../assets/programs/community-hero.jpg') center/cover no-repeat;
}

/* Rural Healthcare Center Project — custom background image (1920x460) */
.pd-hero.pd-hero-healthcare-center {
  background:
    linear-gradient(100deg, rgba(10,57,123,.88) 0%, rgba(10,57,123,.65) 40%, rgba(10,57,123,.25) 70%, rgba(10,57,123,.05) 100%),
    url('../assets/programs/healthcare-center-hero.jpg') center/cover no-repeat;
}

/* Content hugs the left edge instead of sitting centered in the page's max-width column */
.pd-hero .container {
  max-width: none;
  margin: 0;
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: 24px;
}

.pd-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  margin-bottom: 22px;
}
.pd-breadcrumb a { color: #bcdcff; text-decoration: none; font-weight: 600; }
.pd-breadcrumb span { margin: 0 6px; }

.pd-hero-grid {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.pd-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}
.pd-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: #bcdcff;
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.pd-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}
.pd-hero-lead {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
  max-width: 720px;
}
.pd-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.pd-btn-white {
  background: #fff;
  color: #0a397b;
  border: none;
}
.pd-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}

/* ---------------- What we do ---------------- */
.pd-section { padding: 64px 0; }
.pd-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--green-800);
  margin: 0 0 12px;
}
.pd-section-sub {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 0 36px;
}

.pd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pd-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(15,87,164,.3);
}
.pd-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #edf7ff;
  color: #0b68d4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.pd-card h4 { font-size: 16px; color: var(--green-800); margin: 0 0 8px; }
.pd-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* ---------------- Photo + why it matters ---------------- */
.pd-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.pd-split img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 50px -28px rgba(15,87,164,.35);
}
.pd-split-copy h2 { margin-bottom: 16px; }
.pd-split-copy p { color: var(--ink-soft); font-size: 15px; line-height: 1.75; margin: 0 0 16px; }

/* ---------------- Stats ---------------- */
.pd-stats-wrap { background: var(--sage); }
.pd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.pd-stat-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--green-700);
}
.pd-stat-label { color: var(--ink-soft); font-size: 13px; margin-top: 4px; }

/* ---------------- Bottom CTA ---------------- */
.pd-cta {
  background: linear-gradient(120deg, #0a397b 0%, #1470dc 100%);
  text-align: center;
  padding: 64px 0;
}
.pd-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 0 0 12px; }
.pd-cta p { color: rgba(255,255,255,.82); font-size: 15.5px; max-width: 560px; margin: 0 auto 26px; }

@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr 1fr; }
  .pd-split { grid-template-columns: 1fr; }
  .pd-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-stats { grid-template-columns: 1fr; }
  .pd-hero-grid { flex-direction: column; align-items: flex-start; }
}