body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 1s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%; /* Ajuste la largeur des images à 100% */
  height: 300px; /* Définit une hauteur fixe pour toutes les images */
  object-fit: cover; /* Garde les proportions de l'image tout en remplissant le conteneur */
}

/* Styliser l'image spécifique qui pose problème */
.problematic-slide img {
  /* Appliquer des styles spécifiques pour cette image */
  width: 100%; /* Ajuster la largeur des images à 100% */
  height: auto; /* Hauteur automatique pour conserver les proportions */
  object-fit: cover; /* Garde les proportions de l'image tout en remplissant le conteneur */
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white; /* Couleur du texte */
  z-index: 2; /* Assurez-vous que la légende est au-dessus des images */
}
.caption h2 {
  font-size: 4em;
  margin-bottom: 10px;
  font-style: italic;
  font-family: sans-serif;
  color: #320352;
  font-weight: bolder;
}
.caption p {
  font-size: 2.5em;
  font-family: sans-serif;
}

/* Styles pour le version mobile (responsive) */
@media (max-width: 768px) {
  .caption {
    width: 80%;
  }
  .caption h2 {
    font-size: 1.5em;
  }
  .caption p {
    font-size: 1em;
  }
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  text-decoration: none; /* Supprime le soulignement du lien */
  display: flex; /* Utilise la propriété flex pour aligner correctement le texte et l'image */
  align-items: center; /* Centre les éléments verticalement */
}

.logo-img {
  width: 90px;
  height: 120px;
  margin-right: 10px;
}
.logo h1 {
  font-size: 24px;
  margin-left: 10px;
  color: #5f0166;
  font-family: sans-serif;
}

.menu-toggle {
  font-size: 24px;
  cursor: pointer;
  display: none;
}

.nav-links {
  list-style-type: none;
  display: flex;
}

.nav-links li {
  margin-right: 20px;
}

.nav-links a {
  text-decoration: none;
  color: rgb(75, 6, 102);
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: rgb(23, 188, 230);
}

.section {
  padding: 50px 0;
  text-align: center;
}

.content {
  max-width: 800px;
  margin: 0 auto;
}

.about,
.services {
  background-color: #f4f4f4;
}

.service-item {
  margin: 20px;
}

/* Ajoutez des styles supplémentaires selon vos préférences */

/* Styles pour la version mobile (responsive) */
@media (max-width: 768px) {
  .logo h1 {
    font-size: 18px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #333;
    text-align: center;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li {
    margin: 10px 0;
  }
  .menu-toggle {
    display: block;
  }
  .banner {
    padding: 30px 0;
  }
  /* Ajoutez d'autres styles responsives selon vos besoins */
}

/* ------------------------------------------------Styles pour la section Actualités ------------------------------------------------------------------------*/
.news-section {
  background-color: #fff;
  padding: 50px 0;
  text-align: center;
}

.section-title {
  margin-bottom: 40px;
}

.news-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.news-column {
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 7s forwards infinite;
  transition: transform 0.3s ease-out;
}

.news-column h3 {
  font-family: sans-serif;
  color: #530480a9;
  font-style: italic;
}

.news-column p {
  font-family: sans-serif;
  color: #000000;
}

.news-icon {
  font-size: 48px;
  color: #333;
  margin-bottom: 20px;
  transition: color 0.3s ease-out; /* Ajout d'une transition pour le changement de couleur */
}

.news-column:hover .news-icon {
  color: #ff7f50; /* Changer la couleur lors du survol */
}

.news-column:hover {
  transform: translateY(-10px);
}

/* Ajout d'animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------Styles pour la section Qui Sommes Nous --------------------------------------------------------------------*/

.about-us-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.about-us-content {
  max-width: 600px;
}

.about-us-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-family: sans-serif;
}

.about-us-content p {
  font-size: 18px;
  margin-bottom: 30px;
  font-family: sans-serif;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  text-decoration: none;
  color: #fff;
  background-color: #333;
  border-radius: 5px;
}

