.caurosel-wrapper {
    width: 370px;
    height: 500px;
    text-align: left;
    margin: 60px auto;
    perspective: 1000px;
    perspective-origin: 50% -25%;
    position: relative;
}

.carousel {
    transform-style: preserve-3d;
    transform: translateZ(-450px) rotateY(0deg);
    position: relative;
    margin: 0;
    width: 370px;
    height: 455px;
    transition: transform 1s;
}

.carousel .slide {
    position: absolute;
    border-radius: 60px;
    opacity: 0.5;
    transition: 1s;
    width: 370px;
    height: 455px;
    background-color: #150d27;
    font-size: 24px;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Active Image */
.carousel .slide.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.6), 
    0 0 20px rgba(255, 0, 255, 0.4),
    0 0 40px rgba(255, 0, 255, 0.2);
}

.carousel .slide.next-cloned {
    box-shadow: 0 0 10px rgba(107, 44, 178, 0.6), 
    0 0 20px rgba(107, 44, 178, 0.4),
    0 0 40px rgba(107, 44, 178, 0.2);
}

.carousel .slide.prev-cloned {
    box-shadow: 0 0 10px rgba(107, 44, 178, 0.6), 
    0 0 20px rgba(107, 44, 178, 0.4),
    0 0 40px rgba(107, 44, 178, 0.2);
}

.carousel .slide.active::after {
    content: url('../../images/slider-man.png');
}

/* Side Images (Clones) */
.carousel .slide.active-cloned {
    opacity: 1;
}

.active-cloned.next-cloned:after {
    content: url('../../images/slider-man-side.png');
}

.active-cloned.prev-cloned:after {
    content: url('../../images/slider-man-side.png');
    transform: rotateY(180deg);
}

.nav-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.nav-buttons button {
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    background-color: transparent;
}

.nav-buttons button:disabled {
    cursor: not-allowed;
}

.nav-buttons button:disabled svg{
    opacity: 0.5;
}

.nav-buttons svg {
    max-width: 50px;
    height: auto;
}

/* 🔹 Progress Tracker */
.progress-container {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    max-width: 280px;
    margin: 50px auto 0 auto;
}

.progress-bar {
    height: 100%;
    width: 100%;   
}

.progress-line {
    height: 10px;
    background: #ff00ff;
    box-shadow: 0px 0px 10px #ff00ff;
    border-radius: 5px;
    transition: all 0.5s;
}

@media(max-width: 768px) {
    .carousel .slide,
    .carousel,
    .caurosel-wrapper {
        width: 200px;
        height: 350px;
    }
    .caurosel-wrapper {
        margin-bottom: 0;
    }
    .nav-buttons {
        margin-top: 30px;
        top: unset;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: space-between;
        width: unset;
    }
    .progress-container {
        margin-top: 0;
    }
}   