.bg-dark-blue {
    background-color: #003366 !important; /* Bleu marin */
}

.border-dark-blue{
    border-color: #003366 !important;
}

.footer {
    background-color: #003366 !important; /* Bleu marin */
    color: #ffffff;
}

footer a {
    color: #ffffff !important;
    text-decoration: none;
}

.card-body div.shadow-sm a, .card-body div.shadow-sm p {
    text-decoration: none !important;
    font-weight: bold;
    text-align: justify;

    --bs-text-opacity: 1;
    color: rgba(0, 0, 0, 0.5) !important;
}

/* Container to hold the marquee */
.logo-container {
    width: 100%;              /* Full width */
    overflow: hidden;          /* Hide overflowing content */
    position: relative;        /* Set the position to relative */
    padding: 10px 0;           /* Optional padding */
  }

  /* Marquee with the logos */
  .logo-marquee {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    animation: reverse-scroll 50s linear infinite;
  }

  /* Individual logos */
  .client-logo {
    height: 100px;              /* Adjust the size of the logos */
    margin: 0 15px;            /* Space between the logos */
  }

  /* Keyframes for reverse infinite scrolling */
  @keyframes reverse-scroll {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  div a.btn-outline-dark:hover {
    background-color: #003366 !important;
    border-color: #003366 !important;
  }

  div a.btn-outline-dark {
    /* border-color: #003366 !important; */
  }

  .client-logos {
    display: flex;
    justify-content: center; /* Center logos horizontally */
    align-items: center; /* Center logos vertically */
    gap: 20px; /* Space between logos */
    padding: 20px; /* Add padding around the container */
    background-color: #f8f9fa; /* Light background for contrast */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.client-logo {
    max-width: 150px; /* Set a max width for logos */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.2s; /* Animation for hover effect */
}

.client-logo:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}


.nav {
    list-style-type: none;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #343a40; /* Couleur par défaut */
    text-decoration: none;
}

.nav-link:hover {
    background-color: #f8f9fa; /* Couleur de survol */
    color: #007bff; /* Couleur de texte sur survol */
}

.nav-icon {
    margin-right: 10px; /* Espace entre l'icône et le texte */
}

.separator {
    height: 1px;
    margin: 10px 0;
    background-color: #dee2e6; /* Couleur du séparateur */
    width: 100%;
}

.nav-treeview {
    padding-left: 20px; /* Indentation pour les sous-menus */
}

.nav-treeview .nav-item {
    margin: 5px 0; /* Espacement entre les sous-menus */
}

.nav-treeview .nav-link {
    font-size: 0.9em; /* Taille de texte pour les sous-menus */
    color: #6c757d; /* Couleur de texte des sous-menus */
}

.nav-treeview .nav-link:hover {
    color: #0056b3; /* Couleur de survol des sous-menus */
}

 /* Style pour le conteneur du popover avec effet de superposition */
 .popover {
    max-width: 400px;
    /* Taille maximale du popover */
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    /* Fond blanc légèrement transparent */
    border: 2px solid #003366;
    /* Contour sombre */
    border-radius: 10px;
    /* Coins arrondis */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    /* Ombre plus profonde et étendue pour l'effet de flottement */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    /* Transition fluide pour l'apparition */
    transform: translateY(10px);
    /* Décalage initial pour l'effet de flottement */
}

/* Style pour l'en-tête du popover */
.popover-header {
    background-color: #003366;
    /* Fond sombre */
    color: #fff;
    /* Texte blanc */
    border-bottom: 2px solid #003366;
    /* Séparation avec le corps du popover */
    font-weight: bold;
    /* Texte en gras */
    padding: 10px;
    /* Espacement propre */
    border-radius: 10px 10px 0 0;
    /* Coins supérieurs arrondis */
    font-size: 18px;
    /* Agrandir la police de l'en-tête */
    line-height: 1.5;
    /* Interligne de l'en-tête */
}

/* Style pour le corps du popover */
.popover-body {
    text-align: justify; /* Justifie le texte */
    line-height: 1.5; /* Ajuste l'interligne */
    font-size: 1.2em; /* Ajuste la taille de la police */
    padding: 15px;
    /* Espacement interne */
    color: #333;
    /* Couleur du texte */
    background-color: rgba(248, 249, 250, 0.95);
    /* Fond légèrement transparent */
    border-radius: 0 0 10px 10px;
    /* Coins inférieurs arrondis */
    font-size: 16px;
    /* Agrandir la police du corps du texte */
    line-height: 1.6;
    /* Interligne plus spacieux */
}

