/* Phase 6: animated testimonials + brand logo slider */
.home-testimonial-section {
    background: linear-gradient(135deg, rgba(15,118,110,.06), rgba(59,130,246,.06));
    overflow: hidden;
}
.testimonial-card {
    border: 1px solid rgba(148,163,184,.25);
    border-radius: 26px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(15,23,42,.08);
    padding: 24px;
    height: 100%;
    animation: testimonialRise .7s ease both;
    transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 70px rgba(15,23,42,.14);
}
.testimonial-stars {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: 15px;
}
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: cover;
    background: #e0f2fe;
    border: 1px solid #e2e8f0;
}
.testimonial-avatar-fallback {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
    background: var(--primary);
}
@keyframes testimonialRise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
.brand-slider-section {
    background: #fff;
    overflow: hidden;
}
.brand-slider-track-wrap {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.brand-slider-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: brandSlide 28s linear infinite;
}
.brand-slider-track:hover {
    animation-play-state: paused;
}
.brand-logo-card {
    min-width: 180px;
    height: 92px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15,23,42,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease;
}
.brand-logo-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    color: var(--primary);
}
.brand-logo-card img {
    max-width: 100%;
    max-height: 54px;
    object-fit: contain;
    display: block;
}
.brand-logo-fallback {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #f1f5f9;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 900;
    margin-right: 10px;
}
@keyframes brandSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (max-width: 575px) {
    .brand-logo-card { min-width: 145px; height: 82px; }
    .testimonial-card { padding: 18px; }
}
