* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Define keyframes for the animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



/* Add CSS for animations here if needed */
.animate {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.animated {
  opacity: 1;
}


body {
    font-family: Arial, sans-serif;
    animation: fadeIn 3s ease-in-out;
}

.container {
    width: 80%;
    margin: auto;
}

header {
    background: #006633;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-right: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #ffcc00;
}

.hero {
    background: url('pioneerGallery5.jpg') no-repeat center center/contain;
    background-attachment:fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: white;
    font-weight: 900;
    /* filter: drop-shadow(0 0 3px #006633); */
    -webkit-text-stroke: 2px #006633;
  }

.btn {
    padding: 10px 20px;
    background-color: white;
    color: #006633;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #006633;
    font-size: 1.2em;
}

.menu-icon {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 20%;
    background-color: white;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 140px;
    padding: 30px;
    border: 2px solid #006633; /* Border line attached */
    cursor: pointer;
}

.menu {
    float: right; /* Align the menu to the right */
}

.menu .fa-remove{
    display: none;
}

.nav-hide{
    display: none;
}



.green-section {
  display: none;
    background-color: #006633;
    padding: 50px 20px; /* Adjust padding as needed */
}

.logo img {
  max-width: 10%; /* Make the logo image responsive */
  height: auto; /* Ensure the image maintains its aspect ratio */
  position: absolute;
  top: 1px;
}


.mission {
  background: url('TEMPLATE 3.jpg') ;
  background-size: cover;
  background-repeat: no-repeat;
  background-clip: border-box;
  background-position: center ;
  height: 250vh;
  text-align: center;
}

.apply {
  background: url('TEMPLATE 3.jpg') no-repeat center center/cover;
  height: 70vh;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;  /* Center horizontally as well if needed */
}



.apply h1 {
  color: #fff;  /* White text for better contrast */
  font-size: 2.5rem;  /* Adjust as desired */
  margin-bottom: 20px;  /* Add some space below the heading */
}

.apply .btn-apply {
  /* Style the register button */
  padding: 10px 20px;
  background-color: white;
  color: #006633;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #99CC33;
  font-size: 1.2em;
  /* Add hover effect (optional) */
  transition: background-color 0.3s ease;
}

.apply img {
  max-width: 10%; /* Make the logo image responsive */
  height: auto; /* Ensure the image maintains its aspect ratio */
  position: absolute;
  top: 1px;
}

.apply .btn-apply:hover {
  color: #99CC33; /* Darken on hover */
}


.register-body {
  background: url('TEMPLATE 3.jpg') no-repeat center center/cover;
  height: auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;  /* Center horizontally as well if needed */
   padding-bottom: 80px;
}



.register-body h1 {
  color: #fff;  /* White text for better contrast */
  font-size: 2.5rem;  /* Adjust as desired */
  margin-bottom: 40px;  /* Add some space below the heading */
}

.register-body .btn-apply {
  /* Style the register button */
  padding: 11px 26px;
  background-color: white;
  color: #006633;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #99CC33;
  font-size: 1.2em;
  /* Add hover effect (optional) */
  transition: background-color 0.3s ease;
  margin-bottom: 30px;
}

.register-body img {
  margin-top: 70px;
  max-width: 30%; /* Make the logo image responsive */
  height: auto; /* Ensure the image maintains its aspect ratio */
}

.register-body .btn-apply:hover {
  color: #99CC33; /* Darken on hover */
}


.who {
  background: linear-gradient(135deg, #99CC33, #006633); /* Gradient background */
  padding: 60px 20px; /* Padding */
  text-align: center; /* Center align text */
  color: #fff; /* Text color */
}

.who h1 {
  font-size: 36px; /* Heading font size */
  margin-bottom: 40px; /* Margin bottom */
}

.who-content {
  max-width: 800px; /* Max width for content */
  margin: 0 auto; /* Center content */
}

.who-content p {
  font-size: 18px; /* Paragraph font size */
  line-height: 1.6; /* Line height */
}





#div1, #div2, #div3, #div4, #div5, #div6 {
  animation: fadeIn;
}



@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

footer {
  background-color: white;
  padding: 20px;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
}

.social-icons a {
  display: inline-block;
  margin: 0 15px;
}


.copyright {
  background-color: white;
  color: #006633;
  padding: 20px;
  text-align: center;
}

/* You can add any necessary styling for the copyright text */

.social-icons i {
  font-size: 24px; /* Adjust the size as needed */
  color: #006633; /* Adjust the color as needed */
  transition: transform 0.3s ease-in-out;
}

.social-icons i:hover {
  transform: scale(1.2);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three columns */
  grid-gap: 20px; /* Spacing between items */
  margin-top: 40px; /* Add some margin to separate from previous section */
}

.gallery-item {
  overflow: hidden; /* Hide overflow to prevent image distortion */
  border-radius: 10px; /* Rounded corners for each image */
}

.gallery-item img {
  width: 100%; /* Ensure images fill their container */
  height: auto; /* Maintain aspect ratio */
  transition: transform 0.3s ease; /* Add a smooth transition effect */
}

.gallery-item:hover img {
  transform: scale(1.1); /* Scale up image on hover */
}

.services {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Items will stretch to fill the container vertically */
  margin-top: 20px;
}

.service {
  flex: 1;
  margin: 0 10px;
}

.card {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(108, 197, 81, 0.1); /* Add a subtle shadow */
  overflow: hidden; /* Ensure the content doesn't overflow */
  width: 60%;
  margin: auto;
}

.card img {
  width: 100%;
  height: auto;
}

.card-content {
  padding: 20px;
}

.card-content h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 10px;
}

