/* ==========================================================================
   PREMIUM SAAS TESTIMONIOS STYLE
   ========================================================================== */

:root {
    --napsis-blue: #0056b3;
    --napsis-orange: #ff7a18;
    --napsis-pink: #ec4899;
    --napsis-gray: #4b5563;
    --napsis-light: #f3f4f6;
    --napsis-white: #ffffff;
    --napsis-text: #111827;
    --napsis-muted: #6b7280;
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    --card-radius: 20px;
}

/* --- HERO SECTION RE-DESIGN --- */
.testimonial-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.testimonial-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.testimonial-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.testimonial-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--napsis-blue);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.testimonial-hero h1 {
    font-size: 56px;
    line-height: 1.1;
    color: var(--napsis-text);
    margin-bottom: 24px;
    font-weight: 800;
}

.testimonial-hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--napsis-gray);
    margin-bottom: 40px;
}

.testimonial-hero-image img {
    width: 100%;

}

/* --- SECTION TITLE --- */
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-intro h2 {
    font-size: 36px;
    color: var(--napsis-text);
    margin-bottom: 16px;
}

.section-intro p {
    color: var(--napsis-muted);
    font-size: 18px;
}

/* --- TESTIMONIAL CARDS (SAAS STYLE) --- */
.testimonial-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.testimonial-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.testimonial-full-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}

/* Alternating layout: even cards flip video to right */
.testimonial-full-row:nth-child(even) .testimonial-video {
    order: 2;
}

.testimonial-full-row:nth-child(even) .testimonial-page-content {
    order: 1;
}

.testimonial-video {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.testimonial-page-content {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-quote-icon {
    font-size: 60px;
    color: var(--napsis-blue);
    opacity: 0.15;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.6;
    color: var(--napsis-text);
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: -0.3px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e8f0fc;
    flex-shrink: 0;
}

.author-info h3 {
    font-size: 20px;
    color: var(--napsis-text);
    margin-bottom: 2px;
}

.author-info p {
    font-size: 15px;
    color: var(--napsis-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.school-tag {
    display: block;
    color: var(--napsis-blue);
    font-weight: 500;
    font-size: 14px;
    margin-top: 4px;
}

/* --- TRUST BAR --- */
.trust-bar {
    padding: 60px 0;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
    text-align: center;
}

.trust-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--napsis-muted);
    margin-bottom: 40px;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.3s ease;
}

.trust-logos:hover {
    opacity: 1;
    filter: grayscale(0);
}

.trust-logos img {
    height: 40px;
}

/* --- CTA SECTION --- */
.testimonial-cta {
    background: linear-gradient(90deg, var(--napsis-blue) 0%, #003a7a 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.testimonial-cta h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.btn-white {
    background: white;
    color: var(--napsis-blue);
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .testimonial-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .testimonial-hero h1 {
        font-size: 38px;
    }

    .testimonial-hero-image {
        display: none;
    }

    .testimonial-full-row {
        grid-template-columns: 1fr;
        margin-bottom: 80px;
        gap: 32px;
    }

    /* Reset order on mobile so video is always on top */
    .testimonial-full-row:nth-child(even) .testimonial-video {
        order: 1 !important;
    }

    .testimonial-full-row:nth-child(even) .testimonial-page-content {
        order: 2 !important;
    }

    .testimonial-video {
        width: 100%;
        order: 1;
    }

    .testimonial-page-content {
        width: 100%;
        padding: 0;
        order: 2;
    }

    .testimonial-quote {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .author-info h3 {
        font-size: 18px;
    }
}