/* Pour les écrans de petite taille, ajustez le style */
@media screen and (max-width: 768px) {
  .about-us-section {
    padding: 60px 0;
  }

  .about-us-content {
    max-width: 100%;
  }

  .about-us-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .about-us-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 16px;
  }
}
/*----------------------------------------------------------------------------Style pour la section carrière --------------------------------------------------------------*/

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.columns-c-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.column-c {
  flex: 0 0 calc(33.33% - 20px);
  margin-bottom: 20px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  max-height: 380px; /* Hauteur maximale pour chaque colonne */
  overflow: hidden; /* Cacher le débordement du contenu */
}

.column-c img {
  width: 100%;
  height: 200px; /* Hauteur souhaitée pour toutes les images */
  object-fit: cover;
  margin-bottom: 10px;
  border-top: 3px solid #007bff; /* Bordure bleue en haut des images */
}

.column-c h3 {
  font-size: 24px;
  margin-top: 10px;
  overflow: hidden; /* Cacher le débordement du texte */
  text-overflow: ellipsis; /* Afficher des points de suspension pour le texte dépassant */
  white-space: nowrap; /* Empêcher le texte de passer à la ligne */
}

.column-c p {
  font-size: 16px;
  color: #555;
  margin-top: 5px;
  overflow: hidden; /* Cacher le débordement du texte */
  text-overflow: ellipsis; /* Afficher des points de suspension pour le texte dépassant */
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Limiter le nombre de lignes à afficher */
  -webkit-box-orient: vertical;
}

.button {
  display: inline-block;
  padding: 8px 16px;
  text-decoration: none;
  color: #3498db; /* Couleur du texte */
  border: 2px solid #3498db; /* Bordure */
  border-radius: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
  align-self: center; /* Centrer le bouton */
}

.button:hover {
  color: #2980b9; /* Couleur du texte au survol */
  border-color: #2980b9; /* Bordure au survol */
}

.button span {
  margin-left: 5px; /* Espacement entre le texte et la flèche */
}

/* Media Queries pour la responsivité */
@media screen and (max-width: 768px) {
  .column-c {
    flex: 0 0 calc(50% - 20px);
  }
}

@media screen and (max-width: 480px) {
  .column-c {
    flex: 0 0 100%;
  }
}
/*----------------------------------------------------------------------------Style pour d'autres sections --------------------------------------------------------------*/
/*----------------------------------------------------------------------------Style pour d'autres sections --------------------------------------------------------------*/

.expectations-section {
  position: relative;
  background-color: #16d9f2;
  padding: 50px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 30px;
}

.section-title {
  margin: -30px;
  color: #fff; /* Couleur du texte pour le titre */
}

.section-header {
  position: absolute;
  top: 50px; /* Ajustez la valeur pour positionner le titre verticalement */
  left: 50%;
  transform: translateX(-50%);
}

.expectations-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.expectations-column {
  width: calc(25% - 20px);
  margin: 10px;
  padding: 20px;
  background: none;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}

.expectations-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.expectations-column i {
  font-size: 36px;
  margin-bottom: 15px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.expectations-column i:hover {
  color: #ff8c00;
}

.expectations-column h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #520480;
}

a {
  text-decoration: none;
  color: inherit; /* Garantit la couleur par défaut du texte */
}

/* -------------------------------------------------------------Styles pour la section Votre Avenir Avec Nous -----------------------------------------------------------*/

.future-section {
  position: relative;
  background-image: url("image/YVANN.PNG"); /* Ajoutez le chemin de votre image */
  background-size: cover;
  background-position: center;
  padding: 100px 0; /* Ajustez le padding selon votre besoin */
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 30px;
}

.section-title {
  margin: -20px;
  color: #fff; /* Couleur du texte pour le titre */
}

.section-header {
  position: absolute;
  top: 50px; /* Ajustez la valeur pour positionner le titre verticalement */
  left: 50%;
  transform: translateX(-50%);
}

