




.first-nav {
    background: #ffff;
}

.sec-nav {
    background: #ffff;
}

header.scroll .first-nav {
    background: #ffff;
}

header.scroll .sec-nav {
    background: #ffff;
}




.teacher-detail-info{
    padding-block: 260px 90px;
    position: relative;
}

.teacher-detail-info::before{
    position: absolute;
    content: "";
    width: 300px;
    height: 300px;
    transform: rotate(91deg);
    right: -220px;
    top: 28%;
    background: #6697BB;
    border-radius: 25px;
    z-index: 1;
}

.teacher-detail-info::after{
    position: absolute;
    content: "";
    width: 200px;
    height: 200px;
    transform: rotate(133deg);
    left: -90px;
    top: 66%;
    background: var(--additional-color2);
    border-radius: 25px;
}


.teacher-img{
    width: 100%;
    height: 500px;
    position: relative;
}


.teacher-img::before{
    position: absolute;
    content: '';
    width: 200px;
    height: 200px;
    background: #6697BB;
    border-radius: 25px;
    right: -40px;
    z-index: -1;
    bottom: -40px;
}


.teacher-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.all-abilities{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.teacher-abilities{
    background: var(--additional-color2);
    border-radius: 14px;
    padding: 40px 25px;
    position: relative;
    left: -105px;
    top: -41px;
}

.each-ability{
    display: flex;
    align-items: center;
    gap: 4px;
}
.ability-icon{
    width: 33px;
    height: 36px;
}
.ability-icon img{
   width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.ability-text span{
    color: #ffff;
}

.whole-teacher-content{
    padding-top: 60px;
    padding-right: 100px;
}

.whole-teacher-content h3{
    padding-bottom: 40px;
    font-size: 33px;
    font-weight: 600;
}



.tab-title{
    display: flex;
    flex-direction: column;
}

.tab-small-title{
    background-color: var(--secondary-color);
    padding: 0 30px;
    color: #fff;
    width: fit-content;
    clip-path: polygon(9% 0, 100% 0, 100% 100%, 0% 100%);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.tab-title-strong{
    color: var(--primary-color);
    font-weight: 600;
    font-size: 26px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}


.courses_swiper{
    position: unset;
    padding-top: 32px;
}


.courses_swiper .swiper-nav-box {
    top: 13%;
    left: 2%;
}

.their-courses .container{
    position: relative;
    padding-block: 60px;
}


.ability-text{
    display: flex;
    flex-direction: column;
}



/*responsive*/
/*responsive*/
/*responsive*/
/*responsive*/

@media screen and (max-width: 1600px){

    .teacher-detail-info::after {
        right: -136px;
        top: 15%;
    }

    .teacher-detail-info::before {
        width: 264px;
        height: 264px;
        right: -213px;
        top: 39%;
    }

}


@media screen and (max-width: 1399px){

    .teacher-detail-info::after {
        display: none;
    }

    .teacher-detail-info::before {
        display: none;
    }

}

@media screen and (max-width: 1199px){

    .teacher-img {
        height: 443px;
    }

    .whole-teacher-content {
        padding-top: 34px;
        padding-right: 25px;
    }

    .whole-teacher-content h3 {
        padding-bottom: 20px;
        font-size: 30px;
    }

    .teacher-abilities {
        width: 120%;
    }

}


@media screen and (max-width: 991px){

    .teacher-content-col{
        order: -1;
    }

    .teacher-detail-info {
        padding-block: 128px 80px;
    }

    .whole-teacher-content h3 {
        padding-bottom: 17px;
        font-size: 27px;
    }
    .whole-teacher-content {
        padding-top: 34px;
        padding-right: 0;
        padding-bottom: 30px;
    }

    .teacher-abilities {
        width: 100%;
        left: unset;
    }

    .teacher-img {
        height: 380px;
    }

    .course-content {
        padding-inline: 8px;
    }
    .each-course {
        padding-inline: 15px;
    }



}


@media screen and (max-width: 767px){

}


@media screen and (max-width: 575px){

    .whole-teacher-content h3 {
        font-size: var(--mobile-title-main);
    }

    .teacher-passage h4{
        font-size: var(--mobile-title-main);
    }

    .tab-title-strong{
        font-size: var(--mobile-title-main);
    }


    .all-abilities {
        justify-content: center;
        flex-wrap: wrap;
    }

    .each-ability {
        padding: 20px 10px;
    }

    .teacher-abilities {
        padding: 9px 12px;
    }

}


@media screen and (max-width: 425px){

}


@media screen and (max-width: 375px){

}

@media screen and (max-width: 320px){

}





/*responsive*/
/*responsive*/
/*responsive*/
/*responsive*/
