.teampage{
    position: relative;
    z-index: 0;
}
.teampage_img-ab{
    position: absolute;
    bottom: 6%;
    left: 0;
    height: 350px;
    width: auto;
    z-index: -1;
}
.teampage_img-ab2{
    position: absolute;
    right: 0;
    bottom: 2%;
    height: 350px;
    width: auto;
    z-index: -1;
}
.teamwrpr{
    border-radius: 40px 40px;
    max-width: 1370px;
    margin: 0 auto;
    margin-bottom: 30px;
    background-color: var(--white);
}
.teamwrpr__img{
    border-radius: 40px 40px 0 0;
}
.teamwrpr__banner{
    width: 100%;
    height: 780px;
    position: relative;
    z-index: 0;
}
.teamwrpr__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.teamwrpr__banner::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.47);
    border-radius: 40px 40px 0 0;
}
.teamwrpr__btn{
    position: absolute;
    background-color: var(--white);
    bottom: 60px;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    padding: 23px 43px;
    font-size: 1.3rem;
    color: var(--main);
    line-height: 1;
    border-radius: 60px;
    font-weight: 600;
}
.teamBody{
    padding: 40px 20px;
}
.teampagelst {
    padding: 12px;
    border-radius: 60px;
    background-color: var(--eighth-color);
    margin-bottom: 45px;
}
.teampagelst__btn {
    padding: 20px 45px;
    line-height: 1;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--charcoal-grey);
}
.teampagelst__btn.active {
    background-color: var(--fivth-color);
    border-radius: 60px;
    color: var(--second-color);
    font-weight: 600;
}
.teampagecrd {
    border-radius: 20px;
    overflow: hidden;
}
.teampagecrd-hdr{
    width: 100%;
    height: 245px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
    overflow: hidden;
    /* border-radius: 20px 20px 0 0; */
}
.teampagecrd-hdr::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--black);
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0.47;
    display: none;
}
.teampagecrd-hdr__img{
    width: 100%;
    height: 100%;
    transition: all 0.4s ease-in-out;
    object-fit: cover;
    /* border-radius: 20px 20px 0 0; */
}
.teampagecrd-hdr:hover .teampagecrd-hdr__img{
    transform: scale(1.3);
    transition: all 0.5s ease-in-out;
}
.teampagecrd-hdr-tab{
    position: absolute;
    padding: 16px 30px;
    background-color: rgba(254,254,254,0.25);
    z-index: 9;
    color: var(--white);
    bottom: 17px;
    border-radius: 40px;
    line-height: 1;
}
.teampagecrdList{
    display: flex;
    align-items: center;
    column-gap: 5px;
    position: absolute;
    z-index: 9;
    bottom: 80px;
    display: none;
}
.teampagecrdList__link{
    width: 35px;
    height: 35px;
    background-color: rgba(254,254,254,0.25);
    font-size: 1rem;
    color: var(--white);
}
.teampagecrdList__link:hover{
    background-color: rgba(0,0,0,0.5);
    color: var(--white);
}
.teampagecrd-hdr:hover .teampagecrdList{
    display: flex;
}
.teampagecrd:hover .teampagecrd-hdr::after{
    display: block;
}
.teampagecrd__body{
    display: flex;
    align-items: center;
    column-gap: 10px;
    padding: 22px 20px;
    line-height: 1;
    background-color: var(--eighth-color);
}
.teampagecrd__body i{
    font-size: 1.2rem;
    color: var(--ninth-color);
}
.teampagecrd__h{
    font-size: 1.1rem;
    color: var(--contrast);
}
.teampagecrd__body:hover .teampagecrd__h{
    color: var(--main);
}
.teampagecontentwrpr{
    row-gap: 20px;
}
.teamDetailsbnBox{
    width: 285px;
    height: 285px;
    border-radius: 20px;
}
.teamDetailsbnBox__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.teamDetailsbn{
    position: absolute;
    bottom: 0%;
    z-index: 9;
    left: 50%;
    display: flex;
    align-items: center;
    transform: translate(-50%, 50%) ;
    column-gap: 25px;
}
.teamDetailsbn__tab{
    padding: 20px 50px;
    background-color: var(--white);
    border-radius: 15px 15px 0 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--charcoal-grey);
    margin-bottom: 20px;
}
.teamDetailsbn__tab i{
    color: var(--second-color);
}
.teamDetailsbnBox-innwrpr{
    display: flex;
    align-items: center;
    column-gap: 15px;
}
.teamDetailsbnBox__link{
    padding: 10px;
    background-color: #25D366;
    font-size: 0.9rem;
    color: var(--white);
    width: 48%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 60px;
    column-gap: 5px;
}
.teamDetailsbn__tabotr{
    width: max-content;
}
.teamDetailsbnBox__link2{
    background-color: var(--ninth-color);
}
.teamDetailsbnBox__link:hover{
    color: var(--white);
}
.teamBody2{
    padding-top: 180px !important;
}
.teamdetlist{
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;

}
.teamdetlist__btn{
    padding: 15px 66px;
    border-bottom: 1px solid var(--ninth-color);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
}
.teamdetlist__btn.active{
    color: var(--second-color);
    border: 1px solid var(--ninth-color);
    border-bottom: none;
}
.teamdetcontent__h{
    font-size: 1.2rem;
    color: var(--second-color);
    font-weight: bold;
    margin-bottom: 15px;
}
.teamdetcontenttab__p{
    font-size: 1.2rem;
    line-height: 2;
    color: var(--contrast);
    font-weight: 600;
    margin-bottom: 40px;
}
.teamdetcontent__h3{
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--thirteen-color);
    margin-bottom: 20px;
}
.teamdetcontenttab__img{
    width: 196px;
    height: auto;
}
.teamdetcontenttabbox__link{
    width: 63px;
    height: 63px;
    background-color: var(--ninth-color);
    border: 5px solid var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    color: var(--white);
    position: absolute;
    right: -50px;
    z-index: -1;
    transition: all 0.3s ease-in-out;
}
.teamdetcontenttabbox:hover .teamdetcontenttabbox__link{
    background-color: var(--main);
    color: var(--white);
    right: -70px;
    transition: all 0.3s ease-in-out;
    transform: rotate(90deg);
}
.teamdetcontenttabbox{
    display: flex;
    align-items: center;
    position: relative;
    z-index: 0;
    margin-bottom: 40px;
    width: fit-content;
}
.teamdetcontent{
    margin-bottom: 50px;
}
.teamdetcontenttab-row{
    display: flex;
    align-items: center;
    column-gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    row-gap: 10px;
}
.teamdetcontenttab-row:nth-last-child(1){
    margin-bottom: 0;
}
.teamdetcontenttab-mini{
    background-color: var(--ninth-color);
    width: 45px;
    height: 45px;
    color: var(--white);
}
.teamdetcontenttab-row__p{
    font-size: 1.1rem;
    color: var(--contrast);
    font-weight: 500;
}
.teamdetcontenttab-row__link{
    font-size: 1.1rem;
}
.teamdetcontenttab-row__link:hover{
    color: var(--main);
}
.teamdetcontenttab__list{
    display: flex;
    align-items: center;
    column-gap: 10px;
}
.teamdetcontenttab__link{
    width: 30px;
    height: 30px;
    background-color: var(--fivth-color);
    font-size: 0.7rem;
    color: var(--second-color);
}
.teamdetcontenttab__link:hover{
    background-color: transparent;
    color: var(--ninth-color);
}

