.certifications-page {
  /* Ajoute un peu d'air autour si nécessaire */
  padding: 1rem;
}

  /* Accès rapidee */
.data-nav-box {
  background: #f4f9fc;
  border-left: 4px solid #3498db;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #333;
}

.nav-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.nav-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #c59d5f;
  color: #2c2c2c !important;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s ease;
}

.nav-btn:hover {
  background-color: #a4803e;
  color: white !important;
  text-decoration: none !important;
}

/* Titres */
.certifications-page h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #333;
}

/* Paragraphes */
.certifications-page p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #222;
}

/* Listes */
.certifications-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.certifications-page ul li {
  margin-bottom: 0.75rem;
}

/* Tableaux */
.certifications-page table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.certifications-page table thead {
  background-color: #f5f5f5;
}

.certifications-page table th,
.certifications-page table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.certifications-page table th {
  font-weight: bold;
  color: #333;
}

.certifications-page table img {
  vertical-align: middle;
  margin-right: 0.5rem;
  border-radius: 2px;
}

/* Liens */
.certifications-page a {
  color: #0073e6;
  text-decoration: none;
}

.certifications-page a:hover {
  text-decoration: underline;
}

/* HR pour séparer les blocs de contenu */
.certifications-page hr.section-separator {
  border: none;
  border-top: 2px solid #ccc;
  margin: 50px 0;
}

/* Responsive pour mobiles */
@media screen and (max-width: 768px) {
  .certifications-page {
    padding: 0.5rem;
  }

  .certifications-page h2 {
    font-size: 1.5rem;
  }

  .certifications-page table {
    font-size: 0.9rem;
  }

  .certifications-page table thead {
    display: none;
  }

  .certifications-page table,
  .certifications-page table tbody,
  .certifications-page table tr,
  .certifications-page table td {
    display: block;
    width: 100%;
  }

  .certifications-page table tr {
    margin-bottom: 1.2rem;
    border: 1px solid #eee;
    padding: 0.75rem;
    border-radius: 8px;
    background-color: #fafafa;
  }

  .certifications-page table td {
    display: block;
    padding: 1rem 0;
    line-height: 1rem;
    border-bottom: none;
  }

  .certifications-page table td::before {
    display: block;
    content: attr(data-label);
    font-weight: bold;
    color: #666;
    margin-bottom: 0.2rem; /* Réduit l’espace entre le label et sa valeur */
    font-size: 0.95rem;
  }

  .certifications-page table td img {
    vertical-align: middle;
    margin-right: 0.4rem;
    position: relative;
    top: 1px;
  }

  }
