/* ===============================
   TESTIMONIALS SECTION
================================ */

.testimonials-section {
    flex: 1;
    background: #f4f7fb;
    display: flex;
    align-items: center;      /* vertical center */
    justify-content: center;  /* horizontal center */
    padding: 0 30px;
}

/* Boxed container */
.testimonials-section .section-content.boxed {
    max-width: 1200px;
    width: 100%;
    padding: 60px;
}

/* Header */
.section-header {
    max-width: 750px;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: "";
    width: 55px;
    height: 4px;
    background: var(--secondary-color);
    display: block;
    margin-top: 14px;
    border-radius: 3px;
}

.section-description {
    margin-top: 18px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #555;
}

/* ===============================
   GRID
================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

/* ===============================
   CARD
================================ */

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 0px 35px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #fff;
}

.testimonials-grid {
    gap: 50px;
}

.testimonial-text {
    margin-top: 55px;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.testimonial-name {
    margin-top: 18px;
    font-weight: 700;
    color: var(--dark-color);
}

.testimonial-role {
    font-size: 0.9rem;
    color: #888;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    main {
        min-height: auto;
    }

    .testimonials-section {
        padding: 40px 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}
