.navbar-nav {
  margin-left: 900px; /* pousse le menu à droite */
}
.navbar-brand {
  margin-left: 30px; /* pousse le logo depuis la gauche */
}
.bouton{
  margin-right: 40px; /* pousse le bouton depuis la droite */
}
.containerdroite img {
      max-width: 100%;
      height: auto;
    }
    .image-degrade {
    width: 100%;              /* même largeur que ton image */
    height: 450px;           /* ajuste la hauteur */
    border-radius: 8px;
    margin-top: 40px; /* remonte un peu l’image */
      background: linear-gradient(to top, rgba(0, 51, 160, 0.7), transparent);
}
    .hero.py-5 {
      background-color: #0033A0;
      padding: 10px 0;
      color: white;
    }
    .stats {
    background: #F4B400; /* ton jaune */
    color: white;
    margin-top: -4px; /* ça remonte la section */
  }

  .stats h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
  }
  .paragraphe{
    color: black;
    font-size: 18px;
  }
  .card-text{
    color: rgb(255, 255, 255);
    font-size: 16px;
  }

 /* Appliquer un fond bleu personnalisé */
  .bg-blue {
    background-color: #0033A0;
    color: white;
  }

  /* Mettre en jaune certains mots */
  .highlight {
    color: #F4B400;
  }

  /* Améliorer la lisibilité des titres */
  .card-title {
    font-weight: bold;
  }

  /* Bouton personnalisé */
  .btn-primary {
    background-color: #F4B400;
    border-color: #F4B400;
    color: #fff;
  }

  .btn-primary:hover {
    background-color: #d99a00;
    border-color: #d99a00;
  }
  /* Image de la carte hauteur et largeur */
  .card-img-top{
    width: 100%;
    height: 100%;
  }
  .card-title {
    color: #ffffff !important; /* le !important force la couleur même si inline style */
}
.competences-section {
  color: #000; /* texte général (hors cartes) */
  padding: 50px 15px;
}

.section-title {
  text-align: center;
  color: #ffffff; /* titre blanc */
  margin-top: 20px;
}

.paragraphe p {
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff; /* texte descriptif blanc */
}
.comp-card {
  position: relative;
  background-color: #ffffff; /* fond blanc */
  padding: 20px;
  border-radius: 10px;
  overflow: hidden;
}

/* Demi-carré décoratif en haut à droite */
.demi-carre-top {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-top: 3px solid #F4B400; /* ligne du haut */
  border-right: 3px solid #F4B400; /* ligne droite */
  border-radius: 3px;
}

/* Demi-carré décoratif en bas à gauche */
.demi-carre-bottom {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 40px;
  height: 40px;
  border-bottom: 3px solid #0033A0; /* ligne du bas */
  border-left: 3px solid #0033A0; /* ligne gauche */
  border-radius: 3px;
}

/* Icônes centrées */
.comp-card .icon {
  text-align: left;
  margin-bottom: 15px;
}

/* Titre des compétences */
.comp-card .card-title {
  text-align: justify;
  font-weight: bold;
  color: #0033A0 !important; /* titre bleu */
  margin-bottom: 10px;
}

/* Texte des compétences */
.comp-card .card-text {
  text-align: justify;
  color: #000000;
}
.souligner {
  text-decoration: underline;
  text-underline-offset: 8px; /* espace entre le texte et le soulignement */
  text-decoration-thickness: 3px; /* épaisseur du soulignement */
  text-decoration-color: #F4B400; /* couleur du soulignement */
}
.soft-card {
  background-color: #0033A0; /* même fond que la section */
  color: #ffffff;           /* texte blanc */
  border: 1px solid #ffffff; /* bordure blanche */
  border-radius: 21px;      /* arrondi comme un bouton */
  text-align: center;
  padding: 20px;
  font-weight: Regular;
  font-size: 18px;
}
/* outil maitriser */
.outils-section {
  background-color: #8b8b8b;
  padding: 50px 15px;
  text-align: center;
}
/* Conteneur des logos sur UNE LIGNE */
.outils-container {
  display: flex;
  justify-content: center;  /* centre horizontalement */
  align-items: center;      /* aligne verticalement */
  flex-wrap: nowrap;        /* empêche de passer à la ligne */
  gap: 100px;                /* espace entre les logos */
  overflow-x: auto;         /* scroll horizontal si trop de logos */
  padding: 10px 0;
}

/* Forcer tous les logos à la même taille */
.outil img {
  width: 50px;       /* on fixe directement la largeur */
  height: 50px;      /* et la hauteur */
  object-fit: contain;  /* garde les proportions */
}
.footer-section {
  background-color: #0033A0; /* fond bleu sur toute la largeur */
  padding: 40px 0;           /* espace en haut et bas */
  width: 100%;               /* s’assure que ça prend toute la largeur */
}

.footer-section {
  background-color: #0033A0; /* même bleu que la navbar */
  padding: 10px 0;          /* espace intérieur */
  width: auto;              /* prend toute la largeur */ 
}
html {
  scroll-behavior: smooth;
}
.btn.btn-primary {
    background-color: #F4B400;
    border-color: #F4B400;
    color: #ffffff; /* texte blanc */
}
.stats-track {
  display: flex;
  gap: 50px;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

