﻿.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        z-index: 10;
    }

.marquee {
    white-space: nowrap;
    overflow: hidden;
    /*background-color: #90E0EF;*/
}

    .marquee span {
        display: inline-block;
        padding-left: 100%;
        animation: marquee 30s linear infinite;
    }

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


.testimonials-hero {
    min-height: 520px;
}


    .testimonials-hero .bg-image {
        position: absolute;
        inset: 0;
        background-image: url('/images/customer_reviews_summer.webp');
        background-size: cover;
        background-position: center;
        transform: scale(1.02);
    }


    .testimonials-hero .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.70) 100%);
    }


.review-card {
    border-radius: 18px;
    background: rgba(15, 25, 35, .2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    display: flex;
    flex-direction: column;
}

.stars {
    letter-spacing: 2px;
    font-size: 1rem;
    line-height: 1;
    opacity: .95;
}

.text-white-75 {
    color: rgba(255,255,255,.80);
}




.review-card {
    transition: transform .18s ease, box-shadow .18s ease;
}

    .review-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 38px rgba(0,0,0,.32);
    }


.py-lg-6 {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

@media (max-width: 991.98px) {
    .py-lg-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.announcement-text {
    white-space: nowrap;
    color: #ff751f;
    font-size: 1.2em;
    font-weight: 600;
}

/* 基础结构 */
.custom-caption {
    position: absolute;
    inset: 0;
    padding: 0;
}

    .custom-caption::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0) );
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .custom-caption:has(.caption-inner)::before {
        opacity: 1;
    }

.caption-inner {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    padding: 40px 60px;
    max-width: 900px;
    z-index: 1;
    animation: fadeUp 0.6s ease;
}

.caption-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 10px;
}

.caption-desc {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    line-height: 1.45;
    margin-bottom: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 平板 */
@media (max-width: 991.98px) {
    .caption-inner {
        padding: 28px 32px;
        max-width: 85%;
    }

    .caption-title {
        font-size: 2rem;
    }

    .caption-desc {
        font-size: 1rem;
    }
}

/* 手机 */
@media (max-width: 768px) {
    .custom-caption {
        text-align: center;
    }

    .caption-inner {
        left: 50%;
        right: auto;
        bottom: 16px;
        transform: translateX(-50%);
        width: calc(100% - 24px);
        max-width: none;
        padding: 16px 14px;
    }

    .caption-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .caption-desc {
        font-size: 0.95rem;
        line-height: 1.35;
    }
}