.carousel-box {
    width: 95%;
    /* max-width: 1000px; */
    height: 520px;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 12px;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    transition: opacity 0.9s ease, transform 6s ease;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 60px;
    border: none;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    left: 0;
    bottom: 12px;
    width: 100%;
    text-align: center;
    z-index: 11;
}

.carousel-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin: 0 4px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dot.active {
    background: #ffffff;
}

.no-image {
    text-align: center;
    padding: 80px 20px;
    color: #888;
    font-size: 18px;
}

@media (max-width: 768px) {
    .carousel-box {
        height: 240px;
    }
}