/* declaration de la police du site */
@font-face {
    font-family: cabin;
    src: url(font/Cabin/static/Cabin-Bold.ttf);
}
@font-face {
    font-family: lato;
    src: url(font/Lato/Lato-Regular.ttf);
}
body {
    font-family: 'lato';
}
*{
    font-family: 'lato';
}
p{
    font-size: 16px;
}
h1{font-size: 29px;}
h2{font-size: 26px;}
h3{font-size: 17px;}
h6{font-size: 12px; text-transform: uppercase;}
@media (min-width:1400px) {
    p{font-size: 18px;}
h1{font-size: 45px;}
h2{font-size: 24px;}
h3{font-size: 20px;}
h6{font-size: 16px; text-transform: uppercase;}
}
@media (max-width:768px) {
p{font-size: 14px;}
h1{font-size: 21px;}
h2{font-size: 19px;}
h3{font-size: 15px;}
h6{font-size: 12px;}
}
@media (max-width:480px) {
p{font-size: 12px;}
h1{font-size: 18px;}
h2{font-size: 16px;}
h3{font-size: 14px;}
h6{font-size: 10px;}
}
/* Définition de la variable des couleurs  */
:root {
    --claire: #46AFCF;
    --vert: #366228;
    --bleu: #03466E;
    --rouge: #9D0F07; 
}
/**********************************************************************/
/* Style pour la bannière */
.banner {
    height: 700px;
    margin-top: 6%;
    background: url('images/Contact/hero_contact.webp') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 50px 20px;
    text-align: justify;
}

/* Conteneur de contenu de la bannière */
.banner-content {
    max-width: 350px;
    height: 150px;
    margin: 0 auto;
    margin-top: 200px;
    margin-left: 20px;
    background: #fff; 
    padding: 10px;
    border-radius: 10px;
}

/* Style pour le sous-titre de la bannière */
.banner-subtitle {
    padding: 6px;
    text-align: center;
    color: #FFF;
    background-color: var(--bleu);
    border-radius: 10px;
    width: 45%;
    margin-bottom: 10px;
}

/* Style pour le texte de la bannière */
.banner-text {
    text-align: left;
    font-weight: bold;
    color: #000;
    line-height: 1.1;
}

