.carousel-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 4;
}

.carousel-inner-container {
    width: 80vw;
    height: 80vw;
    max-width: 400px;
    max-height: 400px;
    perspective: 2000px;
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
}

.carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    position: absolute;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.carousel-slide .slide-number {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 1.2rem;
    position: absolute;
    bottom: 10px; /* Adjust the value as needed */
}

.carousel-slide:nth-child(1) {
    transform: rotateY(0deg) translateZ(250px);
}

.carousel-slide:nth-child(2) {
    transform: rotateY(60deg) translateZ(250px);
}

.carousel-slide:nth-child(3) {
    transform: rotateY(120deg) translateZ(250px);
}

.carousel-slide:nth-child(4) {
    transform: rotateY(180deg) translateZ(250px);
}

.carousel-slide:nth-child(5) {
    transform: rotateY(240deg) translateZ(250px);
}

.carousel-slide:nth-child(6) {
    transform: rotateY(300deg) translateZ(250px);
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6rem;
    width: 100%;
    /* position: absolute; */
    top: 80%;
    transform: translateY(-50%);
    padding: 0 330px;
}

.carousel-control {
    width: 41px;
    height: 41px;
    background: linear-gradient(74deg, rgb(66, 133, 244), rgb(155, 114, 203), rgb(217, 101, 112));
    color: #fff;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
}

.current-slide-number {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .carousel-inner-container {
        width: 80vw;
        height: 80vw;
        max-width: 400px;
        max-height: 400px;
        margin-top:30px;
    }
    .carousel-controls {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .carousel-inner-container {
               width: 97vw;
        height: 85vw;
        max-width: 400px;
        max-height: 500px;
    }
     .carousel-controls {
        padding: 0 20px;
    }
}