/* Testimonials Page */
.testimonials-page {
    background-color: #f6f7fb;
    min-height: 100vh;
    padding: 80px 60px;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Hero Section */
.testimonials-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.testimonials-label {
    color: #4169b3;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
}

.testimonials-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 18px 0;
}

.testimonials-subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: #5f6368;
}

.testimonials-highlight {
    display: flex;
    gap: 30px;
    margin-top: 35px;
}

.highlight-card {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
}

.highlight-card i {
    font-size: 28px;
    color: #4169b3;
}

.highlight-card h4 {
    margin: 0;
    font-size: 22px;
    color: #1a1a2e;
}

.highlight-card span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #5f6368;
}

.testimonials-visual {
    position: relative;
    height: 100%;
    display: grid;
    gap: 20px;
}

.testimonial-image {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(65, 105, 179, 0.2);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.testimonial-badge strong {
    font-size: 32px;
    color: #4169b3;
}

.testimonial-badge span {
    font-size: 14px;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(70px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 18px;
}

.testimonial-quote {
    font-size: 16px;
    color: #3c4043;
    line-height: 1.8;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(65, 105, 179, 0.2);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 18px;
    color: #1a1a2e;
}

.testimonial-author span {
    font-size: 14px;
    color: #5f6368;
}

.testimonial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #7a7f86;
}

/* CTA */
.testimonials-cta {
    background: linear-gradient(135deg, #4169b3 0%, #5d8fe2 100%);
    color: white;
    border-radius: 16px;
    padding: 40px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-shadow: 0 20px 55px rgba(65, 105, 179, 0.25);
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.testimonials-cta h3 {
    margin: 0 0 10px 0;
    font-size: 30px;
}

.testimonials-cta p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.testimonials-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 8px;
    background-color: white;
    color: #4169b3;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
    .testimonials-hero {
        grid-template-columns: 1fr;
    }

    .testimonials-visual {
        order: -1;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .testimonials-container {
        gap: 50px;
    }

    .testimonials-title {
        font-size: 36px;
    }

    .testimonials-highlight {
        flex-direction: column;
    }

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

    .testimonials-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .testimonials-page {
        padding: 50px 20px;
    }

    .testimonials-title {
        font-size: 32px;
    }
}
