

.main-contact {

     background-image: 
      
        url("images/service.png");

    padding: 60px 20px;
    font-family: 'Arial', sans-serif;
   
    color: #121212;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-intro h1 {
    font-size: 36px;
    color: #37474f;
    margin-bottom: 10px;
}

.contact-intro .gold {
    color: #d4a017;
}

.contact-intro p {
    color: #555;
    font-size: 17px;
}

.contact-form-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 500px;
    border-left: 5px solid #6ab187;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2b6777;
}

input, textarea {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Arial', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #6ab187;
    box-shadow: 0 0 5px rgba(106, 177, 135, 0.5);
}

.btn-envoyer {
    background-color: #2b6777;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-envoyer:hover {
    background-color: #d4a017;
    transform: scale(1.03);
}

.contact-info {
    width: 320px;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #d4a017;
    text-align: left;
}

.contact-info h2 {
    color: #2b6777;
    margin-bottom: 15px;
}

.contact-info p {
    color: #444;
    margin: 10px 0;
    font-size: 15px;
}

.contact-info i {
    color: #6ab187;
    margin-right: 8px;
}

/* --- Confirmation message --- */
.confirmation-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .contact-form-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-form, .contact-info {
        width: 90%;
    }
}
