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

.services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.service-card {
    text-decoration: none;
    width: 280px;
    height: 320px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(67, 97, 238, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.4s ease;
}

.service-card:hover .card-icon img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.card-content {
    padding: 20px;
    text-align: center;
    position: relative;
    height: calc(320px - 160px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-content a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    position: relative;
    z-index: 1;
}

.service-card:hover .card-content h3 {
    color: var(--color-yellow);
}

.card-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-yellow), var(--color-success));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.service-card:hover .card-wave {
    transform: scaleX(1);
}

/* Effet de surbrillance au survol */
.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.service-card:hover::after {
    transform: scale(40, 40) translate(-50%, -50%);
    opacity: 0.1;
}

/* Responsive */
@media (max-width: 1200px) {
    .service-card {
        width: 240px;
        height: 280px;
    }
    .card-icon {
        height: 140px;
    }
}

@media (max-width: 992px) {
    .services-row {
        gap: 20px;
    }
    .service-card {
        width: calc(50% - 20px);
        height: 260px;
    }
    .card-icon {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .service-card {
        width: 100%;
        max-width: 350px;
        height: 240px;
    }
    .card-icon {
        height: 140px;
    }
    .card-content h3 {
        font-size: 1rem;
    }
}
