/* ==========================================================
   Testimonial Slider — Tekcom
   ========================================================== */

/* ── Root layout ─────────────────────────────────────────── */
.tekcom-tts {
    display: flex;
    align-items: flex-start;
    width: 100%;
    overflow: visible;
}

/* ── Info Panel (LEFT) ───────────────────────────────────── */
.tekcom-tts__info {
    flex: 0 0 28%;
    max-width: 28%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: flex-start;
    padding-right: 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.tekcom-tts__title {
    position: relative;
    margin: 0 0 16px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
}

.tekcom-tts__title::before {
    top: -30px;
    left: -50px;
    position: absolute;
    content: '';
    display: block;
    width: 87px;
    height: 90px;
    background: #3C95FF;
    opacity: 0.15;
    z-index: 1;
}

.tekcom-tts__desc {
    margin: 0 0 32px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
}

.tekcom-tts__desc p { margin: 0; }

/* ── Navigation buttons ──────────────────────────────────── */
.tekcom-tts__nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tekcom-tts__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #ffffff;
    color: #1e293b;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.tekcom-tts__nav-btn:hover {
    background: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
}

.tekcom-tts__nav-btn svg {
    width: 16px;
    height: 16px;
    display: block;
    pointer-events: none;
}

.tekcom-tts__nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* ── Slider column (RIGHT) ───────────────────────────────── */
.tekcom-tts__slider-col {
    flex: 1 1 0;
    min-width: 0;
    clip-path: inset(0 -9999px 0 0);
}

.tekcom-tts__swiper {
    overflow: visible !important;
    width: calc(100% + max(0px, (100vw - 1680px) / 2));
}

.elementor-widget-tekcom_testimonial_slider,
.elementor-widget-tekcom_testimonial_slider > .elementor-widget-container {
    overflow: visible !important;
}

/* ── Card ────────────────────────────────────────────────── */
.tekcom-tts__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #dce8f5;
    border-radius: 12px;
    padding: 32px 28px 28px;
    box-sizing: border-box;
}

/* ── Quote icon ──────────────────────────────────────────── */
.tekcom-tts__quote-icon {
    color: #6b9fc7;
    margin-bottom: 16px;
    line-height: 1;
}

.tekcom-tts__quote-icon svg {
    width: 40px;
    height: 30px;
    display: block;
}

/* ── Quote text ──────────────────────────────────────────── */
.tekcom-tts__quote-text {
    margin: 0 0 28px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #1e293b;
    flex: 1 1 auto;
}

/* ── Author ──────────────────────────────────────────────── */
.tekcom-tts__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tekcom-tts__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.tekcom-tts__author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.tekcom-tts__author-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.tekcom-tts__author-role {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* ── Progress bar ────────────────────────────────────────── */
.tekcom-tts__progress-wrap {
    margin-top: 24px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.tekcom-tts__progress {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 260px !important;
    height: 3px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.tekcom-tts__progress .swiper-pagination-progressbar-fill {
    background-color: #c9a84c !important;
    border-radius: 4px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .tekcom-tts__info {
        flex: 0 0 35%;
        max-width: 35%;
    }
}

@media (max-width: 768px) {
    .tekcom-tts {
        flex-direction: column;
        gap: 32px;
    }

    .tekcom-tts__info {
        flex: none;
        max-width: 100%;
        width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .tekcom-tts__nav {
        justify-content: center;
    }

    .tekcom-tts__slider-col {
        width: 100%;
        clip-path: none;
    }

    .tekcom-tts__swiper {
        width: 100%;
    }

    .tekcom-tts__title::before {
        display: none;
    }
}
