.floating-testimonials-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Mask to fade left and right edges */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

@media (max-width: 767px) {
    .floating-testimonials-container {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

.testimonial-row {
    display: flex;
    width: 100%;
    position: relative;
}

.testimonial-row:not(:last-child) {
    margin-bottom: 32px;
}

.testimonial-track {
    display: flex;
    gap: 32px;
    will-change: transform;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.testimonial-row.scroll-left .testimonial-track {
    animation-name: scrollLeft;
}

.testimonial-row.scroll-right .testimonial-track {
    animation-name: scrollRight;
}

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-1 * var(--loop-distance)));
    }
}

@keyframes scrollRight {
    from {
        transform: translateX(calc(-1 * var(--loop-distance)));
    }
    to {
        transform: translateX(0);
    }
}

.testimonial-card {
    min-height: 260px;
    max-width: 423px;
    padding: 32px;
    border-radius: 40px;
    background: #FFFFFF52;
    backdrop-filter: blur(16px);
    border: 1px solid #FFFFFF7A;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: space-between;
}

.testimonial-text {
    line-height: 1.6 !important;
    margin: 0 !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 18px !important;
    line-height: 1.5em !important;
    font-weight: 400 !important;
    color: #0B3217 !important;
	text-align: left !important;
}

@media (max-width: 767px) {
    .testimonial-card {
        min-height: 232px;
        max-width: 354px;
        padding: 24px;
    }
    
    .testimonial-text {
        font-size: 16px !important;
    }
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.testimonial-footer div.user {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.testimonial-footer .user img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

.testimonial-footer .user p {
    margin: 0 !important;
    font-family: "Roboto", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.2em !important;
    font-weight: 400 !important;
	text-align: left !important;
	color: #0B3217 !important;
}

.testimonial-footer p span.first-name {
    font-weight: 600;
}

.testimonial-footer p span.last-name {
    font-weight: 400;
}

.testimonial-footer div {
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.star-icon {
    width: 20px;
    height: auto;
    display: inline-block;
}

@media (hover: hover) and (pointer: fine) {
    .testimonial-row:hover .testimonial-track {
        animation-play-state: paused;
    }
}
