*,
*::before,
*::after {
    box-sizing: border-box;
}

.testimonial-slider-section {
    width: 100%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.subtitle-icon.image-icon {
    display: inline-block;
    flex-shrink: 0;
}

.subtitle-icon.svg-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.section-title {
    margin: 0;
}

.testimonial-slider-container {
    position: relative;
    width: 100%;
}

.testimonial-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.testimonial-slider-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonial-slider-track.ts-no-anim {
    transition: none !important;
}

.testimonial-slide {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
}

.testimonial-slide-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.testimonial-client-image {
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.testimonial-content-wrapper {
    flex: 1;
    min-width: 0;
}

.testimonial-content {
    font-style: italic;
    line-height: 1.6;
}

.testimonial-client-info {
    margin-top: 15px;
}

.testimonial-client-name {
    font-weight: 600;
}

.testimonial-client-position {
    font-size: 0.9em;
    opacity: 0.8;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.testimonial-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.testimonial-arrow svg {
    display: block;
    pointer-events: none;
}

.testimonial-arrow-prev {
    left: -22px;
}

.testimonial-arrow-next {
    right: -22px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.testimonial-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    border: none;
    padding: 0;
    flex-shrink: 0;
    transition: background-color 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.testimonial-dots .dot.active {
    background-color: #007cba;
    width: 22px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .testimonial-slide-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonial-client-image {
        margin: 0 auto 16px !important;
    }

    .testimonial-arrow-prev {
        left: 0;
    }

    .testimonial-arrow-next {
        right: 0;
    }
}