/* 
By walid_azouaou@gmail.com
 */

.navbar-fixed-top {
  top: auto;
}
#mobiriseBanner.container-banner {
  height: 11rem;
  opacity: 1;
  -webkit-animation: 4s linear animationHeight;
  -moz-animation: 4s linear animationHeight;
  -o-animation: 4s linear animationHeight;
  animation: 4s linear animationHeight;
  transition: all 0.5s;
}
#mobiriseBanner.container-banner.container-banner-closing {
  pointer-events: none;
  height: 0;
  opacity: 0;
  -webkit-animation: 0.5s linear animationClosing;
  -moz-animation: 0.5s linear animationClosing;
  -o-animation: 0.5s linear animationClosing;
  animation: 0.5s linear animationClosing;
}
/* La partie a supprimer auto message baner  */
#mobiriseBanner .banner {
  min-height: 11rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  /* background: #3fcd33; */
  padding: 10px;
  opacity: 1;
  -webkit-animation: 4s linear animationBanner;
  -moz-animation: 4s linear animationBanner;
  -o-animation: 4s linear animationBanner;
  animation: 4s linear animationBanner;
  z-index: 1031;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#mobiriseBanner .banner p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4; /* Nouveau standard (pour l’avenir) */
  text-overflow: ellipsis;
  animation: none;
  visibility: visible;
}

#mobiriseBanner .buy-license {
  text-decoration: underline;
}
#mobiriseBanner .banner .btn {
  margin: 0.3rem 0.5rem;
  animation: none;
  visibility: visible;
}
.navbar.opened {
  z-index: 1032;
}
@-webkit-keyframes animationBanner {
  0% {
    opacity: 0;
    top: -11rem;
  }
  75% {
    opacity: 0;
    top: -11rem;
  }
  100% {
    opacity: 1;
    top: 0;
  }
}
@-moz-keyframes animationBanner {
  0% {
    opacity: 0;
    top: -11rem;
  }
  75% {
    opacity: 0;
    top: -11rem;
  }
  100% {
    opacity: 1;
    top: 0;
  }
}
@-o-keyframes animationBanner {
  0% {
    opacity: 0;
    top: -11rem;
  }
  75% {
    opacity: 0;
    top: -11rem;
  }
  100% {
    opacity: 1;
    top: 0;
  }
}
@keyframes animationBanner {
  0% {
    opacity: 0;
    top: -11rem;
  }
  75% {
    opacity: 0;
    top: -11rem;
  }
  100% {
    opacity: 1;
    top: 0;
  }
}
@-webkit-keyframes animationHeight {
  0% {
    height: 0;
  }
  75% {
    height: 0;
  }
  100% {
    height: 11rem;
  }
}
@-moz-keyframes animationHeight {
  0% {
    height: 0;
  }
  75% {
    height: 0;
  }
  100% {
    height: 11rem;
  }
}
@-o-keyframes animationHeight {
  0% {
    height: 0;
  }
  75% {
    height: 0;
  }
  100% {
    height: 11rem;
  }
}
@keyframes animationHeight {
  0% {
    height: 0;
  }
  75% {
    height: 0;
  }
  100% {
    height: 11rem;
  }
}
@-webkit-keyframes animationClosing {
  0% {
    height: 11rem;
    opacity: 1;
  }
  30% {
    height: 11rem;
    opacity: 0.5;
  }
  100% {
    height: 0;
    opacity: 0;
  }
}
@-moz-keyframes animationClosing {
  0% {
    height: 11rem;
    opacity: 1;
  }
  30% {
    height: 11rem;
    opacity: 0.5;
  }
  100% {
    height: 0;
    opacity: 0;
  }
}
@-o-keyframes animationClosing {
  0% {
    height: 11rem;
    opacity: 1;
  }
  30% {
    height: 11rem;
    opacity: 0.5;
  }
  100% {
    height: 0;
    opacity: 0;
  }
}
@keyframes animationClosing {
  0% {
    height: 11rem;
    opacity: 1;
  }
  30% {
    height: 11rem;
    opacity: 0.5;
  }
  100% {
    height: 0;
    opacity: 0;
  }
}
@media (max-width: 767px) {
  #mobiriseBanner.container-banner {
    height: 12rem;
  }
  #mobiriseBanner .banner {
    min-height: 12rem;
  }
  @-webkit-keyframes animationBanner {
    0% {
      opacity: 0;
      top: -12rem;
    }
    75% {
      opacity: 0;
      top: -12rem;
    }
    100% {
      opacity: 1;
      top: 0;
    }
  }
  @-moz-keyframes animationBanner {
    0% {
      opacity: 0;
      top: -12rem;
    }
    75% {
      opacity: 0;
      top: -12rem;
    }
    100% {
      opacity: 1;
      top: 0;
    }
  }
  @-o-keyframes animationBanner {
    0% {
      opacity: 0;
      top: -12rem;
    }
    75% {
      opacity: 0;
      top: -12rem;
    }
    100% {
      opacity: 1;
      top: 0;
    }
  }
  @keyframes animationBanner {
    0% {
      opacity: 0;
      top: -12rem;
    }
    75% {
      opacity: 0;
      top: -12rem;
    }
    100% {
      opacity: 1;
      top: 0;
    }
  }
  @-webkit-keyframes animationHeight {
    0% {
      height: 0;
    }
    75% {
      height: 0;
    }
    100% {
      height: 12rem;
    }
  }
  @-moz-keyframes animationHeight {
    0% {
      height: 0;
    }
    75% {
      height: 0;
    }
    100% {
      height: 12rem;
    }
  }
  @-o-keyframes animationHeight {
    0% {
      height: 0;
    }
    75% {
      height: 0;
    }
    100% {
      height: 12rem;
    }
  }
  @keyframes animationHeight {
    0% {
      height: 0;
    }
    75% {
      height: 0;
    }
    100% {
      height: 12rem;
    }
  }
  @-webkit-keyframes animationClosing {
    0% {
      height: 12rem;
      opacity: 1;
    }
    30% {
      height: 12rem;
      opacity: 0.5;
    }
    100% {
      height: 0;
      opacity: 0;
    }
  }
  @-moz-keyframes animationClosing {
    0% {
      height: 12rem;
      opacity: 1;
    }
    30% {
      height: 12rem;
      opacity: 0.5;
    }
    100% {
      height: 0;
      opacity: 0;
    }
  }
  @-o-keyframes animationClosing {
    0% {
      height: 12rem;
      opacity: 1;
    }
    30% {
      height: 12rem;
      opacity: 0.5;
    }
    100% {
      height: 0;
      opacity: 0;
    }
  }
  @keyframes animationClosing {
    0% {
      height: 12rem;
      opacity: 1;
    }
    30% {
      height: 12rem;
      opacity: 0.5;
    }
    100% {
      height: 0;
      opacity: 0;
    }
  }
}
/*  <!-- Walid pour les image en surBirance --> */
/* Style de base pour le conteneur de l'image */
.image-container {
  display: inline-block;
  position: relative;
  /* cursor: pointer; */
}
h7 {
  font-size: 100%;
  font-weight: bold; /* en gras */
  text-decoration: underline; /* souligne */
  text-align: justify;
}

