/* =========================================
   DOCTOR SECTION
========================================= */

.doctor-page{
    margin-top:100px;
    margin-bottom:100px;
}

.doctor-section{
    padding:100px 0;
    background:linear-gradient(90deg,#a00000,#d80000);
    position:relative;
    overflow:hidden;
}

/* TITLE */

.doctor-section .section-title{
    margin-bottom:50px;
}

.doctor-section .section-title span{
    color:#ffd6d6;
    font-weight:bold;
    letter-spacing:1px;
    text-transform:uppercase;
}

.doctor-section .section-title h2{
    font-size:42px;
    font-weight:800;
    margin-top:10px;
    color:#fff;
}

.doctor-section .section-title p{
    color:rgba(255,255,255,0.85);
    margin-top:15px;
    line-height:1.8;
}

/* =========================================
   SLIDER
========================================= */

.doctor-slider-wrapper{
    position:relative;
    overflow:hidden;
    margin-top:50px;
}

.doctor-slider{
    display:flex;
    transition:transform .45s ease;
    will-change:transform;
}

.doctor-item{
    flex:0 0 100%;
    width:100%;
    padding:0 12px;
    box-sizing:border-box;
}

/* =========================================
   CARD
========================================= */

.doctor-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
    height:100%;
    transition:.3s;
}

.doctor-card:hover{
    transform:translateY(-8px);
}

.doctor-card img{
    width:100%;
    height:420px;
    object-fit:cover;
    object-position:center top;
    display:block;
    transition:.4s;
}

.doctor-card:hover img{
    transform:scale(1.03);
}

/* =========================================
   CONTENT
========================================= */

.doctor-content{
    padding:25px;
    text-align:center;
}

.doctor-content h4{
    font-weight:700;
    margin-bottom:8px;
    color:#222;
    font-size:24px;
}

.doctor-content span{
    color:#c40000;
    font-weight:600;
    display:block;
    margin-bottom:15px;
}

.doctor-content p{
    color:#666;
    line-height:1.7;
    font-size:15px;
    margin-bottom:0;
}

/* =========================================
   BUTTON NAVIGATION
========================================= */

.doctor-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#c40000;
    font-size:18px;
    z-index:20;
    box-shadow:0 5px 20px rgba(0,0,0,0.25);
    transition:.3s;
}

.doctor-nav:hover{
    background:#c40000;
    color:#fff;
}

.doctor-prev{
    left:-10px;
}

.doctor-next{
    right:-10px;
}

/* =========================================
   DESKTOP
========================================= */

@media(min-width:992px){

    .doctor-item{
        flex:0 0 33.3333%;
    }

}

/* =========================================
   TABLET
========================================= */

@media(max-width:991px){

    .doctor-section{
        padding:80px 0;
    }

    .doctor-section .section-title h2{
        font-size:34px;
    }

    .doctor-card img{
        height:340px;
    }

    .doctor-prev{
        left:5px;
    }

    .doctor-next{
        right:5px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media(max-width:576px){

    .doctor-section{
        padding:70px 0;
    }

    .doctor-section .section-title h2{
        font-size:28px;
    }

    .doctor-section .section-title p{
        font-size:14px;
    }

    .doctor-slider-wrapper{
        padding:0 5px;
    }

    .doctor-item{
        flex:0 0 100%;
        padding:0 5px;
    }

    .doctor-card{
        border-radius:20px;
    }

    .doctor-card img{
        height:260px;
        object-fit:cover;
        object-position:center top;
    }

    .doctor-content{
        padding:18px;
    }

    .doctor-content h4{
        font-size:20px;
    }

    .doctor-content span{
        font-size:14px;
    }

    .doctor-content p{
        font-size:14px;
    }

    .doctor-nav{
        width:42px;
        height:42px;
        font-size:15px;
    }

    .doctor-prev{
        left:8px;
    }

    .doctor-next{
        right:8px;
    }

}