/* Affiche le logo mobile et cache le logo desktop sur les appareils mobiles */
@media (max-width: 575px) {
  .desktop-logo {
      display: none !important;
  }
  .mobile-logo {
      display: block !important;
      width: 70% !important;
  }
}
/* Style pour le menu déroulant (Dropdown) */
.u-dropdown {
  position: relative; /* Pour positionner le sous-menu par rapport à l'élément parent */
}

.u-nav-dropdown {
  display: none; /* Masquer le menu déroulant par défaut */
  position: absolute;
  background-color: #fff; /* Fond blanc pour le sous-menu */
  min-width: 160px; /* Largeur minimale du menu déroulant */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Ombre autour du sous-menu */
  z-index: 100; /* S'assurer que le sous-menu reste au-dessus des autres éléments */
  padding: 0;
  margin: 0;
  list-style: none;
  border-radius: 8px; /* Coins arrondis */
}

.u-dropdown:hover .u-nav-dropdown {
  display: block; /* Afficher le sous-menu au survol de l'élément parent */
}

.u-nav-dropdown li {
  border-bottom: 1px solid #ddd; /* Ligne de séparation entre les éléments du sous-menu */
}

.u-nav-dropdown li:last-child {
  border-bottom: none; /* Enlever la ligne de séparation pour le dernier élément */
}

.u-nav-dropdown a {
  color: #333; /* Couleur du texte */
  padding: 10px 15px; /* Espacement interne */
  text-decoration: none;
  display: block; /* Pour que chaque élément occupe toute la largeur du sous-menu */
}

.u-nav-dropdown a:hover {
  background-color: #f0f0f0; /* Fond clair au survol */
  color: #0073e6; /* Couleur du texte au survol */
}

 .u-section-1 {
  background-position: 50% 50%, 50% 50%, 50% 50%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), linear-gradient(to bottom, rgba(71, 138, 201, 0.55), rgba(71, 138, 201, 0.55)), url('../images/graphic-designers-meeting4-min.jpg');
  background-size: cover, cover, cover;
}

.u-section-1 .u-sheet-1 {
  min-height: 802px;
}

.u-section-1 .u-layout-wrap-1 {
  margin-top: 216px;
  margin-bottom: 60px;
}

.u-section-1 .u-layout-cell-1 {
  min-height: 395px;
  --animation-custom_in-translate_x: -300px;
  --animation-custom_in-translate_y: 0px;
  --animation-custom_in-opacity: 0;
  --animation-custom_in-rotate: 0deg;
  --animation-custom_in-scale: 1;
}

.u-section-1 .u-container-layout-1 {
  padding: 0 30px 10px 0;
}

.u-section-1 .u-text-1 {
  --animation-custom_in-translate_x: -300px;
  --animation-custom_in-translate_y: 0px;
  --animation-custom_in-opacity: 0;
  --animation-custom_in-rotate: 0deg;
  --animation-custom_in-scale: 1;
  margin: 0;
}

.u-section-1 .u-layout-cell-2 {
  min-height: 236px;
  --animation-custom_in-translate_x: 300px;
  --animation-custom_in-translate_y: 0px;
  --animation-custom_in-opacity: 0;
  --animation-custom_in-rotate: 0deg;
  --animation-custom_in-scale: 1;
}

.u-section-1 .u-container-layout-2 {
  padding: 0 30px 30px 0;
}

.u-section-1 .u-text-2 {
  font-size: 1.5rem;
  margin: 0 auto 0 0;
  text-align: left;
}

.u-section-1 .u-layout-cell-3 {
  min-height: 159px;
  --animation-custom_in-translate_x: 0px;
  --animation-custom_in-translate_y: 0px;
  --animation-custom_in-opacity: 0;
  --animation-custom_in-rotate: 0deg;
  --animation-custom_in-scale: 0.3;
}

.u-section-1 .u-container-layout-3 {
  padding: 30px 0;
}

.u-section-1 .u-btn-1 {
  --radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  background-image: none;
  border-style: solid;
  margin: 11px auto 0 0;
  padding: 14px 53px 15px;
  }

.u-section-1 .u-btn-2 {
  --radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  background-image: none;
  border-style: solid;
  margin: -78px 0 1px auto;
  padding: 14px 33px 15px;
}

@media (max-width: 1199px) {
  .u-section-1 .u-sheet-1 {
    min-height: 521px;
  }

  .u-section-1 .u-layout-cell-1 {
    min-height: 270px;
  }

  .u-section-1 .u-layout-cell-2 {
    min-height: 139px;
  }

  .u-section-1 .u-layout-cell-3 {
    min-height: 131px;
  }
}

@media (max-width: 991px) {
  .u-section-1 .u-sheet-1 {
    min-height: 551px;
  }

  .u-section-1 .u-layout-cell-1 {
    min-height: 100px;
  }

  .u-section-1 .u-layout-cell-2 {
    min-height: 70px;
  }

  .u-section-1 .u-layout-cell-3 {
    min-height: 100px;
  }
}

@media (max-width: 767px) {
   .u-section-1 {
    background-position: 50% 50%, 25.71% 50%;
  }

  .u-section-1 .u-sheet-1 {
    min-height: 831px;
  }

  .u-section-1 .u-layout-wrap-1 {
    margin-top: 151px;
  }

  .u-section-1 .u-container-layout-1 {
    padding-right: 10px;
  }

  .u-section-1 .u-text-2 {
    font-size: 1rem;
    
  }
}
@media (max-width: 575px) {
  .u-section-1 .u-sheet-1 {
    min-height: 551px;
  }
  .u-section-1 .u-layout-wrap-1 {
    margin-top: 50px;
  }
  .u-section-1 .u-container-layout-1,
  .u-section-1 .u-container-layout-2 {
    padding: 0 10px;
    text-align: center;
  }
  .u-section-1 .u-text-1, .u-section-1 .u-text-2 {
    text-align: center;
  }
  .u-section-1 .u-btn-1, .u-section-1 .u-btn-2 {
    margin: 10px auto;
    width: 80%;
  }
}

.modal-dialog {
  margin: 1.75rem auto;
}

.modal-content {
  background-color: white;
  border-radius: 5px;
  padding: 20px;
}
.stages-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.carousel-section .carousel-inner .card {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb); /* Gradient doux */
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-section .carousel-inner .card:hover {
  transform: translateY(-5px); /* Effet de soulèvement */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.carousel-section .carousel-inner .card-body {
  background-color: rgba(255, 255, 255, 0.85); /* Fond légèrement transparent */
  border-radius: 8px;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%; /* Centrer verticalement */
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5); /*fond semi-transparent */
  border-radius: 50%;
}

.carousel-control-prev {
  left: -50px; /* Décale le bouton précédent à gauche */
}

.carousel-control-next {
  right: -50px; /* Décale le bouton suivant à droite */
}
#stagesCarousel, #articlesCarousel {
  position: relative;
}

.card {
  border: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  /* width: 20rem; */
  max-width: 100%;
  height: 100%;
  margin-bottom: 1.5rem;
  }
.card-title {
  color: #0073b1;
  font-size: 1.2rem;
  font-weight: bold;
}
.card-body {
  flex-grow: 1;
  }
    
.stage-btn, .article-button {
  background-color: #0073b1;
  color: white;
  font-weight: bold;
  /* margin-top: auto; */
  
}
.offer-btn:hover {
  background-color: #005a8c;
}
.btn-outline-secondary:hover {
  background-color: rgba(108, 117, 125, 0.7);
}
