/* Nouvelle Section Contact */
#new-contact {
    background: #f4f8fc; /* Fond clair */
    padding: 40px 0;
}

.new-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.new-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #1A237E;
    margin-bottom: 10px;
}

.new-description {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.new-contact-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.new-contact-map {
    flex: 1;
    max-width: 45%;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    background: #fff;
}

.new-contact-details {
    margin-top: 15px;
    font-size: 14px;
    color: #424242;
    text-align: center;
}

.new-contact-form {
    flex: 1;
    max-width: 50%;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.new-contact-form .new-form-group {
    margin-bottom: 20px;
}

.new-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #1A237E;
    font-weight: bold;
}

.new-contact-form input,
.new-contact-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.new-contact-form textarea {
    resize: both;
    min-height: 100px;
    max-height: 500px;
}

.new-btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    background: #1A237E;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.new-btn-submit:hover {
    background: #3F51B5;
}

/* Responsive Design for New Contact Section */
@media only screen and (max-width: 1200px) {
    .new-container {
        padding: 15px;
    }
    .new-contact-map,
    .new-contact-form {
        max-width: 48%; /* Réduit légèrement la largeur sur les écrans moyens */
    }
}

@media only screen and (max-width: 992px) {
    .new-contact-map,
    .new-contact-form {
        max-width: 100%; /* Passe en empilement sur des écrans plus petits */
        margin-bottom: 20px; /* Ajoute de l'espace entre les sections empilées */
    }

    .new-contact-content {
        flex-direction: column; /* Empile les éléments */
        align-items: center;
    }
}

@media only screen and (max-width: 768px) {
    .new-section-title {
        font-size: 24px; /* Réduit la taille des titres */
    }

    .new-description {
        font-size: 14px; /* Ajuste la taille de la description */
    }

    .new-contact-form {
        padding: 20px; /* Réduit le padding du formulaire */
    }

    .new-contact-form input,
    .new-contact-form textarea {
        padding: 10px; /* Réduit la hauteur des champs d'entrée */
        font-size: 13px; /* Réduit la taille du texte */
    }

    .new-btn-submit {
        font-size: 14px; /* Réduit la taille du bouton */
        padding: 12px; /* Ajuste la hauteur */
    }
}

@media only screen and (max-width: 576px) {
    .new-section-title {
        font-size: 20px; /* Réduit encore la taille du titre */
    }

    .new-description {
        font-size: 12px; /* Réduit encore la taille de la description */
    }

    .new-contact-map,
    .new-contact-form {
        margin-bottom: 15px; /* Réduit l'espace vertical */
    }

    .new-contact-form {
        padding: 15px; /* Réduit davantage le padding du formulaire */
    }

    .new-contact-form label {
        font-size: 12px; /* Réduit la taille des labels */
    }

    .new-contact-form input,
    .new-contact-form textarea {
        padding: 8px; /* Réduit la hauteur des champs */
        font-size: 12px; /* Ajuste encore la taille du texte */
    }

    .new-btn-submit {
        font-size: 12px; /* Ajuste la taille du texte du bouton */
        padding: 10px; /* Réduit la hauteur */
    }
}