/* ===================================
   Our Clients Section
   =================================== */

.clients-section {
    background: #f8f9fa;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.clients-section .section-title {
    color: var(--primary-dark);
}

.clients-section .section-subtitle {
    color: #6c757d;
}

.clients-logos-wrapper {
    margin: var(--spacing-md) auto 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.clients-logos-wrapper::before,
.clients-logos-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-logos-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.clients-logos-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

.clients-logos-track {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    animation: scroll-logos 25s linear infinite;
    width: max-content;
}

.clients-logos-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: 15px;
    width: 180px;
    height: 180px;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    opacity: 1;
}

.client-logo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(74, 95, 255, 0.2);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

/* Trust Section */
.trust-section {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.trust-text {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.trust-badge {
    background: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.trust-badge:nth-child(1) {
    animation-delay: 0.6s;
}

.trust-badge:nth-child(2) {
    animation-delay: 0.7s;
}

.trust-badge:nth-child(3) {
    animation-delay: 0.8s;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(74, 95, 255, 0.15);
}

.trust-badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.trust-badge:nth-child(1) .trust-badge-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.trust-badge:nth-child(2) .trust-badge-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.trust-badge:nth-child(3) .trust-badge-icon {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

.trust-badge-text {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1rem;
}

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