﻿/* =============================================
   Premium Clients / Partners Section
   ============================================= */

.clients-section {
    position: relative;
    padding: 100px 0 0;
    background: #ffffff;
    overflow: hidden;
}

/* Background glow accents */
.clients-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}
.clients-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(43,112,250,0.10) 0%, transparent 70%);
    top: -80px;
    left: -100px;
}
.clients-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,140,0,0.08) 0%, transparent 70%);
    bottom: 0;
    right: -80px;
}

/* Header */
.clients-header {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.clients-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(43,112,250,0.10), rgba(43,112,250,0.05));
    border: 1px solid rgba(43,112,250,0.18);
    color: #2b70fa;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.clients-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2b70fa;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}

.clients-title {
    font-size: 40px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.clients-subtitle {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* Stats Row */
.clients-stats-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    border: 1px solid rgba(43,112,250,0.12);
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 60px;
    box-shadow: 0 4px 24px rgba(43,112,250,0.06);
}

.clients-stat {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.clients-stat-num {
    display: block;
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, #2b70fa 0%, #1a56db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.clients-stat-label {
    display: block;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.clients-stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(43,112,250,0.25), transparent);
    flex-shrink: 0;
}

/* Carousel Outer */
.clients-carousel-outer {
    position: relative;
    z-index: 1;
    padding: 40px 0 60px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border-top: 1px solid rgba(43,112,250,0.08);
}

/* Fade edges */
.clients-fade-left,
.clients-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.clients-fade-left {
    left: 0;
    background: linear-gradient(to right, #f8faff 30%, transparent);
}
.clients-fade-right {
    right: 0;
    background: linear-gradient(to left, #f8faff 30%, transparent);
}

/* Logo Card */
.clients-logo-card {
    background: #ffffff;
    border: 1px solid #e8eef8;
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin: 8px 12px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    cursor: pointer;
}

.clients-logo-card img {
    max-width: 130px;
    max-height: 55px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.55);
    transition: filter 0.35s ease;
}

.clients-logo-card:hover {
    border-color: rgba(43,112,250,0.30);
    box-shadow: 0 8px 30px rgba(43,112,250,0.12);
    transform: translateY(-4px);
}

.clients-logo-card:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Responsive */
@media (max-width: 991px) {
    .clients-title { font-size: 32px; }
    .clients-stats-row { padding: 28px 20px; gap: 0; }
    .clients-stat-num { font-size: 30px; }
}

@media (max-width: 576px) {
    .clients-section { padding: 70px 0 0; }
    .clients-title { font-size: 26px; }
    .clients-stats-row {
        flex-wrap: wrap;
        gap: 24px;
        padding: 28px 20px;
    }
    .clients-stat { flex: 0 0 calc(50% - 12px); }
    .clients-stat-divider { display: none; }
    .clients-fade-left, .clients-fade-right { width: 60px; }
}
