/* =========================================
   THEME A+ PREMIUM DESIGN (CLEAN & CORRECT)
========================================= */

:root {
  --primary: #0d6efd;
  --primary-dark: #0a53c1;
  --text-dark: #1d1d1d;
  --bg-light: #f4f9ff;
  --radius: 18px;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  margin-top: 80px;
  overflow-x: hidden;
}

/* ===================== PREMIUM GRADIENT NAVBAR ===================== */

.navbar {
  background: linear-gradient(90deg, #0b7a2a, #0d6efd) !important;
  padding: 15px 0;
  box-shadow: 0px 4px 30px rgba(0,0,0,.25);
  border-bottom: 2px solid #ffffff66 !important; /* White line added */
}


.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;
  transition: .3s;
  padding: 10px 14px !important;
}

.nav-link.active,
.nav-link:hover {
  color: #ffeb3b !important;
  text-shadow: 0 0 10px #fff;
}

/* Mobile menu icon visible on dark gradient */
.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.7);
}

/* Toggler Icon Visibility for Mobile */
.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.6);
}

/* ===================== PAGE BANNER ===================== */

.page-banner {
  height: 45vh;
  background: url('../assets/images/about-banner.png') center/cover no-repeat;
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-banner h1,
.page-banner p {
  color: #fff;
  text-shadow: 0px 3px 18px rgba(0,0,0,0.4);
}

.page-banner h1 {
  font-size: 3rem;
  font-weight: 800;
}

/* ===================== ABOUT TEXT ===================== */
section p {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===================== FEATURE CARDS (WITH BACKGROUND IMAGES) ===================== */
.feature-card {
  height: 220px;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: .35s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.feature-card span,
.feature-card h5,
.feature-card p {
  position: relative;
  z-index: 3;
  color: #fff;
  margin-bottom: 6px;
}

/* Hover Effect */
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 12px 30px rgba(0,0,0,0.25);
}

/* === Map images based on card order (About Page Layout: 3 + 3 grid) === */
.row.g-4 .col-md-4:nth-child(1) .feature-card {
  background-image: url('../assets/images/education.png');
}

.row.g-4 .col-md-4:nth-child(2) .feature-card {
  background-image: url('../assets/images/health.png');
}

.row.g-4 .col-md-4:nth-child(3) .feature-card {
  background-image: url('../assets/images/agriculture.png');
}

.row.g-4 .col-md-4:nth-child(4) .feature-card {
  background-image: url('../assets/images/women.png');
}

.row.g-4 .col-md-4:nth-child(5) .feature-card {
  background-image: url('../assets/images/water.png');
}

.row.g-4 .col-md-4:nth-child(6) .feature-card {
  background-image: url('../assets/images/community.png');
}

/* ===================== CTA SECTION ===================== */
.bg-primary {
  margin-top: 35px;
}

/* ===================== FOOTER ===================== */

.footer-pro {
  background: linear-gradient(135deg, #003c9e, var(--primary));
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  padding: 45px 0 18px;
  margin-top: 60px;
  color: #fff;
  box-shadow: 0px -6px 25px rgba(0,0,0,0.15);
}

.footer-contact p {
  font-size: 0.9rem;
}

.footer-contact span {
  color: #ffd500;
  font-size: 1.2rem;
}

.social-icons .s-icon {
  font-size: 22px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #ffffff33;
  color: white;
  transition: .3s;
}

.social-icons .s-icon:hover {
  background: #fff;
  color: #003c9e;
}

.footer-divider {
  border-color: #ffffff55;
}

/* ===================== RESPONSIVE ===================== */
@media(max-width: 768px){
  .page-banner { height: 32vh; }
  .page-banner h1 { font-size: 2.2rem; }
}
