/* Section globale */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.clients-section {
    text-align: center;
    padding: 50px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f4f4 100%);
    font-family: 'Arial', sans-serif;
}

/* Titre */
.clients-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Conteneur des clients */
/* Ensure all blocks are visible */
.client-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 85%;
    margin: 0 auto;
}

/* Remove the .hidden class entirely */
.hidden {
    display: block;
}


/* Carte client */
.client-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.client-card img {
    width: 120px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background-color: #f4f4f4;
    margin-bottom: 12px;
}

/* Bouton "Voir plus" */
.show-more-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.show-more-btn:hover {
    background-color: #c0392b;
}

/* Responsive design pour tablettes */
@media (max-width: 768px) {
    .client-block {
        grid-template-columns: repeat(2, 1fr);
    }
    .client-card img {
        width: 100px;
    }
}

/* Responsive design pour petits téléphones */
@media (max-width: 480px) {
    .client-block {
        grid-template-columns: 1fr;
    }
    .client-card img {
        width: 90px;
    }
}
