/* HRO  */
#herocontent{
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  object-fit: cover;
  z-index: -2;
}
.hero-opaciti-hero{
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(0,0,0,0.6);
}
@media screen and (max-width: 753px) {

  .infoherocontent{
    padding-bottom: 200px;
    
  }
}
/* Carousel plein écran */
#carouselExampleDark {
    height: 100vh; /* Prend toute la hauteur de l'écran */
}

#carouselExampleDark .carousel-inner,
#carouselExampleDark .carousel-item,
#carouselExampleDark img {
    height: 100vh;
    object-fit: cover; /* Pour que l'image remplisse tout sans déformation */
    
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* overlay sombre */
    z-index: 1;
}
/* Centrage du texte */
.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: initial;
    z-index:2;
}

/* Texte plus visible */
.carousel-caption h5,
.carousel-caption p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    color: white;
}
.solu{
    background: #0056a6;
}
.warn{
    background: #F4A300;
}
.service-icon {
    background-color: #0E3253;
    color: #fff;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 2rem;
}


/* Boutons personnalisés du carrousel */
.carousel-button {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FF7F50;
    color: white;
    border: none;
    padding: 1px 19px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  }
  
  /* Boutons suivant/précédent */
  .carousel-button.next,
  .carousel-button.prev {
    position: relative;
    left: 20px;
    background-color: white;
    border: 1px solid #142f6a;
    color: #142f6a;
    padding: 10px 20px;
    border-radius: 50%;
    font-weight: 900;
    transition: background-color 0.3s, color 0.3s;
  }
  
  /* Hover des boutons */
  .carousel-button.next:hover,
  .carousel-button.prev:hover {
    background-color: #d7910b;;
    color: #f2e9d8;
    border-color: #d7910b;;
  }


  .carousel-container {
    display: flex;              /* met les items en ligne */
    flex-wrap: nowrap;          /* empêche le retour à la ligne */
    overflow-x: auto;           /* active le scroll horizontal */
    scroll-behavior: smooth;
  }
  
  .carou .carousel-item {
    flex: 0 0 auto;             /* largeur fixe, pas de rétrécissement */
    width: 250px;
    margin-right: 15px;
  }
  
  .carou .carousel-item h6 {
    white-space: normal;        /* permet au texte du titre de se couper normalement */
    word-wrap: break-word;
    font-size: 14px;
  }
  
/* Chaque item est en ligne */
.carou .carousel-item {
  display: inline-block;
  vertical-align: top;
  width: 250px;
  margin-right: 15px;
}

/* Corps de la carte un peu plus compact */
.carou .carousel-item .card-body {
  font-size: 13px;
}

/* Masquer la scrollbar */
.carousel-container::-webkit-scrollbar {
  display: none;
}
.carousel-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

 

.text-band{
  font-size: 15px;
}
.band-log{
  width:40px;
   height:auto;

}

.partenaire-box {
  width: 200px; 
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.partenaire-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Style pour la scrollbar cachée */
.carousel-container::-webkit-scrollbar {
  display: none;
}
.carousel-container {
  -ms-overflow-style: none; /* Cache la scrollbar sur Internet Explorer et Edge */
  scrollbar-width: none; /* Cache la scrollbar sur Firefox */
}
/* fin defilement image des categories  */



/* NEWS LETTER PARTY  */
.image-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 40% 60% 70% 30% / 30% 40% 60% 70%; /* forme organique déformée */
    box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}
.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.image-wrapper:hover {
    transform: scale(1.05);
}
/* Ligne verticale centrale */
/* history */
.line {
    position: relative;
    width: 4px;
    background: #0056A6;
    min-height: 150px; /* hauteur entre les blocs */
  }
  
  /* Cercle sur la ligne */
  .line::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #0056A6;
    border-radius: 50%;
    z-index: 2;
  }
  
.timeline {
    position: relative;
    margin: 3rem auto;
    padding: 2rem 0;
    width: 90%;
    max-width: 1000px;
  }
  .timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #0056A6;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
  }
  .timeline-item {
    padding: 2rem;
    position: relative;
    width: 50%;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: #fff;
    border: 3px solid #b30000;
    top: 40px;
    border-radius: 50%;
    z-index: 1;
  }
 .text-history{
   color:black
 }
  /* Image hexagonale */
  .hex-img {
    width: 480px;
    height: 350px;
    background-size: cover;
    background-position: center;
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
    border: 4px solid #b30000;
    flex-shrink: 0;
  }
  @media screen and (max-width: 511px) {
     .hex-img{ background-color: red;
    width: 280px;
    
    height: 250px;
     }
     .hex-placment{
         justify-content: center !important;
     }
     .timeline::after{
         display: none;
     }
  }

  @media screen and (max-width: 768px) {
    .timeline::after {
      left: 20px;
    }
    .timeline-item {
      width: 100%;
      padding-left: 50px;
      padding-right: 25px;
      flex-direction: row !important;
    }
    .timeline-item.right {
      left: 0;
    }
    .timeline-item::after {
      left: 10px;
    }
    .btn-responsive {
        white-space: nowrap; /* empêche le texte de passer à la ligne */
        flex: 1 1 auto;      /* permet de rétrécir si nécessaire */
        font-size: 14px !important;
    }
    
    
  
  }
  .btn-responsive-primaryl,.btn-responsive-primaryl:hover{
    background:#0056A6; border-radius:4px !important;
    color:white
}
  .btn-responsive-warning,.btn-responsive-warning:hover{
    background:    #f9ac07;
        border-radius:4px !important;
        color:black;

  }
  .btn-responsive-primaryl:active {
  background: #004080 !important; /* une teinte plus foncée de bleu */
  color: white !important;
  border-color:#004080  ;

}

