/* Top Banner Styles */
.banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
  }
  
  .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .textbg {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 2rem; /* Reduced padding (1rem for top/bottom, 2rem for left/right) */
    background: rgba(113, 113, 113, 0.2); /* semi-transparent white */
    border-radius: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    color: rgb(255, 255, 255);
    text-align: center;
    max-width: 80%;
    overflow: hidden; /* Prevent content from spilling over */
  }
  
  .banner-text {
    font-size: 2.4rem;
    font-weight: bold;
    margin: 0;
  }
  
  .banner-subtext {
    font-weight: normal;
    font-size: 1.1rem;
    margin-top: 0.5rem;
  }
  
  /* Below Banner Image */
  .below-banner-image {
    margin-top: 40px;
    display: flex;
    justify-content: center;
  }
  
  .responsive-image {
    width: 90%;
    box-shadow: 0px 0px 50px rgba(0, 190, 9, 0.637);
    max-width: 1000px;
    border-radius: 16px;
    object-fit: cover;
  }
  
  /* Section Header */
  .section-header {
    text-align: center;
    margin: 100px 0 50px 0;
    align-items: baseline;
  }
  .trash1{
    width: 110px;
    height: 110px;
   }
   .trash3{
    width: 105px;
    height: 105px;
   }
  .section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #167400; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* space between images and text */
    flex-wrap: wrap; /* allows wrapping on smaller screens */
  }
  
  /* Info Boxes */
  .info-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 0 20px;
  }
  
  .info-box {
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 24px;
    flex: 1 1 300px;
    max-width: 250px;
    height: 250px; /* Adds a fixed height for a boxier feel */
    box-shadow: 0 6px 18px rgba(0, 190, 10, 0.296);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;  
  }
  
  .info-title {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #167400; 
  }
  
  .info-text {
    font-size: 1rem;
    color:  #444;
  }
  
  /* Team Section */
  .team-header {
    text-align: center;
    margin: 60px 0 30px;
    align-items: baseline;
  }
  
  .team-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #167400; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* space between images and text */
    flex-wrap: wrap; /* allows wrapping on smaller screens */
  }
  
  .team {
      width: 100%;
      box-sizing: border-box;
  }
  .team img {
      box-sizing: border-box;
      width: -webkit-fill-available;
      margin: 20px;
  }
  
 /* dialog box*/
 .container {
  position: relative;
  width: 100%;
  max-width: 600px; /* optional max width */
  margin: auto   ;
}

.container img,.dialog {
  width: 100%;
  height: auto;
  display: block;
}

.text1,
.text2 {
  position: absolute;
  left: 40%;
  transform: translateX(-50%);
  color: rgb(0, 0, 0);
  text-align: center;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7); /* makes text readable over image */
}

.text1 {
  top: 35%; /* adjust to position the title */
  font-size: 24px;
  font-weight: bold;
}

.text2 {
  top: 45%; /* adjust for the paragraph */
  font-size: 20px;
  width: 80%; /* optional width for readability */
}
@media (max-width:768px){
    .textbg {
        width: 100%;
    }
    .text1 {
      top: 30%; /* adjust to position the title */
      font-size: 24px;
      font-weight: bold;
    }
    
    .text2 {
      top: 45%; /* adjust for the paragraph */
      font-size: 20px;
      width: 80%; /* optional width for readability */
    }
    .team-header h2 {
        font-size: 2.6rem;
    }
    .banner-text {
        font-size: 2.3rem;
    }
}