/* =========================================================
   TESTIMONIALS SECTION
========================================================= */

.testimonials-section {

    position: relative;

    padding: 30px 0;

    background: var(--white);

    overflow: hidden;

    color: var(--black);

}


/* =========================================================
   TECHNICAL GRID
========================================================= */

.testimonial-grid {

    position: absolute;

    inset: 0;

    opacity: .035;

    background-image:

        linear-gradient(
            var(--primary) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            var(--primary) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    pointer-events: none;

}


/* =========================================================
   BACKGROUND CALIBRATION ICONS
========================================================= */

.testimonial-bg-icons {

    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

}


.testimonial-bg-icon {

    position: absolute;

    color: var(--primary);

    opacity: .07;

}


/* =========================================================
   RULER
========================================================= */

.testimonial-icon-1 {

    top: 7%;

    left: 2%;

    font-size: 150px;

    animation:
        testimonialFloat 7s ease-in-out infinite;

}


/* =========================================================
   GAUGE
========================================================= */

.testimonial-icon-2 {

    top: 10%;

    right: 3%;

    font-size: 145px;

    animation:
        testimonialFloat 8s ease-in-out infinite reverse;

}


/* =========================================================
   GEAR
========================================================= */

.testimonial-icon-3 {

    bottom: 5%;

    left: 7%;

    font-size: 170px;

    animation:
        testimonialRotate 25s linear infinite;

}


/* =========================================================
   CROSSHAIR
========================================================= */

.testimonial-icon-4 {

    bottom: 10%;

    right: 7%;

    font-size: 145px;

    animation:
        testimonialFloat 6s ease-in-out infinite;

}


/* =========================================================
   CERTIFICATE
========================================================= */

.testimonial-icon-5 {

    top: 40%;

    left: 35%;

    font-size: 100px;

    animation:
        testimonialFloat 9s ease-in-out infinite;

}


/* =========================================================
   TOOLS
========================================================= */

.testimonial-icon-6 {

    bottom: 20%;

    right: 38%;

    font-size: 100px;

}


/* =========================================================
   ACTIVITY
========================================================= */

.testimonial-icon-7 {

    top: 20%;

    left: 52%;

    font-size: 85px;

    animation:
        testimonialPulse 4s ease-in-out infinite;

}


/* =========================================================
   INTRO
========================================================= */

.testimonial-intro {

    position: relative;

    z-index: 3;

}


/* =========================================================
   LABEL
========================================================= */

.testimonial-label {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2.5px;

}


.testimonial-label span {

    width: 35px;

    height: 2px;

    background: var(--primary);

    border-radius: 10px;

}


/* =========================================================
   HEADING
========================================================= */

.testimonial-intro h2 {

    max-width: 500px;

    margin: 0 0 20px;

    color: var(--black);

    font-size:
        clamp(36px, 4vw, 52px);

    line-height: 1.12;

    font-weight: 700;

    letter-spacing: -1px;

}


.testimonial-intro h2 span {

    display: block;

    color: var(--primary);

    font-weight: 800;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.testimonial-intro > p {

    max-width: 500px;

    margin-bottom: 32px;

    color: var(--text);

    font-size: 14px;

    line-height: 1.9;

}


/* =========================================================
   TRUST LIST
========================================================= */

.testimonial-trust-list {

    display: flex;

    flex-direction: column;

    gap: 17px;

}


.testimonial-trust-item {

    display: flex;

    align-items: center;

    gap: 13px;

}


/* =========================================================
   TRUST ICON
========================================================= */

.testimonial-trust-icon {

    flex-shrink: 0;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 18px;

    transition: var(--transition);

}


.testimonial-trust-item:hover
.testimonial-trust-icon {

    background: var(--primary);

    color: var(--white);

    transform:
        translateY(-4px)
        rotate(-5deg);

}


.testimonial-trust-item strong {

    display: block;

    margin-bottom: 3px;

    color: var(--black);

    font-size: 12px;

    font-weight: 800;

}


.testimonial-trust-item span {

    display: block;

    color: var(--text-light);

    font-size: 10px;

}


/* =========================================================
   OVERALL RATING
========================================================= */

.testimonial-overall-rating {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;

    padding: 13px 18px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 10px;

    box-shadow:
        0 10px 30px
        rgba(1, 87, 146, .08);

}


.rating-stars {

    display: flex;

    gap: 3px;

}


/*
   Rating stars intentionally remain gold
   because gold represents rating / quality.
*/

.rating-stars i {

    color: #F4B400;

    font-size: 13px;

}


.testimonial-overall-rating strong {

    color: var(--primary);

    font-size: 17px;

}


.testimonial-overall-rating span {

    display: block;

    color: var(--text-light);

    font-size: 9px;

}


/* =========================================================
   CAROUSEL WRAPPER
========================================================= */

.testimonial-carousel-wrapper {

    position: relative;

    z-index: 3;

    padding: 20px;

}


/* =========================================================
   DECORATION
========================================================= */

.testimonial-card-decoration {

    position: absolute;

    top: -2px;

    right: 35px;

    z-index: 5;

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary);

    color: var(--white);

    border-radius: 50%;

    font-size: 28px;

    box-shadow:
        0 15px 30px
        rgba(1, 87, 146, .25);

    animation:
        quoteFloat 4s ease-in-out infinite;

}


/* =========================================================
   TESTIMONIAL CARD
========================================================= */

.testimonial-card {

    position: relative;

    min-height: 350px;

    padding: 40px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 20px 55px
        rgba(1, 68, 111, .10);

    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}


/* =========================================================
   CARD TOP BORDER
========================================================= */

.testimonial-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--primary-dark),
            var(--primary),
            var(--primary-dark)
        );

}


