.section-contact {
    background-color: #003366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 30vh;
    text-align: center;
    padding: 40px 0;
    margin: 0;
}

.container-contact {
    width: 80%;
    max-width: 1000px;
}

.section-contact h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.contact-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 1.5rem;
}

.contact-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    /* Animation sur le hover */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    text-align: center;
}

/* Effet de hover pour faire ressortir la boîte */
.contact-item:hover {
    transform: translateY(-5px);
    /* Légère translation vers le haut */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.contact-item img {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.0rem;
    font-family: Arial, sans-serif;
    margin: 5px 0;
}

.contact-link {
    font-size: 1rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #66ccff;
    /* Couleur différente au hover */
}

/* MEDIA QUERIES POUR LES ÉCRANS PLUS PETITS */

/* Pour les tablettes (max-width: 768px) */
@media (max-width: 768px) {
    .section-contact {
        min-height: 40vh;
        padding: 30px 0;
    }

    .section-contact h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .contact-list {
        gap: 15px;
    }

    .contact-item {
        width: 130px;
        padding: 15px;
    }

    .contact-item img {
        width: 35px;
    }

    .contact-item p {
        font-size: 0.9rem;
    }
}

/* Pour les smartphones (max-width: 480px) */
@media (max-width: 480px) {
    .section-contact {
        min-height: auto;
        padding: 30px 0;
    }

    .section-contact h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .contact-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .contact-item {
        width: 200px;
        padding: 15px;
    }

    .contact-item img {
        width: 30px;
    }

    .contact-item p {
        font-size: 0.8rem;
    }
}

/* Pour les grands écrans (plus de 1200px) */
@media (min-width: 1200px) {
    .section-contact {
        min-height: 30vh;
        padding: 50px 0;
    }

    .section-contact h2 {
        font-size: 3rem;
        margin-bottom: 40px;
    }

    .contact-list {
        gap: 30px;
    }

    .contact-item {
        width: 180px;
        padding: 25px;
    }

    .contact-item img {
        width: 50px;
    }

    .contact-item p {
        font-size: 1.2rem;
    }
}