/* Carousel Container */
.carousel {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    background-color: #f1f1f1;
    overflow: hidden;
}

/* Carousel Slides */
.carousel-slide {
    display: none;
    width: 100%;
    height: auto;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.carousel-slide.active {
    display: block;
}

/* Fade Animation */
.fade {
    animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 16px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Carousel Dots */
.carousel-dots {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #2E3192;
}

.dot:hover {
    background-color: #717171;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-btn {
        padding: 12px;
        font-size: 16px;
    }

    .carousel-btn.prev {
        left: 5px;
    }

    .carousel-btn.next {
        right: 5px;
    }

    .dot {
        height: 10px;
        width: 10px;
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        padding: 10px;
        font-size: 14px;
    }

    .dot {
        height: 8px;
        width: 8px;
        margin: 0 4px;
    }
}