/* =========================================================
   CARD DECORATIVE CIRCLE
========================================================= */

.testimonial-card::after {

    content: "";

    position: absolute;

    right: -80px;

    bottom: -80px;

    width: 190px;

    height: 190px;

    border-radius: 50%;

    background: var(--primary-light);

    transition:
        transform .5s ease;

}


.testimonial-card:hover::after {

    transform:
        scale(1.25);

}


/* =========================================================
   CARD TOP
========================================================= */

.testimonial-card-top {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;

}


/* =========================================================
   QUOTE ICON
========================================================= */

.quote-icon {

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary-light);

    color: var(--primary);

    border-radius: 12px;

    font-size: 23px;

    transition:
        all .35s ease;

}


.testimonial-card:hover
.quote-icon {

    background: var(--primary);

    color: var(--white);

    transform:
        rotate(-6deg);

}


/* =========================================================
   STARS
========================================================= */

.testimonial-stars {

    display: flex;

    gap: 3px;

}


.testimonial-stars i {

    color: #F4B400;

    font-size: 13px;

}


/* =========================================================
   MESSAGE
========================================================= */

.testimonial-message {

    position: relative;

    z-index: 2;

    min-height: 125px;

    margin-bottom: 25px;

    color: var(--text);

    font-size: 14px;

    line-height: 1.9;

    font-style: italic;

}


/* =========================================================
   CLIENT
========================================================= */

.testimonial-client {

    position: relative;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 12px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

}


/* =========================================================
   CLIENT AVATAR
========================================================= */

.client-avatar {

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary);

    color: var(--white);

    border-radius: 50%;

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 8px 18px
        rgba(1, 87, 146, .20);

}


/* =========================================================
   CLIENT DETAILS
========================================================= */

.client-details {

    flex: 1;

}


.client-details h4 {

    margin: 0 0 3px;

    color: var(--black);

    font-size: 13px;

    font-weight: 800;

}


.client-details p {

    margin: 0;

    color: var(--text-light);

    font-size: 10px;

}


/* =========================================================
   CLIENT COMPANY
========================================================= */

.client-company {

    display: flex;

    align-items: center;

    gap: 5px;

    color: var(--primary);

    font-size: 9px;

    font-weight: 700;

}


/* =========================================================
   CAROUSEL CONTROLS
========================================================= */

