.carousel-container {
    position: relative;
    width: 1920px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 15px 12px;
    cursor: pointer;
    font-size: 28px;
    z-index: 10;
    border-radius: 50%;
    user-select: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.carousel-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    height: 14px;
    width: 14px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
    border-color: rgba(0, 0, 0, 0.5);
}

.dot:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1920px) {
    .carousel-container {
        width: 100%;
        height: calc(100vw / (1920 / 500));
        max-height: 500px;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    .carousel-arrow {
        padding: 10px 8px;
        font-size: 20px;
        width: 40px;
        height: 40px;
    }

    .carousel-pagination {
        margin-top: 15px;
        gap: 6px;
    }

    .dot {
        height: 10px;
        width: 10px;
    }
}