
.testimony-carousel-col {
    overflow-x: hidden;
}

.et_pb_code,
.et_pb_code_inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ba-testimonial-carousel-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
    overflow-x: hidden;
}

.ba-testimonial-carousel {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ba-testimonial-carousel::-webkit-scrollbar {
    display: none;
}

.ba-carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ba-carousel-image-wrapper,
.ba-carousel-image-wrapper a {
    width: 100%;
    display: block;
}

.ba-carousel-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.ba-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #3A8290;
    color: #3A8290;
    cursor: pointer;
    z-index: 10;
}

.ba-prev {
    left: 10px;
}

.ba-next {
    right: 10px;
}


.ba-carousel-text {
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3A8290;
    margin: 24px 0 20px;
    line-height: 1.4;
}

.ba-carousel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 5px;
    background-color: #3A8290;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ba-carousel-button:hover {
    background-color: #2f6e79;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58,130,144,0.25);
}

@media (max-width: 768px) {
    .ba-carousel-item {
        padding: 0;
    }

    .ba-carousel-image-wrapper,
    .ba-carousel-text,
    .ba-carousel-button {
        padding-left: 20px;
        padding-right: 20px;
    }
	    .ba-carousel-button {
        padding: 9px 22px;
    }
}