.testimonial-control {

    position: absolute;

    top: auto;

    bottom: 18px;

    width: auto;

    height: auto;

    opacity: 1;

}


.testimonial-control.carousel-control-prev {

    left: auto;

    right: 75px;

}


.testimonial-control.carousel-control-next {

    right: 25px;

}


/* =========================================================
   ARROW
========================================================= */

.testimonial-arrow {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--border);

    background: var(--white);

    color: var(--primary);

    border-radius: 50%;

    transition:
        all .3s ease;

}


.testimonial-arrow:hover {

    background: var(--primary);

    color: var(--white);

    border-color: var(--primary);

    transform:
        translateY(-3px);

}


/* =========================================================
   INDICATORS
========================================================= */

.testimonial-indicators {

    position: absolute;

    left: 40px;

    bottom: 35px;

    display: flex;

    gap: 5px;

    margin: 0;

}


.testimonial-indicators button {

    width: 22px;

    height: 4px;

    padding: 0;

    border: 0;

    border-radius: 10px;

    background: var(--border);

    opacity: 1;

    transition:
        width .3s ease,
        background .3s ease;

}


.testimonial-indicators button.active {

    width: 40px;

    background: var(--primary);

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes testimonialFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-18px);

    }

}


@keyframes testimonialRotate {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }

}


@keyframes testimonialPulse {

    0%,
    100% {

        transform:
            scale(1);

        opacity: .05;

    }

    50% {

        transform:
            scale(1.15);

        opacity: .10;

    }

}


@keyframes quoteFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-7px);

    }

}


/* =========================================================
   CAROUSEL ANIMATION
========================================================= */

#testimonialCarousel .carousel-item {

    transition:
        transform .7s ease-in-out,
        opacity .5s ease-in-out;

}


#testimonialCarousel
.carousel-item.active
.testimonial-card {

    animation:
        testimonialCardIn .7s ease both;

}


