html {
  --top: #0f2d49;
  --primary: #f65b23;
  --second: #fff;
  --black: #000;
  --table: #0676df;
}
body {
  width: 100%;
  margin: auto;
  background-color: #ddd;
  font-family: "Arial", serif;
}
/*
                  GLOB CORPS 
              */
#glob_page {
  width: 99.9%;
  margin: auto;
  min-height: 1400px;
}
/*
                  En Tête 
              */
header {
  width: 100%;
  margin: auto;
  overflow: hidden;
}
/*
                 partie Top  
              */
.top {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0px;
  background-color: var(--top);
}
.top .top_sideleft {
  width: 60%;
  padding: 10px;
}
.top_sideleft a {
  padding: 12px 10px;
  font-size: 0.9em;
  color: var(--second);
}
.top_sideleft i {
  color: var(--primary);
}
.login {
  width: 10%;
  margin-right: 3%;
  padding: 10px;
  text-align: center;
  background-color: var(--primary);
  &:hover {
    background-color: var(--black);
  }
}
.login a {
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  color: var(--second);
  &:hover {
    color: var(--primary);
  }
}

#sign {
  width: auto;
  margin: auto;
  height: auto;
}
#sign .formulaire {
  background-color: #fff; /* Fond blanc */
  width: 300px;
  margin: auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Ombre légère */
}

#sign .formulaire label {
  display: block;
  color: #f96d0b;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}
#sign .formulaire i {
  padding: 15px 5px;
}
#sign .formulaire input[type="text"],
#sign .formulaire input[type="password"] {
  width: 100%;
  padding: 15px 0px;
  margin-bottom: 15px;
  border: none;
  border-bottom: 1px #ccc solid;
  border-radius: 5px;
  background-color: #fff;
  color: #000;
}

#sign .formulaire input[type="submit"] {
  background-color: #f96d0b;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 100px;
}

#sign .formulaire input[type="submit"]:hover {
  background-color: #ffa735;
}

/*
                 Menu  navigation & logo 
              */
#head {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: var(--second);
  box-shadow: 1px 1px 5px 8px rgba(0, 0, 0, 0.1);
}
#head .logo {
  width: 30%;
}
.logo h1 {
  padding: 3px 10px;
  font-size: 1.3em;
  color: var(--top);
}
#head nav {
  width: 25%;
  padding: 20px 10px;
}
#head nav a {
  font-size: 1em;
  font-weight: bold;
  color: var(--black);
  text-decoration: none;
  padding: 12px 8px;
  &:hover {
    color: var(--top);
    text-decoration: underline;
  }
}
#head nav a i {
  color: var(--primary);
}
#head.fixed {
  width: 100%;
  position: fixed;
  top: 0;
  padding: 0px;
  box-shadow: 0px 5px 15px 2px rgba(0, 0, 0, 0.5);
  z-index: 1;
}
/*
          hero part
          */