/* Media queries pour la responsivité */
@media (max-width: 1300px) {
    .banner{
        margin-top: 11%;
        height: 400px;
    }
    .banner-content{
        margin-top: 100px;
    }
    .banner-subtitle{
        width: 40%;
        margin-left: 20px;
    }
}
@media (max-width: 768px) {
    .banner {
        padding: 30px 15px;
    }


    .banner-content {
        padding: 15px;
        margin-top: 120px;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 20px 10px;
        height: 300px;
    }
    .banner-subtitle{
        padding: 5px;
        width: 60%;
        margin-left: 0px;
    }


    .banner-content {
        text-align: left;
        padding: 10px;
        width: 50%;
        margin-top: 100px;
    }
}
/*****************************************************************************/
/* Style de la section contenant les deux blocs */
.section {
    max-width: 1200px;
    width: 60%;
    margin-top: 60px;
    margin-left: 20%;
    margin-right: 10%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  
  /* Style du bloc de gauche */
  .left-block {
    width: 40%; /* Ajuste la largeur selon les besoins */
    margin-left: 10px;
    padding: 10px;
    display: flex;
  
  }
  
  /* Style de l'image avec fond */
  .image-background {
    position: relative;
    width: auto;
    height: auto;
    overflow: hidden;
  }
  
  /* Couche de couleur de fond */
  .background-overlay {
    position: absolute;
    top: -40%; /* Décalage vers le haut */
    left: -20%; /* Décalage vers la gauche */
    width: 100%;
    height: 90%; /* Ajuste la hauteur pour couvrir le décalage */
    background-image: url('images/Contact/Pattern.png'); 
    background-repeat: no-repeat;
    z-index: 1;
  }
  
  /* Style de l'image */
  .image-background img {
    margin-top: 10%;
    margin-left: 10%;
    display: block;
    width: 100%; /* Ajuste la taille de l'image */
    height: auto;
    position: relative;
    z-index: 2;
  }
  
  /* Style du bloc de droite */
  .right-block {
    width: 40%; /* Ajuste la largeur selon les besoins */
    padding-left: 5%;
  }
  
  /* Style du titre principal */
  .right-block h1 {
    color: #000;
    margin-bottom: 5px;
  }
  
  /* Style des sous-titres */
  .content-block h3 {
    margin: 5px 0;
  }
  .content-block .text{
    text-align: left;
    margin-bottom: 20px;
  }

/* Conteneur pour le sous-titre avec icône */
.header-with-icon {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Style pour l'icône */
.header-with-icon .icon {
    width: 40px; /* Ajuster la taille selon les besoins */
    height: 40px; /* Ajuster la taille selon les besoins */
    margin-right: 10px; /* Espace entre l'icône et le sous-titre */
    margin-top: 2px;
}

/* Style pour le sous-titre */
.header-with-icon .subtitle {
    margin: 0;
    margin-bottom: 4%;
}

/* Style pour le paragraphe */
.header-with-icon p {
    margin-top: 5px;
}
  
  /* Style du contenu */
  .content-block p {
    margin: 0;
    color: #555;
  }
  
  /* Media Queries pour la responsive design */
  @media (max-width: 1300px) {
    .section{
        width: 80%;
        margin-left: 10%;
    }
}
  @media only screen and (max-width: 768px) {
    .section {
      flex-direction: column;
    }
  
    .left-block, .right-block {
      width: 80%;
    }
  
    .right-block img {
      width: 80%; /* Réduit la taille de l'image */
    }
    .header-with-icon {
        margin-top: 10px;
        margin-bottom: 5px;
    }
    .header-with-icon .icon{
        margin-top: 0px;
    }
  }
/**********************************************************************/
.contact-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 60%;
    margin-left: 15%;
    margin-right: 10%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 40px;
}

.contact-info {
    flex: 1;
    max-width: 40%;
    padding: 20px;
}

.info-tag {
    display: inline-block;
    background-color: var(--bleu);
    color: #ffffff;
    border-radius: 20px;
    padding: 5px 15px;
    margin-bottom: 20px;
}

.info-title {
    margin: 0 0 20px;
    color: var(--bleu);
}

.info-text {
    text-align: left    ;
    margin: 0 0 10px;
    color: #000;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    margin-right: 15px;
}

.info-heading {
    font-size: 16px;
    margin: 0 0 5px;
    color: var(--bleu);
}

.info-detail {
    font-size: 14px;
    margin: 0;
    color: #666;
}

.contact-form {
    flex: 2;
    max-width: 50%;
    padding: 20px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
}

.form-group input {
    flex: 1;
}

.form-group textarea {
    flex: 1 0 100%;
}

button {
    background-color: var(--bleu);
    color: #ffffff;
    border: none;
    width: auto;
    border-radius: 20px;
    padding: 10px 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--vert);
}

/* Responsive styles */
@media (max-width: 1300px) {
    .contact-section{
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
}
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        padding: 20px;
    }
    .contact-form{
        margin-top: 20px;
    }

    .contact-info,
    .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }

    button {
        padding: 10px 20px;
        font-size: 12px;
    }
    .info-item{
        margin-bottom: 10px;
    }
    .contact-section {
        margin-left: 2%;
    }
}

/*********************************************************/

.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 16px;
    max-width: 100%;
    flex-wrap: wrap;
    text-align: center;
    margin-bottom: 5%;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-container label {
    cursor: pointer;
    display: inline-block;
    margin: 0;
}

.checkbox-container a { 
    color: var(--bleu);
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .checkbox-container {
        font-size: 14px;
        text-align: center;
    }
    .checkbox-container input[type="checkbox"] {
        margin-right: 5px;
    }
}

@media (max-width: 480px) {
    .checkbox-container {
        font-size: 12px;
    }
    .checkbox-container input[type="checkbox"] {
        margin-right: 5px;
    }
}