/*doctor appointment */
.doctorAppointment{
 
    width:100%;
    height:100%;
    position: relative;
    top:10%;
    padding-top:5%;
    padding-bottom:50px;
    /* border-top:2px solid rgb(0,0,0,0.3); */
    
}
.app-title{
/*    
    width:100%; */
    height:15%;
    text-align: center;
    /* border-bottom:2px solid rgb(0,0,0,0.3); */
}
.app-title span{
    
    font-size:35px;
    font-weight: 600;
}
.app-doctor{
    width:100%;
    height:90%;
    background-color:rgb(0, 77, 139,0.8) ;
    padding:10px 20px;
    text-align:center ;
}
.app-doctor .title{
    display:block;
    font-size:25px;
    color:white;
    padding:20px;
}
.doctorAppointment .doctor-list{
    width: 100%;
    height: 100%;
    overflow: hidden;
    
}
.doctor-list .doctors-container{
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: hidden; 
    scroll-behavior: smooth;
   
    
}
.slider-track {
    display: flex;
    width: max-content;
    position: relative;
    will-change: transform;
    gap: 0; /* optional spacing between cards */
}

.doctor-list .doctor{
    flex: 0 0 calc(25% - 0px);
    height: 90%;
    background: none;
    box-sizing: border-box;
    padding:20px 0;
    border-radius: 20px;;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
     
}

.doctorAppointment .doctor-img{
    position: relative;
    width:90%;
    height:90%;
    padding:0;
    overflow: hidden;
    background:rgb(255, 255, 255);
    
   
  
}
.doctorAppointment .doctor-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50%; 
    width: 100%;
    background: linear-gradient(to top, rgba(0, 99, 102, 0.7), transparent); 
    pointer-events: none; 
}
.doctorAppointment img{
    display:block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 1px 1px 1px 1px rgb(0, 0, 0);
}



.doctorAppointment .doctor-name{
    width:90%;
    height:15%;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction:column;
    background:rgb(0, 99, 102);
    color:white;  

}
.doctorAppointment .doctor-name span{
    font-size:15px;
}


/* HD screen */
@media (max-width: 1366px) {
    .app-title{
        margin: 20px 20px 20px 20px ;
       
    }
    .app-title span{
         margin: 20px 20px 20px 20px ;
        font-size:23px;
        font-weight: 600;
    }
    .app-doctor .title{
        font-size:22px;
        color:white;
    }
    .doctors-container{
        width:140%;  
    }
    .doctor{
        width:30%;
        height: 100%;
        background-color: white;
        border-radius: 5px;
        margin-left:5%;
        margin-right:5%;
        position: relative;
    }
    .doctor-name .name{
        font-size:20px;
        padding:10px;
    }
    .doctorAppointment .doctor-name span{
        font-size:13px;
        padding:0;
    }

    .doctor-name .specialist{
        font-size:16px;
        padding:10px;
    }
    .doctor-appt-btn{
        padding:15px 30px;
    }
  

}


/* PHone */
@media (max-width: 787px) {
    .app-title{
        height:10%;  

    }

    .app-title span{
        text-align: center;
        font-weight: 600;
           font-size:12px;
    }
   
    .app-doctor .title{
        font-size:18px;
    }
    .doctors-container{
        width: 100%;  
    }
    .doctor{
        width: 100%;
        height: 100%;
        background-color: white;
        border-radius: 5px;
        margin-left:0;
        margin-right:0;
        position: relative;
    }
    .arrow i{
        font-size: 40px;
        color: white;
        background:gray;
        box-shadow: 1px 1px 1px 1px rgb(0,0,0);
    }
    .app-doctor{
        width:100%;
        height:500px;
        background-color:rgb(0, 77, 139,0.8) ;
        /* padding:10px 20px; */
        text-align:center ;
    }
    .doctorAppointment{
height:75vh;
    width:100%;
    position: relative;
   background-color: rgb(255, 255, 255);
    padding-top:5%;
    padding-bottom:50px;
    /* border-top:2px solid rgb(0,0,0,0.3); */
    
}

    .doctorAppointment .doctor-img{
        position: relative;
        width:90%;
        height:500px;
        padding:0;
        
        overflow: hidden;
        background:rgb(255, 255, 255);
        
    
    
    }
    .doctorAppointment .doctor-img::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        height: 0%; 
        width: 100%;
        background: linear-gradient(to top, rgba(0, 99, 102, 0.7), transparent); 
        pointer-events: none; 
    }
    .doctorAppointment img{
        display:block;
        width: 100%;
        /* height: 100%;
        max-height: 100%; */
        object-fit: contain;
        box-shadow: 1px 1px 1px 1px rgb(0, 0, 5);
    }


}
@media (max-width: 414px) {
        .footer {
        
        display: block;
        padding: 10px 0;
    }
    .doctorAppointment{
        height: 85vh;
    }
}