/* ============================================================
   ABCD IMAGES.CSS — Kenya people & impact section styles
============================================================ */

/* ── HERO with real photo background ─────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10,10,20,0.82) 0%,
    rgba(10,10,20,0.65) 55%,
    rgba(204,0,0,0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
  color: #fff;
}

/* Fix hero text to always show white over photo */
.hero-title { color: #fff !important; }
.hero-subtitle { color: rgba(255,255,255,0.82) !important; }
.stat-num { color: #fff !important; }
.stat-label { color: rgba(255,255,255,0.5) !important; }
.stat-divider { background: rgba(255,255,255,0.2) !important; }
.hero-badge { color: rgba(255,180,180,0.9) !important; }
.scroll-indicator { color: rgba(255,255,255,0.35) !important; }

/* ── ABOUT — stacked images ───────────────────────────────── */
.about-img-stack {
  position: relative;
  height: 500px;
}

.about-img-stack .img-main {
  position: absolute;
  top: 0; left: 0;
  width: 82%;
  height: 88%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-img-stack .img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 46%;
  height: 46%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  z-index: 2;
}

.about-img-badge {
  position: absolute;
  bottom: 130px; left: -16px;
  background: #CC0000;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(204,0,0,0.35);
}

.about-img-badge .badge-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

.about-img-badge strong { display: block; font-size: 18px; font-weight: 800; color: #fff; }
.about-img-badge span  { font-size: 11px; color: rgba(255,255,255,0.7); }

/* ── IMPACT SECTION wrapper ───────────────────────────────── */
.impact-section {
  background: #ffffff;
  padding: 100px 0 0;
}

/* ── IMAGE 1: Full-width strip ───────────────────────────── */
.impact-fullstrip {
  position: relative;
  height: 480px;
  overflow: hidden;
  margin: 50px 0;
}

.impact-fullstrip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}

.impact-fullstrip:hover img { transform: scale(1.04); }

.strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.strip-content { max-width: 540px; color: #fff; }

.strip-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.strip-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 22px;
}

.strip-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.strip-stats span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.strip-stats strong {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: block;
}

/* ── IMAGE 2: 3 photo story cards ────────────────────────── */
.impact-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 60px 0;
}

.photo-story {
  border-radius: 18px;
  overflow: hidden;
  background: #f8f9fc;
  border: 1px solid rgba(17,24,39,0.07);
  transition: all 0.4s ease;
}

.photo-story:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.13);
}

.ps-img {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.ps-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo-story:hover .ps-img img { transform: scale(1.07); }

.ps-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.4px;
}

.ps-badge.red  { background: #CC0000; color: #fff; }
.ps-badge.dark { background: rgba(17,24,39,0.85); color: #fff; }

.ps-body { padding: 22px 20px; }

.ps-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.3;
}

.ps-body p {
  font-size: 13px;
  color: rgba(17,24,39,0.55);
  line-height: 1.65;
  margin-bottom: 14px;
}

.ps-link {
  font-size: 13px;
  font-weight: 700;
  color: #CC0000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.ps-link:hover { gap: 10px; }

/* ── IMAGE 3: Side-by-side split ─────────────────────────── */
.impact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 60px 0;
  min-height: 520px;
}

.is-img {
  position: relative;
  overflow: hidden;
}

.is-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.impact-split:hover .is-img img { transform: scale(1.04); }

.is-label {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(204,0,0,0.9);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}

.is-content {
  background: #111827;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.is-tag {
  display: inline-block;
  background: rgba(204,0,0,0.15);
  color: #ff8888;
  border: 1px solid rgba(204,0,0,0.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
}

.is-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.is-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin-bottom: 12px;
}

.is-stats {
  display: flex;
  gap: 28px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.is-stat strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #CC0000;
  line-height: 1;
}

.is-stat span {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

/* ── IMAGE 4: Insurance row ──────────────────────────────── */
.impact-insurance-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  margin: 60px 0;
  min-height: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.ins-img {
  overflow: hidden;
}

.ins-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ins-img:hover img { transform: scale(1.05); }

.ins-content {
  background: #CC0000;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.ins-content .section-label { color: rgba(255,255,255,0.7); padding-left: 0; }
.ins-content .section-label::before { display: none; }

.ins-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.ins-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.ins-stats {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.ins-stats div strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.ins-stats div span {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ins-links { display: flex; flex-direction: column; gap: 6px; }
.ins-links .ps-link { color: rgba(255,255,255,0.9); }
.ins-links .ps-link:hover { color: #fff; }

/* ── IMAGE 5: Fertility dark section ─────────────────────── */
.impact-fertility {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #0d0d1a;
  min-height: 500px;
  margin: 60px 0;
}

.fert-content {
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.fert-content .section-label.light {
  color: rgba(255,120,120,0.8);
  padding-left: 0;
}
.fert-content .section-label.light::before { display: none; }

.fert-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.fert-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.fert-stats {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.fs strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #CC0000;
  line-height: 1;
}

.fs span {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
  width: fit-content;
}

.btn-light:hover {
  background: #CC0000;
  border-color: #CC0000;
  transform: translateY(-2px);
}

.fert-imgs {
  position: relative;
  overflow: hidden;
}

.fert-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
}

.fert-img-small {
  position: absolute;
  bottom: 28px; left: 28px;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  border: 4px solid #0d0d1a;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ── IMAGE 6: Full quote banner ──────────────────────────── */
.impact-quote-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
  margin-top: 60px;
}

.impact-quote-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.iqb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(180,0,0,0.88) 0%, rgba(80,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px;
  gap: 16px;
}

.iqb-overlay blockquote {
  font-family: Georgia, serif;
  font-size: clamp(20px, 3vw, 34px);
  font-style: italic;
  color: #fff;
  max-width: 720px;
  line-height: 1.45;
}

.iqb-overlay p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

.iqb-overlay p strong { color: #fff; }

.btn-impact {
  padding: 14px 32px;
  background: #fff;
  color: #CC0000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  margin-top: 8px;
}

.btn-impact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ── HERO PARTICLES canvas ───────────────────────────────── */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .impact-photo-row { grid-template-columns: 1fr 1fr; }
  .impact-split     { grid-template-columns: 1fr; min-height: auto; }
  .impact-fertility { grid-template-columns: 1fr; }
  .fert-imgs        { height: 300px; }
  .impact-insurance-row { grid-template-columns: 1fr 1.3fr; }
  .ins-img:first-child  { display: none; }
}

@media (max-width: 768px) {
  .impact-photo-row    { grid-template-columns: 1fr; }
  .impact-insurance-row{ grid-template-columns: 1fr; }
  .ins-img             { display: none; }
  .impact-fullstrip    { height: 360px; }
  .strip-overlay       { padding: 0 30px; }
  .fert-content        { padding: 40px 24px; }
  .is-content          { padding: 36px 24px; }
  .about-img-stack     { height: 360px; }
  .about-img-stack .img-secondary { display: none; }
  .iqb-overlay         { padding: 28px 20px; }
}
