/* ==========================================================================
   TESTIMONIALS / COMMUNITY VOICES SECTION — CLEAN & CLASSIC
   St. Lawrence Junior School, Kabowa
   ========================================================================== */

.testimonials-target {
    background-color: #ffffff;
    padding: 80px 0 65px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
}

.testimonials-target .test-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   HEADER COMPOSITION
   -------------------------------------------------------------------------- */
.testimonials-target .test-header-row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 48px;
}

.testimonials-target .test-school-logo {
    flex-shrink: 0;
}

.testimonials-target .test-school-logo img {
    height: 76px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(11, 26, 56, 0.08));
}

.testimonials-target .test-header-text {
    flex: 1;
}

.testimonials-target .test-label-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.testimonials-target .test-accent-bar {
    width: 34px;
    height: 2.5px;
    background-color: #d32f2f;
    display: inline-block;
}

.testimonials-target .test-small-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #d32f2f;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.testimonials-target .test-main-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 46px;
    font-weight: 800;
    color: #0b1a38;
    line-height: 1.15;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.testimonials-target .test-supporting-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   MAIN TESTIMONIAL CAROUSEL
   -------------------------------------------------------------------------- */
.testimonials-target .test-carousel-wrapper {
    position: relative;
    max-width: 1040px;
    margin: 0 auto 28px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-target .test-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #003399;
    background-color: #ffffff;
    color: #003399;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 51, 153, 0.08);
}

.testimonials-target .test-nav-btn:hover {
    background-color: #003399;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.25);
}

.testimonials-target .test-nav-btn.prev-btn {
    left: -22px;
}

.testimonials-target .test-nav-btn.next-btn {
    right: -22px;
}

/* The Horizontal Testimonial Card */
.testimonials-target .test-card-container {
    width: 100%;
    overflow: hidden;
}

.testimonials-target .test-editorial-card {
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(11, 26, 56, 0.04);
    padding: 44px 50px;
    display: flex;
    align-items: center;
    gap: 42px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonials-target .test-photo-wrap {
    flex-shrink: 0;
    width: 220px;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f1f5f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.testimonials-target .test-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonials-target .test-content-wrap {
    flex: 1;
}

.testimonials-target .test-quote-icon {
    font-size: 58px;
    line-height: 0.8;
    color: #93c5fd;
    font-family: Georgia, serif;
    margin-bottom: 12px;
    user-select: none;
}

.testimonials-target .test-quote-text {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 19px;
    line-height: 1.65;
    color: #1e293b;
    margin: 0 0 18px 0;
    font-weight: 400;
}

.testimonials-target .test-author-accent {
    width: 32px;
    height: 2.5px;
    background-color: #d32f2f;
    margin-bottom: 12px;
}

.testimonials-target .test-author-name {
    font-size: 19px;
    font-weight: 800;
    color: #0b1a38;
    margin: 0 0 3px 0;
    font-family: 'Inter', sans-serif;
}

.testimonials-target .test-author-role {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* Dots Indicators */
.testimonials-target .test-dots-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.testimonials-target .test-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    padding: 0;
}

.testimonials-target .test-dot.active {
    background-color: #003399;
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   BOTTOM CALL-TO-ACTION STRIP
   -------------------------------------------------------------------------- */
.testimonials-target .test-bottom-cta {
    border-top: 1px solid #e2e8f0;
    margin-top: 48px;
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonials-target .test-cta-left {
    flex: 1;
}

.testimonials-target .test-cta-label-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.testimonials-target .test-cta-blue-bar {
    width: 26px;
    height: 2px;
    background-color: #003399;
    display: inline-block;
}

.testimonials-target .test-cta-small-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #003399;
    text-transform: uppercase;
}

.testimonials-target .test-cta-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 800;
    color: #0b1a38;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.testimonials-target .test-cta-subtext {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.testimonials-target .test-cta-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.testimonials-target .test-cta-btn {
    background-color: #0056b3;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 86, 179, 0.2);
}

.testimonials-target .test-cta-btn:hover {
    background-color: #003399;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 51, 153, 0.3);
    transform: translateY(-1px);
}

.testimonials-target .test-cta-tagline {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #003399;
    text-transform: uppercase;
    margin-top: 10px;
}

.testimonials-target .test-cta-red-accent {
    width: 24px;
    height: 2px;
    background-color: #d32f2f;
    margin-top: 5px;
    border-radius: 1px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .testimonials-target .test-editorial-card {
        flex-direction: column;
        text-align: center;
        padding: 36px 30px;
        gap: 28px;
    }

    .testimonials-target .test-photo-wrap {
        width: 180px;
        height: 200px;
    }

    .testimonials-target .test-quote-icon {
        margin: 0 auto 10px auto;
    }

    .testimonials-target .test-author-accent {
        margin: 16px auto 10px auto;
    }

    .testimonials-target .test-nav-btn.prev-btn {
        left: -12px;
    }

    .testimonials-target .test-nav-btn.next-btn {
        right: -12px;
    }

    .testimonials-target .test-bottom-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .testimonials-target .test-cta-right {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .testimonials-target {
        padding: 50px 0 40px 0;
    }

    .testimonials-target .test-header-row {
        flex-direction: column;
        gap: 16px;
    }

    .testimonials-target .test-main-heading {
        font-size: 32px;
    }

    .testimonials-target .test-quote-text {
        font-size: 16.5px;
    }

    .testimonials-target .test-cta-heading {
        font-size: 22px;
    }

    .testimonials-target .test-nav-btn {
        display: none;
    }
}
