.testimonials {
    h2 {
        font-size: var(--font-size-md);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2.4px;

        @media screen and (max-width: 576px) {
            font-size: 2rem;
            letter-spacing: 2px;
        }
    }
    .testimonials-slider {
        padding: 40px 40px 50px;
        margin: -40px -40px 0 -40px;

        .swiper-wrapper {
            padding: 2px;
        }
        .swiper-slide {
            height: auto;
            opacity: 0;
            visibility: hidden;
            transition: opacity 1s ease, visibility 1s ease;

            &.swiper-slide-visible {
                opacity: 1;
                visibility: visible;
            }
        }
        a {
            color: inherit;

            &:hover, &:focus-visible {
                .slide-card {
                    box-shadow: 0 0 40px rgba(255, 255, 255, .3);
                }
                .testimonial-content {
                    .case-study-link {
                        color: var(--color-white);

                        &:before {
                            opacity: 1;
                            visibility: visible;
                            bottom: 0px;
                        }
                        &:after {
                            top: calc(50% - 3px);
                            right: -25px;
                        }
                    }
                }
            }
        }
        .slide-card {
            background: linear-gradient(135deg, rgba(128, 128, 128, .25) 60%, rgba(var(--color-white-rgb), .07) 100%);
            outline: 2px solid rgba(var(--color-white-rgb), .15);
            border-radius: 30px;
            padding: 35px 35px 40px;
            height: 100%;
            transition: .3s ease;
        }
        .testimonial-image {
            border-radius: 15px;
            overflow: hidden;
            margin-bottom: 2rem;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
                aspect-ratio: 300 / 200;
            }
        }
        .testimonial-content {
            .testimonial-client {
                font-family: var(--font-secondary);
                font-size: 1.8rem;
                font-weight: 700;
                font-style: italic;
                letter-spacing: .45px;
                color: var(--color-primary);
                margin-bottom: 0;
            }
            .testimonial-author {
                font-size: 1.6rem;
                font-weight: 800;
                text-transform: uppercase;
                letter-spacing: 1.28px;
                margin-bottom: 1px;
            }
            .testimonial-authors-title {
                font-size: 1.6rem;
                text-transform: uppercase;
                letter-spacing: 1.28px;
                margin-bottom: 0;
            }
            .testimonial-text {
                font-size: 1.6rem;
                line-height: 1.45;
                margin: 30px 0 0;
            }
            .case-study-link {
                position: relative;
                display: inline-block;
                font-size: 1.6rem;
                font-weight: 500;
                text-transform: uppercase;
                color: #B4B4B4;
                margin: 30px 0 0;
                text-decoration: none;

                &:before {
                    content: '';
                    display: block;
                    width: 100%;
                    height: 2px;
                    position: absolute;
                    bottom: -5px;
                    left: 0;
                    background-color: var(--color-white);
                    opacity: 0;
                    visibility: hidden;
                    transition: .3s ease-in-out;
                }
                &:after {
                    content: '';
                    display: block;
                    width: 12px;
                    height: 12px;
                    position: absolute;
                    top: 50%;
                    right: -22px;
                    transform: translateY(-50%);
                    background-image: url('../../../assets/svg/arrow-up-right-white.svg');
                    background-repeat: no-repeat;
                    background-size: cover;
                    transition: .3s ease-in-out;
                }
            }
        }
        .swiper-navigation {
            display: flex;
            position: absolute;
            bottom: -15px;
            left: 0;
            width: 100%;
            justify-content: center;
            align-items: center;
        }
        .swiper-pagination {
            position: relative;
            width: auto;
            top: -13px;
            margin: 0px 12px;
        }
        .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            background: var(--color-gray-100);
            opacity: .5;
            transition: .2s ease-in-out;

            &:hover, &:focus-visible {
                opacity: .75;
            }
        }
        .swiper-pagination-bullet-active {
            background: var(--color-white);
            opacity: 1 !important;
        }
        .swiper-button-next, .swiper-button-prev {
            position: relative;
            width: 15px;
            height: 15px;
            border: none;
            padding: 0;
            background-color: transparent;
            background-image: url('../../../assets/svg/arrow-right-green.svg');
            background-repeat: no-repeat;
            background-size: cover;
            font-size: 0;
            transition: .2s ease-in-out;

            &:hover, &:focus-visible {
                transform: scale(1.15);
            }
            svg {
                display: none;
            }
        }
        .swiper-button-prev {
            transform: rotate(180deg);

            &:hover, &:focus-visible {
                transform: rotate(180deg) scale(1.15);
            }
        }
    }
}