/* ============================================================
   CLIENT VIDEO TESTIMONIALS ï¿½ components/client-video-testimonials.blade.php
   UNIFIED (homepage + partner) ï¿½ layout = exact reference:
   fixed 500px player + 500px vertical-scroll list, radius 0,
   light-gray head bg / white row (desktop), bordered items.
   ============================================================ */
.client-video-testimonials {
    background: #f5f5f5;
    padding: 3.7rem 1.5rem;
}

.ct-head {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.ct-tagline {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
}

.ct-highlight {
    font-style: italic;
    font-weight: 500;
    color: var(--primary-color);
}

.ct-subtitle {
    max-width: 720px;
    margin: 12px auto 0;
    color: #334155;
    font-size: 16px;
}

.ct-fluid {
    padding-top: 2.5rem !important;
}

.ct-layout {
    background: #fff;
    border-radius: 5px;
    padding: 0.75rem;
}

.ct-player {
    position: relative;
    width: 100%;
    height: 500px;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
}

.ct-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ct-list {
    height: 500px;
    max-height: 500px;
    padding: 30px;
    background: #fff;
    border-radius: 5px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c5c5c5 transparent;
}

.ct-list::-webkit-scrollbar {
    width: 6px;
}

.ct-list::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 6px;
}

.ct-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    background: #f5f5f5;
    text-align: left;
    cursor: pointer;
    transition:
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.ct-item:last-child {
    margin-bottom: 0;
}

.ct-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.ct-item.active {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 114, 190, 0.25);
}

.ct-client-img {
    width: 110px;
    height: 110px;
    flex: 0 0 110px;
    object-fit: cover;
    border-radius: 5px;
    background: #0e2a47;
}

.ct-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1 1 auto;
    min-width: 0;
}

.ct-meta strong {
    color: #03030f;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.ct-meta small {
    color: #64748b;
    font-size: 0.85rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ct-item.active .ct-meta strong,
.ct-item.active .ct-meta small {
    color: #fff;
}

.ct-mobile-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ct-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #dbe4ee;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-color);
    cursor: pointer;
    transition:
        background 0.25s,
        color 0.25s,
        border-color 0.25s,
        transform 0.25s;
}

.ct-arrow:hover {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .client-video-testimonials {
        padding: 2.7rem 1.25rem;
    }

    .ct-layout {
        background: transparent;
        padding: 0;
    }

    .ct-player {
        height: 280px;
    }

    .ct-list {
        height: auto;
        max-height: 360px;
        padding: 20px 12px;
    }

    .ct-client-img {
        width: 84px;
        height: 84px;
        flex-basis: 84px;
    }
}
