body {
    font-family: Arial, sans-serif;
}
@media (min-width: 1200px) {
    .les-textes {
        font-size: 22px;
    }
    .les-titres {
        font-size: 32px;
    }
    h3 {font-size: 28px;}
    }
    
    @media (max-width:1100px) {
        .les-textes {font-size: 20px;}
        .les-titres {font-size: 28px;}
    h3 {font-size: 24px;}
    }
    @media (max-width:768px) {
        .les-textes {font-size: 18px;}
        .les-titres {font-size: 24px;}
        h3 {font-size: 22px;}
    }
    
    @media (max-width:480px) {
        .les-titres {font-size: 16px;}
        .les-titres  {font-size: 20px;}
        h3 {font-size: 18px;
    }
    
    }
    /* Définition de la variable des couleurs  */
:root {
    --orangef: #ff6233;
    --orangec: #ffbd59;
    --gris: #545454;
    --noir: #15171c; 
}
/* ********************************************************************************************* */

section.banner {
    background-image: url('Images/contact/banner.webp'); 
    height: 900px;
    background-size: cover; /* S'assure que l'image couvre toute la section */
    background-position: top; /* Centre l'image */
    color: white; /* Texte en blanc pour le contraste */
    padding: 100px 20px; /* Espacement autour du contenu de la bannière */
    text-align: center; /* Centre le texte */
    position: relative; /* Position relative pour l'utilisation de ::before */
    margin-bottom: 5%;
    margin-top: 6.5%;
}


.text-content {
    margin-top: 100px;
    margin-left: 0px;
    color: black;
    padding: 20px; /* Padding ajouté pour éviter que le texte ne touche les bords sur les petits écrans */
}


.text-content h1 {
    text-align: left;
    font-size: 50px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}



.highlight {
    color: #FF6F00; /* Couleur orange pour mettre en valeur le texte */
}

/* Médias queries pour gérer la responsivité sur les petits écrans */
@media (max-width: 1200px) {
    section.banner {
        height: 80vh; /* Réduire la hauteur de la bannière sur les écrans plus petits */
        background-repeat: no-repeat;
    }


    .text-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    section.banner {
        height: 40vh; /* Réduire encore la hauteur sur les tablettes */
        background-size: cover; /* Contenir l'image pour éviter qu'elle ne soit coupée */
        margin-top: 6%;
    }
 
    .text-content{
        margin-top: 0px;
        margin-left: 0px;
    }

    .text-content h1 {
        font-size: 28px;
    }


}

@media (max-width: 480px) {
    section.banner {
        height: 20vh; /* Réduire la hauteur sur les petits écrans */
        background-size: cover; /* Adapter l'image à l'écran sans la couper */
        margin-top: 11%;
    }
    .text-content{
        margin-top: -50px;
        margin-left: -10px;
    }

    .text-content h1 {
        font-size: 0.9rem;
    }


}
/********************************************************************************************************/

.about-us1 h2 {
    color: #000000; /* Couleur orange pour le titre */
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-container { 
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
}
.text-container .titre{
    font-weight: bold;
    line-height: 1;
    margin-right: 15px; /* Espace entre la lettre initiale et le texte */
}


.text {
    color: black; /* Couleur noire pour le texte */
    text-align: justify;
}

/* Responsivité pour les petits écrans */
@media (max-width: 768px) {
    .about-us1 h2 {
        margin-bottom: 5px;
    }

    .text-container {
        flex-direction: column;
        align-items: center;
    }

    .text {
        text-align: left;
    }
}
@media (max-width: 480px) {
   

    .text-container {
      padding: 0px 20px;
    }
}
/*******************************************************************************/
.contact-section {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    height: 70vh;
    background-image: url('Images/contact/Rectangle_\ Arriere\ plan.webp'); /* Chemin vers votre image d'arrière-plan */
    background-size: cover;
    background-position: top;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5%;
}

.form-container {
    display: flex;
    width: 60%;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.6); /* Transparence légère pour laisser apparaître l'arrière-plan */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 150px;
    margin-left: 10%;
}

.left-side {
    background-color: #FF6F00;
    color: white;
    padding: 40px;
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-side h2 {
    line-height: 1.5;
}

.right-side {
    padding: 20px;
    width: 50%;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 10px 10px 40px; /* Padding à gauche pour les icônes */
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.form-group input[type="checkbox"] {
    width: auto;
    padding-left: 0;
}

.icon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.2rem;
    color: #FF6233;
}

button[type="submit"] {
    background-color: #FF6F00;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

button[type="submit"]:hover {
    background-color: #e65b00;
}

/* Responsivité : Écrans de tablettes */
@media (max-width: 1024px) {
    .form-container {
        width: 90%;
    }
    

    .right-side {
        padding: 20px;
    }
}

/* Responsivité : Écrans de tablettes plus petites */
@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
        width: 90%;
        max-width: 700px;
        margin-top: -60px;
        margin-left: 0px;
    }
    .contact-section{
        margin-top: 0px;
        background-position: center;
        background-size: 100%;
    }
    
.form-group input,
.form-group textarea{
    width: 85%;
}

    .left-side, .right-side {
        width: 100%;
    }

    .left-side {
        padding: 30px;
    }

    .right-side {
        padding: 20px;
        padding-right: 20px;
    }
}

