/* Testimonials Section Styles */

/* Testimonials Section Container */
.testimonials-section {
    width: 100%;
    padding: 80px 0;
    background-color: #ffffff;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Title */
.testimonials-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 50px;
    line-height: 1.2;
    text-align: center;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Testimonial Card */
.testimonial-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

/* Testimonial Content */
.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-quote-icon {
    color: var(--primary-red);
    font-size: 24px;
    opacity: 0.3;
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    font-weight: 400;
}

/* Testimonial Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #E1E1E1;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #e3e9f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-author-info {
    flex: 1;
    min-width: 0;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--section-title-color);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.testimonial-role {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive Design - Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Responsive Design - Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .testimonial-name {
        font-size: 16px;
    }

    .testimonial-role {
        font-size: 13px;
    }
}

/* ============================================
   Single Testimonial Page Styles
   ============================================ */

/* Back Button */
.testimonial-back-wrapper {
    margin-bottom: 30px;
}

.testimonial-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: transparent;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-back-btn i {
    color: var(--primary-red);
    font-size: 14px;
}

.testimonial-back-btn:hover {
    background-color: #f8f9fa;
    border-color: var(--primary-red);
    color: var(--section-title-color);
}

/* Featured Image */
.testimonial-featured-image {
    margin-bottom: 40px;
}

.testimonial-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

/* Testimonial Page Title */
.testimonial-page-title {
    margin-bottom: 30px;
}

/* Member Info Section */
.testimonial-member-info {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    background-color: #f9fafb;
    border-radius: 20px;
    margin-bottom: 40px;
}

.testimonial-member-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #e3e9f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-member-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-member-details {
    flex: 1;
    min-width: 0;
}

.testimonial-member-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--section-title-color);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.testimonial-member-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial-member-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--text-dark);
}

.testimonial-member-meta-item i {
    color: var(--primary-red);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Full Content */
.testimonial-full-content {
    position: relative;
    padding-top: 20px;
}

.testimonial-quote-icon-large {
    color: var(--primary-red);
    font-size: 48px;
    opacity: 0.2;
    margin-bottom: 24px;
    line-height: 1;
}

.testimonial-full-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 500;
    font-style: italic;
}

/* Responsive Design - Single Testimonial Page */
@media (max-width: 1024px) {
    .testimonial-member-info {
        padding: 24px;
    }

    .testimonial-member-avatar-large {
        width: 100px;
        height: 100px;
    }

    .testimonial-member-name {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .testimonial-back-wrapper {
        margin-bottom: 24px;
    }

    .testimonial-back-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .testimonial-featured-image {
        margin-bottom: 30px;
    }

    .testimonial-featured-image img {
        max-height: 300px;
    }

    .testimonial-page-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .testimonial-member-info {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 20px;
    }

    .testimonial-member-avatar-large {
        width: 90px;
        height: 90px;
    }

    .testimonial-member-name {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .testimonial-member-meta {
        align-items: center;
        gap: 10px;
    }

    .testimonial-quote-icon-large {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .testimonial-full-text {
        font-size: 18px;
    }
}

