*,
p {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 18px;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #fff;
}
img{
  width: 100%;
}
.gradient-btn {
    display: inline-block;
    padding: 8px 16px;
    font-weight: bold;
    color: #fff; /* fallback text color */
    border-radius: 6px;
    text-decoration: none;
    background: linear-gradient(
        270deg,
        #ff6ec4,
        #7873f5,
        #4ade80,
        #facc15,
        #f87171
    );
    background-size: 1000% 1000%;
    animation: gradientBG 8s ease infinite;
    transition: transform 0.3s ease;
}

.gradient-btn:hover {
    transform: scale(1.05);
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.dropdown-item {
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
}
.header-top {
  padding: 6px 0px;
}
a.nav-link {
  margin: 0;
  display: block;
  color: #3b3b3b;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 16px;
}
a.nav-link.active {
  border-bottom: 5px solid #1d942f;
  border-width: 4px;
}
/* Header & Navigation */
header {
  /* background-color: #5cb85c; */
  background: #149027;

  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.bg-theme-w {
 background: #149027;
}
.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-circle {
  width: 35px;
  height: 35px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 18px;
}

.logo-text {
  color: white;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
}

header nav {
  display: flex;
  justify-content: flex-end;
  gap: 0;
}
.logo-section p {
  font-size: 12px;
  color: #fff;
}
header nav a {
  color: white !important;
  font-size: 12px;
  padding: 0 12px;
  text-decoration: none;
}
header .form-select-sm {
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: .5rem;
    font-size: 12px;
    border-radius: var(--bs-border-radius-sm);
}

header nav a:last-child {
  border-right: none;
}

header nav a:hover {
  opacity: 0.8;
}
.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #ffffff;
}
.hero-section {
  position: relative;

  display: flex;
  align-items: flex-end; /* Aligns children to the bottom */
  justify-content: center;
  color: white;
  overflow: hidden;
}
.custom-nav {
  width: 40px;
  height: 40px;
  background-color: #149027;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1000;
}

.custom-nav.prev {
  left: 100px;
}

.custom-nav.next {
  right: 100px;
}

/* .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
 
} */

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  font-size: 26px;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
  background: #0000005c;
  padding: 20px 30px;
  margin-bottom: 30px;
}

.hero-slider-controls {
  position: absolute;
  bottom: 20px;
  right: 30px;
  display: flex;
  gap: 10px;
  z-index: 3;
}
/* .hero-section {
  position: relative;
  overflow: hidden;
} */
.hero-bg {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}
.hero-text {
  font-size: 3rem;
  font-weight: bold;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  border: 2px solid white;
}

.slider-dot.active {
  background-color: white;
}

/* Sections General */
.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0px 0 0px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 42px;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-bottom: 25px;
  font-style: italic;
}

/* Blogs Section */
.blogs-section {
  padding: 0px 0 0 0;
  background-color: #fff;
}

.blog-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
  border: 1px solid #e9e9e9;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card-body {
  padding: 18px;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
  color: #424242;
}

.blog-card-text {
  font-size: 17px !important;
  line-height: 26px;
  color: #444;
  font-weight: 500;
}

.btn-green {
  display: inline-block;
  background-color: #5cb85c;
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

.btn-green:hover {
  background-color: #4cae4c;
  text-decoration: none;
  color: white;
}

.view-all-btn {
  text-align: center;
  margin-top: 30px;
}

/* Donate Section */

.donate-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9e9e9;
}

.donate-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.donate-card-body {
  padding: 20px;
  text-align: center;
}

.donate-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
  color: #424242;
}

.donate-text {
  font-size: 17px !important;
  line-height: 26px;
  color: #444;
  font-weight: 500;
}

/* Stories Section */
.stories-section {
  padding: 40px 0;
  background-color: #fff;
}

.story-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9e9e9;
  height: 100%;
}

.story-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.story-card-body {
  padding: 18px;
}

.story-meta {
  color: #ffffff;
  margin-bottom: 10px;
  background: rgba(97, 165, 52, 0.9);
  padding: 20px;
  margin-top: -79px;
  z-index: 1;
  position: relative;
  font-size: 14px;
}

.story-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
  color: #424242;
}

.story-text {
  font-size: 17px !important;
  line-height: 26px;
  color: #444;
  font-weight: 500;
}

/* Stats Section */
.stats-section {
  background-color: #333;
  background-image: url(images/counter_bg.jpg);
  color: white;
  padding: 50px 0;
  text-align: center;
}