.card-content p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}



.section-heading {
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  padding-top: 15px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* Close button style */
.closeImageModal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 5px;
}

.closeImageModal:hover {
  background-color: rgba(0, 0, 0, 0.7);
}



.btn:hover {
  background-color: #006633;
  color: white;
}

/* Add styles for the modal here */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  margin-top: 10%;
  max-width: 70%;
  max-height: 70%;
}

.close {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

/* Cover Section */
.cover-section {
 background-color: #006633;
  color: #fff;
  padding: 150px 0;
}

.cover-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  margin-top: 10px;
}

.cover-section p {
  font-size: 1.2rem;
}

.cover-section img{
  display: none;
}

/* History Section */
.section h2{
text-align: center;
}
.services-section,
.testimonials-section,
.photos-section,
.cta-section {
  padding: 50px 0;
}

.services-section,
.testimonials-section,
.photos-section {
  background: #f4f4f4;
}

/* CTA Section */
.cta-section {
  margin: auto;
  background: linear-gradient(135deg, #99CC33, #006633); /* Gradient background */
  color: #fff;
}

.cta-section h2 {
  margin-bottom: 20px;
  text-align: center;
}

.cta-button {
  padding: 10px 20px;
  background-color: white;
  color: #006633;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid #006633;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #006633;
  color: white;
}

/* History Section */
.history-section {
  background: #f4f4f4;
  padding: 50px 0;
}

.history-section .container {
  text-align: justify;
}

.history-section h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #006633;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #006633;
}

.history-section p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  background-image: url('TEMPLATE 7.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: rgba(25, 207, 101, 0.5); /* 50% transparent white */
  padding: 50px 0;
  background-blend-mode: overlay; /* Blend background image and color */
}

.testimonials-section .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-item {
  width: calc(25% - 40px);
  margin: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease; /* Animation */
}

.testimonial-item:hover {
  transform: translateY(-5px); /* Animation on hover */
}

.testimonial-item .icon {
  font-size: 36px; /* Adjust icon size */
  color: #ff7f0f; /* Adjust icon color */
  margin-bottom: 20px;
}

.testimonial-item .content {
  transition: opacity 0.3s ease; /* Animation */
}

.testimonial-item:hover .content {
  opacity: 0.7; /* Reduce opacity on hover */
}

