.services {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2b2b2b 100%);
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1c40f;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

.service-card {
    background-color: #2b2b2b;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 400px; /* Hauteur maximale */
    overflow-y: auto; /* Défilement si nécessaire */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(241, 196, 15, 0.4);
}

.service-card h3 {
    font-size: 1.8rem;
    color: #e67e22;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.service-card h3 span {
    margin-right: 10px;
    font-size: 1.5rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #ddd;
    line-height: 1.4;
}

.service-list li strong {
    color: #ffcc00;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-title {
        font-size: 2rem;
    }
    .service-card {
        padding: 15px;
        max-height: 350px;
    }
    .service-card h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 40px 10px;
    }
    .services-title {
        font-size: 1.8rem;
    }
    .service-card {
        max-height: 300px;
        padding: 10px;
    }
    .service-card h3 {
        font-size: 1.3rem;
    }
}