@media(max-width:1799px){
    .teamwrpr__banner {
        height: 650px;
    }
    .teamDetailsbnBox {
        width: 240px;
        height: 240px;
        border-radius: 15px;
    }
    .teamDetailsbn__tab {
        padding: 17px 40px;
        border-radius: 15px 15px 0 0;
        font-size: 1.1rem;
        margin-bottom: 18px;
    }
    .teamBody2 {
        padding-top: 150px !important;
    }
    .teamdetlist__btn {
        padding: 15px 66px;
        border-bottom: 1px solid var(--ninth-color);
        font-size: 1.2rem;
        font-weight: 600;
        border-radius: 12px 12px 0 0;
    }
    .teampage_img-ab,
    .teampage_img-ab2{
        height: 300px;
    }
}
@media(max-width:1599px){
    .teampagelst__btn {
        padding: 15px 35px;
        font-size: 1rem;
    }
    .teamwrpr__banner {
        height: 610px;
    }
    .teampage_img-ab,
    .teampage_img-ab2{
        height: 270px;
    }
}
@media(max-width:1399px){
    .teampagecrd-hdr {
        height: 220px;
    }
    .teampagecrd-hdr-tab {
        padding: 12px 20px;
        bottom: 13px;
        font-size: 0.9rem;
    }
    .teampagecrd__h {
        font-size: 1rem;
    }
    .teampagelst {
        margin-bottom: 20px;
    }
    .teamwrpr__btn {
        bottom: 30px;
        padding: 17px 40px;
        font-size: 1.1rem;
    }
    .teamwrpr__banner {
        height: 500px;
    }
    .teamdetlist__btn {
        padding: 12px 60px;
        font-size: 1rem;
    }
    .teamdetcontent__h {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    .teamdetcontenttab__p {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    .teamdetcontenttab-mini {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .teamdetcontenttab-row {
        column-gap: 12px;
    }
    .teamdetcontenttab-row__p,
    .teamdetcontenttab-row__link {
        font-size: 1rem;
    }
    .teamdetcontenttab__img {
        width: 150px;
    }
    .teamdetcontenttabbox__link {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
        right: -40px;
    }
    .teamdetcontenttabbox:hover .teamdetcontenttabbox__link {
        right: -55px;
    }
    .teamdetcontent__h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .teampage_img-ab,
    .teampage_img-ab2{
        height: 240px;
    }
    .teamdetlist {
        margin-bottom: 20px;
    }
    .teamDetailsbnBox {
        width: 200px;
        height: 200px;
        border-radius: 10px;
    }
    .teamDetailsbnBox__img {
        border-radius: 10px;
    }
    .teamDetailsbn {
        column-gap: 15px;
    }
}
@media(max-width:1199px){
    .teampagelst{
        flex-wrap: wrap;
        row-gap: 10px;
    }
    .teamBody {
        padding: 22px 15px;
    }
    .teamwrpr__banner {
        height: 400px;
    }
    .teampage_img-ab,
    .teampage_img-ab2{
        height: 210px;
    }
}
@media(max-width:1023px){
    .teampagelst{
        background-color: transparent;
    }
    .teamwrpr__banner {
        height: 350px;
    }
    .teamwrpr__btn {
        bottom: 15px;
        padding: 14px 25px;
        font-size: 0.9rem;
    }
    .teamwrpr {
        border-radius: 20px 20px;
    }
    .teamwrpr__img,
    .teamwrpr__banner::after,
    .teamwrpr__banner{
        border-radius: 20px 20px 0 0;
    }
    .teampage_img-ab{
        bottom: 12%;
    }
    .teampage_img-ab2{
        bottom: 4%;
    }
    .teampage_img-ab,
    .teampage_img-ab2{
        height: 190px;
    }
    .teamDetailsbnBox {
        width: 180px;
        height: 180px;
    }
    .teamDetailsbn__tab {
        padding: 15px 25px;
        border-radius: 11px 11px 0 0;
        font-size: 0.9rem;
        margin-bottom: 9px;
    }
    .teamDetailsbnBox__link {
        padding: 7px 10px;
        font-size: 0.8rem;
        width: 49%;
        column-gap: 3px;
    }
    .teamBody2 {
        padding-top: 120px !important;
    }
}
@media(max-width:767px){
    .teamdetlist__btn {
        padding: 10px 32px;
        font-size:0.9rem;
    }
    .teamdetcontent__h {
        font-size: 1rem;
    }
    .teamdetcontenttab__p {
        font-size: 0.9rem;
    }
    .teamdetcontenttab-row__p, .teamdetcontenttab-row__link {
        font-size: 0.8rem;
    }
    .teamdetcontenttab-mini {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
    .teamdetcontenttab-row {
        column-gap: 8px;
    }
    .teamdetcontenttab__list {
        column-gap: 6px;
    }
    .teamdetlist{
        flex-wrap: nowrap;
        overflow-x: scroll;
    }
    .teamdetlist::-webkit-scrollbar{
        display: none;
    }
}
@media(max-width:539px){
    .teamwrpr__btn {
        bottom: 12px;
        padding: 11px 21px;
        font-size: 0.8rem;
    }
    .teampagelst{
        flex-wrap: nowrap;
        overflow: scroll;
        background-color: var(--eighth-color);
    }
    .teampagelst::-webkit-scrollbar{
        display: none;
    }
    .teampagelst__btn {
        padding:7px 15px;
        font-size: 0.8rem;
    }
    .teampagecrd__h {
        font-size: 0.8rem;
    }
    .teamwrpr__banner {
        height: 300px;
    }
    .teamDetailsbnBox {
        width: 110px;
        height: 110px;
    }
    .teamDetailsbn {
        column-gap: 5px;
    }
    .teamDetailsbn__tab {
        padding: 13px 18px;
        font-size: 0.8rem;
    }
    .teamDetailsbnBox__link {
        padding: 5px 7px;
        font-size: 0.7rem;
    }
    .teamBody2 {
        padding-top: 70px !important;
    }
    .teamdetcontenttab-row {
        row-gap: 3px;
    }
    .teamdetlist{
        flex-wrap: nowrap;
        overflow-x: scroll;
    }
    .teamdetlist::-webkit-scrollbar{
        display: none;
    }
    .teamdetlist__btn {
        padding: 8px 29px;
        font-size: 0.9rem;
    }
}
.dark .teampage_img-ab2,
.dark .teampage_img-ab{
    opacity: 0.07;
}
.dark .teamDetailsbn__tab,
.dark .teamwrpr{
    background-color: var(--dark-background-color3);
}
.dark .teamDetailsbn__tab{
    color: var(--white);
}
.dark .teamdetlist__btn{
    color: var(--white);
    border-color: var(--second-color);
}
.dark .teampagelst__btn,
.dark .teamdetcontenttab-row__p,
.dark .teamdetcontenttab-row__link,
.dark .teamdetcontenttab__p{
    color: var(--white);
}
.dark .teamdetcontenttab-mini{
    background-color: var(--dark-background-color2);
}
.dark .teamdetcontenttab__link{
    background-color: var(--dark-background-color2);
    color: var(--ninth-color);
}
.dark .teamdetcontenttabbox__link{
    background-color: var(--dark-background-color2);
    border-color: var(--dark-background-color2);
}
.dark .teamdetcontenttabbox:hover .teamdetcontenttabbox__link{
    border-color: var(--main); 
}
.dark .teamdetcontenttab__link:hover{
    background-color: transparent;
}
.dark .teamDetailsbnBox__link2{
    background-color: var(--second-color);
}
.dark .teampagelst{
    background-color: var(--dark-background-color4);
}
.dark .teampagelst__btn.active{
    background-color: var( --dark-background-color3);
}
.dark .teamwrpr__btn{
    background-color: var(--dark-background-color1);
    color: var(--white);
}
.dark .teampagecrd-hdr-tab{
    background-color: rgba(0,0,0,0.2);
}
.dark .teampagecrd__body{
    background-color: var(--dark-background-color4);
}
.dark .teampagecrd__h{
    color: var(--white);
}
.dark .teampagecrd__body i{
    color: var(--second-color);
}
.rtl .teamdetcontenttabbox__link{
    right: auto;
    left: -50px;
}
.rtl .teamdetcontenttabbox:hover .teamdetcontenttabbox__link{
    right: auto;
    left: -70px;
}