/* Testimonial Marquee Slider - Frontend Styles */
/* ==========================================================================
   GOOGLE FONTS CDN IMPORT (Must be at the very top of the file)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,100..1000;1,100..1000&display=swap');
.tms-wrapper {
    width: 100%;
    padding: 0px 0;
    overflow: hidden;
    position: relative;
}
/* Edge fade using mask — both left and right */
.tms-row {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.3) 5%,
        rgba(0,0,0,1) 15%,
        rgba(0,0,0,1) 85%,
        rgba(0,0,0,0.3) 95%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.3) 5%,
        rgba(0,0,0,1) 15%,
        rgba(0,0,0,1) 85%,
        rgba(0,0,0,0.3) 95%,
        transparent 100%
    );
}
.tms-row:last-child {
    margin-bottom: 0;
}
/* Track holds the duplicated cards and animates */
.tms-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
}
/* Direction animations */
@keyframes tms-scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes tms-scroll-right {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.tms-row[data-direction="left"] .tms-track {
    animation: tms-scroll-left linear infinite;
}
.tms-row[data-direction="right"] .tms-track {
    animation: tms-scroll-right linear infinite;
}
/* Pause on hover — only the row being hovered, not all rows */
.tms-row:hover .tms-track {
    animation-play-state: paused;
}
/* Card */
.tms-card {
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    min-width: 260px;
    max-width: 300px;
    flex-shrink: 0;
    box-sizing: border-box;
}
/* Card Header: avatar + name + quote */
.tms-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
/* Avatar */
.tms-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tms-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tms-avatar-placeholder {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}
/* Name */
.tms-name {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
	font-family: 'DM Sans', sans-serif !important;
    line-height: 1.3;
}
/* Quote icon — gold */
.tms-quote-icon {
    font-size: 28px;
    line-height: 1;
    color: #d4a017;
    font-family: Georgia, serif;
    font-weight: 700;
    margin-left: auto;
    flex-shrink: 0;
}
/* Body text */
.tms-card-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #fff;
	font-family: 'DM Sans', sans-serif !important;
}