.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    perspective: 1000px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    transition: 
        transform 0.6s ease, 
        opacity 0.6s ease;
}

.transition-common {
    opacity: 0;
}

.transition-common.active {
    opacity: 1;
}

.transition-fade .carousel-page {
    display: none;
}

.transition-fade .carousel-page.active {
    display: flex;
}

.transition-scale .carousel-page {
    transform: scale(0.8);
}

.transition-scale .carousel-page.active {
    transform: scale(1);
}

.transition-3d {
    backface-visibility: hidden;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.nav-button {
    margin: 0 10px;
    padding: 10px 15px;
    cursor: pointer;
}

.nav-button.active {
    background-color: #007bff;
    color: white;
}

#page0 { background-color: #ebbe93; }
#page1 { background-color: #ffcccc; }
#page2 { background-color: #ccffcc; }
#page3 { background-color: #ccccff; }
#page4 { background-color: #ffffcc; }
#page5 { background-color: #ccdfea; }
#page6 { background-color: #fbfbfa; }