.future-boxes {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
}

.future-box {
  width: 250px; /* Largeur des boxes */
  height: 300px; /* Hauteur des boxes */
  padding: 20px;
  border-radius: 10px;
  background-color: #38dfeb; /* Couleur de fond des boxes */
  overflow: hidden;
  margin-bottom: 80px; /* Espacement vertical entre les boxes */
  margin-right: 20px; /* Espacement horizontal entre les boxes */
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.future-box:hover {
  background-color: rgba(150, 150, 150, 0.9); /* Nouvelle couleur au survol */
  cursor: pointer; /* Changement du curseur au survol */
}

.future-box:last-child {
  margin-right: 0; /* Supprime l'espacement à droite pour le dernier élément */
}

.future-box i {
  font-size: 48px;
  margin-bottom: 15px;
  color: #333;
}

.future-box h3 {
  font-size: 20px;
  color: #fff;
  margin: 0;
  font-family: sans-serif;
}
.future-box h6 {
  font-size: 20px;
  color: #fff;
  margin: 0;
  font-family: sans-serif;
  text-align: justify;
  letter-spacing: -0.5px;
}
.future-box p {
  font-size: 20px;
  color: #fff;
  margin: 0;
  font-family: sans-serif;
  text-align: justify;
  letter-spacing: -0.3px;
}

.future-box:hover {
  transform: translateY(10px);
}

.services-section-y {
  text-align: center;
  padding: 60px 0;
  background-color: #f9f9f9;
}

.services-section-y h2 {
  font-size: 36px;
  margin-bottom: 30px;
  color: #333;
}

.services-section-y p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.services-container-y {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 30px; /* Ajout de marge en bas */
  animation: fadeInUp 1s ease forwards;
}

.service-y {
  width: 300px;
  height: 300px; /* Définir une hauteur pour maintenir la taille des images */
  padding: 30px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 8px;
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Animation pour l'apparition des colonnes de service */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

/* Animation pour l'effet de zoom sur les colonnes de service */
@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.service-y:hover {
  transform: translateY(-5px);
}

.service- h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.service-y p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

/* Animation pour le bouton Explorez */
.explore-btn-y {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  background-color: #3498db;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.explore-btn-y:hover {
  background-color: #2980b9;
}

/* --------------------------------------------------------Styles pour la section Envie de Nous Rejoindre----------------------------------------------------------------- */
.join-us-section {
  background-color: #04ba86; /* Ajoutez le chemin de votre image */
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 100px 0; /* Ajustez le padding selon votre besoin */
  color: #fff; /* Couleur du texte */
}

.join-us-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  margin-bottom: 30px;
}

.columns {
  display: flex;
  justify-content: center;
}

.column {
  width: 45%; /* Largeur des colonnes */
  margin: 0 10px;
}

.column a {
  text-decoration: none;
  color: #fff;
}

.column h1 {
  font-size: 18px;
}

.number {
  font-size: 48px;
  border: 2px solid #fff; /* Bordure du numéro */
  border-radius: 50%; /* Pour former un cercle */
  width: 80px;
  height: 80px;
  line-height: 80px;
  margin: 0 auto 20px; /* Marge en bas */
}

/* ------------------------------------------------------------Styles pour la section Les Étapes du Recrutement ---------------------------------------------------------*/
.recruitment-steps-section {
  background-color: #ffffff; /* Couleur blanche */
  text-align: center;
  padding: 80px 0; /* Ajustez le padding selon votre besoin */
  color: #000000; /* Couleur du texte */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 30px;
}

.section-title {
  margin: -45px;
  color: #fff; /* Couleur du texte pour le titre */
}

.section-header {
  position: absolute;
  top: 50px; /* Ajustez la valeur pour positionner le titre verticalement */
  left: 50%;
  transform: translateX(-50%);
}
.columns {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 30px;
}

.column {
  width: 30%; /* Largeur des colonnes */
  margin-bottom: 30px;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
  animation: columnAnimation 1s infinite alternate;
}

/* Animation */
@keyframes columnAnimation {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

.column:hover {
  color: #ffa500; /* Couleur orange, modifiable selon vos préférences */
  transform: scale(1.1); /* Agrandissement au survol */
}

.column i {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.column h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.column p {
  font-size: 16px;
  text-transform: uppercase;
  text-align: justify;
  letter-spacing: -0.5px;
}

/* --------------------------------------------------------------------Styles pour la section d'intégration---------------------------------------------------------------- */
.integration-section {
  position: relative;
  text-align: center;
  color: #ffffff; /* Couleur du texte */
  padding: 20px 0; /* Ajustez le padding selon vos préférences */
}

.background-image {
  background-image: url("image/elip.jpg"); /* Remplacez par le chemin de votre image */
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.6
  ); /* Couleur d'overlay pour assombrir l'image */
  z-index: -1;
}

.container {
  position: relative;
  z-index: 2;
}

.section-header {
  margin-bottom: 30px;
}

.section-title {
  margin: -45px;
  color: #fff; /* Couleur du texte pour le titre */
}

.section-header {
  position: absolute;
  top: 50px; /* Ajustez la valeur pour positionner le titre verticalement */
  left: 50%;
  transform: translateX(-50%);
}

.section-description {
  margin-bottom: 40px;
}

.columns {
  display: flex;
  justify-content: space-around;
}

.column {
  width: 30%; /* Largeur des colonnes */
}

.column i {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.column h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.column p {
  font-size: 16px;
}
/* --------------------------------------------------------------------Styles pour la section de footer---------------------------------------------------------------- */
.site-footer {
  background-image: url("image/image.jpeg");
  background-size: cover;
  color: #fff;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.footer-column {
  width: 25%;
  padding: 0 15px;
  box-sizing: border-box;
}

.footer-column h3 {
  font-size: 18px;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}

.footer-column p,
.footer-column ul {
  margin-top: 15px;
}

.social-links {
  display: flex;
  flex-direction: column; /* Alignement vertical */
}

.social-links li {
  margin-bottom: 10px; /* Espacement entre chaque icône */
}

.bottom-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.contact-info {
  font-size: 16px;
  line-height: 1.6;
}

.contact-info h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.contact-info address {
  margin-bottom: 15px;
}

.contact-info i {
  margin-right: 5px;
}

.contact-info a {
  color: #fff;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #30038a;
}

.contact-info p {
  transition: transform 0.3s ease;
}

.contact-info p:hover {
  transform: scale(1.1);
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column ul li a:hover {
  color: #30038a;
  transform: translateX(5px);
}

.footer-column {
  opacity: 0;
  animation: fadeInFooterColumn 1s ease forwards;
}

@keyframes fadeInFooterColumn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pour les écrans de taille moyenne (tablettes, etc.) */
@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    padding: 0; /* Ajustement du padding pour la version tablette */
  }
}

/* Pour les écrans de petite taille (smartphones, etc.) */
@media screen and (max-width: 480px) {
  .footer-column {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    padding: 0; /* Ajustement du padding pour la version smartphone */
  }
}

.scroll-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 50%;
  font-size: 24px; /* Taille de la flèche */
  transition: background-color 0.3s ease;
  z-index: 9999; /* Assurez-vous que la flèche est au-dessus des autres éléments */
}

.scroll-to-top:hover {
  background-color: #2980b9;
}

/* Pour ajouter un peu de style à la flèche */
.scroll-to-top::before {
  content: "";
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 6px;
  transform: rotate(-135deg);
}

.services-section {
  text-align: center;
  padding: 60px 0;
}

.services-section h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.services-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.service {
  width: 300px;
  padding: 30px;
  box-sizing: border-box;
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.service h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.service p {
  font-size: 16px;
  color: #666;
}

.service-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #3498db;
}
