.testimonial-slider {
    background: #fff;
    margin-top: 0;
    margin-bottom: 96px;
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
}

.testimonial-slider__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 0 56px;
}

.testimonial-slider__track {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-areas: "stack";
}

.testimonial-slider__slide {
    grid-area: stack;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.testimonial-slider__slide--active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.testimonial-slider__slide--fade-out {
    opacity: 0;
}

.testimonial-slider__slide--fade-in {
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Quote */
.testimonial-slider__quote {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 28px;
    line-height: 38.2px;
    letter-spacing: 0;
    color: #006179;
    margin: 0 0 56px 0;
    padding: 0;
}

.testimonial-slider .testimonial-slider__quote p {
    margin: 0;
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 600 !important;
    font-style: italic !important;
    font-size: 28px !important;
    line-height: 38.2px !important;
    color: #006179 !important;
    text-align: left !important;
}

/* Divider */
.testimonial-slider__divider {
    width: 100%;
    height: 2px;
    background: #02364B;
    margin-bottom: 56px;
}

/* Author */
.testimonial-slider__author {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.testimonial-slider__logo {
    max-width: 150px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    align-self: center;
}

.testimonial-slider__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
    margin-left: auto;
}

.testimonial-slider__info strong {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 35.5px;
    letter-spacing: 0;
    color: #006179;
}

.testimonial-slider__info span {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32.7px;
    letter-spacing: 0;
    color: #02364B;
}

/* Navigation arrows */
.testimonial-slider__arrow {
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slider__arrow i {
    font-size: 46px;
    color: #000;
}

.testimonial-slider__arrow:hover i {
    color: #006179;
}

.testimonial-slider__arrow--prev {
    margin-right: 117px;
}

.testimonial-slider__arrow--next {
    margin-left: 117px;
}

/* Pagination dots — only visible on mobile */
.testimonial-slider__dots {
    display: none;
}

.testimonial-slider__dot {
    width: 15.32px;
    height: 15.32px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid #0B586C;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.testimonial-slider__dot:hover {
    background: rgba(11, 88, 108, 0.4);
}

.testimonial-slider__dot--active {
    background: #0B586C;
}

/* Responsive */
@media (max-width: 1300px) {
    .testimonial-slider__wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .testimonial-slider__arrow--prev {
        margin-right: 40px;
    }

    .testimonial-slider__arrow--next {
        margin-left: 40px;
    }
}

@media (max-width: 768px) {
    .testimonial-slider {
        padding: 0;
        margin-bottom: 72px;
    }

    .testimonial-slider__wrapper {
        padding: 20px 25px 0;
    }

    .testimonial-slider__quote {
        font-size: 20px;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    .testimonial-slider .testimonial-slider__quote p {
        font-family: 'Nunito Sans', sans-serif !important;
        font-weight: 600 !important;
        font-style: italic !important;
        font-size: 16px !important;
        line-height: 21.8px !important;
        letter-spacing: 0 !important;
        text-align: center !important;
    }

    .testimonial-slider__divider {
        margin-bottom: 24px;
    }

    .testimonial-slider__info strong,
    .testimonial-slider__info span {
        font-family: 'Nunito', sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 19.1px;
        letter-spacing: 0;
        text-align: center;
    }

    .testimonial-slider__arrow {
        display: none;
    }

    .testimonial-slider__author {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .testimonial-slider__info {
        order: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-left: 0;
        gap: 16px;
    }

    .testimonial-slider__logo {
        order: 2;
        margin-left: 0;
        margin-top: 0;
    }

    .testimonial-slider__dots {
        display: flex;
        justify-content: center;
        gap: 7.66px;
        margin-top: 40px;
        padding: 0 1rem;
    }
}
