/*
 * Testimonials Section Styles
 * ============================
 * Extracted from: new-index.css (Lines 5831-6118)
 * 
 * Purpose:
 * - Testimonial section layout
 * - Customer review cards display
 * - Rating and feedback presentation
 * 
 * This module contains all styles for the testimonials section
 * that displays customer feedback and social proof.
 */

/* testimonial */

.testimonial-section {
    padding: 2.4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 105, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(32, 201, 151, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.testimonial-section .container {
    position: relative;
    z-index: 1;
}

/* Header Section */
.testimonial-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0b1b4b;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #0b1b4b 0%, #0069ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fc 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff);
    opacity: 0.8;
    border-radius: 24px 24px 0 0;
}



/* IMAGE */
.testimonial-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff);
    z-index: -1;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 105, 255, 0.1), rgba(255, 107, 107, 0.1));
    z-index: 1;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-image:hover::before {
    opacity: 1;
}

.testimonial-image:hover::after {
    opacity: 1;
}

.testimonial-image img {
    width: 100%;
    height: 380px;
    border-radius: 18px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    position: relative;
    z-index: 0;
}

.testimonial-image:hover img {
    transform: scale(1.05);
}

/* CONTENT */
.testimonial-content {
    position: relative;
}

.quote-icon {
    font-size: 80px;
    background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    opacity: 0.6;
    text-shadow: 0 4px 12px rgba(0, 105, 255, 0.2);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    max-width: 680px;
    transition: opacity 0.3s ease;
    font-weight: 400;
}

/* DIVIDER */
.testimonial-divider {
    height: 2px;
    background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff);
    margin: 2.5rem 0 1.5rem;
    border-radius: 2px;
}

/* FOOTER */
.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-footer h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0b1b4b;
    transition: opacity 0.3s ease;
}

.testimonial-footer span {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

/* CONTROLS */
.testimonial-controls {
    display: flex;
    gap: 12px;
}

.testimonial-controls button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    cursor: pointer;
    font-size: 16px;
    color: #0069ff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.testimonial-controls button:hover {
    background: #0069ff;
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 105, 255, 0.3);
}

.testimonial-controls button:active {
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .testimonial-section {
        padding: 3rem 0;
    }

    .testimonial-header h2 {
        font-size: 2rem;
    }

    .testimonial-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .testimonial-image img {
        max-width: 100%;
        height: 300px;
    }

    .quote-icon {
        font-size: 60px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .testimonial-controls {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .testimonial-header h2 {
        font-size: 1.75rem;
    }

    .testimonial-header p {
        font-size: 1rem;
    }

    .testimonial-wrapper {
        padding: 1.5rem;
    }

    .testimonial-image img {
        height: 250px;
    }
}