.stats-section h2 {
  margin-bottom: 40px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.stat-box {
  padding: 25px;
}

.stat-number {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
}

.stat-label {
  font-size: 14px;
  color: #fff;
  margin-top: 8px;
  font-weight: 500;
}

/* Charts Section */
.charts-section {
  padding: 40px 0;
  background-color: #f5f5f5;
}

.chart-container {
  text-align: center;
  margin: 30px 0;
}

.chart-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: conic-gradient(
    #667eea 0deg 90deg,
    #764ba2 90deg 180deg,
    #f093fb 180deg 270deg,
    #4facfe 270deg 360deg
  );
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.chart-legend {
  font-size: 11px;
  color: #666;
  margin-top: 15px;
}

/* Knowledge Hub */
.knowledge-section {
  padding: 40px 0;
  background-color: #fff;
}

.knowledge-box {
  /* background: linear-gradient(135deg, #5cb85c 0%, #4cae4c 100%); */
  background-color: #393;
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 0;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.knowledge-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
  opacity: 0.1;
}

.knowledge-box:hover {
  transform: translateY(-5px);
}

.knowledge-box i {
  font-size: 42px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.knowledge-title {
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* Partners Section */
.partners-section {
  padding: 40px 0;
  background-color: #fafafa;
  text-align: center;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.partner-logo {
  height: 60px;
  justify-content: center;
  border: 1px solid #ccc;
  display: inline-table;
  padding: 10px;
}

.partner-logo img {
  max-height: 90px;
  max-width: 130px;
}
.about-us-details {
  background: #149027;
  padding: 30px;
  color: #fff;
  margin-bottom: 20px;
  font-size: 19px;
  font-weight: 500;
  line-height: 31px;
}
.page-banner-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center; /* horizontal centering */
  align-items: center; /* vertical centering */
  text-align: center;
}
.page-banner-content h2 {
  color: white;
  /* font-size: 2.5rem; */
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Supporter Section */
.supporter-section {
  background: linear-gradient(135deg, #5cb85c 0%, #4cae4c 100%);
  background-color: #393;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.supporter-title {
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.supporter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.supporter-form input,
.supporter-form select {
  padding: 10px 15px;
  border: none;
  border-radius: 0;
  font-size: 14px;
  min-width: 160px;
}

.supporter-form .btn-secondary {
  background-color: #333;
  color: white;
  padding: 10px 25px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
}

/* News Section */
.news-section {
  padding: 40px 0;
  background-color: #fff;
}

.news-content {
  background-color: #f5f5f5;
  padding: 25px;
  border-radius: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 25px;
}

.news-logos {
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.news-logo {
  height: 35px;
  display: flex;
  align-items: center;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
}

.footer-column {
  margin-bottom: 30px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-logo-circle {
  width: 30px;
  height: 30px;
  background-color: #5cb85c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: white;
}

.footer-text {
  font-size: 14px;
  color: #aaa;
  margin-top: 10px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.social-icons a {
  width: 28px;
  height: 28px;
  background-color: #5cb85c;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 12px;
}

.footer-bottom {


  padding-top: 20px;
  font-size: 10px;
  color: #777;
  text-align: center;
}
.footer{
  background-image: url(images/counter_bg.jpg);
}
.section-title-sm {
  font-size: 30px;
}

/* team members */

.team-member {
  text-align: center;
  margin-bottom: 30px;
}

.team-member-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 5px solid var(--accent-color);
}

.team-member h4 {
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.team-member p {
  color: var(--dark-color);
  font-style: italic;
}
.logo-height{
  height: 60px;
}
/* who we are  */
/* Responsive */
@media (max-width: 1400px) {
  .logo-height{
    height: 50px;
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar .container {
    flex-direction: column;
    align-items: center;
  }

  .navbar-brand {
    margin-bottom: 1rem;
    display: block;
    text-align: center;
  }

  .navbar-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
      background: #149027;
  }
   .navbar-nav a{
    color: #fff;
  }

  .navbar-nav .nav-item {
          margin: 0.5rem 0.5rem;
  }
   .logo-height{
    height: 60px;
  }
}

@media (max-width: 992px) {
  .logo-height{
    height: 40px;
  }
}



@media (max-width: 768px) {
  .hero-text {
    font-size: 24px;
  }

  .section-title {
    font-size: 18px;
  }

  /* header nav {
    flex-direction: column;
    gap: 5px;
  } */


  header nav {
      display: flex;
      justify-content: start;
      
  }
  .supporter-form input {
    min-width: 100%;
  }

  .chart-placeholder {
    width: 180px;
    height: 180px;
  }
}
