/* Services section style */
.services-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-title {
    color: #b22222;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.service-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.service-title {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

/* Clients et partenaires */
.partners-clients-section {
    padding: 4rem 2rem;
}

.section-title {
    color: #b22222;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: bold;
    text-transform: uppercase;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.partner-logo {
    width: 400px;
    height: 200px;
    object-fit: contain;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.client-logo {
    height: 200px;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo:hover {
    transform: translateY(-5px);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        flex-direction: column;
        align-items: center;
    }
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .partner-logo {
        width: 300px;
        height: 150px;
    }
}