.aboutbanner {
  width: 100%;
  height: 350px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  border-bottom-right-radius: 20px;
  position: relative;

  /* Safari prefix for background-size (mostly for older versions) */
  -webkit-background-size: cover;
}

.banner-overlay {
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(255, 255, 255);
  font-size: 130px;
  text-shadow: 1px 1px 15px rgba(0, 0, 0, 0.666);
  z-index: 1;
  pointer-events: none;
  font-family: Playfair_bold !important;
  font-weight: 600;
}
.btminfoabout {
  background-color: #fff;
  height: 80px;
  position: absolute;
  bottom: 0;
  border-top-right-radius: 20px;
  
}

.btminfoabout p {
  font-family: Playfair_bold;
  color: #2d2d2d;
  font-size: 30px;
  padding: 0 30px;
}
.aboutsession {
  margin: 3rem 0;
}

.aboutteams {
  display: grid;
  grid-template-columns: 50% auto;
  margin: 5rem 0;
}

.abt-img {
  width: 100%;
  height: 100%;

  overflow: hidden;
}
.abt-img img {
  width: 95%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.aboutdetails {
  padding: 1px 2px;
  align-content: center;
}

.aboutdetails h3 {
  font-size: 3rem;
  font-family: San-Francisco_bold;
  padding: 10px;
  margin: 0px;
}
.aboutdetails h3 span{
 color:#DC7931 ;
  }
.aboutdetails p {
  font-size: 22px;
  font-family: San-Francisco;
  padding: 10px;
  margin: 0px;
  font-weight: 200px;
  color: #2d2d2d;

}

.sethead {
  text-align: center;
  font-family: San-Francisco_bold;
  font-size: 2.5rem;
  color: #373737;
  margin-top: 6rem;
}

.boxgrids {
  display: grid;
  grid-template-columns: auto auto auto;
  margin-bottom: 3rem;
}
.boxgrids .box {
  text-align: center;
  padding: 25px;
  box-sizing: border-box;
}
.boxgrids .box h4 {
  text-align: center;
  font-family: San-Francisco_bold;
  font-size: 2rem;
  color: #fff;
  margin: 0;
  margin-top: 2rem;
}
.boxgrids .box p {
  text-align: center;
  font-family: San-Francisco_Light;
  font-size:20px;
  color: #fff;
  height: 200px;
}
.boxgridsteam {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  margin-bottom: 3rem;
}
.boxgridsteam .box {
  text-align: center;
  padding: 25px;
  box-sizing: border-box;
}
.boxgridsteam .box h4 {
  text-align: center;
  font-family: San-Francisco_bold;
  font-size: 2rem;
  color: #fff;
  margin: 0;
  margin-top: 2rem;
}
.boxgridsteam .box p {
  text-align: center;
  font-family: San-Francisco_Light;
  font-size:200px;
  color: #fff;
  height: 200px;
}


.boxorange {
  background-color: #dc7931;
  transition: .5s;
}
.boxgreen {
  background-color: #5aba0e;
  transition: .5s;
}
.boxblue {
  background-color: #012f6b;
  transition: .5s;
}
.boxorange:hover {
  background-color: #ec751f;
}
.boxgreen:hover {
  background-color: #64cf0b;
}
.boxblue:hover {
  background-color: #06479b;
}
.btmimage {
  width: 25%;
  margin: auto;
}

.btmimage img {
  width: 100%;
  margin: auto;
  opacity: 0.5;
}

.ourteam {
  width: 100%;
  height: 350px;
}
.gdgap {
  grid-gap: 20px;
}
.ourteam img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.teamdata {
  padding: 10px;
}

.teamdata h3 {
  font-family: Playfair_bold;
  color: #373737;
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}

.teamdata p {
  color: #373737;
  font-family: San-Francisco;
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
}
@media only screen and (max-width: 1480px) {
  .boxgridsteam {
    display: grid;
    grid-template-columns: auto auto auto;
    margin-bottom: 3rem;
  }
}

@media only screen and (max-width: 1300px) {
    .aboutdetails h3 {
        font-size: 2.5rem;
        font-family: San-Francisco_bold;
        padding: 10px;
        margin: 0px;
      }
      
      .aboutdetails p {
        font-size: 1.3rem;
        font-family: San-Francisco_Light;
        padding: 10px;
        margin: 0px;
        font-weight: 200px;
        color: #2d2d2d;
      }
}

@media only screen and (max-width: 940px) {
  .aboutsession {
    margin: 1.4rem 0;
  }

    .aboutteams {
        display: grid;
        grid-template-columns: 100%;
        margin: 0rem 0;
      }
      .boxgridsteam {
        display: grid;
        grid-template-columns: auto;
        margin-bottom: 3rem;
      }
      .aboutdetails {
        padding: 1px 0px;
      }

      .boxgrids {
        display: grid;
        grid-template-columns:auto;
      }
      .aboutdetails h3 {
        font-size: 2rem;
        font-family: San-Francisco_bold;
        padding: 10px;
        margin: 0px;
      }
      .aboutdetails p{
        font-size: 20px;
     
      }
      .sethead {
        text-align: center;
        font-family: San-Francisco_bold;
        font-size: 1.8rem;
        color: #373737;

      }
      .banner-overlay {
        font-size: 5rem;
      }
      .btminfoabout {
        background-color: #fff;
        height: 80px;
        position: absolute;
        bottom: 0;
        width: 100%;
        border-top-right-radius: 0px;
        text-align: center;
      
      }
      
      .btminfoabout p {
        font-family: Playfair_Semibold;
        color: #2d2d2d;
        font-size: 1.3rem;
        padding: 0 10px;
      }
}


 .team-section {
      max-width: 1200px;
      margin: auto;
      text-align: center;
    }

    .team-section h1 {
      font-size: 2.5rem;
      margin-bottom: 40px;
    }

    .team-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
    }

    .team-member {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      max-width: 250px;
      width: 100%;
      padding: 20px;
      text-align: center;
      transition: transform 0.3s ease;
    }

    .team-member:hover {
      transform: translateY(-5px);
    }

    .team-member img {
      width: 100%;
      height: 280px;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 15px;
    }

    .team-member h3 {
      font-size: 1.2rem;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .team-member p {
      font-size: 0.95rem;
      text-align: left;
    }

    @media (max-width: 768px) {
      .team-member {
        max-width: 100%;
      }

      .team-grid {
        flex-direction: column;
        align-items: center;
      }

      .team-section h1 {
        font-size: 2rem;
      }
    }

    @media (max-width: 480px) {
      .team-member img {
        height: 220px;
      }

      .team-section h1 {
        font-size: 1.8rem;
      }
    }