/* Styles pour la section avec l'arrière-plan d'image */
section {
    background: url(Image/Entete\ du\ site.jpg) no-repeat; /* Image de fond sans répétition */
    background-position: 50% 55%;
    background-size: cover; /* Ajuste la taille de l'image de fond pour couvrir la section */
    height: calc(60vh - 150px); /* Hauteur de la section calculée */
}

/* Styles pour la section contenant le formulaire */
.section-wrapper {
    width: 100%;
    padding: 10px;
}

/* Styles pour la boîte contenant le formulaire et les informations */
.box-wrapper {
    position: relative;
    display: table;
    width: 1400px;
    margin: auto;
    margin-top: 35px;
    margin-bottom: 35px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre douce */
}

/* Styles pour la partie contenant les informations */
.info-wrap {
    width: 35%;
    height: 600px;
    padding: 40px;
    float: left;
    display: block;
    border-radius: 0px 30px 30px 0px;
    background: #ffffff;
    color: #fff;
}

/* Styles pour le titre des informations */
.info-title {
    text-align: center;
    font-size: 28px;
    letter-spacing: 0.5px;
    color:#555;
}

/* Styles pour la liste des détails des informations */
.info-details {
    list-style: none;
    margin: 60px 0px;
}

/* Styles pour chaque élément de la liste des détails */
.info-details li {
    margin-top: 25px;
    font-size: 18px;
    color: #000000;
}

/* Styles pour l'icône dans les détails des informations */
.info-details li i {
    background: #2a3177;
    color: #fff;
    padding: 12px;
    border-radius: 50%;
    margin-right: 5px;
}

/* Styles pour les liens dans les détails des informations */
.info-details li a {
    color: #000000;
    text-decoration: none;
}

/* Styles pour les liens au survol */
.info-details li a:hover {
    color: #ABCBB7;
}

/* Styles pour la liste des icônes sociales */
.social-icons {
    list-style: none;
    text-align: center;
    margin: 20px 0px;
}

/* Styles pour chaque icône sociale */
.social-icons li {
    display: inline-block;
}

/* Styles pour les icônes sociales au survol */
.social-icons li i {
    background:#2a3177;
    color: #ffffff;
    padding: 15px;
    font-size: 20px;
    border-radius: 22%;
    margin: -50px 5px;
    cursor: pointer;
    transition: all 0.5s;
}

/* Styles pour les icônes sociales au survol */
.social-icons li i:hover {
    background: #ABCBB7;
    color: #000000;
}

/* Styles pour la partie contenant le formulaire */
.form-wrap {
    width: 65%;
    float: left;
    padding: 40px 25px 88px 25px;
    border-radius: 30px 0px 0px 30px;
    background: rgba(0, 0, 0, 0.07);
}

/* Styles pour le titre du formulaire */
.form-title {
    text-align: left;
    margin-left: 23px;
    font-size: 28px;
    letter-spacing: 0.5px;
    color: #2a3177;
}

/* Styles pour le conteneur des champs du formulaire */
.form-fields {
    display: table;
    width: 100%;
    padding: 15px 5px 5px 5px;
}

/* Styles pour les champs de texte et les zones de texte du formulaire */
.form-fields input,
.form-fields textarea {
    border: none;
    outline: none;
    background: none;
    font-size: 18px;
    color: #555;
    padding: 20px 10px 20px 5px;
    width: 100%;
}

/* Styles spécifiques pour les zones de texte du formulaire */
.form-fields textarea {
    height: 150px;
    resize: none;
}

/* Styles pour les groupes de champs du formulaire */
.form-group {
    width: 46%;
    float: left;
    padding: 0px 30px;
    margin: 14px 12px;
    border-radius: 25px;
    box-shadow: inset 8px 8px 8px #cbced1, inset -8px -8px 8px #ffffff;
}

/* Styles pour le dernier groupe de champs du formulaire */
.form-fields .form-group:last-child {
    width: 96%;
}

/* Styles pour le bouton de soumission du formulaire */
.submit-button {
    width: 96%;
    height: 60px;
    margin: 0px 12px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 700;
    outline: none;
    border: none;
    cursor: pointer;
    color: #fff;
    text-align: center;
    background: #2a3177;
    box-shadow: 3px 3px 8px #b1b1b1, -3px -3px 8px #ffffff;
    transition: 0.5s;
}

/* Styles pour le bouton de soumission du formulaire au survol */
.submit-button:hover {
    background: #ABCBB7;
}



/* Styles pour les tablettes (768px à 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1370px) {
    section {
        height: calc(40vh - 150px); /* Hauteur réduite pour mobile */
        background-position: center;
    }
    .box-wrapper {
        width: 90%; /* Réduire la largeur pour s'adapter aux tablettes */
    }
    
    .info-wrap,
    .form-wrap {
        width: 100%; /* Les deux sections s'empilent verticalement */
        float: none; /* Annule le flottement */
        height: auto; /* Adapte la hauteur automatiquement */
    }

    .info-wrap {
        border-radius:  0 0 30px 30px; /* Bord arrondi en haut */
    }

    .form-wrap {
        border-radius:30px 30px 0 0; /* Bord arrondi en bas */
        padding: 30px 20px; /* Ajuster le padding pour s'adapter à l'espace */
    }

    .form-group {
        width: 100%; /* Champs de formulaire pleine largeur */
        float: none; /* Annule le flottement */
        margin: 15px 0; /* Espacement entre les champs */
    }

    .form-fields .form-group:last-child,
    .submit-button {
        width: 100%; /* Bouton de soumission pleine largeur */
    }
}




/* Styles pour la version mobile (responsive) */
@media (max-width: 768px) {
    section {
        height: calc(40vh - 150px); /* Hauteur réduite pour mobile */
        background-position: center;
    }
    .box-wrapper {
        width: 100%;
    }

    .info-wrap,
    .form-wrap {
        width: 100%;
        height: inherit;
        float: none;
    }

    .info-wrap {
        border-radius: 0 0 30px 30px;
    }

    .form-wrap {
        border-radius:30px 30px 0 0;
    }

    .form-group {
        width: 100%;
        float: none;
        margin: 25px 0;
    }

    .form-fields .form-group:last-child,
    .submit-button {
        width: 100%;
    }

    .submit-button {
        margin: 10px 0;
    }
    .logo {
        max-width: 70px;
        height: auto;
        margin-left: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .logo img {
        width: 100%;
    }
}

@media only screen and (min-width: 1024px) {
    section {
        height: calc(40vh - 150px); /* Hauteur réduite pour mobile */
        background-position: center;
    }
}