@keyframes testimonialCardIn {

    from {

        opacity: 0;

        transform:
            translateX(30px);

    }

    to {

        opacity: 1;

        transform:
            translateX(0);

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .testimonials-section {

        padding: 80px 0;

    }


    .testimonial-intro {

        text-align: center;

    }


    .testimonial-label {

        justify-content: center;

    }


    .testimonial-intro h2 {

        margin-left: auto;

        margin-right: auto;

    }


    .testimonial-intro > p {

        margin-left: auto;

        margin-right: auto;

    }


    .testimonial-trust-item {

        text-align: left;

    }


    .testimonial-trust-list {

        max-width: 450px;

        margin: auto;

    }


    .testimonial-overall-rating {

        margin-bottom: 20px;

    }


    .testimonial-carousel-wrapper {

        margin-top: 20px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .testimonials-section {

        padding: 65px 0;

    }


    .testimonial-intro h2 {

        font-size: 34px;

    }


    .testimonial-intro > p {

        font-size: 12px;

    }


    .testimonial-trust-item {

        gap: 10px;

    }


    .testimonial-trust-icon {

        width: 42px;

        height: 42px;

        font-size: 16px;

    }


    .testimonial-trust-item strong {

        font-size: 11px;

    }


    .testimonial-trust-item span {

        font-size: 9px;

    }


    .testimonial-carousel-wrapper {

        padding: 8px;

    }


    .testimonial-card {

        min-height: 390px;

        padding: 30px 22px;

    }


    .testimonial-card-decoration {

        width: 52px;

        height: 52px;

        right: 25px;

        font-size: 22px;

    }


    .testimonial-message {

        min-height: 145px;

        font-size: 12px;

        line-height: 1.8;

    }


    .client-company {

        display: none;

    }


    .testimonial-indicators {

        left: 22px;

        bottom: 30px;

    }


    .testimonial-control.carousel-control-prev {

        right: 62px;

    }


    .testimonial-control.carousel-control-next {

        right: 15px;

    }


    .testimonial-arrow {

        width: 34px;

        height: 34px;

    }


    .testimonial-bg-icon {

        font-size: 70px !important;

    }

}/* =========================================================
   TESTIMONIALS SECTION
========================================================= */

.testimonials-section {

    position: relative;

    padding: 30px 0;

    background: var(--white);

    overflow: hidden;

    color: var(--black);

}


/* =========================================================
   TECHNICAL GRID
========================================================= */

.testimonial-grid {

    position: absolute;

    inset: 0;

    opacity: .035;

    background-image:

        linear-gradient(
            var(--primary) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            var(--primary) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    pointer-events: none;

}


/* =========================================================
   BACKGROUND CALIBRATION ICONS
========================================================= */

.testimonial-bg-icons {

    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

}


.testimonial-bg-icon {

    position: absolute;

    color: var(--primary);

    opacity: .07;

}


/* =========================================================
   RULER
========================================================= */

.testimonial-icon-1 {

    top: 7%;

    left: 2%;

    font-size: 150px;

    animation:
        testimonialFloat 7s ease-in-out infinite;

}


/* =========================================================
   GAUGE
========================================================= */

.testimonial-icon-2 {

    top: 10%;

    right: 3%;

    font-size: 145px;

    animation:
        testimonialFloat 8s ease-in-out infinite reverse;

}


/* =========================================================
   GEAR
========================================================= */

.testimonial-icon-3 {

    bottom: 5%;

    left: 7%;

    font-size: 170px;

    animation:
        testimonialRotate 25s linear infinite;

}


/* =========================================================
   CROSSHAIR
========================================================= */

.testimonial-icon-4 {

    bottom: 10%;

    right: 7%;

    font-size: 145px;

    animation:
        testimonialFloat 6s ease-in-out infinite;

}


/* =========================================================
   CERTIFICATE
========================================================= */

.testimonial-icon-5 {

    top: 40%;

    left: 35%;

    font-size: 100px;

    animation:
        testimonialFloat 9s ease-in-out infinite;

}


/* =========================================================
   TOOLS
========================================================= */

.testimonial-icon-6 {

    bottom: 20%;

    right: 38%;

    font-size: 100px;

}


/* =========================================================
   ACTIVITY
========================================================= */

.testimonial-icon-7 {

    top: 20%;

    left: 52%;

    font-size: 85px;

    animation:
        testimonialPulse 4s ease-in-out infinite;

}


/* =========================================================
   INTRO
========================================================= */

.testimonial-intro {

    position: relative;

    z-index: 3;

}


/* =========================================================
   LABEL
========================================================= */

.testimonial-label {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2.5px;

}


.testimonial-label span {

    width: 35px;

    height: 2px;

    background: var(--primary);

    border-radius: 10px;

}


/* =========================================================
   HEADING
========================================================= */

.testimonial-intro h2 {

    max-width: 500px;

    margin: 0 0 20px;

    color: var(--black);

    font-size:
        clamp(36px, 4vw, 52px);

    line-height: 1.12;

    font-weight: 700;

    letter-spacing: -1px;

}


.testimonial-intro h2 span {

    display: block;

    color: var(--primary);

    font-weight: 800;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.testimonial-intro > p {

    max-width: 500px;

    margin-bottom: 32px;

    color: var(--text);

    font-size: 14px;

    line-height: 1.9;

}


/* =========================================================
   TRUST LIST
========================================================= */

.testimonial-trust-list {

    display: flex;

    flex-direction: column;

    gap: 17px;

}


.testimonial-trust-item {

    display: flex;

    align-items: center;

    gap: 13px;

}


/* =========================================================
   TRUST ICON
========================================================= */

.testimonial-trust-icon {

    flex-shrink: 0;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 18px;

    transition: var(--transition);

}


.testimonial-trust-item:hover
.testimonial-trust-icon {

    background: var(--primary);

    color: var(--white);

    transform:
        translateY(-4px)
        rotate(-5deg);

}


.testimonial-trust-item strong {

    display: block;

    margin-bottom: 3px;

    color: var(--black);

    font-size: 12px;

    font-weight: 800;

}


.testimonial-trust-item span {

    display: block;

    color: var(--text-light);

    font-size: 10px;

}


/* =========================================================
   OVERALL RATING
========================================================= */

.testimonial-overall-rating {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;

    padding: 13px 18px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 10px;

    box-shadow:
        0 10px 30px
        rgba(1, 87, 146, .08);

}


.rating-stars {

    display: flex;

    gap: 3px;

}


/*
   Rating stars intentionally remain gold
   because gold represents rating / quality.
*/

.rating-stars i {

    color: #F4B400;

    font-size: 13px;

}


.testimonial-overall-rating strong {

    color: var(--primary);

    font-size: 17px;

}


.testimonial-overall-rating span {

    display: block;

    color: var(--text-light);

    font-size: 9px;

}


/* =========================================================
   CAROUSEL WRAPPER
========================================================= */

.testimonial-carousel-wrapper {

    position: relative;

    z-index: 3;

    padding: 20px;

}


/* =========================================================
   DECORATION
========================================================= */

.testimonial-card-decoration {

    position: absolute;

    top: -2px;

    right: 35px;

    z-index: 5;

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary);

    color: var(--white);

    border-radius: 50%;

    font-size: 28px;

    box-shadow:
        0 15px 30px
        rgba(1, 87, 146, .25);

    animation:
        quoteFloat 4s ease-in-out infinite;

}


/* =========================================================
   TESTIMONIAL CARD
========================================================= */

.testimonial-card {

    position: relative;

    min-height: 350px;

    padding: 40px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 20px 55px
        rgba(1, 68, 111, .10);

    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}


/* =========================================================
   CARD TOP BORDER
========================================================= */

.testimonial-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--primary-dark),
            var(--primary),
            var(--primary-dark)
        );

}


