body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f2f5;
}

header {
  background-color: #004080;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 50px;
  width: auto;
}

h1{
  text-align: center;
}

.formation h2{
  font-size: 2rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(to right, #e0e0e0, #ffffff);
}

.formation{
  max-width: 100%;
  margin: 0;
  padding: 0;
  align-content: center;
  background: linear-gradient(to bottom, #04ccff, #b3a3aa);
}

.category-list{
  display: flex;
  justify-content: space-between;
  padding-left: 2rem;
  padding-right: 2rem;
}

.category{
  background: linear-gradient(to right, #e0e0e0, #ffffff);
  padding: 2rem;
}

ul{
  list-style-type: none;
  padding: 0;
}

.inscription {
  background-color: #ffffff;
  padding: 1rem;
  margin: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.btn {
  display: block;
  margin: 20px;
  padding: 10px 20px;
  background-color: #004080;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #00264d;
  color: white;
  margin-top: 2rem;
}

.login-section {
  max-width: 400px;
  margin: 2rem auto;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-form label {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-weight: bold;
}

.login-form input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-form select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.dashboard {
  padding: 2rem;
  text-align: center;
}

.dashboard-content {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 300px;
  text-align: center;
}

#ph{
  width: 95%;
  align-content: center;
  margin-top: 1rem;
  padding: 0.5rem;
}

.card img{
  width: 15%;
}

.video-container {
      position: relative;
      width: 100%;
      padding-bottom: 56.25%; /* Ratio 16:9 */
      height: 0;
      overflow: hidden;
    }

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

  .whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
  }

  .whatsapp-button:hover {
    background-color: #1ebe57;
  }

  .temoi{
    text-align: justify;
  }

  .contact-container {
      max-width: 800px;
      margin: 50px auto;
      padding: 20px;
      background: white;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

  .contact-container h2 {
      text-align: center;
      margin-bottom: 30px;
    }

    .contact-methods {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      gap: 20px;
    }

    .contact-card {
      flex: 1 1 180px;
      background: #eaf4ff;
      padding: 15px;
      text-align: center;
      border-radius: 8px;
      transition: transform 0.2s;
    }

    .contact-card:hover {
      transform: scale(1.05);
      background: #d4ebff;
    }

    .contact-card i {
      font-size: 2rem;
      margin-bottom: 10px;
      color: #007bff;
    }

    .contact-card a {
      text-decoration: none;
      color: inherit;
      font-weight: bold;
    }

    .photos{
      background-color: skyblue;
    }

/* Témoignage */

.carte {
  display: flex;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  overflow: hidden;
  flex-wrap: wrap;
  margin: 0.5rem;
}

.photo {
  flex: 1;
  min-width: 280px;
  background-size: cover;
  background-position: center;
  height: 100%;
  min-height: 505px;
}

.texte {
  flex: 2;
  padding: 2rem;
}

.texte h3 {
  color: #005baa;
  margin-bottom: 1rem;
}

.signature {
  font-weight: bold;
  color: #0077cc;
  margin-top: 1rem;
}

mark{
  background-color: #005baa;
  color: white;
  padding: 0.2rem;
}

strong, b{
  color: #005baa;
}

.temoignage h2{
  text-align: center;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #004080;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #333;
  z-index: 1000;
}

.bottom-nav .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 11px;
  transition: color 0.2s;
}

.bottom-nav .nav-link:hover {
  color: #1db954; /* vert Spotify-like au survol */
}

.bottom-nav .material-icons {
  font-size: 24px;
  margin-bottom: 2px;
}

/*Styles responsives*/
@media(max-width: 600px){
  body{
    padding-bottom: 4rem;
  }

  .formation{
  }

  .formation h2{
    font-size: 20px;
  }

  .category-list{
    justify-content: center;
  }

  .category{
    margin-right: 0.5rem;
    padding: 0.2rem;
  }

  .card img{
    width: 45%;
  }

   .whatsapp-button {
    font-size: 14px;
    padding: 10px 15px;
    right: 10px;
    bottom: 10px;
  }

  .contact-methods {
    display: flex;
    align-items: center;
  }

  .carte {
    flex-direction: column;
  }

  .photo {
    height: 250px;
  }

  footer, .top-nav{
    display: none;
  }
}

/* Afficher sur écran large uniquement */
@media (min-width: 768px) {
  .bottom-nav{
    display: none;
  }
}