.our-teacher-section {
    width: 100%;
    margin: 92px auto;
    background: var(--color-accent-3);
}

.our-teacher-section .slide-container {
    width: 100%;
    max-width: 1300px;
    padding: 16px;
    margin: 0 auto;
    position: relative;
}
.our-teacher-section .slide-container::before{
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #073b4c, transparent);
    width: 20%;
    z-index: 10;
    left: 0;
    top: 0;
}
.our-teacher-section .slide-container::after{
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    background: linear-gradient(90deg, transparent, #073b4c);
    width: 20%;
    z-index: 10;
    right: 0;
    top: 0;
}
.our-teacher-section .container .heading-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    color: var(--color-primary);
    padding: 32px 0;
}
.our-teacher-section .container .heading-text .leading-text {
    font-size: var(--f6);
    font-weight: 600;
    width: 100%;
}
.our-teacher-section .container .heading-text .desc {
    max-width: 900px;
    width: 100%;
    margin: 8px auto;
    text-align: center;
    font-size: var(--f3);
    font-weight: normal;
}
.our-teacher-section .container .slide-container {
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
    margin: 8px auto;
    display: flex;
    position: relative;
    height: 320px;
}
.our-teacher-section .container .slide-container .slider-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    position: absolute;
    left: 0;
    animation: animation-slide-1 25s infinite linear;
    white-space: nowrap;
}

.our-teacher-section .container .slide-container .slider-wrapper:nth-child(2){
    animation: animation-slide-2 25s infinite linear;
    transform: translateX(100%);
}
.our-teacher-section .container .slide-container:hover .slider-wrapper{
    animation-play-state: paused;
}

@keyframes animation-slide-1 {
    0%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(-100%);
    }
}
@keyframes animation-slide-2 {
    0%{
        transform: translateX(100%);
    }
    100%{
        transform: translateX(0%);
    }
}
.our-teacher-section .container .slide-container .slider-wrapper .card-item {
    display: flex;
    flex-direction: column;
    color: var(--color-primary);
    text-decoration: none;
    align-items: center;
    padding: 16px;
    text-align: center;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
    width: 172px;
}
.our-teacher-section .container .slide-container .slider-wrapper .card-item img {
    width: 172px;
    height: 172px;
    margin-bottom: 16px;
    object-fit: cover;
}
.our-teacher-section .container .slide-container .slider-wrapper .card-item .user-name {
    font-weight: 500;
    font-size: var(--f4);
    width: 100%;
    white-space: normal;
}
.our-teacher-section .container .slide-container .slider-wrapper .card-item .user-profession {
    font-weight: normal;
    width: 100%;
    white-space: normal;
    line-height: 1.2;
    font-size: smaller;
    margin-top: 4px;
}
