:root {
  --primary-color: #198754;
  --primary-dark: #0f5132;
  --accent-color: #ffc107;
  --dark-neutral: #212529;
  --light-neutral: #f8f9fa;
  --text-color: #4a5568;
  --white: #ffffff;
  --border-light: rgba(0, 0, 0, 0.08);
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light-neutral);
  color: var(--dark-neutral);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
hr.divider { border: 0; border-top: 1px solid var(--border-light); margin: 15px 0; }

/*TOP INFO BAR STYLING*/
.top-bar {
  background-color: var(--dark-neutral);
  color: var(--white);
  font-style: normal;
  font-size: 0.85rem;
  padding: 10px 0;
}

.top-bar-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.top-bar i { margin-right: 6px; color: var(--accent-color); }
.contact-info, .quick-links { display: flex; gap: 20px; flex-wrap: wrap; }

/*RESPONSIVE NAVIGATION STYLING (FLEXBOX DESIGN)*/
.main-navbar {
  background-color: #f1e7e6;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
}

.brand-icon { font-size: 1.8rem; margin-right: 10px; }
.brand-title { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 4px 8px;
}

/* Base Nav Links Hidden on Mobile initially */
.nav-links-wrapper {
  display: none;
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 20px;
  box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.nav-links-wrapper.active { display: block; }
.nav-menu { list-style: none; display: flex; flex-direction: column; gap: 15px; }

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active { color: var(--primary-color); }

.sub-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.95rem;
  display: block;
}
.sub-menu a:hover { color: var(--primary-color); }
.drop-arrow { font-size: 0.75rem; margin-left: auto; }

/* Buttons Custom UI */
.btn-primary {
  display: block;
  text-align: center;
  background-color: var(--accent-color);
  color: var(--dark-neutral);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: var(--box-shadow);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-primary:hover { transform: translateY(-1px); background-color: #e0a800; }

/*HERO BANNER*/
.hero-banner {
  background: linear-gradient(rgba(15, 81, 50, 0.92), rgba(25, 135, 84, 0.96));
  color: var(--white);
  padding: 60px 0;
}

.pill-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--dark-neutral);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; }
.hero-subtitle { font-size: 1.1rem; max-width: 750px; margin: 0 auto 25px auto; opacity: 0.9; font-weight: 400; }

.hero-quote {
  background-color: rgba(255, 193, 7, 0.1);
  border-left: 4px solid var(--accent-color);
  padding: 15px;
  max-width: 600px;
  margin: 0 auto;
  color: var(--accent-color);
  font-style: italic;
  border-radius: 4px;
}
.hero-quote i { margin-right: 8px; }

/*CONTAINER SECTIONS & SECTORS*/
.section-white { background-color: var(--white); padding: 60px 0; }
.section-light { background-color: var(--light-neutral); padding: 60px 0; }

.section-title { font-size: 1.75rem; color: var(--primary-dark); font-weight: 700; margin-bottom: 20px; }
.paragraph { color: var(--text-color); margin-bottom: 20px; text-align: justify; }
.subtitle { color: var(--text-color); max-width: 700px; margin: 10px auto 40px auto; }

.lined-heading::after {
  content: ""; display: block; width: 50px; height: 3px; background-color: var(--primary-color); margin: 12px auto 0 auto;
}

.sidebar-card {
  background-color: var(--light-neutral);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--box-shadow);
  text-align: center;
  align-self: start;
}

.funding-amount { font-size: 2.5rem; font-weight: 700; color: var(--dark-neutral); display: block; }
.meta-item { display: flex; align-items: center; font-size: 0.9rem; color: var(--text-color); margin-bottom: 12px; text-align: left; }
.icon-accent { color: var(--primary-color); margin-right: 12px; width: 16px; }
.small-text { font-size: 0.9rem; color: var(--text-color); }
.muted { color: #718096 !important; }

/* Native Flex/Grid Cards Distribution */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.feature-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); }

.circle-icon {
  width: 65px;
  height: 65px;
  background-color: rgba(25, 135, 84, 0.08);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h5 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }

/* Outcomes custom lists */
.custom-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.custom-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-color); }
.list-star { color: var(--primary-color); margin-top: 5px; }

.metric-block { margin-bottom: 25px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.bg-success { background-color: var(--primary-color); }
.bg-dark { background-color: var(--primary-color); }

/* Alliance flex block */
.alliance-flex {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.alliance-flex li {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-color);
  box-shadow: var(--box-shadow);
}

/*FOOTER SECTION*/
.main-footer {
  background-color: var(--dark-neutral);
  color: var(--white);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-brand { color: var(--primary-color); margin-bottom: 10px; font-weight: 700; }
.footer-right { display: flex; flex-direction: column; gap: 5px; }

/*MEDIA QUERIES (THE RESPONSIVENESS ENGINE)*/

/* Tablet Optimization Upwards (600px +) */
@media (min-width: 600px) {
  .top-bar-content { flex-direction: row; justify-content: space-between; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop Presentation Viewports (992px +) */
@media (min-width: 992px) {
  .menu-toggle { display: none; } /* Hide mobile menu toggle */
  
  .nav-links-wrapper {
    display: block; position: static; width: auto; background: none; border: none; box-shadow: none; padding: 0;
  }
  
  .nav-menu { flex-direction: row; align-items: center; gap: 25px; }
  .nav-link { padding: 0; }
  
  /* Desktop Dropdown Hover Interface */
  .sub-menu {
    position: absolute; top: 100%; left: 0; background-color: var(--white); border: 1px solid var(--border-light);
    box-shadow: var(--box-shadow); padding: 15px; border-radius: 6px; width: 220px; display: none; border-left: none;
  }
  .nav-item-dropdown:hover .sub-menu { display: flex; }
  .drop-arrow { margin-left: 4px; }
  
  /* Grid Structural Alignments */
  .split-grid { grid-template-columns: 7fr 5fr; }
  .equality-split { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  
  .hero-banner { padding: 80px 0; }
  .hero-title { font-size: 3rem; }
  
  .footer-content { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-left { max-width: 60%; }
  .footer-right { text-align: right; }
}
/* HERO LOGOS LAYOUT (VANILLA FLEXBOX)*/
.hero-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;            
  margin-bottom: 25px;  
  flex-wrap: wrap;    
}

.hero-logo {
  height: 80px;        
  width: auto;         
  object-fit: contain; 
  filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.15));
  background-color: transparent; 
}

/* Responsive adjustment for small phones */
@media (max-width: 480px) {
  .hero-logos {
    gap: 20px;
  }
  .hero-logo {
    height: 65px;  
  }
}
.brand-link img, 
.brand-link .nav-link-logo {
  height: 60px !important; 
  width: auto;
}

.hero-logos .hero-logo {
  height: 120px; 
  width: auto;
}