/* Clients Section Styling */
.clients {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* Carousel Container */
.clients-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Carousel Track */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Client Logo Item */
.client-logo {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 300px;
}

.client-logo img {
    max-width: 200px;
    max-height: 120px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.client-logo.active img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.client-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.client-description {
    color: #7f8c8d;
    text-align: center;
    max-width: 500px;
}

/* Navigation Buttons */
.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.carousel-btn {
    background-color: #3498db;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: #2980b9;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

/* Dots Indicator */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #3498db;
    transform: scale(1.2);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3498db;
}

.section-header p {
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .client-logo img {
        max-width: 150px;
    }
    
    .client-logo {
        min-height: 250px;
        padding: 20px;
    }
}