/* =========================================================
   CARD DECORATIVE CIRCLE
========================================================= */

.testimonial-card::after {

    content: "";

    position: absolute;

    right: -80px;

    bottom: -80px;

    width: 190px;

    height: 190px;

    border-radius: 50%;

    background: var(--primary-light);

    transition:
        transform .5s ease;

}


.testimonial-card:hover::after {

    transform:
        scale(1.25);

}


/* =========================================================
   CARD TOP
========================================================= */

.testimonial-card-top {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;

}


/* =========================================================
   QUOTE ICON
========================================================= */

.quote-icon {

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary-light);

    color: var(--primary);

    border-radius: 12px;

    font-size: 23px;

    transition:
        all .35s ease;

}


.testimonial-card:hover
.quote-icon {

    background: var(--primary);

    color: var(--white);

    transform:
        rotate(-6deg);

}


/* =========================================================
   STARS
========================================================= */

.testimonial-stars {

    display: flex;

    gap: 3px;

}


.testimonial-stars i {

    color: #F4B400;

    font-size: 13px;

}


/* =========================================================
   MESSAGE
========================================================= */

.testimonial-message {

    position: relative;

    z-index: 2;

    min-height: 125px;

    margin-bottom: 25px;

    color: var(--text);

    font-size: 14px;

    line-height: 1.9;

    font-style: italic;

}


/* =========================================================
   CLIENT
========================================================= */

.testimonial-client {

    position: relative;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 12px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

}


/* =========================================================
   CLIENT AVATAR
========================================================= */

.client-avatar {

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary);

    color: var(--white);

    border-radius: 50%;

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 8px 18px
        rgba(1, 87, 146, .20);

}


/* =========================================================
   CLIENT DETAILS
========================================================= */

.client-details {

    flex: 1;

}


.client-details h4 {

    margin: 0 0 3px;

    color: var(--black);

    font-size: 13px;

    font-weight: 800;

}


.client-details p {

    margin: 0;

    color: var(--text-light);

    font-size: 10px;

}


/* =========================================================
   CLIENT COMPANY
========================================================= */

.client-company {

    display: flex;

    align-items: center;

    gap: 5px;

    color: var(--primary);

    font-size: 9px;

    font-weight: 700;

}


/* =========================================================
   CAROUSEL CONTROLS
========================================================= */

