/* Testimonials Section */
.testimonials {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
    background: #E6402B;
}

.testimonials-background {
    display: none;
}

.testimonials-bg-img {
    display: none;
}

.testimonials-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Testimonials Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonials-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.testimonials-highlight {
    font-weight: 700;
    font-style: normal;
    color: white;
}

.testimonials-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonials-grid.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.testimonial-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.testimonial-card {
    background: white;
    border-radius: 32px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    min-height: 480px;
    position: relative;
}

.testimonial-card-link:hover .testimonial-card {
    transform: translateY(-8px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-link-badge {
    margin-top: 1.5rem;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #F04037;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card-link:hover .testimonial-link-badge {
    opacity: 1;
    gap: 0.75rem;
}

.badge-text {
    text-transform: uppercase;
}

.badge-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.testimonial-card-link:hover .badge-icon {
    transform: translateX(3px);
}

.testimonial-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-logo {
    transform: scale(1.08);
}

.testimonial-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-logo img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.testimonial-company {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
    text-align: center;
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
    text-align: center;
    font-style: italic;
    position: relative;
    padding: 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -0.3rem;
    left: 0;
    font-size: 2.5rem;
    color: rgba(240, 64, 55, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(240, 64, 55, 0.15);
    width: 100%;
    text-align: center;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
    text-align: center;
}

.author-title {
    font-size: 0.875rem;
    color: #999;
    font-weight: 400;
    text-align: center;
    line-height: 1.4;
}

.testimonial-btn {
    display: none;
}

/* Testimonials CTA */
.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonials-cta.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.testimonials-cta-btn {
    background: white;
    color: #F04037;
    border: none;
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.testimonials-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 64, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.testimonials-cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    background: #333;
    color: white;
}

.testimonials-cta-btn:hover::before {
    left: 100%;
}

.testimonials-cta-btn:active {
    transform: translateY(0);
}

/* Responsive Design for Testimonials */
@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonials-title {
        font-size: 2rem;
    }

    .testimonials-description {
        font-size: 0.95rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
        min-height: auto;
        max-height: none;
    }

    .testimonial-logo {
        width: 65px;
        height: 65px;
        margin-bottom: 1.25rem;
    }

    .testimonial-company {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        -webkit-line-clamp: unset;
        display: block;
    }

    .testimonial-text::before {
        font-size: 2rem;
    }

    .author-name {
        font-size: 0.95rem;
    }

    .author-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .testimonials-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .testimonials-description br {
        display: none;
    }

    .testimonial-card {
        padding: 1.75rem 1.25rem;
        min-height: auto;
        max-height: none;
    }

    .testimonial-logo {
        width: 60px;
        height: 60px;
    }

    .testimonial-company {
        font-size: 1.1rem;
    }

    .testimonial-text {
        font-size: 0.92rem;
        -webkit-line-clamp: unset;
        display: block;
    }

    .testimonials-cta-btn {
        padding: 16px 32px;
        font-size: 14px;
    }
}

