
body{
    font-family: regular_medium ;
}
hr{
    width: 100%;
    background: #6FCACD;
    height: 2px;
    margin: 12px 0;
}
.head__banner{
    margin-top: 46px;
    background-image: url('https://s3.mordorintelligence.com/static-pages-img/our-people-background-img.png');
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://s3.mordorintelligence.com/static-pages-img/our-people-background-img.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
    object-fit: contain;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    /* text-align: center; */

}

.head__banner h1 {
    width: 65%;
    color: #ffff;
    font-size: 35px;
    font-weight: 300;
    line-height: 50px;
    font-family: regular_bold;
    text-align: center;
    margin: 0 auto;
}
.head__banner h2 {
    width: 65%;
    max-width: 870px;
    color: #ffff;
    font-size: 28px;
    font-weight: 300;
    line-height: 34.41px;
    text-align: center;
    margin: 0 auto;
}

.the__team--content h2{
    color: #2C8DBF ;
    font-size: 22px;
    font-weight: 300;
    line-height: 28px;
    text-align: center;
    margin-top: 120px;
    font-family: regular_bold;
}
.the__team--content p{
    color: #000 ;
    font-size: 20px;
    font-weight: 300;
    line-height: 25px;
    text-align: center;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1320px;
    padding-right: 20px;
    padding-left: 20px;
}

.management__team {
    background-color: #2C8DBF;
    margin-top: 100px;
    margin-bottom: 100px;
}


.team__section {
    display: grid;
    height: 100%;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 20px;
    max-width: 1320px; 
    margin-left: auto;
    margin-right: auto;
    padding: 100px 0;
}


.management__team--portfolio{
    display: flex;
    flex-direction: column;
    margin: 100px 20px;
}
.management__team--portfolio img{
    object-fit: cover;
    object-position: center top;
    margin-bottom: 50px;
}


.management__team--portfolio div h3{
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  line-height: 30px;
  font-family: regular_bold;
}
.management__team--portfolio div h4{
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 20px;
}
.management__team--portfolio div p{
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  margin-top: 20px ;
}

.team__leaders{
    display: grid;
    height: 100%;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 30px; 
    max-width: 1320px; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    margin-bottom: 100px;
}
.leaders__card{
    background-color: #f8f8f8;
}
.info__bottom{
    padding: 10px 20px;
}

.info__division{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info__top{
    position: relative;
    overflow: hidden;
}
.info__top img{
    width: 100%;
    object-fit: cover;
    object-position: center top;
}
.about__leader {
    position: absolute;
    height: 100%;
    top: 0;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    background-color: rgba(19, 101, 143, 0.9);
    color: #fff;
    padding: 20px;
}
.about__leader p {
    color: #fff;
    font-size: 15px;
    line-height: 25.8px;
}

.active {
    transform: translateY(0);
}

.fa-times{
    width: 100%;
    color: #fff;
    font-size: 18px;
    text-align: end;
    padding: 10px;
    cursor: pointer;
    font-weight: 200;
}
.fa-chevron-up , .fa-chevron-down {
  font-size: 20px;
  cursor: pointer;
  font-weight: 400;
}

@media (max-width: 1329px) {
    .team__section{
        /* padding: 0 20px 0 20px; */
        padding-left: 20px;
        padding-right: 20px;
    }
    .team__leaders{
        padding: 0 20px 0 20px;
    }
    .team__leaders{
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    }

    .about__leader p {
        font-size: 12px;
    }

    .fa-times{
        padding: 5px;
    }
}

@media (max-width: 959px) {
    .the__team--content p {        
        font-size: 16px;
    }
   
    .head__banner h1,.head__banner h2 {
        width: 100%;
    }
    .management__team--portfolio{
        margin: 40px 10px;
    }
    
    .management__team--portfolio img{
        margin-right: auto;
        margin-left: auto;
    }

    .management__team--portfolio div h3{
        text-align: center;
    }

    .management__team--portfolio div h4 {
        text-align: center;
    }

}

@media (max-width: 678px) {
    
    .about__leader{
        padding: 10px;
       }

    .about__leader p {
    font-size: 14px;
    }

    .head__banner h1 {
        width: 95%;
        line-height: 35px;
        font-size: 25px;
    }
    .head__banner h2{
        width: 90%;
        font-size: 16px;
        line-height: 26px;
    }
    .management__team--portfolio img{
        width: 300px;
        height: 300px;
    }
    .team__leaders{
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
        height: 80%;
    }
    
}


@media(max-width:576px){ 
    .head__banner h2{
        font-size: 14px;
    }

    .info__bottom h3{
        font-size: 17px;
    }

    .info__division h4{
        font-size: 15px;
    }

    .about__leader p{
        font-size: 13px;
    }
}