/* ======================================================
   RURAL CARE FOUNDATION — IMPACT PAGE CSS
   (Matches Home Theme | No Video)
====================================================== */

/* ===================== PAGE BASE ===================== */
body {
  font-family: "Segoe UI", sans-serif;
  background: #f4f9ff;
  margin-top: 70px; /* same as home */
  color: #1d1d1d;
}

/* Standard section spacing */
section {
  padding: 70px 0;
}

/* ===================== NAVBAR ===================== */
.navbar {
  background: linear-gradient(90deg, #0b7a2a, #0d6efd);
  padding: 15px 0;
  box-shadow: 0px 4px 30px rgba(0,0,0,.25);
  border-bottom: 2px solid #ffffff66;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .5px;
  color: #fff !important;
  text-shadow:
    2px 2px 6px rgba(0,0,0,0.55),
    0 0 18px rgba(255,255,255,0.55);
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  padding: 10px 14px !important;
  transition: .3s;
}

.nav-link.active,
.nav-link:hover {
  color: #ffeb3b !important;
  text-shadow: 0 0 10px #fff;
}

/* ===================== IMPACT BANNER ===================== */
.impact-banner {
  height: 40vh;
  background:
    linear-gradient(rgba(11,122,42,0.75), rgba(13,110,253,0.85)),
    url("../assets/images/rural-bg2.jpg") center/cover no-repeat;
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.impact-banner h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0px 5px 16px rgba(0,0,0,0.45);
}

/* ===================== IMPACT CARDS ===================== */
.impact-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 18px;
  height: 100%;
  box-shadow: 0px 10px 30px rgba(0,0,0,0.12);
  border-left: 6px solid #0d6efd;
  transition: .35s;
}

.impact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 16px 40px rgba(0,0,0,0.22);
}

.impact-card h5 {
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 12px;
}

.impact-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===================== STATS (OPTIONAL) ===================== */
.impact-stat {
  text-align: center;
}

.impact-stat h2 {
  font-size: 3rem;
  font-weight: 900;
  color: #0d6efd;
}

.impact-stat span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
}

/* ===================== FOOTER ===================== */
.footer-pro {
  background: linear-gradient(90deg, #003c9e, #0d6efd);
  color: #fff;
  padding: 50px 0 20px;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  margin-top: 60px;
  box-shadow: 0px -6px 25px rgba(0,0,0,0.18);
}

.footer-pro p {
  margin: 0;
  font-size: 0.95rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  .impact-banner {
    height: 30vh;
  }

  .impact-banner h1 {
    font-size: 2.2rem;
  }

  .impact-card {
    padding: 22px;
  }

  .impact-stat h2 {
    font-size: 2.4rem;
  }
}