.lead {
    text-align: justify;         /* Justifie le texte */
    line-height: 1.5;           /* Interligne de 1.5 */
    font-size: 1.25rem;          /* Agrandit la police (ajustez la taille selon vos besoins) */
}
.nav-link.active {
    color: white; /* Changer la couleur de l'élément actif */
    font-weight: bold; /* Mettre le texte en gras */
    background-color: #003366;

}
.nav-link.active {
    color: white !important; /* Force la couleur blanche */
}


/*From style */


#mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 700;
  }
  #mainNav .navbar-brand {
    color: #fff;
  }
  #mainNav .navbar-nav {
    margin-top: 1rem;
  }
  #mainNav .navbar-nav li.nav-item a.nav-link {
    color: #fff;
  }
  #mainNav .navbar-nav li.nav-item a.nav-link:hover {
    color: #1abc9c;
  }
  #mainNav .navbar-nav li.nav-item a.nav-link:active, #mainNav .navbar-nav li.nav-item a.nav-link:focus {
    color: #fff;
  }
  #mainNav .navbar-nav li.nav-item a.nav-link.active {
    color: #1abc9c;
  }
  #mainNav .navbar-toggler {
    font-size: 80%;
    padding: 0.8rem;
  }

  @media (min-width: 992px) {
    #mainNav {
      padding-top: 1.5rem;
      padding-bottom: 1.5rem;
      transition: padding-top 0.3s, padding-bottom 0.3s;
    }
    #mainNav .navbar-brand {
      font-size: 1.75em;
      transition: font-size 0.3s;
    }
    #mainNav .navbar-nav {
      margin-top: 0;
    }
    #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
      color: #fff;
      background: #1abc9c;
    }
    #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
      color: #fff;
      background: #1abc9c;
    }
    #mainNav.navbar-shrink {
      padding-top: 0.5rem;
      padding-bottom: 0.5rem;
    }
    #mainNav.navbar-shrink .navbar-brand {
      font-size: 1.5em;
    }
}


.page-section {
    padding: 6rem 0;
  }
  .page-section .page-section-heading {
    font-size: 2.25rem;
    line-height: 2rem;
  }
  @media (min-width: 992px) {
    .page-section .page-section-heading {
      font-size: 3rem;
      line-height: 2.5rem;
    }
  }


.divider-custom {
    margin: 1.25rem 0 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .divider-custom .divider-custom-line {
    width: 100%;
    max-width: 7rem;
    height: 0.25rem;
    background-color: #2c3e50;
    border-radius: 1rem;
    border-color: #2c3e50;
  }
  .divider-custom .divider-custom-line:first-child {
    margin-right: 1rem;
  }
  .divider-custom .divider-custom-line:last-child {
    margin-left: 1rem;
  }
  .divider-custom .divider-custom-icon {
    color: #2c3e50;
    font-size: 2rem;
  }
  .divider-custom.divider-light .divider-custom-line {
    background-color: #fff;
  }
  .divider-custom.divider-light .divider-custom-icon {
    color: #fff;
  }

  .portfolio .portfolio-item {
    cursor: pointer;
    position: relative;
    display: block;
    max-width: 25rem;
    border-radius: 0.5rem;
    overflow: hidden;
  }
  .portfolio .portfolio-item .portfolio-item-caption {
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    background-color: rgba(26, 188, 156, 0.9);
  }
  .portfolio .portfolio-item .portfolio-item-caption:hover {
    opacity: 1;
  }
  .portfolio .portfolio-item .portfolio-item-caption .portfolio-item-caption-content {
    font-size: 1.5rem;
  }

  .portfolio-modal .btn-close {
    color: #1abc9c;
    font-size: 2rem;
    padding: 1rem;
  }
  .portfolio-modal .portfolio-modal-title {
    font-size: 2.25rem;
    line-height: 2rem;
  }
  @media (min-width: 992px) {
    .portfolio-modal .portfolio-modal-title {
      font-size: 3rem;
      line-height: 2.5rem;
    }
  }

.footer {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #2c3e50;
    color: #fff;
  }

  .copyright {
    background-color: #1a252f;
  }

  .floating-button {
    position: fixed;
    top: 140px;
    right: 20px;
    z-index: 1000;
}
