.imgBan {
  width: 100%; 
  height: 100%;
  object-fit: cover;
}

.infoBan {
  background-color: rgba(0, 98, 255, 0.4)
  
}
.infoBan {
  max-width: 100%; /* Évite le débordement */
  overflow: hidden; /* Cache le contenu qui dépasse */
}

.infoBanText {
  font-size: min(2vw, 14px); /* S'adapte à la taille de l'écran sans être trop petit */
  white-space: normal; /* Permet le retour à la ligne */
  word-break: break-word; /* Évite que le texte dépasse */
  text-align: center; /* Centre le texte */
}

@media screen and (min-width: 768px) {
  .infoBan {
    position: absolute;
    top: 0%;
    left: 0%;
  }
}

/* start service */
.card {
  margin: auto;
  background-color: transparent;
}

.card-img-top {
  overflow: hidden;
}


@media screen and (max-width: 767px) {
  .card {
    width: 84vw;
  }
  
  .card-img-top {
    height: 26vw;
  }
  
  .imgService {
    width: 25%;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px){
  .card {
    width: 300px;
  }
  
  .card-img-top {
    height: 130px;
  }
  
  .imgService {
    width: 40%;
  }
}

@media screen and (min-width: 992px) {
  .card {
    width: 219px;
  }
  
  .card-img-top {
    height: 120px; 
  }
  
  .imgService {
    width: 50%;
  }
}

.imgService {
  display: block;
  margin: auto;
  text-align: center;
  cursor: pointer;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}

.card-img-top:hover .imgService {
  -ms-transform: scale(1.3);
  -moz-transform: scale(1.3);
  -webkit-transform: scale(1.3);
  -o-transform: scale(1.3);
  transform: scale(1.3);
  
}

.card-title {
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  color: #000;
}

.card-text {
  font-size: 0.8em;
}
/* end service */


/* start comment */
.textComment {
  font-size: 0.9em;
}

.modal-content {
  width: 90vw;
  background-color: transparent;
}

.bi-x-lg {
  color: red;
  width: 25px;
  height: 25px;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}

.bi-x-lg:hover {
  -ms-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

.modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  background-color: #f5f5f5;
}

.modal {  
  background-color: rgba(0, 0, 0, 0.75);
}

.carousel-control-prev, .carousel-control-next {
  width: 50px;
}

.linkFormTerms {
  text-decoration: none;
  text-decoration: underline;
  color: black;
  font-weight: 500;
}

.linkFormTerms:hover {
  color: #5aafdd;
}

.cursor-pointer {
  cursor: pointer;
}
/* end comment */