.testimonial-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.testimonial-item p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Get in Touch Section */
.get-in-touch-section {
  background-color: #e4f7ed;
  padding: 50px 0;
}

.get-in-touch-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-item {
  text-align: center;
  margin: 0 20px;
}

.info-item i {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

/* Contact Form Section */
.contact-form-section {
  padding: 50px 0;
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.contact-form-section form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form-section input,
.contact-form-section textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form-section button {
  padding: 10px 20px;
  background-color: #006633;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.contact-form-section button:hover {
  background-color: #01361c;
}

/* Map Section */
.map-section {
  padding: 50px 0;
  background-color: #e4f7ed;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.map-placeholder {
  height: 400px; /* Set the height of the map placeholder */
  background-color: #ccc; /* Placeholder color */
  text-align: center;
  line-height: 400px; /* Center content vertically */
  color: #333;
  font-size: 24px;
}

/* Introduction Section */
.introduction-section {
  background-color: #006633;
  padding: 150px 0;
  text-align: center;
  color: white;
}

.introduction-section h2 {
  margin-bottom: 20px;
  color: white;
}

.introduction-section p {
  color: #666;
}

/* IJMB and JUPEB Sections */
.ijmb-section,
.jupeb-section {
  padding: 50px 0;
}

.ijmb-section h2,
.jupeb-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.ijmb-section p,
.jupeb-section p {
  text-align: center;
  margin-bottom: 20px;
}

.ijmb-section img,
.jupeb-section img {
  display: block;
  margin: auto;
  max-width: 30%;
  height: auto;
  margin-bottom: 20px;
}

.apply-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #006633;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  margin: auto;
}

.apply-button:hover {
  background-color: #08351e;
}

.jupeb-section .container {
  width: 80%;
  margin: auto;
  padding: 20px 0;
}

.jupeb-section .container h4 {
  color: #006633;
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.jupeb-section .container p {
  text-align: justify;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.jupeb-section .container ul {
  list-style: none;
}

.jupeb-section .container ul li {
  margin-bottom: 10px;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.jupeb-section .container ul li span {
  color: orange;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}
.jupeb-section{
  background-color: #b5e2cb;
}


/* .container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
} */
.ijmb-section {
  padding: 20px 0;
}
.ijmb-section p {
  margin-bottom: 20px;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}
.ijmb-section ul {
  padding-left: 20px;
}
.ijmb-section a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.ijmb-section a:hover {
  text-decoration: underline;
}
.ijmb-section big {
  font-size: 1.1rem;
  color: #006633;
 padding: 8px;
}
.ijmb-section font {
  color: #006633;
}

.desc{
  color: #006633;
  text-align: center;
  padding: 10px;
}
@media(max-width: 768px) {
    header{
        background: rgba(51, 51, 51, 0.0);
        padding-top: 0;
    }


    @keyframes slideIn {
        from {
          transform: translateX(100%);
        }
        to {
          transform: translateX(0);
        }
      }
      
      @keyframes slideOut {
        from {
          transform: translateX(0);
        }
        to {
          transform: translateX(100%);
        }
      }

    .menu {
        display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: #fff; /* Set your desired background color */
    z-index: 1;
    animation: slideIn 0.5s forwards; /* Animation for appearing */
    }

    .menu-icon {
        display: block;
        cursor: pointer;
    }
    .menu-icon i{
        color: #006633;
        font-size: 24px;
    }

    .menu .fa-remove {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        font-size: 24px;
        cursor: pointer;
        z-index: 2;
        color: #006633;
      }

     .menu.closing {
        animation: slideOut 0.5s forwards; /* Animation for disappearing */
      }

      .menu ul {
        display: block;
        padding: 0;
        text-align: center;
        margin-top: 50px; /* Adjust as needed */
      }
    
      .menu ul li {
        margin: 25px 10px;
        display: block;
        
      }
    
      .menu ul li a {
        text-decoration: none;
        color: #006633; /* Set your desired text color */
        font-size: 18px; /* Set your desired font size */
      }

    .modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
        z-index: 1;
      }

      .green-section {
        border-radius: 18% 18% 0 0;
        display: block;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        overflow: hidden; 
        margin-top: -10%;
    }

    .hero .container{
         display: none;
    }

    .hero {
      background: url('pionerrBg.jpg');
      background-position: top;
      background-size: contain;
      background-attachment:fixed;
      background-clip: border-box;
      background-repeat: no-repeat;
      height: 30vh;
  }
    .green-section .logos img {
      max-width: 40%; /* Make the logo image responsive */
      height: auto; /* Ensure the image maintains its aspect ratio */
      display: flex;
      margin: auto;
    }

    


.green-section h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: white;
  font-weight: 900;
  /* filter: drop-shadow(0 0 3px #006633); */
  -webkit-text-stroke: 2px #006633;
}

    .mission {
      background: url('TEMPLATE 3.jpg') ;
      background-size: contain;
      width: 100%;
      background-repeat: no-repeat;
      background-position: center;
      height: 100vh;
      text-align: center;
    }

    .apply {
      background: url('TEMPLATE 3.jpg') ;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      height: 100vh;
      text-align: center;
    }

    .apply h1 {
      color: #fff;  /* White text for better contrast */
      font-size: 1.5rem;  /* Adjust as desired */
    }

    .services {
      flex-wrap: wrap; /* Allow items to wrap onto the next line */
      justify-content: center;
    }
    
    .service {
      flex: 0 1 calc(80% - 20px); /* Two services per row with 20px margin */
      margin-bottom: 20px;
    }

    .card {
     width: 100%;
    }
    .btn {
      padding: 10px;
      background-color: white;
      color: #006633;
      text-decoration: none;
      border-radius: 5px;
      border: 1px solid #006633;
      font-size: 1rem;
  }

  .who h1 {
    font-size: 30px; /* Decrease heading font size for smaller screens */
  }
  
  .who-content p {
    font-size: 16px; /* Decrease paragraph font size for smaller screens */
  }

  .register-body {
    background: url('TEMPLATE 3.jpg') no-repeat center center/cover;
    height: 110vh;
     padding-bottom: 30px;
  }
  
  
  
  .register-body h1 {
    color: #fff;  /* White text for better contrast */
    font-size: 1rem;  /* Adjust as desired */
    margin-bottom: 40px;  /* Add some space below the heading */
  }
  
  .register-body .btn-apply {
    /* Style the register button */
    padding: 10px 26px;
    background-color: white;
    color: #006633;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #99CC33;
    font-size: 1.2em;
    /* Add hover effect (optional) */
    transition: background-color 0.3s ease;
  }
  
  .register-body img {
    margin-top: 50px;
    max-width: 60%; /* Make the logo image responsive */
    height: auto; /* Ensure the image maintains its aspect ratio */
  }
  
  .register-body .btn-apply:hover {
    color: #99CC33; /* Darken on hover */
  }


  
  .modal-content {
    margin: auto;
    display: block;
    margin-top: 20%;
    max-width: 90%;
    max-height: 90%;
  }

  .cover-section {
    background-color: #006633;
     color: #fff;
     padding: 30px 0;
   }

  .cover-section h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 0;
    text-align: center;
  }
  
  .cover-section p {
    font-size: 1rem;
    text-align: center;
  }

  .cover-section img {
    display: block;
    max-width: 60%; /* Make the logo image responsive */
    height: auto; /* Ensure the image maintains its aspect ratio */
    margin: auto;
  }
  
  .testimonial-item {
    width: calc(50% - 40px); /* Adjust width for smaller screens */
}
.testimonials-section {
  background-image: url('TEMPLATE 6.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: transparent; /* 50% transparent white */
  padding: 40px 0;
  background-blend-mode: overlay; /* Blend background image and color */
}
}



@media (max-width: 576px) {
  .testimonial-item {
      width: calc(100% - 40px); /* Adjust width for mobile screens */
  }
}