#hero {
  background: url("../IMG/slider-3.jpg") no-repeat;
  height: 65vh;
  background-size: cover;
  padding: 50px;
}
#hero .hero_descrip {
  width: 40%;
  margin-top: 5%;
  padding: 20px;
}
.hero_descrip h1 {
  width: 100%;
  margin: auto;
  text-align: left;
  font-size: 3em;
  font-family: arial;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--second);
}
.hero_descrip p {
  font-weight: bold;
  color: var(--second);
  text-align: center;
  line-height: 35px;
  font-size: 1.3em;
}
.btn a {
  display: block;
  width: 40%;
  margin: auto;
  margin-top: 6%;
  background-color: var(--primary);
  padding: 15px;
  color: var(--second);
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  text-decoration: none;
  &:hover {
    background-color: var(--top);
  }
}
#service {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: row;
}
#service .serv_1,
#service .serv_2,
#service .serv_3 {
  width: 50%;
  margin: auto;
  overflow: hidden;
  padding: 5px;
  height: 140px;
}
#service .serv_1 img,
#service .serv_2 img,
#service .serv_3 img {
  width: 30%;
  margin: auto;
  padding: 15px 0px;
  float: left;
  height: 90px;
}
#service .content {
  width: 60%;
  margin: auto;
  float: left;
}
#service .content h1 {
  width: 100%;
  margin: auto;
  padding: 5px 0px;
  font-size: 1em;
}
#service .content p {
  font-size: 0.9em;
  width: 100%;
  margin: auto;
  line-height: 23px;
}
#service .serv_1 {
  background-color: #f4f4f4;
  color: var(--top);
}
#service .serv_2 {
  background-color: var(--primary);
  color: var(--second);
}
#service .serv_3 {
  background-color: var(--top);
  color: var(--second);
}
#about {
  padding: 30px;
  background-color: var(--second);
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
#about .img_about {
  width: 50%;
}
.img_about img {
  width: 100%;
}
#about .about_content {
  width: 40%;
  margin: auto;
}
.about_content h1 {
  width: 100%;
  margin: auto;
  font-size: 2.2em;
  font-weight: bolder;
  font-family: arial;
  color: var(--primary);
}
.about_content h1 span {
  color: var(--top);
}
.about_content p {
  text-align: justify;
  font-size: 1em;
  line-height: 2rem;
  padding: 5px;
  color: #333;
}
.about_content ul {
  padding: 0px;
  list-style-type: none;
}
.about_content li {
  font-size: 1em;
  line-height: 2rem;
}
#about .btn_about {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin: auto;
}
#about .btn_about a {
  display: block;
  width: 50%;
  margin-right: 5px;
  padding: 20px 5px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  color: var(--second);
  background-color: var(--primary);
  &:hover {
    background-color: var(--black);
    color: var(--second);
  }
}
#about .btn_about a:first-of-type {
  background-color: var(--top);
  color: var(--second);
  &:hover {
    background-color: var(--black);
    color: var(--second);
  }
}
#nos_mission {
  background: url("../IMG/mission.jpg") no-repeat;
  background-size: cover;
}
#nos_mission .mission {
  width: 100%;
  margin: auto;
  padding: 45px 0px;
  background-color: var(--top);
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
  color: var(--second);
  height: 220px;
  opacity: 0.8;
}
.mission h1 {
  width: 100%;
  margin: auto;
  color: var(--primary);
  font-size: 1.8em;
  padding: 2.5rem 0px 5px 0px;
  text-align: center;
  line-height: 3rem;
}
.mission p {
  width: 80%;
  margin: auto;
  font-size: 1em;
  text-align: center;
  font-weight: bold;
  line-height: 2rem;
}
#registre input[type="submit"],
#registre1 input[type="submit"] {
  padding: 10px 20px;
  background-color: var(--primary);
  color: white;
  border: none;
  opacity: 0.8;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

/* Style général de la modal */
#registre1 .modal,
#registre .modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* Contenu de la modal */
#registre1 .modal-content,
#registre .modal-content {
  padding: 20px;
  width: 94%;
  max-width: 400px;
  border-radius: 8px;
  text-align: center;
}

/* Titre */
#registre1 .modal-content h1,
#registre .modal-content h1 {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
}

/* Formulaire */
#registre1 form,
#registre form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Labels */
#registre1 label,
#registre label {
  font-weight: bold;
  text-align: left;
  display: block;
  color: #444;
}

/* Champs de saisie et select */
#registre1 input,
#registre input,
#registre1 select,
#registre select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  transition: 0.3s;
  background: #f9f9f9;
}

/* Effet au survol et focus */
#registre1 input:focus,
#registre input:focus,
#registre1 select:focus,
#registre select:focus {
  border-color: var(--top);
  outline: none;
  box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.5);
}

/* Bouton d'envoi */
#registre1 input[type="submit"],
#registre input[type="submit"] {
  background: var(--primary);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-size: 16px;
}

#registre1 input[type="submit"]:hover,
#registre input[type="submit"]:hover {
  background: var(--black);
}

/* Responsive */
@media (max-width: 500px) {
  #registre1 .modal-content {
    width: 95%;
    padding: 15px;
  }

  #registre1 .modal-content h1 {
    font-size: 20px;
  }
}

#action {
  padding: 30px;
  background-color: var(--second);
}
#action h1 {
  width: 100%;
  margin: auto;
  text-align: center;
  line-height: 3rem;
  padding: 1rem 0px;
  color: var(--top);
  font-size: 1.8em;
}
/*
Footer
*/
.footer {
  background-color: var(--vf);
  color: var(--n);
  padding: 10px 0px 1px 0px;
  text-align: center;
}
.footer-content {
  width: 100%;
  margin: auto;
  font-size: 1em;
  font-weight: bold;
}
.footer-content p {
  width: 100%;
  margin: 1rem auto;
}
.footer-content span {
  color: orangered;
  font-weight: bold;
}
