.testimonials-section {
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}
.testimonials-section .section-heading {
    text-align: center;
    margin-bottom: 12px;
    font-size: 2.8rem;
    font-weight: 800;
}
.testimonials-subheading {
    text-align: center;
    color: var(--viso-text-muted);
    margin-bottom: 64px;
    font-size: 1.1rem;
}

/* Marquee Container */
.t-marquee-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    height: 600px;
    position: relative;
    /* The Fade Effect */
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}
@media (max-width: 991px) {
    .t-marquee-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .t-marquee-container { grid-template-columns: 1fr; height: 500px; }
}

.t-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Animations */
.t-scroll-up {
    animation: t-marquee-up 40s linear infinite;
}
.t-scroll-up-slow {
    animation: t-marquee-up 45s linear infinite;
}
.t-scroll-up-fast {
    animation: t-marquee-up 35s linear infinite;
}

@keyframes t-marquee-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Card Styling (Refining to Image 1 style but light) */
.testimonial-card {
    background: #fafafa;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #eeeeee;
    transition: var(--viso-transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.testimonial-card:hover {
    border-color: var(--viso-primary);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.t-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.t-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
}
.t-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--viso-black);
    margin: 0;
}
.t-role {
    font-size: 0.75rem;
    color: var(--viso-text-muted);
}
.t-stars {
    color: #FFD700; /* Vibrant Gold */
    font-size: 0.8rem;
    letter-spacing: 2px;
}
.t-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
}
/* Stacked Card Style for Homepage */
.testimonials-section {
    padding: 100px 0;
    background: var(--viso-bg-light);
    overflow: hidden;
}
.testimonial-stack-container {
    max-width: 550px;
    margin: 40px auto 0;
    position: relative;
    perspective: 1000px;
}
.t-stack-card {
    background: var(--viso-white);
    border-radius: 40px;
    padding: 60px 40px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.02);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.t-stack-card .t-stars {
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 24px;
    text-align: center;
}
.t-stack-card .t-text {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--viso-black);
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.t-stack-user {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    margin-top: auto;
    padding-top: 20px;
}
.t-stack-user .t-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}
.t-stack-user .t-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--viso-black);
}
.t-stack-user .t-role {
    font-size: 0.95rem;
    color: var(--viso-gray);
    font-weight: 500;
}

.t-stack-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.t-stack-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--viso-transition);
    cursor: pointer;
    background: var(--viso-white);
    border: 1px solid #eee;
    color: var(--viso-black);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.t-stack-btn:hover {
    background: var(--viso-primary);
    border-color: var(--viso-primary);
    color: var(--viso-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}


