/* COMMUN */
body {
  font-family: "Roboto";
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f0ad00;
  outline-offset: 3px;
}

.title {
  font-size: 3rem !important;
  margin: 40px 0 !important;
}

header {
  background-color: #1D2F44;
  /* background-color: #3B3B3B; */
  color: #FFF;
}

header .icons a {
  color: #FFF;
  font-size: 1.5rem;
  margin: 0 7px;
}

header .icons a:hover {
  opacity: 0.6;
}

header.icons a:visited {
  color: #FFF;
}

header .nav-link {
  white-space: nowrap; /* Prevent line breaks */
}

.bg-color-kuzu {
  /* background-color: #3B3B3B; */
  background-color: #1D2F44 ;
  color: #fff;
}

/* INDEX */
#toast-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
}

.index header {
    position: relative;
    background-color: black;
    height: 100vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
  }
  
  .index header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }
  
  .index header .container {
    position: relative;
    z-index: 2;
  }
  
  .index header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
  }

  .index header .icons a {
    color: #FFF;
    font-size: 1.5rem;
    margin: 0 7px;
  }

  .index header .icons a:hover {
    opacity: 0.6;
  }

  .index header .icons a:visited {
    color: #FFF;
  }

  .index .notre-mission {
    margin-top: 40px;
  }
  
  .index .notre-mission h2 {
    padding-top: 20px;
    border-top: 7px solid black;
    width: 50%;
    margin: auto;
  }

  .index .nos-programmes {
    margin-top: 40px;
  }

  .index .nos-programmes h2 {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 7px solid black;
    width: 50%;
    margin: auto;
  }

  .index .nos-programmes .card {
    width: 18rem;
    margin: 10px;
  }

  .index .nos-programmes .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .index .nos-programmes .card-buttons a {
    display: flex;
    flex-direction: column;
    margin: 5px 0;
  }

  .index .nos-programmes .card-body a:first-of-type {
    margin-top: 10px;
  }

  .index .nos-programmes .card img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
  }

  .nous-contacter {
    margin-top: 40px;
  }

  .nous-contacter a {
    color: #FFF;
  }

  .nous-contacter a:hover {
    opacity: 0.6;
  }

  .nous-contacter a:visited {
    color: #FFF;
  }

  .nous-contacter .logo {
    padding: 20px 0;
  }

  .nous-contacter .map {
    padding: 10px;
  }

  .nous-contacter .icons a {
    color: #FFF;
    font-size: 1.5rem;
    margin: 0 5px;
  }
  
  .nous-contacter .icons a:hover {
    opacity: 0.6;
  }
  
  .nous-contacter .icons a:visited {
    color: #FFF;
  }

  .copyrights p {
    padding-top: 40px;
    font-size: 0.75rem;
  }

  .privacy-preferences-link {
    margin-left: 0.75rem;
  }

  .privacy-preferences-link a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .privacy-preferences-link a:hover {
    opacity: 0.75;
  }

 /* HORAIRE */

.page-horaire .horaire-container {
  width: 80%;
  margin: auto;
}

.instructeurs .col {
  padding: 0;
}

.instructeurs .description-instructeur {
  padding: 30px 40px;
  text-align: justify;
}

.instructeurs .img-container {
  width: 100%; 
  height: 90vh; 
  overflow: hidden;
}

.instructeurs .img-container img {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
}

.img-cours {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-nos-programmes .img-cours {
  position: absolute;
  top: 0;
  width: 44%;
  max-width: 500px;
  height: 320px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.page-nos-programmes .container > .row > .col {
  position: relative;
  min-height: 320px;
}

.page-nos-programmes .container > .row > .col:has(> .img-cours.float-md-end) > .img-cours {
  right: 0;
}

.page-nos-programmes .container > .row > .col:has(> .img-cours.float-md-end) > :not(.img-cours) {
  width: 52%;
  margin-right: 48%;
}

.page-nos-programmes .container > .row > .col:has(> .img-cours.float-md-start) > .img-cours {
  left: 0;
}

.page-nos-programmes .container > .row > .col:has(> .img-cours.float-md-start) > :not(.img-cours) {
  width: 52%;
  margin-left: 48%;
}

.page-nos-programmes .container > .row + .row {
  margin-top: 7rem !important;
}

.page-nos-programmes .container > .row > .col > .btn {
  display: flex;
  width: fit-content !important;
  margin-left: 0 !important;
}

.page-nos-programmes .container > .row > .col:has(> .img-cours.float-md-start) > .btn {
  margin-left: 48% !important;
}

.container-fluid.row,
.container.row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.nous-contacter .map iframe,
.contact-form,
.reservation-iframe {
  display: block;
  max-width: 100%;
}

.cours-essai-gratuit-container,
.contact-form {
  min-height: 420px;
}

.widget-fallback {
  display: none;
  margin: 1.5rem auto;
  padding: 1rem;
  max-width: 42rem;
  text-align: center;
  border: 1px solid #dee2e6;
  background: #f8f9fa;
}

.widget-fallback.is-visible {
  display: block;
}

/* NOTRE MISSION */

/* NOS PROGRAMMES */


  @media (max-width: 1400px) {
    .instructeurs .description-instructeur h2 {
      font-size: 1.5rem;
    }

    .instructeurs .description-instructeur p {
      font-size: 0.9rem;
    }

    .nous-contacter .map {
      width: 500px;
      height: 300px;
    }

    .nous-contacter .map iframe {
      width: inherit;
      height: inherit;
    }
  }

  @media (max-width: 768px) {
    .page-horaire .horaire-container {
      width: 100%;
    }

    .instructeurs .img-container {
      height: auto;
      aspect-ratio: 4 / 3;
    }

    .nous-contacter .map {
      width: 400px;
      height: 250px;
      margin: auto;
    }

    .nous-contacter .map iframe {
      width: inherit;
      height: inherit;
    }
  }

  @media (min-width: 769px) and (max-width: 991px) {
    .instructeurs .img-container {
      height: auto;
      aspect-ratio: 4 / 3;
    }
  }

  @media (max-width: 991px) {
    .page-nos-programmes .container > .row > .col {
      min-height: 0;
    }

    .page-nos-programmes .img-cours {
      position: static;
      float: none !important;
      width: 100%;
      max-width: none;
      height: auto;
      object-fit: initial;
      margin: 0 0 1rem;
    }

    .page-nos-programmes .container > .row > .col > :not(.img-cours) {
      width: auto !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    .page-nos-programmes .container > .row > .col {
      text-align: justify;
    }

    .page-nos-programmes .container > .row > .col h2,
    .page-nos-programmes .container > .row > .col h3,
    .page-nos-programmes .container > .row > .col > .btn {
      text-align: center;
    }

    .page-nos-programmes .container > .row > .col > .btn {
      width: fit-content !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }

    .page-nos-programmes .container > .row > .col:has(> .img-cours.float-md-start) > .btn {
      margin-left: auto !important;
    }
  }

  @media (max-width: 576px) {
    /* .nos-programmes .card {
      width: 14rem;
    } */

    .nous-contacter .map {
      width: 300px;
      height: 200px;
      margin: auto;
    }

    .nous-contacter .map iframe {
      width: inherit;
      height: inherit;
    }

    .page-nos-programmes .img-cours {
      float: none !important;
      width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .index header video {
      display: none;
    }
  }
