/* =========================================================
   TESTIMONIAL PAGE
   Shree Ganpati Infotech
========================================================= */

:root {
    --blue: #2D4354;
    --sage: #73766A;
    --peach: #FED7A5;
    --terra: #9E6752;
    --brown: #534145;
    --black: #20212B;
    --white: #ffffff;
    --soft: #f7f6f2;
    --line: rgba(45, 67, 84, .13);
    --shadow: 0 25px 70px rgba(32, 33, 43, .11);
}


/* =========================================================
   BASE
========================================================= */

.testimonial-page {
    position: relative;
    overflow: hidden;
    background: var(--white);
    color: var(--black);
}

.testimonial-container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

.testimonial-page a {
    text-decoration: none;
}


/* =========================================================
   HERO
========================================================= */

.testimonial-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(254, 215, 165, .75), transparent 28%),
        radial-gradient(circle at 10% 80%, rgba(115, 118, 106, .18), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f7f6f2 100%);
}

.testimonial-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(rgba(45, 67, 84, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 67, 84, .035) 1px, transparent 1px);
    background-size: 55px 55px;
}

.testimonial-hero-content {
    position: relative;
    z-index: 5;
    width: 65%;
    padding: 110px 0 90px;
}

.testimonial-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--terra);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.testimonial-eyebrow i,
.section-kicker i {
    font-size: 13px;
}

.testimonial-hero h1 {
    margin: 20px 0;
    max-width: 760px;
    font-size: clamp(52px, 7vw, 92px);
    line-height: .94;
    letter-spacing: -4px;
    font-weight: 900;
    color: var(--blue);
}

.testimonial-hero h1 span {
    display: block;
    color: var(--terra);
}

.testimonial-hero-content p {
    max-width: 650px;
    margin: 0;
    color: #62656b;
    font-size: 18px;
    line-height: 1.8;
}

.testimonial-hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.testimonial-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 23px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    transition: .3s ease;
}

.testimonial-btn-primary {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 14px 30px rgba(45, 67, 84, .20);
}

.testimonial-btn-primary:hover {
    transform: translateY(-4px);
    background: var(--terra);
}

.testimonial-btn-outline {
    color: var(--blue);
    border: 1px solid rgba(45, 67, 84, .18);
    background: rgba(255, 255, 255, .7);
}

.testimonial-btn-outline:hover {
    transform: translateY(-4px);
    border-color: var(--terra);
    color: var(--terra);
}


/* =========================================================
   HERO ORBS
========================================================= */

.testimonial-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orb-one {
    width: 440px;
    height: 440px;
    right: -100px;
    top: 80px;
    border: 1px solid rgba(45, 67, 84, .12);
    box-shadow:
        inset 0 0 80px rgba(254, 215, 165, .35),
        0 0 100px rgba(254, 215, 165, .25);
    animation: heroOrb 8s ease-in-out infinite;
}

.orb-one::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    top: 40px;
    left: 55px;
    border-radius: 50%;
    background: var(--peach);
    filter: blur(2px);
}

.orb-two {
    width: 22px;
    height: 22px;
    right: 30%;
    top: 18%;
    background: var(--terra);
    box-shadow: 0 0 0 10px rgba(158, 103, 82, .10);
    animation: floating 4s ease-in-out infinite;
}

@keyframes heroOrb {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(8deg) scale(1.04);
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}


/* =========================================================
   HERO FLOATING CARDS
========================================================= */

.hero-floating-quote {
    position: absolute;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.quote-one {
    right: 8%;
    top: 30%;
    padding: 17px 20px;
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
    animation: floating 5s ease-in-out infinite;
}

.quote-one i {
    color: var(--terra);
}

.quote-one strong {
    color: var(--blue);
    font-size: 13px;
}

.quote-one span {
    color: #e5a522;
    font-size: 13px;
}

.quote-two {
    right: 18%;
    bottom: 19%;
    padding: 13px 17px;
    border-radius: 15px;
    animation: floating 6s ease-in-out infinite reverse;
}

.mini-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    font-weight: 800;
}

.quote-two strong,
.quote-two span {
    display: block;
}

.quote-two strong {
    color: var(--blue);
    font-size: 12px;
}

.quote-two span {
    color: #777;
    font-size: 10px;
    margin-top: 3px;
}

.hero-rating {
    position: absolute;
    z-index: 5;
    right: 6%;
    bottom: 11%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-number {
    font-size: 58px;
    font-weight: 900;
    line-height: 1;
    color: var(--blue);
}

.rating-details span {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 11px;
}

.stars,
.featured-stars,
.testimonial-stars {
    color: #e5a522;
    letter-spacing: 3px;
}


/* =========================================================
   TRUST STRIP
========================================================= */

.testimonial-trust {
    background: var(--blue);
    color: var(--white);
}

.testimonial-trust .testimonial-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 18px;
    border-right: 1px solid rgba(255,255,255,.12);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 14px;
    color: var(--blue);
    background: var(--peach);
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    font-size: 18px;
}