.testimonial-control {

    position: absolute;

    top: auto;

    bottom: 18px;

    width: auto;

    height: auto;

    opacity: 1;

}


.testimonial-control.carousel-control-prev {

    left: auto;

    right: 75px;

}


.testimonial-control.carousel-control-next {

    right: 25px;

}


/* =========================================================
   ARROW
========================================================= */

.testimonial-arrow {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--border);

    background: var(--white);

    color: var(--primary);

    border-radius: 50%;

    transition:
        all .3s ease;

}


.testimonial-arrow:hover {

    background: var(--primary);

    color: var(--white);

    border-color: var(--primary);

    transform:
        translateY(-3px);

}


/* =========================================================
   INDICATORS
========================================================= */

.testimonial-indicators {

    position: absolute;

    left: 40px;

    bottom: 35px;

    display: flex;

    gap: 5px;

    margin: 0;

}


.testimonial-indicators button {

    width: 22px;

    height: 4px;

    padding: 0;

    border: 0;

    border-radius: 10px;

    background: var(--border);

    opacity: 1;

    transition:
        width .3s ease,
        background .3s ease;

}


.testimonial-indicators button.active {

    width: 40px;

    background: var(--primary);

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes testimonialFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-18px);

    }

}


@keyframes testimonialRotate {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }

}


@keyframes testimonialPulse {

    0%,
    100% {

        transform:
            scale(1);

        opacity: .05;

    }

    50% {

        transform:
            scale(1.15);

        opacity: .10;

    }

}


@keyframes quoteFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-7px);

    }

}


/* =========================================================
   CAROUSEL ANIMATION
========================================================= */

#testimonialCarousel .carousel-item {

    transition:
        transform .7s ease-in-out,
        opacity .5s ease-in-out;

}


#testimonialCarousel
.carousel-item.active
.testimonial-card {

    animation:
        testimonialCardIn .7s ease both;

}


@keyframes testimonialCardIn {

    from {

        opacity: 0;

        transform:
            translateX(30px);

    }

    to {

        opacity: 1;

        transform:
            translateX(0);

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .testimonials-section {

        padding: 80px 0;

    }


    .testimonial-intro {

        text-align: center;

    }


    .testimonial-label {

        justify-content: center;

    }


    .testimonial-intro h2 {

        margin-left: auto;

        margin-right: auto;

    }


    .testimonial-intro > p {

        margin-left: auto;

        margin-right: auto;

    }


    .testimonial-trust-item {

        text-align: left;

    }


    .testimonial-trust-list {

        max-width: 450px;

        margin: auto;

    }


    .testimonial-overall-rating {

        margin-bottom: 20px;

    }


    .testimonial-carousel-wrapper {

        margin-top: 20px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .testimonials-section {

        padding: 65px 0;

    }


    .testimonial-intro h2 {

        font-size: 34px;

    }


    .testimonial-intro > p {

        font-size: 12px;

    }


    .testimonial-trust-item {

        gap: 10px;

    }


    .testimonial-trust-icon {

        width: 42px;

        height: 42px;

        font-size: 16px;

    }


    .testimonial-trust-item strong {

        font-size: 11px;

    }


    .testimonial-trust-item span {

        font-size: 9px;

    }


    .testimonial-carousel-wrapper {

        padding: 8px;

    }


    .testimonial-card {

        min-height: 390px;

        padding: 30px 22px;

    }


    .testimonial-card-decoration {

        width: 52px;

        height: 52px;

        right: 25px;

        font-size: 22px;

    }


    .testimonial-message {

        min-height: 145px;

        font-size: 12px;

        line-height: 1.8;

    }


    .client-company {

        display: none;

    }


    .testimonial-indicators {

        left: 22px;

        bottom: 30px;

    }


    .testimonial-control.carousel-control-prev {

        right: 62px;

    }


    .testimonial-control.carousel-control-next {

        right: 15px;

    }


    .testimonial-arrow {

        width: 34px;

        height: 34px;

    }


    .testimonial-bg-icon {

        font-size: 70px !important;

    }

}