*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    font-family:poppins;
}
.container{
    max-width:1250px;
    margin:auto;
}
img{
    width:100%;
}


/*Header section*/

/* Navbar Container */
.navbar {
  color: white;
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color:#fff;
  position: sticky;
  top: 0;
}

/* Logo */
.logo a {
  color: black;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
}

/* Menu Links */
.nav-menu .navitems {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-bottom:0;
}

.nav-menu a {
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #227f2c;
}

/* Button */
.btn-primary {
  color: #060606;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
  border: 1px solid #222;
}

.btn-primary:hover {
  background: #121212;
  border: 1px solid transparent;
  color: #fff;
}

.rightside .btn-donate {
  background:rgb(10, 124, 63);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
    border: 1px solid transparent;
 
}

.btn-donate:hover {
  background: transparent;
  border: 1px solid #222; 
  color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: black;
  transition: 0.3s;
}
.rightside{
    display:flex;
    column-gap:30px;
    align-items:center;
}
.rightside a{
    font-weight:600;
}
.logo img{
    height:80px;
    width:auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    
  .nav-menu {
    position: fixed;
    top: 70px;
    right: 0;
    flex-direction: column;
    width: 50%;
    height:50vh;
    padding: 20px;
    background-color:black;
    border-radius:15px;
    transform: translateX(100%); 
    transition: transform 350ms cubic-bezier(.2,.8,.2,1);
    will-change: transform;
    z-index: 999; 
  }
  .nav-menu .active{
      color:#ffd633!important;
  }
  .nav-menu a{
      color:white;
  }

  .nav-menu .navitems {
    flex-direction: column;
    gap: 20px;
  }
 

  .nav-menu.show {
    transform: translateX(0); 
  }

  .menu-toggle {
    display: flex;
  }

   .rightside{
    flex-direction: column;
    justify-content:center;
    align-items:center;
    gap: 15px; 
}
   .btn-primary {
  background: #fff;
  color:black!important;
}
  .rightside .navitems{
     display:flex;
     flex-direction:column;
     justify-content:center;
     align-items:flex-start;
   }
  .logo img {
  height: 55px;
  width: auto;
}
 } 

/*hero section*/
.hero-section {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-section .swiper,
.hero-section .swiper-wrapper,
.hero-section .swiper-slide {
  height: 100%;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Optional: Pagination style */
.swiper-pagination-bullet {
  background: #ffd633; /* your brand color */
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: blue
}
.swiper-slide img{
    filter:brightness(70%);
}
@media(max-width:768px){
    .hero-section {
  width: 100%;
  height: 30vh;
  position: relative;
  overflow: hidden;
}
}

/*About section*/
 #about {
    background: #ffffff;
    padding: 60px 0px;
  }

  #about h2 {
    color: #227f2c;
    margin-bottom: 20px;
    font-size: 32px;
  }

  #about p {
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.7;
  }
  .abt-right img{
      border-radius:5px;
  }

  /*Mission & vision*/
  #mission-vision h3 {
  color: #227f2c;
  margin-bottom: 15px;
}

.mv-box {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  height: 100%;
  transition: 0.3s;
}

.mv-box:hover {
  transform: translateY(-5px);
}

.mv-box .icon {
  font-size: 30px;
  color: #227f2c;
  margin-bottom: 10px;
}

.mv-box p {
  color: #444;
  margin-bottom: 10px;
  line-height: 1.5;
}
.mv-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mv-title h3 {
  margin: 0;   /* remove default spacing */
}


/*our programs*/
  #programs .nav-link {
    margin-bottom: 20px;
    border-radius: 40px;
    font-weight: 500;
  }
  #programs h2{
      text-align:center;
      margin-bottom:40px;
  }

  #programs .nav-link.active {
    background-color: #227f2c;
    border: transparent;
  }

  #programs h3 {
    color: #227f2c;
  }
  .nav-link {
  color: #227f2c;
  border:1px solid #222;
  padding: 15px;
}
    .feature-text{
      display:flex;
      gap:15px;
  }
  .tab-content .feature-text img{
      flex: 1.5;
      min-width:0;
      height:50vh;
      object-fit:cover;
  }
  .feature-text div {
  flex: 1;
  color:#444;
}
  @media (max-width: 768px) {
  .feature-text {
    flex-direction: column;
  }

 .tab-content .feature-text img {
    width: 100%;     
    height: 25vh;   
    flex: unset;     
  }
}

/*Impact section*/
#impact h2 {
  color: #227f2c;
}

.impact-box {
  padding: 20px;
  border-radius: 10px;
  background: #f5f5f5;
  transition: 0.3s;
}

.impact-box:hover {
  transform: translateY(-5px);
}

.impact-box i {
  font-size: 40px;
  color: #227f2c;
  margin-bottom: 10px;
}

.impact-box h3 {
  font-size: 32px;
  margin: 10px 0;
  font-weight: bold;
}

.impact-box p {
  margin: 0;
  color: #555;
}

/*Gallery section*/
#gallery h2 {
  color: #227f2c;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/*Donate section*/
.cta-advanced {
  background: linear-gradient(120deg,rgba(0,0,0,0.6), rgb(41, 126, 56)), url('../img/img6.jpeg') center/cover no-repeat;
  color: #fff;
}

.cta-box {
  max-width: 700px;
  margin: auto;
}

.cta-box h2 {
  font-size: 36px;
  font-weight: 600;
}

.cta-box p {
  font-size: 16px;
  line-height: 1.7;
}

.cta-actions .btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 500;
}

/*Contact page*/
.contact-sec {
    padding: 100px 20px;
    background: #0d335412;
    text-align: center;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
}

.contact-subtext {
    color: #666;
    margin-bottom: 50px;
}

/* Layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Contact Info */
.contact-info {
    text-align: left;
}

.info-box {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-box i {
    font-size: 20px;
    color: #227f2c;
    margin-top: 5px;
}

.info-box h4 {
    margin-bottom: 5px;
}

.info-box p {
    color: #555;
    font-size: 0.95rem;
}

/* Highlight box */
.info-box.highlight {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

/* Form */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.contact-form .button {
    width: 100%;
    padding: 12px;
    background: #227f2c;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.contact-form .button:hover {
    background: #07552b;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}


/*Footer section*/
.footer-section .list-unstyled a:hover {
  color: #227f2c;
  text-decoration: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section hr {
  opacity: 0.2;
}
.ftco-footer-social{
    display:flex;
    gap:10px;
    padding:0;
    list-style:none;
    margin-bottom:0;
}

.ftco-footer-social li a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    background:#222;
    color:#fff;
    border-radius:50%;
    text-decoration:none;
    transition:0.3s;
}

/* Hover effect */
.ftco-footer-social li a:hover{
   background: #227f2c;
  transform: translateY(-3px);
}
