/* Global Styles */
:root {
  --primary-color: #8dc73f;
  --secondary-color: #00a651;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --text-color: #555;
  --white: #fff;
  --light-gray: #eee;
  --medium-gray: #ddd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  padding-top: 80px; /* Adjust based on navbar height */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #e04a18;
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
  background-color: #8dc73f;
}

.btn-large:hover {
  background-color: #FFD700; 
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-color);
  font-size: 1.1rem;
}

/* Header Styles */
.top-bar {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info a {
  margin-right: 20px;
}

.contact-info i {
  margin-right: 5px;
}

.social-icons a {
  margin-left: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
}

.main-nav {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo img {
  height: 50px;
  padding: 5px 0;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 12px;
  position: relative;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.nav-links a i {
  margin-left: 5px;
  font-size: 0.7rem;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  width: 220px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 10px 0;
  border-radius: 4px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
  padding: 8px 15px;
}

.dropdown-menu a {
  padding: 5px 0;
  font-size: 0.75rem;
  display: block;
  font-weight: 500;
}

.btn-donate {
  background-color: #8cc63f;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.btn-donate:hover {
  background-color: #7ab536;
}

.mobile-donate {
  display: none;
}

.mobile-donate .btn-donate {
  display: block;
}

.mobile-menu-icon {
  display: none;
  font-size: 24px;
  color: #333;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.mobile-menu-icon i {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-menu-icon i:before,
.mobile-menu-icon i:after {
  content: '';
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  transition: 0.3s;
}

.mobile-menu-icon i:before {
  transform: translateY(-7px);
}

.mobile-menu-icon i:after {
  transform: translateY(5px);
}

/* Responsive Nav Styles */
@media (max-width: 992px) {
  .nav-container {
    padding: 10px 15px;
  }

  .mobile-menu-icon {
    display: block;
  }

  .nav-right {
    flex: 1;
    justify-content: flex-end;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    display: block;
  }
  
  .nav-links li {
    display: block;
    margin: 0;
    border-bottom: 1px solid #eee;
  }
  
  .nav-links li a {
    padding: 15px 20px;
    display: block;
    text-align: left;
  }
  
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none;
    padding: 0;
  }
  
  .dropdown-menu.show {
    display: block;
  }
  
  .dropdown-menu li {
    padding: 0;
    border-bottom: none;
  }
  
  .dropdown-menu a {
    padding: 10px 30px;
    color: #666;
  }
  
  .btn-donate {
    display: none;
  }

  .mobile-donate {
    display: block;
    margin-right: 15px;
  }

  .mobile-donate .btn-donate {
    display: block;
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .nav-right {
    display: flex;
    align-items: center;
  }

  /* Hide desktop donate button */
  .nav-links + .donate-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .logo img {
    height: 60px;
  }
  
  .btn-donate {
    padding: 10px 15px;
    font-size: 0.8rem;
  }
  
  .hero-slider {
    height: 400px;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: 4px;
  }
}

@media (max-width: 576px) {
  .impact-counter .container {
    grid-template-columns: 1fr;
  }

  .about-text {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .impact-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.slide a:hover {
  opacity: 0.95;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: var(--white);
  max-width: 600px;
  z-index: 1;
  pointer-events: none; /* This ensures the text doesn't interfere with the link click */
}

.slide-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.slide-content h3 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #8cc63f;
}

.know-more {
  display: none;
}

@media (max-width: 768px) {
  .slide-content {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
  }
  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 350px;
  }

  .slide-content h2 {
    font-size: 1.8rem;
  }

  .slide-content h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 400px; /* Adjust height for tablets */
  }

  .slide {
    width: 100%;
    height: 100%;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 300px; /* Shorter height for mobile */
  }

  .slide {
    width: 100%;
    height: 100%;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* About Section */
.about-section {
  padding: 60px 0;
  text-align: center;
  background-color: #fff;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  font-family:Raleway, sans-serif;
}

.about-text.secondary {
  color: #666;
}

.view-details {
  color: #8cc63f;
  cursor: pointer;
}

.read-more-link {
  display: inline-block;
  color: #8cc63f;
  text-decoration: none;
  margin-top: 20px;
  font-size: 1rem;
  text-transform: lowercase;
}

/* Impact Counter */
.impact-counter {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}

.impact-title, .section-header{
  font-family: 'Bebas Neue', sans-serif;
  color:#000000;
  font-size:42px;
  line-height:54px;
  letter-spacing: 2px
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.counter-item {
  text-align: center;
  position: relative;
}

.count-number {
  font-size: 3.5rem;
  font-weight: bold;
  color: #8cc63f;
  line-height: 1;
  margin-bottom: 10px;
  display: inline-block;
}

.count-number::after {
  content: '+';
  font-size: 2rem;
  color: #8cc63f;
  font-weight: bold;
  display: inline-block;
  vertical-align: top;
  margin-left: 2px;
}

.count-label {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.count-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  font-family:Raleway, sans-serif;
}

.plus {
  display: none;
}

@media (max-width: 992px) {
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .counter-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-text {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .impact-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}

/* Programs Section */
.programs {
  padding: 80px 0;
  background-color: var(--white);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.program-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.program-icon {
  flex-shrink: 0;
}

.program-title {
  font-size: 39px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
  font-family:Bebas Neue;
  text-decoration: underline;
  /* text-decoration-color: #ff5733; /* Any color you like */ */
  text-decoration-thickness: 2px; /* Thicker line */
}
program-content p{
  font-family:Raleway, sans-serif;
  font-size:16px;
}

.program-title.education {
  color: #F4D03F;
}

.program-title.healthcare {
  color: #D7BDE2;
}

.program-title.women {
  color: #A3E4D7;
}

.program-title.livelihood {
  color: #F5CBA7;
}

.program-title.grassroots {
  color: #7DCEA0;
}

.program-title.disaster {
  color: #F1948A;
}

.program-content p {
  color: var(--text-color);
  line-height: 1.5;
}

/* CTA Donate Section */
.cta-donate {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x1080') center/cover no-repeat;
  padding: 100px 0;
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-family:Bebas Neue, sans-serif;
  letter-spacing: 1.5px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-family:Raleway, sans-serif;
}

/* News & Updates Section */
.news-updates {
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-img {
  position: relative;
  width: 100%;
  height: 250px; /* Fixed height for consistent look */
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.news-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  color: var(--dark-color);
  margin-bottom: 10px;
}

.news-content p {
  margin-bottom: 15px;
}

@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .news-img {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .news-img {
    height: 200px;
  }
  
  .news-content {
    padding: 15px;
  }
  
  .news-content h3 {
    font-size: 1.1rem;
  }
}

/* Support a Cause Section */
.support-cause {
  padding: 60px 0;
  background-color: #fff;
}

.cause-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cause-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  position: relative;
  background: white;
}

.cause-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cause-content {
  padding: 15px;
  background: white;
}

.cause-content h3 {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.cause-content p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.know-more {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .cause-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .cause-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .cause-card {
    max-width: 100%;
  }

  .cause-card img {
    height: 250px;
  }

  .cause-content {
    padding: 20px;
  }

  .cause-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .cause-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
  }
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  transition: bottom 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  bottom: 0;
}

.gallery-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.gallery-info p {
  font-size: 0.9rem;
  opacity: 0.9;
  font-family: 'Raleway', sans-serif;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .gallery-overlay {
    bottom: 0;
    padding: 15px;
  }
  
  .gallery-info h3 {
    font-size: 1.1rem;
  }
  
  .gallery-info p {
    font-size: 0.8rem;
  }
}

/* Partners Section */
.partners {
  display: none;
}

/* Newsletter Section */
.newsletter {
  padding: 60px 0;
  background-color: var(--secondary-color);
  color: var(--white);
}

.newsletter-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.newsletter-content p {
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.newsletter-form button {
  border-radius: 0 4px 4px 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .cause-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cause-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .cause-content h3 {
    font-size: 1rem;
  }
  
  .cause-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .cause-grid {
    grid-template-columns: 1fr;
  }
}

/* Accreditations Section */
.accreditations {
  padding: 80px 0;
  background-color: #fff;
}

.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.accreditation-card {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.accreditation-card:hover {
  transform: translateY(-5px);
}

.accreditation-img {
  margin-bottom: 20px;
  height: 200px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.accreditation-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.accreditation-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
  padding: 0 15px;
}

.accreditation-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0 15px;
}

@media (max-width: 992px) {
  .accreditation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .accreditation-img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .accreditation-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .accreditation-card {
    padding: 15px;
  }
  
  .accreditation-img {
    height: 160px;
  }

  .accreditation-card h3 {
    font-size: 1.1rem;
  }
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 0;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  margin-bottom: 50px;
}

.footer-column h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #999;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 40px 15px;
  text-align: center;
}

.footer-address {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  color: #999;
  font-size: 14px;
  margin-bottom: 30px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.footer-social a {
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.2);
}

.newsletter-footer {
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-form input {
  padding: 12px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 4px;
}

.newsletter-form input::placeholder {
  color: #999;
}

.newsletter-form button {
  background: #8cc63f;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #7ab535;
}

@media (max-width: 992px) {
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-column:nth-child(1),  /* About Us */
  .footer-column:nth-child(2),  /* Our Work */
  .footer-column:nth-child(3),  /* Campaigns */
  .footer-column:nth-child(6),
  .footer-column:nth-child(4),
  .footer-column:nth-child(5)/* Resource Centre */
  {
    display: none;
  }
  
  .footer-address {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
    text-align: center;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .mobile-menu-icon {
    display: block;
  }
  
  .nav-right {
    margin-left: auto;
  }
  
  .impact-counter .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom .container {
    flex-direction: column;
  }

  .footer-links {
    margin-top: 15px;
  }

  .program-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .logo img {
    height: 60px;
  }
  
  .btn-donate {
    padding: 10px 15px;
    font-size: 0.8rem;
  }
  
  .hero-slider {
    height: 400px;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: 4px;
  }
}

@media (max-width: 576px) {
  .impact-counter .container {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .slide-content {
    width: 90%;
    padding: 20px;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .program-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Update Team Section Styles */
.team-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.team-section h2 {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
}

.section-label {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: #8cc63f;
  margin: 40px 0 20px;
  position: relative;
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #8cc63f;
}

.core-members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.core-members-grid .team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
  .core-members-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .core-members-grid .team-member img {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 576px) {
  .core-members-grid {
    grid-template-columns: 1fr;
  }

  .core-members-grid .team-member img {
    width: 100px;
    height: 100px;
  }
}

.extended-team-grid {
  display: flex;
  gap: 20px;
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.extended-team-grid .team-member {
  flex: 0 0 auto;
  min-width: 200px;
  position: relative;
  padding: 20px;
  transform: translateX(100%);
  animation: slideTeam 20s linear infinite;
}

@keyframes slideTeam {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.extended-team-grid .team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(140, 198, 63, 0.1);
  border: 1px solid rgba(140, 198, 63, 0.2);
  border-radius: 12px;
  z-index: -1;
  transition: background 0.3s ease;
}

.extended-team-grid .team-member:hover::before {
  background: rgba(140, 198, 63, 0.15);
}

.extended-team-grid .team-member h3 {
  font-size: 1.1rem;
  color: #333;
  margin: 10px 0 5px;
}

.extended-team-grid .team-member .position {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
}

.extended-team-grid .team-member img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #8cc63f;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .extended-team-grid .team-member {
    min-width: 160px;
    padding: 15px;
  }

  .extended-team-grid .team-member img {
    width: 60px;
    height: 60px;
  }

  .extended-team-grid .team-member h3 {
    font-size: 0.9rem;
  }

  .extended-team-grid .team-member .position {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .extended-team-grid .team-member {
    min-width: 140px;
    padding: 12px;
  }

  .extended-team-grid .team-member img {
    width: 50px;
    height: 50px;
  }

  .extended-team-grid .team-member h3 {
    font-size: 0.8rem;
  }

  .extended-team-grid .team-member .position {
    font-size: 0.7rem;
  }
}

/* New About Page Styles */
.about-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('./2.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  margin-top: 80px;
}

.about-hero h1 {
  font-size: 3.5rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 1.2rem;
  font-family: 'Raleway', sans-serif;
}

.mission-vision {
  padding: 80px 0;
  background: #f8f9fa;
}

.mission-vision .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mission-box, .vision-box {
  padding: 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.mission-box .icon, .vision-box .icon {
  font-size: 2.5rem;
  color: #8cc63f;
  margin-bottom: 20px;
}

.mission-box h2, .vision-box h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.mission-box p, .vision-box p {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: #666;
}

.our-story {
  padding: 80px 0;
}

.our-story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #333;
}

.story-content p {
  font-family: 'Raleway', sans-serif;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #666;
}

.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #8cc63f;
  display: block;
}

.stat-item .label {
  color: #666;
  font-family: 'Raleway', sans-serif;
}

.our-values {
  padding: 80px 0;
  background: #f8f9fa;
}

.our-values h2 {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-item {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.value-item i {
  font-size: 2rem;
  color: #8cc63f;
  margin-bottom: 20px;
}

.value-item h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.value-item p {
  font-family: 'Raleway', sans-serif;
  color: #666;
  line-height: 1.6;
}

.team-section {
  padding: 80px 0;
}

.team-section h2 {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.team-member .position {
  color: #8cc63f;
  font-weight: bold;
  margin-bottom: 10px;
}

.team-member .bio {
  color: #666;
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .mission-vision .container,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .our-story .container {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero {
    height: 300px;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .mission-vision .container,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .story-stats {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Remove the testimonials section styles */
.testimonials {
  display: none;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  position: relative;
  max-width: 600px;
  width: 90%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transform: scale(0.7);
  transition: all 0.3s ease;
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.popup-image {
  width: 100%;
  height: auto;
}

.popup-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: #333;
  border: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .popup-content {
    width: 95%;
  }
  
  .popup-text {
    padding: 15px;
    font-size: 14px;
  }
}