/* 
  TRUST SIGNALS & TESTIMONIALS SECTION (from streakerswindow)
  Beautiful gradient background with animated testimonial cards
*/

/* Variables - customize these! */
:root {
    --primary: #EF6438;
    --secondary: #203A67;
    --white: #FFFFFF;
}

/* Trust Section Container */
.trust-social-proof {
    background: linear-gradient(120deg, #f8f8f8 60%, #eaf6ff 100%);
    padding: 2.5rem 1rem 2.5rem 1rem;
    border-top: none;
    border-bottom: none;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

/* Decorative Background Element */
.trust-social-proof::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    width: 700px;
    height: 340px;
    background: radial-gradient(circle at 30% 40%, #eaf6ff 0%, #f8f8f8 80%, transparent 100%);
    opacity: 0.45;
    z-index: 0;
    transform: translateX(-50%);
    pointer-events: none;
}

/* Container */
.trust-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Headline */
.trust-headline {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.1rem;
    text-align: center;
    letter-spacing: 0.01em;
    max-width: 700px;
}

/* Rating Row */
.trust-rating-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.2rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    justify-content: center;
}

/* Star Icons */
.trust-stars svg {
    vertical-align: middle;
    margin-right: 0.2rem;
    filter: drop-shadow(0 2px 6px #f5b30133);
    width: 140px !important;
    height: 28px !important;
}

/* Rating Text */
.trust-rating-text {
    font-size: 1.18rem;
    color: var(--primary);
    font-weight: 700;
}

/* Reviews Grid */
.trust-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem 1.5rem;
    width: 100%;
    margin-top: 0.5rem;
    z-index: 1;
}

/* Individual Review Card */
.trust-review {
    background: linear-gradient(135deg, #fff 80%, #f3f7fa 100%);
    border-radius: 18px;
    border: 1px solid rgba(32,58,103,0.07);
    box-shadow: 0 6px 32px rgba(32,58,103,0.10), 0 1.5px 6px rgba(239,100,56,0.07);
    padding: 1.5rem 1.3rem 1.2rem 1.3rem;
    font-size: 1.13rem;
    color: var(--secondary);
    line-height: 1.7;
    border-left: 5px solid var(--primary);
    min-height: 120px;
    position: relative;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.7s cubic-bezier(.22,1,.36,1) forwards;
    transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

/* Hover Effect */
.trust-review:hover {
    box-shadow: 0 12px 48px rgba(32,58,103,0.16), 0 2px 8px rgba(239,100,56,0.10);
    border-left: 5px solid #f5b301;
    transform: translateY(-6px) scale(1.035);
}

/* Review Author */
.trust-review .review-author {
    display: block;
    font-size: 0.97rem;
    font-style: italic;
    color: #3a4a6b;
    margin-top: 0.7em;
    margin-bottom: 0.1em;
    font-weight: 400;
    text-align: left;
    letter-spacing: 0.01em;
}

/* Fade In Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Animation Delays */
.trust-review:nth-child(1) { animation-delay: 0.1s; }
.trust-review:nth-child(2) { animation-delay: 0.2s; }
.trust-review:nth-child(3) { animation-delay: 0.3s; }
.trust-review:nth-child(4) { animation-delay: 0.4s; }
.trust-review:nth-child(5) { animation-delay: 0.5s; }
.trust-review:nth-child(6) { animation-delay: 0.6s; }

/* Tablet View */
@media (max-width: 900px) {
    .trust-headline { font-size: 1.5rem; }
    .trust-reviews-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile View */
@media (max-width: 700px) {
    .trust-headline { font-size: 1.2rem; }
    .trust-reviews-grid { grid-template-columns: 1fr; }
    .trust-social-proof { padding: 1.5rem 0.5rem 1.5rem 0.5rem; }
    
    /* Limit to 3 reviews on mobile - hide reviews 4, 5, and 6 */
    .trust-review:nth-child(4),
    .trust-review:nth-child(5),
    .trust-review:nth-child(6) {
        display: none !important;
    }
    
    /* Increase star rating size for better visibility */
    .trust-stars svg {
        width: 140px;
        height: 28px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .trust-review {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .trust-review:hover {
        transform: none;
    }
}