h8 {
  font-size: 100%;
  font-weight: bold; /* en gras */
}
h9 {
  font-size: 100%;
  font-weight: bold; /* en gras */
  text-decoration: underline; /* souligne */
}
/* Style de l'image 
        .image-container img {
            width: auto; /* Ajustez la largeur selon vos besoins
            height: auto;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        */
/* Effet au survol */
.image-container:hover,
.image-container:hover img,
.image-container a:hover {
  transform: scale(1.05); /* Zoom léger */
  /*  box-shadow: 0 8px 20px rgb(250, 2, 2); Ombre */
  border: none !important;
  outline: none !important;
}

/* aw debut image qui se retourbe */
/* CSS  */
/* body {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
      
      background-color: #24078f;
      font-family: Arial, sans-serif;
    } */

.flip-container {
  perspective: 1000px; /* Ajoute un effet 3D */
}

.flip-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d; /* Active l'effet 3D */
  transition: transform 0.8s; /* Durée de l'animation */
  cursor: pointer;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Cache le verso lorsqu'on est sur la face avant */
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0px solid #ccc;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
  background-color: white;
}

.flip-card-back {
  background-color: #c1c1c1;
  color: rgb(21, 20, 20);
  transform: rotateY(180deg); /* Retourne le verso à 180° */
}

.flip-card.flip {
  transform: rotateY(180deg); /* Retourne la carte lors du clic */
}

button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: #2e21e3;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

button:hover {
  background-color: #45a049;
}

/* aw debut image qui se retourbe */
.responsive-img {
  width: auto;
  height: 200px;
  object-fit: cover; /* Recadrage uniforme */
  max-width: 300px; /* Largeur maximale sur PC */
  max-height: 200px; /* Hauteur maximale sur PC */
  /* border-radius: 5px;  Coins arrondis */
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100vh; /* plein écran hauteur */
  overflow: hidden;
}

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

.video-overlay-text {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 0 1rem;
  max-width: 900px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.video-overlay-text h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.video-overlay-text p {
  font-size: 1.2rem;
}
.video-overlay-text {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.overlay-box {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 64, 255, 0.85); /* bleu transparent */
  padding: 40px 20px;
  border-radius: 15px;
  max-width: 800px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.overlay-box h1 {
  font-size: 2.8rem;
  font-weight: bold;
}

.overlay-box p {
  font-size: 1.25rem;
}
.left-blue-box {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;

  width: 50%; /* 50% sur grand écran */
  background-color: rgba(26, 45, 103, 0.53);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  overflow: hidden; /* empêche le débordement du texte */
}

.left-blue-box h1,
.left-blue-box p {
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
  font-size: 1.5rem;
}

.left-blue-box h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.left-blue-box a {
  color: #ffffff;
  text-decoration: underline;
}

/* RESPONSIVE : 100% largeur sur mobile */
@media (max-width: 768px) {
  .left-blue-box {
    width: 100%;
    padding: 30px 20px;
    text-align: center;
  }

  .left-blue-box h1 {
    font-size: 2rem;
  }

  .left-blue-box p {
    font-size: 1rem;
  }
}

/* AW pour pied de page */

.site-footer {
  background: #000000;
  color: #fff;
  padding: 10px 10px 5px;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  padding-top: 5px;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 10px;
}

.footer-column h5 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.social-link {
  display: inline-block;
  margin-bottom: 8px;
  color: #fff;
  text-decoration: none;
}

.social-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 5px;
  margin-top: 10px; /* facultatif : contrôle l'espacement général */
  text-align: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ✅ Responsive mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    text-align: center;
  }
  .cta-full-overlay {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }

  .cta-full-overlay h2 {
    max-width: 100%;
    margin-bottom: 15px;
  }
}
/* css partiehelp */