.trust-item span {
    margin-top: 3px;
    color: rgba(255,255,255,.65);
    font-size: 11px;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.featured-testimonial,
.customer-stories,
.why-return {
    padding: 15px 0;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading h2 {
    max-width: 720px;
    margin: 15px 0 0;
    color: var(--blue);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -2px;
}

.section-heading h2 span {
    color: var(--terra);
}

.section-heading.centered {
    text-align: center;
}

.section-heading.centered h2 {
    margin-left: auto;
    margin-right: auto;
}

.section-heading.centered p {
    max-width: 620px;
    margin: 20px auto 0;
    color: #777;
    line-height: 1.8;
}


/* =========================================================
   FEATURED TESTIMONIAL
========================================================= */

.featured-testimonial {
    background: var(--soft);
}

.featured-testimonial-card {
    position: relative;
    min-height: 410px;
    display: grid;
    grid-template-columns: 1fr 240px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.featured-content {
    position: relative;
    z-index: 2;
    padding: 65px 70px;
}

.featured-quote-icon {
    position: absolute;
    left: 30px;
    top: 25px;
    color: rgba(158, 103, 82, .09);
    font-size: 100px;
}

.featured-content blockquote {
    max-width: 760px;
    margin: 25px 0 35px;
    color: var(--blue);
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.35;
}

.featured-person {
    display: flex;
    align-items: center;
    gap: 13px;
}

.person-avatar {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--terra);
    font-size: 18px;
    font-weight: 800;
}

.person-info strong,
.person-info span {
    display: block;
}

.person-info strong {
    color: var(--blue);
    font-size: 14px;
}

.person-info span {
    margin-top: 4px;
    color: #888;
    font-size: 11px;
}

.featured-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px;
    background: var(--blue);
    color: var(--white);
}

.side-label {
    color: var(--peach);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.side-number {
    margin-top: 10px;
    font-size: 90px;
    line-height: .9;
    font-weight: 900;
    opacity: .12;
}

.side-line {
    width: 45px;
    height: 2px;
    margin: 20px 0;
    background: var(--peach);
}

.featured-side span {
    max-width: 140px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    line-height: 1.6;
}

.featured-decoration {
    position: absolute;
    border-radius: 50%;
}

.decoration-one {
    width: 190px;
    height: 190px;
    right: 100px;
    top: -110px;
    background: rgba(254,215,165,.20);
}

.decoration-two {
    width: 100px;
    height: 100px;
    right: 280px;
    bottom: -50px;
    background: rgba(158,103,82,.10);
}


/* =========================================================
   CUSTOMER STORIES
========================================================= */

.customer-stories {
    background: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.testimonial-card {
    position: relative;
    padding: 32px;
    min-height: 290px;
    overflow: hidden;
    border-radius: 25px;
    background: var(--soft);
    border: 1px solid var(--line);
    transition: .35s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.testimonial-card-large {
    min-height: 330px;
}

.testimonial-card-peach {
    background: var(--peach);
}

.testimonial-card-dark {
    background: var(--brown);
    color: var(--white);
}

.testimonial-card-sage {
    background: #e6e7df;
}

.testimonial-card-feature {
    color: var(--white);
    background: var(--terra);
}

.testimonial-card-top {
    display: flex;
    align-items: center;
    gap: 13px;
}

.customer-avatar {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    font-weight: 900;
}

.avatar-blue {
    color: var(--white);
    background: var(--blue);
}

.avatar-terra {
    color: var(--white);
    background: var(--terra);
}

.avatar-light {
    color: var(--blue);
    background: var(--peach);
}

.avatar-brown {
    color: var(--white);
    background: var(--brown);
}

.customer-details {
    flex: 1;
}

.customer-details h3 {
    margin: 0;
    color: var(--blue);
    font-size: 15px;
}

.testimonial-card-dark .customer-details h3 {
    color: var(--white);
}

.customer-details span {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 10px;
}

.testimonial-card-dark .customer-details span {
    color: rgba(255,255,255,.6);
}

.testimonial-quote {
    color: rgba(45, 67, 84, .17);
    font-size: 24px;
}

.testimonial-card-dark .testimonial-quote {
    color: rgba(255,255,255,.18);
}

.testimonial-stars {
    margin-top: 28px;
    font-size: 13px;
}

.testimonial-card p {
    max-width: 560px;
    margin: 18px 0 25px;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.testimonial-card-dark p {
    color: rgba(255,255,255,.75);
}

.testimonial-card-footer {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #888;
    font-size: 10px;
}

.testimonial-card-dark .testimonial-card-footer {
    color: rgba(255,255,255,.55);
}

.testimonial-card-footer i {
    margin-right: 5px;
}

.verified {
    color: var(--sage);
}

.testimonial-card-dark .verified {
    color: var(--peach);
}

.feature-number {
    position: absolute;
    right: 28px;
    top: 25px;
    font-size: 13px;
    opacity: .5;
}

.feature-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 35px;
    border-radius: 18px;
    color: var(--terra);
    background: var(--peach);
    font-size: 20px;
}

.testimonial-card-feature h3 {
    max-width: 370px;
    margin: 0;
    font-size: 29px;
    line-height: 1.15;
}

.testimonial-card-feature p {
    max-width: 390px;
    color: rgba(255,255,255,.75);
    margin-top: 15px;
}

.testimonial-card-feature a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 8px;
    color: var(--peach);
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   MARQUEE
========================================================= */

.quote-marquee {
    overflow: hidden;
    padding: 24px 0;
    background: var(--peach);
}

.quote-marquee-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 55px;
    animation: quoteMove 28s linear infinite;
}

.quote-marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    white-space: nowrap;
}

.quote-marquee-item i {
    color: var(--terra);
}

@keyframes quoteMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.quote-marquee:hover .quote-marquee-track {
    animation-play-state: paused;
}


/* =========================================================
   WHY RETURN
========================================================= */

.why-return {
    background: var(--soft);
}

.why-return-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.why-return-content h2 {
    max-width: 520px;
    margin: 17px 0;
    color: var(--blue);
    font-size: clamp(40px, 5vw, 65px);
    line-height: .98;
    letter-spacing: -2px;
}

.why-return-content h2 span {
    color: var(--terra);
}

.why-return-content p {
    max-width: 480px;
    color: #707070;
    line-height: 1.8;
}

.story-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.story-link:hover {
    color: var(--terra);
}

.why-return-points {
    border-top: 1px solid var(--line);
}

.return-point {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.return-number {
    color: var(--terra);
    font-size: 12px;
    font-weight: 900;
}

.return-point h3 {
    margin: 0;
    color: var(--blue);
    font-size: 18px;
}

.return-point p {
    margin: 8px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FINAL CTA
========================================================= */

.testimonial-final {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(254,215,165,.18), transparent 25%),
        linear-gradient(135deg, var(--blue), var(--brown));
}

.testimonial-final-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.testimonial-final .section-kicker {
    color: var(--peach);
}

.testimonial-final h2 {
    margin: 20px 0;
    font-size: clamp(45px, 6vw, 76px);
    line-height: .95;
    letter-spacing: -3px;
}

.testimonial-final h2 span {
    display: block;
    color: var(--peach);
}

.testimonial-final p {
    max-width: 600px;
    color: rgba(255,255,255,.7);
    line-height: 1.8;
}

.testimonial-final-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding: 15px 24px;
    border-radius: 50px;
    color: var(--blue);
    background: var(--peach);
    font-size: 13px;
    font-weight: 900;
    transition: .3s ease;
}

.testimonial-final-btn:hover {
    transform: translateY(-4px);
    background: var(--white);
}

.testimonial-final-shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
}

.shape-one {
    width: 450px;
    height: 450px;
    right: -150px;
    top: -150px;
}

.shape-two {
    width: 220px;
    height: 220px;
    right: 160px;
    bottom: -130px;
}


/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.7,.2,1);
}

