/* ======================================================
   CAROUSEL SECTION
====================================================== */

.services-carousel-section {

    position: relative;

    padding: 80px 0;

    background: #f8fafc;

    overflow: hidden;
}

/* ======================================================
   DESKTOP 3D CAROUSEL
====================================================== */

.carousel-container {

    position: relative;

    width: 100%;

    height: 350px;

    perspective: 1400px;

    display: flex;

    align-items: center;

    justify-content: center;
}

/* ======================================================
   3D RING
====================================================== */

.services-carousel {

    position: relative;

    width: 100%;

    height: 100%;

    transform-style: preserve-3d;

    transition: transform 1s ease;
}

/* ======================================================
   CARD
====================================================== */

.carousel-card {

    position: absolute;

    top: 50%;
    left: 50%;

    width: 300px;

    height: 400px;

    border-radius: 24px;

    overflow: hidden;

    transform-style: preserve-3d;

    backface-visibility: hidden;

    box-shadow: 0 20px 45px rgba(0,0,0,0.20);

    transition: 0.5s ease;
}

.carousel-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

/* ======================================================
   BUTTONS
====================================================== */

.carousel-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    border: none;

    border-radius: 50%;

    background: #11D89C;

    color: #002E5B;

    font-size: 18px;

    cursor: pointer;

    z-index: 999;

    transition: 0.3s ease;
}

.carousel-btn:hover {

    transform: translateY(-50%) scale(1.08);
}

.prev-btn {

    left: 30px;
}

.next-btn {

    right: 30px;
}

/* ======================================================
   MOBILE SLIDER
====================================================== */

.mobile-carousel-wrapper {

    display: none;
}

.mobile-slider {

    overflow: hidden;

    width: 100%;
}

.mobile-carousel {

    display: flex;

    transition: transform 0.5s ease;
}

.mobile-slide {

    min-width: 100%;
}

.mobile-slide img {

    width: 100%;

    height: 420px;

    object-fit: cover;

    border-radius: 20px;
}

.mobile-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: none;

    border-radius: 50%;

    background: #11D89C;

    color: #002E5B;

    z-index: 10;

    cursor: pointer;
}

#mobile-prev {

    left: 15px;
}

#mobile-next {

    right: 15px;
}

/* ======================================================
   TABLET
====================================================== */

@media (max-width: 1100px) {

    .carousel-card {

        width: 200px;

        height: 260px;
    }

}

/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 768px) {

    .desktop-carousel {

        display: none;
    }

    .mobile-carousel-wrapper {

        display: block;

        position: relative;
    }

    .services-carousel-section {

        padding: 80px 0;
    }

}

/* ======================================================
   SMALL MOBILE
====================================================== */

@media (max-width: 480px) {

    .mobile-slide img {

        height: 320px;
    }

}