
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 40px;
    box-sizing: border-box;
}

.carousel-row {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    scrollbar-width: none;
    /* Firefox */
}

.carousel-row::-webkit-scrollbar {
    display: none;
}

.carousel-section {
    flex: 0 0 calc(25% - 15px);
    box-sizing: border-box;
    border-radius: 10px;
    text-align: center;
    min-width: 0;
}

.carousel-button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}

.carousel-button:hover {
    background-color: rgba(101, 98, 98, 0.655);
}

.carousel-button.left {
    left: 10px;
    font-size: 15px;
}

.carousel-button.right {
    right: 0px;
    font-size: 15px;
}

.carousel-container {
    width: 100%;
    padding: 20px 43px;
    box-sizing: border-box;
    position: relative;
}

.carousel-track-wrapper {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    padding: 10px;
}


.carousel-dots {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
    padding: 0;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #bbb;
    margin: 0 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.carousel-dots .dot.active {
    background-color: #333;
}


/* Tablets: 3 items */
@media (min-width: 767px) and (max-width:991px) {
    .testimonial-slide {
        flex: 0 0 calc(33.333% - 13.33px);
    }

    .carousel-section {
        flex: 0 0 calc(33.333% - 13.33px);
    }
}
@media (max-width: 360px) {
    .col-4 {
        flex-basis: 25% !important;
        padding: 10px;
        min-width: 150px;
        max-width: 275px;
        margin-bottom: 25px;
        transition: transform 0.5s;
    }

    .carousel-container {
        padding: 20px !important;
    }

}

@media (max-width: 767px) {
    .col-4 {
        flex-basis: 25%;
        padding: 10px;
        min-width: 180px;
        max-width: 275px;
        margin-bottom: 25px;
        transition: transform 0.5s;
    }

    .carousel-container {
        padding: 0px 20px !important;
    }

    .carousel-section {
        flex: 0 0 calc(50% - 10px);
    }

    .carousel-row {
        gap: 5px;
    }
}