/* Our Clients Section Component Styles */

.our-clients-section {
    position: relative;
}

.clients-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Slider Container */
.clients-slider-container {
    position: relative;
}

.clients-slider {
    display: flex;
    width: 100%;
}

.client-slide {
    flex-shrink: 0;
}

/* Client Logo Styling */
.client-logo-wrapper {
    position: relative;
    overflow: hidden;
}

.client-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.client-logo-wrapper:hover::before {
    left: 100%;
}

.client-logo-wrapper img {
    position: relative;
    z-index: 2;
    max-width: 120px;
    max-height: 60px;
}

/* Slider Navigation Dots */
.slider-dot {
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    transform: scale(1.2);
}

.slider-dot.bg-blue-500 {
    background-color: #3b82f6 !important;
}

/* Grid Layout Specific */
.our-clients-section .grid .client-logo-wrapper img {
    max-width: 100px;
    max-height: 50px;
}

/* Hover Effects */
.client-logo-wrapper:hover {
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .our-clients-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .clients-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .client-slide {
        width: 100% !important;
    }
    
    .clients-slider {
        width: 100%;
    }
    
    .client-logo-wrapper {
        height: 6rem;
        padding: 1.5rem;
    }
    
    .client-logo-wrapper img {
        max-width: 100px;
        max-height: 50px;
    }
    
    .our-clients-section .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .our-clients-section .grid .client-logo-wrapper {
        height: 5rem;
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .clients-title {
        font-size: 1.75rem !important;
    }
    
    .client-logo-wrapper img {
        max-width: 80px;
        max-height: 40px;
    }
    
    .our-clients-section .grid {
        grid-template-columns: 1fr;
    }
}

/* Desktop specific adjustments */
@media (min-width: 768px) {
    .client-slide {
        width: 33.333333% !important;
    }
}

/* Animation for smooth transitions */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-logo-wrapper {
    animation: slideIn 0.6s ease-out;
}

/* Accessibility improvements */
.slider-dot:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.client-logo-wrapper a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 1rem;
}