/* Doctors Carousel Styles */

.doctors-carousel-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.doctors-carousel {
    padding: 0 50px;
}

/* Show carousel by default, Slick will handle it */
.doctors-carousel .doctor-slide {
    display: block;
}

.doctor-slide {
    padding: 0 15px;
    outline: none;
    box-sizing: border-box;
    float: left;
}

.doctor-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.doctor-card {
    text-align: center;
    padding: 20px;
    background: transparent;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.doctor-card-link:hover .doctor-card {
    transform: translateY(-5px);
}

/* Doctor Image Styles */
.doctor-image {
    margin: 0 auto 15px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-avatar {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.doctor-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Doctor Info Styles */
.doctor-info {
    text-align: center;
}

.doctor-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.doctor-specialty {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

/* Slick Carousel Navigation Arrows */
.doctors-carousel-wrapper .slick-prev,
.doctors-carousel-wrapper .slick-next {
    width: 30px;
    height: 50px;
    z-index: 10;
    background: none !important;
    border: none;
}

.doctors-carousel-wrapper .slick-prev:hover,
.doctors-carousel-wrapper .slick-next:hover {
    background: none !important;
}

.doctors-carousel-wrapper .slick-prev:before,
.doctors-carousel-wrapper .slick-next:before {
    font-size: 50px;
    font-weight: 300;
    opacity: 1;
    color: #000;
    font-family: Arial, sans-serif;
}

.doctors-carousel-wrapper .slick-prev:hover:before,
.doctors-carousel-wrapper .slick-next:hover:before {
    opacity: 0.7;
}

.doctors-carousel-wrapper .slick-prev:before {
    content: '‹';
}

.doctors-carousel-wrapper .slick-next:before {
    content: '›';
}

.doctors-carousel-wrapper .slick-prev {
    left: 0;
}

.doctors-carousel-wrapper .slick-next {
    right: 0;
}

/* Remove default slick dots if any */
.doctors-carousel-wrapper .slick-dots {
    display: none !important;
}

/* Slick track and slide fixes */
.doctors-carousel .slick-track {
    display: flex !important;
    align-items: stretch;
    margin-left: 0;
    margin-right: 0;
}

.doctors-carousel .slick-slide {
    height: auto;
    display: block !important;
    float: none !important;
}

.doctors-carousel .slick-slide > div {
    width: 100%;
    height: 100%;
    display: block;
}

.doctors-carousel .slick-list {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Responsive Styles */

/* Tablet - 4 doctors */
@media screen and (max-width: 1024px) {
    .doctors-carousel {
        padding: 0 40px;
    }
}

/* Mobile Landscape - 3 doctors */
@media screen and (max-width: 768px) {
    .doctors-carousel {
        padding: 0 35px;
    }
    
    .doctor-slide {
        padding: 0 10px;
    }
}

/* Mobile Portrait - 2 doctors */
@media screen and (max-width: 576px) {
    .doctors-carousel {
        padding: 0 30px;
    }
    
    .doctor-slide {
        padding: 0 8px;
    }
    
    .doctor-image {
        width: 80px;
        height: 80px;
    }
    
    .doctor-avatar {
        width: 80px !important;
        height: 80px !important;
    }
    
    .doctor-avatar-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .doctor-name {
        font-size: 14px;
    }
    
    .doctor-specialty {
        font-size: 12px;
    }
    
    .doctors-carousel-wrapper .slick-prev,
    .doctors-carousel-wrapper .slick-next {
        width: 30px;
        height: 30px;
    }
    
    .doctors-carousel-wrapper .slick-prev:before,
    .doctors-carousel-wrapper .slick-next:before {
        font-size: 16px;
    }
}

/* Extra Small Mobile - 1 doctor */
@media screen and (max-width: 400px) {
    .doctor-card {
        padding: 15px 10px;
    }
}
