html {
  scroll-behavior: smooth;
}


.about-img-container{
    position: relative;
    width: 100%;  
    display: flex;
    flex-direction: column;
    min-height: 580px; /* Adjust height as needed */
    background-image: url('assets/images/about-header.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    ;
  }
  
  /* Color tint over background image */
.about-img-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a3d0ea2; /* Change tint color */
    z-index: 1;
}
.about-hero-content{
    display: flex;
    width: 100%;
    justify-content: space-between; 
    flex-direction: row;
    margin-top: 10px;
    z-index: 1;
}
.about-hero-content-Left {
    display: flex;
    width: 50%;
    margin-left: 30px;
    justify-content: space-between;
    flex-direction: column;
}
.about-hero-content-Left h2 {
    font-size: 2.3rem; 
    color: white;
    max-width: 220px;
  }
  .about-hero-content-Left h5 {
    margin-top: 20px;
    font-family: Verdana;
    color: white;
    font-size: 1.2rem;
    max-width: 70%;
  }
  .about-navigator-fixed-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    background-color: #f1f1f1;
    padding: 10px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s;
  }
  .about-navigator-fixed-container.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .navigator-item {
    border: 2px solid #17260E;
    border-radius: 4px;
    padding: 10px 20px;
  }


  .section-who-we-are {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 150px;
    overflow: hidden;
  }
  .section-who-we-are img {
    width: 100%;
    height: auto;
    max-width: 600px; /* Adjust as needed */
    max-height: 800px;
    border-radius: 10px;
  }
  .section-who-we-are div {
    display: flex;
    width: 40%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 20px; /* Adjust as needed */
  }
  .section-who-we-are h1 {
    align-self: start;
  }

  .section-two-container {
    display: flex;
    flex-direction: column;
    background-color: #f1f1f1;
    padding: 20px 10px 10px 10px;
    justify-content: space-between;
    margin-top: 50px;
  }
  .section-two-content-left {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin-left: 50px; /* Adjust as needed */
  }
  .vision-con {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .vision-con h1 {
    max-width: 400px;
    text-align: center;
    justify-content: center;
    font-size: 2rem;
  }
  .vision-con p {
    max-width: 400px;
    margin-top: 20px;
    font-family: Verdana;
    color: #17260E;
    font-size: 0.9rem;
    text-align: start;
    align-self: flex-start;
  }

  .section-two-content-right {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px; /* Adjust as needed */
    margin-left: 20px; /* Adjust as needed */
  }
  .cv2 {
    width: 220px;
    background-color: #8765e6;
    text-align: center;
  }
  .cv3 {
    width: 280px;
    background-color: #65e67a;
    text-align: center;
  }
  .cv4 {
    width: 340px;
    background-color: #dde665;
    text-align: center;
  }
  .cv5 {
    width: 400px;
    background-color: #e66e65;
    text-align: center;
  }
  .cv6 {
    width: 460px;
    background-color: #65cce6;
    text-align: center;
  }


  /* SECTION THREE */
  .section-three-about {
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    justify-content: space-evenly;
    margin-top: 50px;
  }

  .reveal-container {
    position: relative;
    height: 420px; /* taller for better visibility */
    width: 300px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    color: white; /* text over image */

}
.reveal-container img {
    position: absolute;
    height: 420px; /* taller for better visibility */
    width: 300px;
    object-fit: cover;
    z-index: 0;
}

.reveal-container h1,
.reveal-container p {
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.reveal-container h1 {
    bottom: 10px; /* aligned at bottom */
    margin: 0;
    font-size: 24px;
}

.reveal-container p {
    bottom: -30px; /* initially hidden below */
    margin: 0;
    opacity: 0;
}

.reveal-container:hover h1 {
    transform: translateY(-130px);
}

.reveal-container:hover p {
    transform: translateY(-130px);
    opacity: 1;
}



/* reveal 2 */
.reveal-container-middle {
  position: relative;
  height: 200px; /* taller for better visibility */
  width: 300px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  color: white; /* text over image */

}
.reveal-container-middle img {
  position: absolute;
  height: 420px; /* taller for better visibility */
  width: 300px;
  object-fit: cover;
  z-index: 0;
}


.reveal-container-middle h1,
.reveal-container-middle p {
  position: absolute;
  width: 100%;
  left: 0;
  text-align: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.reveal-container-middle h1 {
  bottom: 10px; /* aligned at bottom */
  margin: 0;
  font-size: 24px;
}

.reveal-container-middle p {
  bottom: -30px; /* initially hidden below */
  margin: 0;
  opacity: 0;
}

.reveal-container-middle:hover h1 {
  transform: translateY(-75px);
}

.reveal-container-middle:hover p {
  transform: translateY(-75px);
  opacity: 1;
}

/* Join Us Section */
.join-us-section {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('assets/images/members.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.join-us-section h2 {
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease-out;
}

.join-us-section p {
  max-width: 600px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.6;
  animation: fadeInUp 1.2s ease-out;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.join-box {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 30px 40px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  color: white;
  font-weight: 500;
  font-size: 18px;
  min-width: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.join-box:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-8px);
}


/* other */
.what-we-do-title {
  background-color: white; 
  display: flex; flex-direction: column; padding-top: 20px;
}
.what-we-do-title h1 {
  font-size: 2.5rem;
}

.content-what-we-do { 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 70px 40px;

}
.do-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  justify-content: center;
  background-color: #f0f0f0; /* Light gray background */
  border-radius: 8px; /* Rounded corners */
  margin-bottom: 40px; /* Space between sections */

}
.do-content h1 {
  font-size: 2rem; /* Larger font size for headings */
  text-align: start; /* Centered text */
  color: #26570a;
}
.content-what-we-do h4 {
  font-size: 1.1rem; /* Font size for subheadings */
  text-align: start; /* Centered text */
  max-width: 90%; /* Max width for readability */
  margin-bottom: 10px; /* Space below the paragraph */
  color: #17260E;
}
@media (max-width: 768px) {
  .content-what-we-do {              
      margin: 50px 10px;

  }
  .content-what-we-do h1 {
      font-size: 1.2rem; /* Larger font size for headings */
      text-align: start; /* Centered text */
      font-weight: bold;
      color: #26570a;
  }
  .content-what-we-do h4 {
      font-size: 0.9rem; /* Font size for subheadings */
      text-align: start; /* Centered text */
      max-width: 100%; /* Max width for readability */
      margin-bottom: 10px; /* Space below the paragraph */
      color: #17260E;
  }
  .what-we-do-title h1 {
      color: black;
      font-size: 1.6rem;
  }
  .content-what-we-do div {
      padding: 10px;
  }

}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .join-us-section h2 {
      font-size: 30px;
  }

  .join-box {
      width: 100%;
      max-width: 300px;
  }
  .about-hero-content-Left h2 {
    font-size: 1.5rem; 
    color: white;
    margin-top: 10px;
    max-width: 150px;   
  }
  .about-hero-content-Left h5 {
    font-size: 1rem;
    color: white;
    max-width: 100%;
    margin-top: 15px ; 
  }
  .about-img-container {
    width: 100%;
    height: 450px;
  }
  .about-navigator-fixed-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    background-color: #f1f1f1;
    padding: 10px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s;
  }
  .about-navigator-fixed-container.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .navigator-item {
    border: 2px solid #17260E;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 1rem;
  }
  .section-who-we-are {
    display: flex;
    width: 100%;
    overflow: hidden;
    padding: 5px;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 30px;
    margin-top: 5px;
  }
  .section-who-we-are img {
    width: 100%;
    height: auto;
    max-width: 600px; /* Adjust as needed */
    margin: 0px 10px;
    border-radius: 10px;
  }
  .section-who-we-are div {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 20px; /* Adjust as needed */
  }
  .section-who-we-are h1 {
    align-self: start;
  }
  .section-who-we-are p {
    font-size: 0.9rem;
    display: flex;
  }
  .spacer-b {
    overflow: hidden;
    height: 50px;
  }
  .spacer-bb {
    overflow: hidden;
    margin-top: 10px;
  }
  .spacer-c {
    margin: 0px 0px;
  }
  .spacer-cc {
    height: 20px;
  }
  .section-two-content-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly center;
    align-items: center;
    margin-left: 0px; /* Adjust as needed */
  }
  .vision-con {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
   
  }

  .vision-con h1 {
    max-width: 400px;
    text-align: center;
    justify-content: center;
    font-size: 2rem;
  }
  .vision-con p {
    max-width: 400px;
    margin-top: 20px;
    font-family: Verdana;
    color: #17260E;
    font-size: 0.9rem;
    text-align: center;
    align-self: flex-start;
  }

  .section-two-content-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 15px 10px 20px; /* Adjust as needed */
  }

  .section-three-about {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
    justify-content: space-evenly;
    margin-top: 50px;
}
.reveal-container {
    position: absolute; z-index: -10; visibility: hidden;
}


}