.btn-responsive-warning:active {
  background: #e69900 !important; /* une teinte plus foncée de orange */
  color: black !important;
  
}
.text-global-tech{
  color:#f9ac07;
}
.text-global,span{
  font-size: 1.1rem; 
  color: #000000;
  
}
.text-global , small{
  font-size: 0.85rem; 
  color: #555555;
}
.btn-responsive-primaryl,
.btn-responsive-warning {
  -webkit-tap-highlight-color: transparent; /* supprime le highlight bleu sur mobile */
  -webkit-user-select: none; /* évite la sélection de texte par erreur */
  user-select: none;
}
p.lead {
  max-width: 600px;     /* limite la largeur pour forcer un retour à la ligne */
  white-space: normal;  /* permet de couper le texte */
  word-wrap: break-word; /* si un mot est trop long, il sera coupé */
  margin: 0 auto;       /* centre le texte */
}



  #hist{
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #ffffff, #ffecec);
    color: #333;
    
  }
  /* CHOICE  */
  .choiceglobtech{
    color: #d7910b; 
  }
 /* end party */
 /* REALISA  */
 .project-image {
    height: 250px;        /* 🔹 fixe la hauteur souhaitée */
    width: 100%;          /* 🔹 prend toute la largeur du conteneur */
    object-fit: cover;    /* 🔹 coupe l'image si nécessaire sans déformation */
    object-position: center; /* 🔹 centre l'image */
}
.project-imaged{
    height: 375px;        /* 🔹 fixe la hauteur souhaitée */
    width: 100%;          /* 🔹 prend toute la largeur du conteneur */
    object-fit: cover;    /* 🔹 coupe l'image si nécessaire sans déformation */
    object-position: center; /* 🔹 centre l'image */
}
.project-imagesim{
  height: 250px; 
     width: 100%;
  object-fit: cover;
}
.service-img{
    height: 345px; 
     width: 100%;
  object-fit: cover;
}
 #chiffres-cles .card {
  transition: transform 0.3s, box-shadow 0.3s;
}
#chiffres-cles .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
#chiffres-cles h2 {
  font-size: 2.5rem;
}
/* team photo */

/* Section fond dégradé */
.team-section {
  color: black;
}

/* Photo ronde avec bordure branding */
.comment-photo-wrapper-comment {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: contain;        /* ne coupe plus l'image */
  background-color: #f0f0f0;  /* fond neutre derrière */
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-no-name{
    width:150px;
     height:150px; 
     font-size:36px;
}
.bg-comment-no-img{
    background: linear-gradient(135deg, #0056A6, #030e14);

  
}
.carousel-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #343a40;         /* fond sombre */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.btn-comment {
  position: relative;
  display: inline-block;
  padding: .5rem 1rem;
  border: 1px solid #004080;
  color: #004080;
  background: transparent;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 0; /* le texte sera au-dessus */
}

.btn-comment::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #004080;
  transition: left 0.3s ease;
  z-index: -1; /* passe sous le texte */
}

/* texte et icônes restent au-dessus automatiquement */
.btn-comment:hover::before {
  left: 0;
}

.btn-comment:hover {
  color: #fff; /* texte devient blanc */
}


/* @media (max-width: 350px) {
  .testi{
    max-width: 320px !important ;
  }
  } */
.carousel-nav-btn:hover {
  background: linear-gradient(135deg, #0056A6, #030e14);
  
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.carousel-nav-btn .carousel-control-prev-icon,
.carousel-nav-btn .carousel-control-next-icon {
  filter: invert(1);                 /* icônes blanches */
  width: 20px;
  height: 20px;
}
.background-comment{
background:#f8f9fa;
}

.team-photo-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 5px;
  
  background: linear-gradient(135deg, #0056b3, #f39c12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
      object-position: 50% 15%; /* centre plus haut ou plus bas */
}

/* Effet hover */
.team-photo-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(243, 156, 18, 0.8);
}

/* Bouton moderne */
.btn-team {
  background: linear-gradient(135deg, #0056b3, #f39c12);
  color: white;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.btn-team:hover {
  background: linear-gradient(135deg, #f39c12, #0056b3);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: black;
  color: #fff;
  padding: 10px 15px;
  border-radius: 50%;
  display: none; /* caché par défaut */
  z-index: 1000;
}
.back-to-top:hover {
  background: #333;
}
/* REALIS */
/* Animation fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}