/*   Teachers   */
.about-page .best-teachers {
    position: relative;
}

.about-page .best-teachers:before {
    content: " ";
    background-color: var(--secondary_color);
    -webkit-mask-image: url(../img/wave.svg);
    mask-image: url(../img/wave.svg);
    width: 71px;
    height: 86px;
    position: absolute;
    top: 60px;
    right: 8%;
    box-shadow: 0 4px 26px 0 color-mix(in srgb, var(--secondary_color) 36%, transparent);
    transform: scale(1.1);
}


.about-page .teacher-box {
    overflow: hidden;
    position: relative;
    border-radius: 24px;
}

.about-page .teacher-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s ease;
    opacity: 0.6;
    filter: blur(8px);
    border: 6px solid transparent;
}

.about-page .teacher-box .teacher-box-info {
    visibility: hidden;
    opacity: 0;
    text-align: center;
}

.about-page .teacher-box .teacher-box-info b {
    display: block;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    color: var(--primary_color);
    margin-top: 5px;
    margin-bottom: 16px;
}

.about-page .teacher-box .teacher-box-info span {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: var(--dark_gray_color);
}

.about-page .teachers-list-swiper .swiper-slide .teacher-box {
    width: 247px;
    height: 432px;
}

.about-page .teachers-list-swiper .swiper-slide .teacher-box:before {
    content: " ";
    width: 100%;
    height: 272px;
    background: var(--primary_color);
    opacity: 0.6;
    position: absolute;
    top: 45px;
    left: 0;
    border-radius: 12px;
    z-index: 3;
}

.about-page .teachers-list-swiper .swiper-slide .teacher-box img {
    border-radius: 12px;
    width: 263px;
    height: 272px;
    position: relative;
    z-index: 2;
    margin-top: 45px;
}

.about-page .teachers-list-swiper .swiper-slide.swiper-slide-active .teacher-box:before {
    content: unset;
}

.about-page .teachers-list-swiper .swiper-slide.swiper-slide-active .teacher-box {
    width: 309px;
    height: 432px;
}

.about-page .teachers-list-swiper .swiper-slide.swiper-slide-next .teacher-box:before,
.about-page .teachers-list-swiper .swiper-slide.swiper-slide-prev .teacher-box:before {
    top: 27px;
    height: 308px;
}

.about-page .teachers-list-swiper .swiper-slide.swiper-slide-next .teacher-box img,
.about-page .teachers-list-swiper .swiper-slide.swiper-slide-prev .teacher-box img {
    margin-top: 27px;
    height: 308px;
}

.about-page .teachers-list-swiper .swiper-slide.swiper-slide-active .teacher-box img {
    width: 309px;
    height: 360px;
    border-color: #ffffff;
    margin: 0;
    border-radius: 24px;
}

.about-page .teachers-list-swiper .swiper-slide.swiper-slide-active .teacher-box .teacher-box-info {
    visibility: visible;
    opacity: 1;
}

.about-page .teachers-list-swiper .swiper-slide-active .teacher-box img {
    filter: unset;
    opacity: 1;
}

.about-page .teacher-list-wrap .teachers-list-swiper {
    width: 100%;
    height: 432px;
    margin: 0 auto;
}

.about-page .teacher-list-wrap .swiper-wrapper {
    display: flex;
    align-items: center;
}

.about-page .teachers-list-swiper .swiper-slide {
    position: unset;
    width: auto !important;
}

.about-page .teacher-list-wrap .teachers-list-swiper:before {
    content: " ";
    width: 250px;
    height: 100%;
    background: linear-gradient(to right, var(--bg_color) 0%, transparent 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

.about-page .teacher-list-wrap .teachers-list-swiper:after {
    content: " ";
    width: 250px;
    height: 100%;
    background: linear-gradient(to left, var(--bg_color) 0%, transparent 100%);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
}

.about-page .teachers-list-swiper .swiper-slide {
    position: unset;
    width: auto !important;
}
@media (max-width: 991px) {
    .best-teachers .section-head.section-head-center .dot-line {
        display: none;
    }

    .best-teachers .section-head.section-head-center .section-head-inner-wrap {
        width: 100%;
    }
    .about-page .teacher-list-wrap .teachers-list-swiper:before,
    .about-page .teacher-list-wrap .teachers-list-swiper:after {
        width: 150px;
    }

}
@media (max-width: 575px) {
    .best-teachers:before {
        content: unset;
    }

    .about-page .teacher-list-wrap .teachers-list-swiper:before,
    .about-page .teacher-list-wrap .teachers-list-swiper:after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .about-page .teacher-list-wrap .teachers-list-swiper:before,
    .about-page .teacher-list-wrap .teachers-list-swiper:after {
        content: unset;
    }
}