.te-ma-testimonials-container {
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 60px;
}
.te-ma-testimonials-wrapper {
    position: relative;
    display: flex; /* Display cards in a row */
    flex-wrap: nowrap; /* Prevent wrapping to a new line */
    margin: 0 auto;
    box-sizing: content-box;
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 1;
    overflow-x: auto; /* For horizontal scrolling */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    transition: transform 0.3s ease; /* Smooth transition for movement */
}


.te-ma-testimonials-wrapper:before {
    order: -1; /* Ensure this pseudo-element comes before the actual content */
    transition: transform 0.3s ease; /* Smooth transition for movement */
}

.te-ma-testimonials-wrapper:after {
    order: 2; /* Adjust the order to make it appear after the content */
    transition: transform 0.3s ease; /* Smooth transition for movement */
}
.te-ma-testimonials-wrapper:before,
.te-ma-testimonials-wrapper:after {
    content: '';
    display: block;
    flex: 0 0 10px; /* Width of the padding */
    
}
@media (min-width: 767px){
.te-ma-testimonials-wrapper:before,
.te-ma-testimonials-wrapper:after {
    content: '';
    display: block;
}
.te-ma-testimonials-container:after {
    background: -webkit-gradient(linear,left top,right top,from(rgba(19,46,87,0)),to(#132e57));
    background: -webkit-linear-gradient(left,rgba(19,46,87,0),#132e57);
    background: -o-linear-gradient(left,rgba(19,46,87,0) 0,#132e57 100%);
    background: linear-gradient(90deg,rgba(19,46,87,0),#132e57);
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 290px;
    z-index: 2;
    pointer-events: none;
}
.te-ma-testimonials-container:before {
    background: -webkit-gradient(linear,left top,right top,from(#132e57),to(rgba(19,46,87,0)));
    background: -webkit-linear-gradient(left,#132e57,rgba(19,46,87,0));
    background: -o-linear-gradient(left,#132e57 0,rgba(19,46,87,0) 100%);
    background: linear-gradient(90deg,#132e57,rgba(19,46,87,0));
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 290px;
    z-index: 2;
    pointer-events: none;
}
}


.te-ma-testimonials-wrapper::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}
.te-ma-testimonials-container {
    max-width: 3840px;
    padding-top: 10px;
        list-style: none;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 1;
    background-color: #132e57;    
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 60px;
}

.te-ma-testimonial-card {
    flex: 0 0 290px; /* Fixed width and prevent growing or shrinking */
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px;
    box-sizing: border-box;
    background: linear-gradient(62.55deg, hsla(0,0%,100%,.12) .79%, hsla(0,0%,100%,0));
    border: 1px solid hsla(0,0%,100%,.3);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    padding: 2rem;
    text-decoration: none;
    margin-right: 16px; /* Adjust as needed for spacing */
    color: #fff; /* Text color */
    cursor: pointer;
    transition: transform 0.3s ease; /* Smooth transition for movement */
        max-height: 460px;
}

.te-ma-testimonial-content {
    position:relative;
    margin-bottom: 10px;
    font-size: 14px;
    color:#fff;
    overflow: hidden; 
    transition: max-height 0.3s ease;
    max-height: 268px;
    overflow-y: auto;
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    scrollbar-width: thin; /* 'auto', 'thin', 'none' */
    scrollbar-color: #888 #f1f1f1; /* thumb and track color */
padding-right:10px;
}
/* For Webkit browsers */
.te-ma-testimonial-content::-webkit-scrollbar {
    width: 6px; /* Adjust the width of the scrollbar as needed */
}

.te-ma-testimonial-content::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the track */
        border-radius: 10px; /* Round the corners of the track */
}

.te-ma-testimonial-content::-webkit-scrollbar-thumb {
    background: #888; /* Color of the scrollbar itself */
    border-radius: 10px; /* Round the corners of the track */
}

.te-ma-testimonial-content::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color when hovered */
}
.te-ma-testimonials-container.te-ma-testimonial-content {
    margin-bottom: 10px;
    font-size: 14px;
    color: #0000;
}
/*
.te-ma-testimonial-content::before,
.te-ma-testimonial-content::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px; 
    pointer-events: none;
}

.te-ma-testimonial-content::before {
    top: 0;
    background: linear-gradient(to bottom, #132e57, rgba(19,46,87,0));
}

.te-ma-testimonial-content::after {
    bottom: 0;
    background: linear-gradient(to top, #132e57, rgba(19,46,87,0));
}
*/
.te-ma-testimonial-info {
    font-weight: bold;
    font-size: 15px;
    color:#fff;
}
.te-ma-title-container {
    text-align: center;
    padding-bottom: 40px;
}
.te-ma-title-container p, .te-ma-title-container h1, .te-ma-title-container h2, .te-ma-title-container h3, .te-ma-title-container h4, .te-ma-title-container h5, .te-ma-title-container h6{
    color: #fff;
}
@media (max-width: 480px) {
    .te-ma-testimonial-card {
        flex: 0 0 calc(100% - 120px); /* Adjust width for smaller screens */
    }
}