.elementor-widget{
    width: 100%;
}

.custom-center-mode-carousel * {
    font-family: var(--e-global-typography-25e5fe1-font-family), Sans-serif !important;
}


.custom-center-mode-carousel .carousel-container {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 40px;

    max-width: 1400px;

    margin: 0 auto;

    position: relative;

}



.custom-center-mode-carousel .carousel-wrapper {

    position: relative;

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}



.custom-center-mode-carousel .carousel-track {

    position: relative;

    width: 100%;

    max-width: 1100px;

    height: 500px;

    overflow: visible;

}



.custom-center-mode-carousel .carousel-slide {

    position: absolute;

    width: 100%;

    max-width: 380px;

    height: 500px;

    border-radius: 12px;

    overflow: visible;

    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    cursor: pointer;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

    top: 0;

    left: 50%;

}



.custom-center-mode-carousel .slide-image {

    width: 100%;

    height: 100% !important;

    object-fit: cover;

    border-radius: 12px;

}



.custom-center-mode-carousel .slide-content {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));

    color: white;

    padding: 20px;

    text-align: center;

    z-index: 2;

    border-radius: 0 0 12px 12px;

}



.custom-center-mode-carousel .slide-name {

    font-size: 24px;

    font-weight: 600;

    margin-bottom: 4px;

    max-width: 200px;
    margin: 0 auto;

}



.custom-center-mode-carousel .slide-title {

    font-size: 14px;

    opacity: 0.9;

    max-width: 200px;
    margin: 0 auto;

}



.custom-center-mode-carousel .carousel-slide.active {

    transform: translateX(-50%) scale(1);

    z-index: 3;

    opacity: 1;

}



/* --- START: DESKTOP VISIBILITY (5 IMAGES) --- */
.custom-center-mode-carousel .carousel-slide.prev {

    transform: translateX(-50%) translateX(-225px) scale(0.85);

    z-index: 2;

    opacity: 0.8;

}



.custom-center-mode-carousel .carousel-slide.next {

    transform: translateX(-50%) translateX(225px) scale(0.85);

    z-index: 2;

    opacity: 0.8;

}



.custom-center-mode-carousel .carousel-slide.prev2 {

    transform: translateX(-50%) translateX(-400px) scale(0.7);

    z-index: 1;

    opacity: 0.5;

}



.custom-center-mode-carousel .carousel-slide.next2 {

    transform: translateX(-50%) translateX(400px) scale(0.7);

    z-index: 1;

    opacity: 0.5;

}

/* --- END: DESKTOP VISIBILITY (5 IMAGES) --- */



.custom-center-mode-carousel .carousel-slide.hidden {

    transform: translateX(-50%) scale(0.7);

    z-index: 0;

    opacity: 0;

}



.custom-center-mode-carousel .nav-btn {
    position: absolute;
    background: rgba(255, 255, 255, 1);
    border: none;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    color: #252362;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    /* left: 50%; */
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.custom-center-mode-carousel .nav-btn.prev-btn {
    left: calc(50% - 35px);
}

.custom-center-mode-carousel .nav-btn.next-btn {
    left: calc(50% + 35px);
}



.custom-center-mode-carousel .nav-btn:hover {

    background: #252362;

    color: #ffffff;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

}



.custom-center-mode-carousel .bubbles-container {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    pointer-events: none;

    overflow: visible;

    z-index: 10;

}



.custom-center-mode-carousel .bubble {

    position: absolute;

    background: radial-gradient(circle at 30% 30%, #6B46C1, #272266);

    color: white;

    width: 90px;

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 2px;

    border-radius: 50%;

    font-size: 11px;

    font-weight: 600;

    line-height: 15px;

    opacity: 0;

    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);

    pointer-events: none;

    text-align: center;

    padding: 20px 10px;

    overflow: hidden;

    font-family: 'Montserrat';

    transform: scale(0.95);

    transition: opacity 0.4s ease-out, transform 0.4s ease-out;

}

.custom-center-mode-carousel .bubble .emoji{
flex-basis: 30%;
}

.custom-center-mode-carousel .bubble.show {

    opacity: 1;

    transform: scale(1);

}


.custom-center-mode-carousel .carousel-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    height: 50px;
    /* flex-direction: column; */
}


