/* Specialists Carousel Styles */
/* .specialists-carousel-container {
    overflow: hidden;
    margin: 0 60px;
} */

.specialists-carousel {
    overflow: hidden;
    width: 100%;
}

.specialists-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    padding: 15px;
}

.specialist-card {
    flex: 0 0 calc(25% - 1.5rem);
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 15px rgba(38, 26, 120, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.specialist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(38, 26, 120, 0.2);
}

/* .specialist-image {
    position: relative;
    overflow: hidden;
    height: 300px;
} */

/* .specialist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
 */
.specialist-card:hover .specialist-image img {
    transform: scale(1.05);
}

.specialist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(38, 26, 120, 0.8) 0%, rgba(0, 119, 195, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.specialist-card:hover .specialist-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 0.4rem;
}

.social-links a {
    /* width: 50px;
    height: 50px; */
    /* background: rgba(255, 255, 255, 0.2); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    /* background: rgba(255, 255, 255, 0.3); */
    transform: scale(1.1);
}

/* .specialist-info {
    padding: 2rem;
} */

.specialist-info h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.specialist-title {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.specialist-stats {
    margin-bottom: 1rem;
}

.specialist-stats .stat {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.specialist-stats .stat i {
    margin-right: 0.5rem;
    width: 16px;
}

.specialist-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 5px rgba(38, 26, 120, 0.2);
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.carousel-nav-prev {
    left: -25px;
}

.carousel-nav-next {
    right: -25px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    /* background: #e9ecef; */
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .specialist-card {
        flex: 0 0 calc(33.333% - 1.33rem);
    }
}

@media (max-width: 992px) {
    .specialists-carousel-container {
        margin: 0 40px;
    }
    
    .specialist-card {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-nav-prev {
        left: -20px;
    }
    
    .carousel-nav-next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .specialists-carousel-container {
        margin: 0 20px;
    }
    
    .specialist-card {
        flex: 0 0 calc(100% - 0rem);
    }
    
    .specialist-image {
        height: 250px;
    }
    
    .specialist-info {
        padding: 1.5rem;
    }
    
    .carousel-nav-prev {
        left: -10px;
    }
    
    .carousel-nav-next {
        right: -10px;
    }
}

@media (max-width: 576px) {
    .specialists-carousel-container {
        margin: 0 10px;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-nav-prev {
        left: -5px;
    }
    
    .carousel-nav-next {
        right: -5px;
    }
}