.reveal-up {
    transform: translateY(45px);
}

.reveal-left {
    transform: translateX(-55px);
}

.reveal-right {
    transform: translateX(55px);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
    opacity: 1;
    transform: translate(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .testimonial-hero-content {
        width: 75%;
    }

    .orb-one {
        right: -180px;
    }

    .hero-floating-quote {
        display: none;
    }

    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-return-grid {
        gap: 50px;
    }

}


@media (max-width: 850px) {

    .testimonial-container {
        width: min(100% - 30px, 700px);
    }

    .testimonial-hero {
        min-height: 650px;
    }

    .testimonial-hero-content {
        width: 100%;
    }

    .testimonial-hero h1 {
        font-size: clamp(48px, 12vw, 75px);
    }

    .orb-one {
        opacity: .5;
    }

    .hero-rating {
        right: 20px;
        bottom: 30px;
    }

    .testimonial-trust .testimonial-container {
        grid-template-columns: 1fr 1fr;
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .featured-testimonial-card {
        grid-template-columns: 1fr;
    }

    .featured-side {
        min-height: 170px;
    }

    .side-number {
        position: absolute;
        right: 30px;
        top: 30px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card,
    .testimonial-card-large {
        min-height: 290px;
    }

    .why-return-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .testimonial-container {
        width: calc(100% - 24px);
    }

    .testimonial-hero {
        min-height: 620px;
    }

    .testimonial-hero-content {
        padding: 80px 0;
    }

    .testimonial-hero h1 {
        margin-top: 15px;
        font-size: 48px;
        letter-spacing: -2px;
    }

    .testimonial-hero-content p {
        font-size: 15px;
    }

    .testimonial-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-btn {
        width: auto;
    }

    .hero-rating {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 35px;
    }

    .testimonial-trust .testimonial-container {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .featured-testimonial,
    .customer-stories,
    .why-return {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .featured-content {
        padding: 50px 25px;
    }

    .featured-content blockquote {
        font-size: 22px;
    }

    .featured-side {
        padding: 30px 25px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-card-footer {
        left: 25px;
        right: 25px;
    }

    .testimonial-card-feature h3 {
        font-size: 26px;
    }

    .why-return-grid {
        gap: 50px;
    }

    .why-return-content h2 {
        font-size: 45px;
    }

    .testimonial-final {
        padding: 80px 0;
    }

    .testimonial-final h2 {
        font-size: 48px;
        letter-spacing: -2px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}