/* MediScan Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    /* Removed border, background and shadow as requested */
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.carousel-slide img {
    height: 500px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
}

/* Indicators / Bullets - Now outside the container */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px; /* 15px below the image */
    padding: 5px 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dot.active {
    background: var(--primary);
    width: 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsiveness adjustments */
@media (max-width: 992px) {
    .carousel-container {
        height: 400px;
    }
    .carousel-slide img {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 350px;
    }
    .carousel-slide img {
        height: 350px;
    }
    
    .carousel-dots {
        margin-top: 10px;
        gap: 8px;
    }
}

