/* TESTIMONIALS SECTION LAYOUT */
.section-testimonials {
    padding: 80px 20px;
    background-color: transparent;
    max-width: 1140px;
    /* Consistent with user's manual edits */
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.section-testimonials h2 {
    font-family: "Oswald", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 60px;
    text-transform: uppercase;
    text-align: center;
}

/* TESTIMONIALS GRID (3 Cols Desktop) */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile: 1 col */
    gap: 30px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CARD STYLING */
.testimonial-card {
    border: 1px solid #3d424c;
    border-radius: 12px;
    padding: 30px;
    background-color: rgba(22, 25, 30, 0.4);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    box-sizing: border-box;
    /* Prevent padding overflow */
}

/* HEADER: Avatar + Name */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.testimonial-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.testimonial-source {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    color: #bdc1ca;
    margin: 0;
    margin-top: 4px;
    /* Added spacing per user request */
}

/* RATING */
.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars img {
    width: 16px;
    height: 16px;
}

.rating-text {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #bdc1ca;
}

/* TEXT CONTENT */
.testimonial-text {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    color: #a8adb7;
    line-height: 1.6;
    margin: 0;
    /* Prevent overflow */
    word-wrap: break-word;
    overflow-wrap: break-word;
}