.cta-full-image {
  position: relative;
  background-image: url("../images/ContactUs.jpeg");
  background-size: cover;
  background-position: center;
  height: 150px;
  width: 100%;
}

.cta-full-overlay {
  position: absolute;
  top: 50;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 45, 103, 0.53); /* bleu transparent */
  color: white;
  display: flex;
  flex-direction: row; /* ✅ disposition en ligne */
  justify-content: space-between; /* ✅ texte à gauche, bouton à droite */
  align-items: center;
  padding: 0 40px;
  text-align: left;
}

.cta-full-overlay h2 {
  font-size: 1.8rem;
  margin: 0;
  max-width: 70%;
}

.btn-orange {
  background-color: orange;
  color: white;
  padding: 12px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-orange:hover {
  background-color: #e69500;
}

.image-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.image-container img {
  width: 100%;
  height: 250px;
  /* object-fit: cover;*/
  object-fit: fill; /*fill image étirée pour remplir complètement */
  display: block;
  transition: transform 0.3s ease;
}
.image-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: rgba(9, 210, 73, 0.4);
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  white-space: normal;
  border-radius: 0;
}
/* 
.image-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 🔥 le texte occupe toute la hauteur de l'image *
  background: rgba(0, 0, 0, 0.4); /* ✅ fond sombre semi-transparent *
  color: white;
  display: flex;
  align-items: center; /* centre verticalement *
  justify-content: center; /* centre horizontalement *
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  padding: 0 10px; /* un peu d’espace à gauche/droite *
} 
*/

.image-container:hover img {
  transform: scale(1.05);
}

/* 🌈 Style du sous-menu Produits */
.navbar .dropdown-menu {
  background-color: #1c1c1c; /* fond sombre élégant */
  border: none !important;
  border-top: none !important;
  box-shadow: none !important; /* si l’ombre en haut crée un effet de ligne */
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
  min-width: 200px;
}
.navbar .dropdown-toggle::after {
  display: none !important;
}
.navbar .dropdown-menu .dropdown-item {
  color: #f0f0f0;
  padding: 10px 20px;
  transition: background-color 0.3s ease, padding-left 0.2s ease;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #00a36c; /* vert personnalisé au survol */
  color: white;
  padding-left: 25px;
  border-left: 4px solid #fff; /* ← C'est cette ligne blanche qui s'affiche au survol */
  /* border-left: none;  ✅ plus de ligne */
}

/*Ajoute une transition d’apparition fluide--> */
.navbar .dropdown-menu {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease-in-out;
  display: block;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
}

.navbar .nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

/* 🌐 Style du menu principal (top nav) */
.navbar-nav .nav-link {
  color: #f0f0f0 !important; /* blanc ou gris clair */
  padding: 10px 15px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  position: relative;
}

/* ✅ Effet de survol - souligné animé 
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 15px;
  width: 0;
  height: 2px;
  background-color: #a30000;  /* vert personnalisé 
  transition: width 0.3s ease;
}
*/
.navbar-nav .nav-link:hover::after {
  width: 60%;
}

/* ✅ Survol - changement de couleur */
.navbar-nav .nav-link:hover {
  color: #00ffb3 !important; /* vert clair au hover */
}

/* ✅ Menu actif (optionnel pour page actuelle) */
.navbar-nav .nav-link.active {
  color: #00ffb3 !important;
  font-weight: bold;
}

/*bouton retour en haut */
#btnTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 99;
  background-color: #00a36c;
  color: white;
  border: none;
  outline: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  display: none; /* caché par défaut */
  transition: background-color 0.3s ease;
}

#btnTop:hover {
  background-color: #007b55;
}
body {
  padding-top: 90px; /* Ajuste selon la hauteur exacte de ta navbar */
}

.one-line-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 2.5rem;
}
@media (max-width: 768px) {
  .one-line-title {
    font-size: 1.5rem;
  }
}

.responsive-title {
  white-space: nowrap; /* ne jamais aller à la ligne */
  font-size: 2.5vw; /* taille fluide selon la largeur de l’écran */
  font-weight: bold;
  line-height: 1.2;
}

/* Taille minimum pour éviter que ça devienne illisible */
@media (max-width: 400px) {
  .responsive-title {
    font-size: 5vw;
  }
}