/* 📱 Tablet styles (≤768px) */

@media (max-width: 768px) {

    .custom-center-mode-carousel .carousel-container {

        height: auto;

        gap: 20px;

    }



    .custom-center-mode-carousel .carousel-track {

        max-width: 600px;

        height: 420px;

    }



    .custom-center-mode-carousel .carousel-slide {

        width: 280px;

        height: 420px;

    }



    .custom-center-mode-carousel .slide-name {

        font-size: 20px;

    }



    .custom-center-mode-carousel .nav-btn {

        width: 40px;

        height: 40px;

    }


    /* Hide the outer slides on tablet */
    .custom-center-mode-carousel .carousel-slide.prev2,
    .custom-center-mode-carousel .carousel-slide.next2 {
        opacity: 0;
    }

    .custom-center-mode-carousel .nav-btn.prev-btn {
        left: calc(50% - 25px);
    }

    .custom-center-mode-carousel .nav-btn.next-btn {
        left: calc(50% + 25px);
    }


}


@media(max-width:767px) {

    .custom-center-mode-carousel .bubbles-container .bubble {
        padding: 6px;
        font-size: 9px;
        width: 70px;
        height: 70px;
    }
}

@media(max-width:525px) {
    .custom-center-mode-carousel .carousel-wrapper {
        overflow: visible;
    }


    .custom-center-mode-carousel .bubbles-container .bubble:nth-child(odd) {
        left: 0px !important;
    }

    .custom-center-mode-carousel .bubbles-container .bubble:nth-child(even) {
        right: 0px !important;
    }
}


/* 📱 Mobile styles (≤480px) */

@media (max-width: 480px) {

    .custom-center-mode-carousel .carousel-container {

        display: grid;

        grid-template-columns: 1fr 1fr;

        grid-template-rows: auto auto;

        gap: 24px;

        padding: 0 20px;

        max-width: 100vw;

    }



    .custom-center-mode-carousel .carousel-wrapper {

        grid-column: 1 / 3;

        grid-row: 1;

    }



    .custom-center-mode-carousel .prev-btn {

        grid-row: 2;

        grid-column: 1;

        justify-self: center;

    }



    .custom-center-mode-carousel .next-btn {

        grid-row: 2;

        grid-column: 2;

        justify-self: center;

    }



    .custom-center-mode-carousel .carousel-track {

        width: 100%;

        max-width: 100%;

        height: 520px;

        overflow: visible;

    }



    .custom-center-mode-carousel .carousel-slide {

        width: 290px;

        max-width: 320px;

        height: 520px;

        left: 50%;

    }



    /* --- START: HIDE PREV/NEXT SLIDES ON MOBILE --- */
    .custom-center-mode-carousel .carousel-slide.prev,

    .custom-center-mode-carousel .carousel-slide.next,

    .custom-center-mode-carousel .carousel-slide.prev2,

    .custom-center-mode-carousel .carousel-slide.next2 {

        opacity: 0;

    }

    /* --- END: HIDE PREV/NEXT SLIDES ON MOBILE --- */



    .custom-center-mode-carousel .slide-image {

        border-radius: 12px;

    }



    .custom-center-mode-carousel .slide-name {

        font-size: 18px;

    }



    .custom-center-mode-carousel .slide-title {

        font-size: 13px;

    }



    .custom-center-mode-carousel .nav-btn {

        width: 40px;

        height: 40px;


    }



    .custom-center-mode-carousel .bubble {

        width: 70px;

        height: 70px;

        font-size: 10px;

        line-height: 10px;

        padding: 8px;

    }



    .custom-center-mode-carousel .bubbles-container {

        overflow: visible;

    }

}