/* Responsivité : Écrans de mobiles */
@media (max-width: 480px) {
    .contact-section{
        background-size: 100%;
        background-repeat: no-repeat;
    }
    .form-container {
        margin-top: 60%;
        width: 75%;
        flex-direction: column;
        margin-left: 0px;
    }
    .contact-info-item{
        margin-top: 10%;
    }
    
.form-group input,
.form-group textarea{
    width: 80%;
}

    .left-side {
        padding: 20px;
    }

    .left-side h2 {
        text-align: center;
    }

    .right-side {
        padding: 10px;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px 8px 8px 35px;
        font-size: 0.8rem;
    }

    .icon {
        font-size: 1rem;
        top: 8px;
        left: 8px;
    }

    button[type="submit"] {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}
/***************************************************************************/

.contact-info-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 30%;
}

.contact-icon {
    background-color: #FF6233;
    border-radius: 50%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.contact-icon .material-icons {
    color: white;
}
.material-icons img{
    width: 30px;
    height: 30px;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-details p {
    font-size: 1rem;
    color: #555;
}

@media screen and (max-width: 768px) {
    .contact-info-section {
        flex-direction: column;
        align-items: center;
    }
    .contact-info-item {
        width: 100%;
        margin-bottom: 20px;
    }
    .contact-section{
        width: 100%;
        height: 50vh;
        background-size: 80%;
        background-repeat: no-repeat;
    }
}
@media screen and (max-width: 768px) {
    .contact-info-section{
        margin-top: 50%;
    }
}
/*****************************************************************************/
 /* Section principale avec largeur maximale */
 .carte {
    width: 100vw;
    height: 60vh;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Limite la carte à 100% de la section mais centrée */
#map {
    max-width: 1200px;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 10px;
}

/* Style de la boîte d'info */
.info-box {
    width: 40%;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: rgba(235, 233, 229, 0.9);
    padding: 15px;
    border-radius: 8px;
    box-shadow: -3px 5px 10px rgba(0, 0, 0, 0.8);
    z-index: 1;
}
.bouton{
    display: flex;
    gap: 20px;
}
.info-box .email,
.info-box .location {
    margin-bottom: 10px;
}

.info-box hr {
    margin: 10px 0;
    border-top: 1px solid #ccc;
}

/* Boutons de navigation */


.button {
    display: block;
    width: 60%;
    margin: 5px 0;
    padding: 10px;
    border: none;
    background-color: #FF6233;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    text-align: left;
}

.button:hover {
    background-color: #d03a0c;
}

/* Responsivité : Ajustements pour petits écrans */
@media (max-width: 768px) {
    .info-box {
        top: 10px;
        right: 10px;
        padding: 10px;
        font-size: 0.9em;
    }

    .controls {
        top: 140px;
        right: 10px;
        padding: 8px;
    }

    .button {
        padding: 8px;
        font-size: 0.9em;
    }
}

/* Responsivité pour écrans très petits (smartphones) */
@media (max-width: 480px) {
    .info-box {
        top: 0px;
        left: 10px;
        right: 10px;
        width: auto;
        padding: 8px;
        font-size: 0.8em;
    }

    .controls {
        top: 120px;
        left: 10px;
        right: 10px;
        padding: 6px;
    }

    .button {
        padding: 6px;
        font-size: 0.8em;
    }
}

/***************** le code css de la marge sur pc ****************************** */
@media (min-width: 900px) and (max-width: 1310px){
    .text-container, .about-us1, .contact-section, .contact-info-section, .carte{
      max-width: 900px;
      margin: 0 auto;
    }
    .contact-section{
        height: 100vh;
    }
    .form-container{
        width: 80%;
    }
    .right-side{
        width: 100%;
    }
    section.banner{
        height: 700px;
        margin-top: 10%;
    }
  }
  @media (min-width: 1311px) and (max-width: 1400px){
    .form-container{
        height: 50vh;
    }
  }

  .active {
    animation: focusInContractBck 1s ease forwards;
  }
  @keyframes focusInContractBck {
    0% {
      letter-spacing: 1em;
      transform: translateZ(300px);
      opacity: 0;
    }
    100% {
      letter-spacing: normal;
      transform: translateZ(0);
      opacity: 1;
    }
  }