/* Testimonials Section */

.testimonials-section {
    padding: 90px 20px;
    background: #f8f7fc;
    font-family: 'Poppins', sans-serif;
}

.testimonials-container {
    max-width: 1200px;
    margin: auto;
}

/* Heading */

.testimonial-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 55px;
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: #eee8ff;
    color: #7545d6;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.testimonial-heading h2 {
    font-size: 38px;
    font-weight: 800;
    color: #202033;
    margin: 10px 0;
}

.testimonial-heading h2 span {
    color: #8754e8;
}

.testimonial-heading p {
    font-size: 15px;
    line-height: 1.8;
    color: #77758a;
    margin-top: 15px;
}

/* Grid */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Cards */

.testimonial-card {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 18px;
    position: relative;
    border: 1px solid #eeeaf7;
    box-shadow: 0 8px 30px rgba(60, 35, 110, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(110, 70, 190, 0.13);
    border-color: #d8c8ff;
}

/* Quote */

.quote-icon {
    font-size: 65px;
    line-height: 50px;
    font-family: Georgia, serif;
    color: #d9c8ff;
    font-weight: bold;
}

/* Stars */

.testimonial-stars {
    color: #ffb629;
    font-size: 18px;
    letter-spacing: 3px;
    margin: 15px 0;
}

/* Testimonial Text */

.testimonial-text {
    font-size: 14px;
    line-height: 1.9;
    color: #666477;
    min-height: 105px;
    margin-bottom: 25px;
}

/* User Information */

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 13px;
    border-top: 1px solid #f0edf5;
    padding-top: 20px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8754e8, #b18aff);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 700;
}

.avatar-two {
    background: linear-gradient(135deg, #2878db, #67b5ff);
}

.avatar-three {
    background: linear-gradient(135deg, #e17a9a, #f5a6bd);
}

.user-info {
    flex: 1;
}

.user-info h4 {
    font-size: 14px;
    color: #252238;
    margin: 0 0 5px;
    font-weight: 700;
}

.user-info span {
    font-size: 12px;
    color: #9290a1;
}

.verified-badge {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #e7f8ef;
    color: #20a464;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
}

/* Footer */

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 45px;
    color: #77758a;
    font-size: 14px;
}

.trust-icon {
    font-size: 24px;
}

/* Responsive Design */

@media (max-width: 900px) {

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

}

@media (max-width: 600px) {

    .testimonials-section {
        padding: 65px 16px;
    }

    .testimonial-heading h2 {
        font-size: 28px;
    }

    .testimonial-heading p {
        font-size: 14px;
    }

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

    .testimonial-card {
        padding: 27px 23px;
    }

    .testimonial-text {
        min-height: auto;
    }

    .testimonial-footer {
        text-align: center;
        line-height: 1.7;
    }

}