.leadership-container{
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
}
.leadership-container .main-container{
    max-width: 1229px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.under-layer{
    position: relative;
}

.leadership-hero{
    text-align: center;
    margin: 123px 10px 0;
    padding-bottom: 123px;
}
.leadership-hero h1{
    color: #021F90;
    font-size: 60px;
    line-height: 88%;
    margin: 0;
}
h1 .dot, h2 .dot{
    color: #FF2E83;
}
.leadership-hero .subtitle{
    color: #0C9ECF;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 1.98px;
    text-transform: uppercase;
    margin: 10px auto 30px;
    max-width: 65%;
}
.leadership-hero .description{
    max-width: 81%;
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    color: #313134;
    margin: 0 auto;
}

/* management_team */
.management_team-container{
    background: #F0F0EB;
    width: 100%;
    padding: 51px 0;
}
.management_team-container h2{
    font-size: 60px;
    line-height: 104%;
    text-align: center;
    color: #021F90;
    margin-bottom: 40px;

}
.management_team-container .main-content{
    display: flex;
    flex-wrap: wrap;
    gap: 67px;
    justify-content: center;
}

.management_team-container .single-content{
    position: relative;
    flex: 0 0 calc((100% / 3) - 92px);
    box-sizing: border-box;
    background: linear-gradient(21deg, #021F90 -1.04%, #0C9ECF 100%);
}

.management_team-container .card-image {
    aspect-ratio: 310 / 276;
    padding-top: 16px;
}

.management_team-container .card-image img {
    width: 100%;
    border-radius: 0 40px;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: translateX(-13px);
}


.management_team-container .card-content {
    display: flex;
    align-items: center;
    gap: 40px;
    color: #fff;
    padding: 20px;
    justify-content: space-between;
}

.management_team-container .card-content .desc h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 32px;
    color: #fff;
    margin: 0;
}

.management_team-container .card-content .desc p {
    margin: 0;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}

.management_team-container .card-content .plus {
    margin-right: 11px;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.management_team-container .card-content .plus span {
    display: block;
    width: 15px;
    height: 15px;
    background-image: url('../images/icons/white-plus.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: width 0.25s ease, height 0.25s ease;
}

.management_team-container .single-content:hover .card-content .plus span {
    width: 25px;
    height: 25px;
}

/*popup*/
.open-popup{
    cursor: pointer;
}
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(49, 49, 52,0.9);
    justify-content: center;
    align-items: center;
    z-index: 999;
    overflow: hidden;
    touch-action: none;
}

.popup {
    max-height: max-content;
    background: #fff;
    padding: 50px;
    width: 900px;
    max-width: 90%;
    border-radius: 0 40px;
    position: relative;
    transform: translateZ(0);
}

.close-popup {
    text-align: right;
    padding-bottom: 10px;
    color: #FF2E83;
    line-height: 1;
}
.close-popup {
    font-size: 36px !important;
    cursor: pointer;
}

.popup-content {
    max-height: 80vh;
    overflow: hidden;
}

.popup-content .head{
    display: flex;
    gap: 62px;
    margin-bottom: 25px;
}
.board-right .popup-content .head{
    justify-content: center;
}

.board-right .title{
    text-align: center;
}

.popup-content .head .img{
    max-width: 187px;
    aspect-ratio: 80 / 67;
    border-radius: 0 40px;
    border: 1px solid #F0F0EB;
}
.popup-content .head .img img{
    width: 100%;
    object-fit: cover;
    height: 100%;
    border-radius: 0 40px;
}
.popup-content .head .title h4{
    font-family: "DM Sans";
    color: #021F90;
    font-size: 33px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin-bottom: 10px;
    margin-top: 40px;
}
.popup-content .head .title p{
    color: #313134;
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    margin: 0;
    max-width: 290px;
}

.popup-content .description{
    max-height: 360px;
    height: 37vh;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #6C6C73 transparent;
    -webkit-overflow-scrolling: touch;
}

.popup-content .description::-webkit-scrollbar{
    width: 10px;
}
.popup-content .description::-webkit-scrollbar-track{
    background: transparent;
}
.popup-content .description::-webkit-scrollbar-thumb{
    background-color: #6C6C73;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.popup-content .description p{
    color: #000;
    text-overflow: ellipsis;
    font-size: 21px;
    line-height: 36px;
    margin-right: 40px;
}

/*end management_team*/


/*border section*/
.board-container{
    width: 100%;
    padding: 113px 0 107px;
}
.board-container h2{
    text-align: center;
    font-size: 60px;
    line-height: 104%;
    color: #021F90;
    margin-bottom: 35px;
}

.board-container .inner-content{
    display: flex;
    gap: 50px;
}

.board-container .inner-content .board-right p.board-entry{
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 21px;
    font-style: normal;
    line-height: 36px;
    font-weight: 700;
}
.board-container .inner-content .board-right p.board-entry .board-entry-text{
    display: inline;
    font-weight: 700;
}
.board-container .inner-content .board-right p.board-entry .board-entry-text span{
    font-weight: 400;
}
.board-container .inner-content .board-right p span.plus{
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.board-container .inner-content .board-right p span.plus::before{
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background-image: url('../images/icons/pink-plus.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: width 0.25s ease, height 0.25s ease;
}
.board-container .inner-content .board-right p.board-entry:hover span.plus{
    width: 25px;
    height: 25px;
    flex-basis: 25px;
}
.board-container .inner-content .board-right p.board-entry:hover span.plus::before{
    width: 25px;
    height: 25px;
}
.board-container .inner-content .board-left{
    width: 7%;
    position: relative;
    min-height: 469px;
}
.board-container .inner-content .board-left .pos-to-left{
    position: absolute;
    width: 440px;
    height: 100%;
    right: 0;
    background: linear-gradient(28deg, #0C9ECF 5.47%, #39C6F4 76.22%);
    border-bottom-right-radius: 80px;
}
/*end border section*/

/* media*/

@media (max-width: 960px) {
    .management_team-container .single-content {
        flex: 0 0 calc((85% / 2) - 89px);
    }
    .leadership-hero h1,
    .board-container h2{
        font-size: clamp(40px, 8vw, 60px);
    }
    .leadership-hero .subtitle{
        font-size: clamp(14px, 4vw, 18px);
    }
    .leadership-hero .description,
    .board-container .inner-content .board-right p{
        font-size: clamp(17px, 4vw, 21px);
    }
}

@media (max-width: 767px) {
    .leadership-hero{
        margin-top: 61px;
        padding-bottom: 80px;
    }
    .leadership-hero .subtitle{
        max-width: max-content;
    }
    .leadership-hero .description{
        max-width: max-content;
        line-height: 33px;
    }
    .management_team-container .single-content {
        flex: 0 0 46%;
    }
    .management_team-container h2{
        font-size: clamp(40px, 8vw, 60px);
    }

    .popup {
        padding: 30px;
    }

    .popup-content .head{
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .popup-content .head .title{
        text-align: center;
    }
    .popup-content .head .img{
        display: none;
    }
    .popup-content .head .title h4{
        margin-top: 0;
    }
    .popup-content .description p{
        line-height: 30px;
        margin-right: 20px;
    }

}

@media (max-width: 500px) {
    .management_team-container .single-content {
        flex: 0 0 70%;
    }
    .popup-content .head .title h4{
        font-size: clamp(21px, 7vw, 33px);
    }
    .popup-content .head .title p,
    .popup-content .description p{
        font-size: clamp(16px, 4.5vw, 21px);
    }
}

@media (max-height: 500px){
    .popup-content .head {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .popup-content .head .img {
        display: none;
    }
    .popup-content .head .title {
        text-align: center;
    }
    .popup-content .head .title h4 {
        margin-top: 0;
    }
}
