body{
    overflow-x: hidden;
}
#our-teams-section {
    width: 100vw;
    min-height: 1050px;
    margin-top: 4rem;
    /* overflow:hidden; */
    display:flex;
    justify-content: center;
}
.our-teams-text{
    font-size: 18px;
    font-weight: 800;
    font-family: var(--poppins-font);
    text-transform: uppercase;
}
.img-team-text{
    display:flex;
    gap:0.1rem;
    align-items: center;
    justify-content: center;
}
.img-team-text img{
    height: 22px;
    object-fit: contain;
}
.team-heading{
    text-align:center;
    font-size: 60px;
    font-weight: 600;
    font-family: var(--poppins-font);
}
.title-container{
    display:flex;
    flex-direction: column;
    align-items: center;
    gap:1rem;
}
.about-team-para{
    font-size: 24px;
    font-family:var(--poppins-font);
    line-height: 3rem;
    width: 730px;
    text-align: center;
}
.our-teams-container{
    width: 100%;
    max-width: 1600px;
    /* margin: auto; */

}
.team-container{
    display:flex;
    width: 85%;
    max-width: 1250px;
    justify-content: space-between;
    align-items: center;
    margin-top:2rem;
    gap:2rem;
    margin:auto;
    margin-top:2rem;
}
.team-member{
    height: 630px;
    position:relative;
    border-radius: 10px;
    /* overflow: hidden; */
}
.team-member img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.team-member .name-container{
    position:absolute;
    bottom: -88px;
    left:50%;
    transform:translateX(-50%);
    text-align: center;
    background: var(--white);
    height: 160px;
    width: 93%;
    z-index: 2;
    box-shadow: 0px 0px 10px 0px #00000059;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}
.team-member .name{
    font-size: 24px;
    font-family: var(--poppins-font);
    font-weight: 400;
}
.team-member .role{
    font-size: 18px;
    font-family: var(--poppins-font);
    font-weight: 400;
}
.team-member .name-container::before{
    content: "";
    width: 100%;
    height: 12px;
    background: linear-gradient(90.05deg, #00115E 0%, #000000 50%, #00115E 100%);
    position: absolute;
    top: 0;
    left: 0;

}

/* #our-teams-section .our-teams-container{
    width:85%;
    max-width: 1600px;
    margin:auto;
    box-sizing: border-box;
    line-height: 38px;
}
#our-teams-section section {
    width: 100%;
    overflow: hidden;
    position: relative;
    --v-offset: 60px;
    --curve-height: 120px;
  }

  #our-teams-section section::before {
    content: "";
    display: block;
    background: white;
    width: 100%;
    height: var(--curve-height);
    position: absolute;
    border-radius: 40%;
    left: 0;
    right: 0;
    clip-path: ellipse(50% 50% at 50% 50%);
    z-index:1;
  }
  #our-teams-section section::after {
    content: "";
    display: block;
    background: white;
    width: 100%;
    height: 130px;
    position: absolute;
    left: 0;
    right: 0;
    clip-path: polygon(51% 22%, 79% 13%, 90% 8%, 100% 2%, 100% 100%, 49% 100%, 0 100%, 0 0, 13% 10%, 31% 16%);
  }

  #our-teams-section section::before {
    top: -54px;
  }

  #our-teams-section section::after {
    bottom: -82px;
  }

  #our-teams-section .wrapper {
    display: grid;
    grid-template-rows: 550px;
    grid-auto-flow: column;
    grid-gap: 24px;
    overflow: auto;
    overflow-y:hidden;
    scroll-snap-type: x mandatory;
  }
  #our-teams-section .wrapper .image-container{
    width:410px;
    position:relative;
  }

  #our-teams-section .wrapper img {
    scroll-snap-align: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.name_and_role{
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 18px;
    font-weight: 500;
    font-family: var(--poppins-font);
    text-align: center;
    line-height: 2rem;
    background: white;
    padding:1rem;
}
  .scroller {
    max-width: 1600px;
  }

  .scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .scroller[data-animated="true"] {
    overflow: hidden;
  }

  .scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 40s)
      var(--_animation-direction, forwards) linear infinite;
  }

  .scroller[data-direction="right"] {
    --_animation-direction: reverse;
  }

  .scroller[data-direction="left"] {
    --_animation-direction: forwards;
  }

  .scroller[data-speed="fast"] {
    --_animation-duration: 20s;
  }

  .scroller[data-speed="slow"] {
    --_animation-duration: 20s;
  }

  @keyframes scroll {
    to {
      transform: translate(calc(-50% - 0.5rem));
    }
  } */

  @media (max-width:1650px){
    .team-heading{
        font-size: 50px;
    }
    .our-teams-text{
        font-size: 16px;
    }
    .img-team-text img {
        height: 19px;
    }
    .title-container{
        margin-bottom:1rem;
    }
    #our-teams-section{
        min-height:900px;
    }
    .team-container{
        max-width: 1050px;
    }
    .team-member{
        height:520px;
    }
    .team-member .name-container{
        height: 140px;
    }
    /* #our-teams-section .wrapper .image-container{
        width:350px;
    }
    .name_and_role{
        width:69%;
    }
    #our-teams-section section::after{
        height:100px;
    }
    #our-teams-section section{
        --curve-height: 40px;
    }
    #our-teams-section section::before {
        top: 0;
      }

      #our-teams-section section::after {
        bottom: 5px;
      } */
  }
  @media (max-width: 1550px){
    .team-heading{
        font-size:44px
    }
    .about-team-para{
        font-size: 21px;
        line-height: 2.2rem;
        width:650px;
        max-width:90%;
    }
}

  @media (max-width: 1400px){
    /* #our-teams-section .wrapper .image-container{
        width: 250px;
    }
    .name_and_role{
        width: 75%;
    }
      #our-teams-section .wrapper{
        grid-template-rows: 430px;
      }
      .name_and_role{
        font-size: 14px;
        padding:0.5rem;
      }
      .scroller__inner{
        gap:1.5rem;
      } */
      .about-team-para{
        font-size:18px;
        line-height: 2rem;
    }
    .team-container {
        max-width: 850px;
    }
    .team-member{
        height: 450px;
    }
    .team-member .name-container{
        height: 130px;
    }
    .team-member .name{
        font-size: 20px;
    }
    .team-member .role{
        font-size: 16px;
    }
  }
  @media (max-width: 1200px){
    #our-teams-section{
        min-height: 770px;
    }
    /* .team-container{
        width:770px;
    } */
    .team-member{
        height: 400px;
    }
    .team-member .name-container{
        height:105px;
    }
}

  @media (max-width: 1025px){
    /* #our-teams-section .wrapper .image-container{
        width: 240px;
    }
    #our-teams-section .our-teams-container{
        width: 95%;
    } */
    .title-container{
        gap:1rem;
    }
    .about-team-para{
        font-size:16px;
        line-height: 1.8rem;
    }
    /* .team-container{
        width: 790px;
    } */
  }

  @media (max-width:450px){
    .team-heading{
        font-size: 40px;
    }
  }

  @media (max-width: 400px){
    .team-heading{
        font-size: 36px;
    }
  }
  @media (max-width: 360px){
    .team-heading{
        font-size: 32px;
    }
  }
