
/* =========================================
   ANAX TESTIMONIAL PAGE
========================================= */

.anax-testimonial-page {
    --testimonial-navy: #102744;
    --testimonial-blue: #1769d2;
    --testimonial-text: #65758b;
    --testimonial-light: #f3f7fd;

    font-family: 'DM Sans', sans-serif;
    color: var(--testimonial-navy);
    overflow: hidden;
}

.anax-testimonial-page *,
.anax-testimonial-page *::before,
.anax-testimonial-page *::after {
    box-sizing: border-box;
}

.testimonial-container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}


/* HERO */

.testimonial-hero {
    padding: 85px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(23,105,210,.10), transparent 28%),
        linear-gradient(115deg, #f8faff, #fff 55%, #f0f6ff);
}

.testimonial-hero .testimonial-container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 65px;
}

.testimonial-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--testimonial-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.testimonial-eyebrow::before {
    content: "";
    width: 25px;
    height: 2px;
    background: var(--testimonial-blue);
}

.testimonial-hero-content h1 {
    margin: 20px 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(39px, 4.5vw, 58px);
    line-height: 1.13;
    letter-spacing: -2px;
    font-weight: 800;
}

.testimonial-hero-content h1 span {
    display: block;
    color: var(--testimonial-blue);
}

.testimonial-hero-content p {
    max-width: 570px;
    color: var(--testimonial-text);
    font-size: 14px;
    line-height: 1.9;
}

.testimonial-hero-btn,
.testimonial-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 23px;
    padding: 14px 22px;
    border-radius: 6px;
    color: #fff;
    background: var(--testimonial-blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: .3s ease;
}

.testimonial-hero-btn:hover {
    color: #fff;
    background: #1054ae;
    transform: translateY(-3px);
}


/* HERO VISUAL */

.testimonial-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.testimonial-hero-card {
    width: min(100%, 380px);
    padding: 35px;
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 25px 65px rgba(16,39,68,.09);
}

.testimonial-quote-mark {
    color: var(--testimonial-blue);
    font-family: Georgia, serif;
    font-size: 75px;
    line-height: .9;
}

.testimonial-hero-card h2 {
    margin: 15px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.35;
}

.testimonial-hero-card p {
    color: var(--testimonial-text);
    font-size: 13px;
    line-height: 1.8;
}

.testimonial-hero-card > span {
    display: block;
    margin-top: 25px;
    padding-top: 17px;
    border-top: 1px solid #e3eaf4;
    color: #8292a8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


/* REVIEW SECTION */

.testimonial-reviews-section {
    padding: 85px 0;
    background: #fff;
}

.testimonial-reviews-section .section-head {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.testimonial-reviews-section .section-head h2 {
    color: var(--testimonial-navy);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 800;
}

.testimonial-reviews-section .section-head h2 span {
    color: var(--testimonial-blue);
}

.testimonial-reviews-section .section-head p {
    color: var(--testimonial-text);
    font-size: 14px;
    line-height: 1.85;
}

.testimonial-service-tag {
    display: inline-block;
    margin: 15px 0 4px;
    padding: 6px 10px;
    border-radius: 4px;
    color: #1769d2;
    background: #edf5ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.testimonial-reviews-section .home-review-card > p {
    line-height: 1.85;
}


/* SERVICES */

.testimonial-services-section {
    padding: 85px 0;
    background: var(--testimonial-light);
}

.testimonial-services-heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.testimonial-services-heading h2 {
    margin: 14px 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.2;
}

.testimonial-services-heading h2 span {
    color: var(--testimonial-blue);
}

.testimonial-services-heading p {
    color: var(--testimonial-text);
    font-size: 14px;
    line-height: 1.8;
}

.testimonial-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-service-card {
    padding: 25px;
    border: 1px solid #e1eaf5;
    border-radius: 10px;
    background: #fff;
    transition: .3s ease;
}

.testimonial-service-card:hover {
    transform: translateY(-5px);
    border-color: #b6d0f2;
    box-shadow: 0 14px 30px rgba(16,39,68,.07);
}

.testimonial-service-card > span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--testimonial-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.testimonial-service-card h3 {
    margin: 0 0 9px;
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.testimonial-service-card p {
    margin: 0;
    color: var(--testimonial-text);
    font-size: 13px;
    line-height: 1.8;
}


/* CTA */

.testimonial-cta-section {
    padding: 75px 0;
    background: linear-gradient(115deg, #102744, #1769d2);
}

.testimonial-cta-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-cta-content > span {
    color: #c5ddff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.testimonial-cta-content h2 {
    margin: 16px 0;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.2;
}

.testimonial-cta-content h2 strong {
    color: #a9d0ff;
}

.testimonial-cta-content p {
    max-width: 620px;
    margin: 0 auto 25px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.8;
}

.testimonial-cta-btn {
    margin-top: 0;
    color: var(--testimonial-blue);
    background: #fff;
}

.testimonial-cta-btn:hover {
    color: #1054ae;
    background: #eaf2ff;
    transform: translateY(-3px);
}


/* RESPONSIVE */

@media (max-width: 1024px) {
    .testimonial-hero .testimonial-container {
        gap: 30px;
    }

    .testimonial-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .testimonial-container {
        width: calc(100% - 36px);
    }

    .testimonial-hero {
        padding: 60px 0;
    }

    .testimonial-hero .testimonial-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-hero-content h1 {
        font-size: clamp(36px, 8vw, 47px);
        letter-spacing: -1.5px;
    }

    .testimonial-hero-content p {
        font-size: 13px;
    }

    .testimonial-hero-card {
        max-width: 350px;
        padding: 28px;
    }

    .testimonial-reviews-section,
    .testimonial-services-section {
        padding: 60px 0;
    }

    .testimonial-reviews-section .section-head h2,
    .testimonial-services-heading h2 {
        font-size: 31px;
    }

    .testimonial-reviews-section .section-head p,
    .testimonial-services-heading p {
        font-size: 13px;
    }

    .testimonial-services-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .testimonial-service-card {
        padding: 21px;
    }

    .testimonial-cta-section {
        padding: 60px 0;
    }

    .testimonial-cta-content h2 {
        font-size: 31px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .anax-testimonial-page *,
    .anax-testimonial-page *::before,
    .anax-testimonial-page *::after {
        transition-duration: .01ms !important;
    }
}
