.formaccueil {
    display: flex;
    /* flex-direction: row; */
    justify-content:center;
    width: 100%;
    height: auto;
    padding-left: 20%;
    padding-right: 20%;
}

.page2 #contact-form{
    width: 100%;
    position: relative;
}

/* Conteneur principal */
.contact-container {
    text-align: center;
    width: 100%;
    background: white;
    border-radius: 12px;
    padding-bottom: 20px;
    padding-top: 20px;
}

.centr{
    width: 100%;
    text-align: center;
    background: white;
    border-radius: 12px;
    padding-top: 30px;
}

/* Titre */
.contact-container h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #007bff;
}

/* Texte d'intro */
.contact-container p {
    font-size: 22px;
    color: #666;
    margin-bottom: 20px;
}

/* Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

/* Cartes */
.contact-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card i {
    font-size: 30px;
    color: #007bff;
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.contact-card p {
    font-size: 14px;
    color: #555;
}

/* Hover Effect */
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        
    }

    .page2{
       overflow: visible;
    }

    .contact-container {
        text-align: center;
        width: 100%;
        background: white;
        border-radius: 12px;
    }

    .formaccueil{
        display: flex;
        flex-direction: column;
    }
}