* {
  text-decoration: none;
}

:root {
    --bg-main: #f8f1f4; /* rose gris clair */
    --primary: #b2d8d8;
    --secondary: #6c757d;
    --card-bg: #ffffff;
    --text-dark: #333;
  }

  /* Réinitialisation douce */
  body {
    background-color: var(--bg-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
  }
  
  /* Navigation */
  .navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .navbar-brand {
    font-weight: bold;
    color: var(--primary);
  }
  
  .nav-link {
    color: var(--secondary);
    transition: color 0.3s;
  }
  
  .nav-link:hover {
    color: var(--primary);
  }
  
/* Header */
header {
  background: linear-gradient(to right, #b2d8d8, #b2d8d8);
  padding: 2rem;
  border-radius: 12px;
  margin: 1rem auto;
  max-width: 95%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.header-text {
  text-align: left;
}

.header-text h1 {
  font-size: 3rem;
  color: #343a40; /* Couleur sombre élégante */
  margin-bottom: 0.5rem;
}

.header-text h4 {
  color: #6c757d; /* Gris neutre */
  font-weight: 400;
}

.header-image img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #f3e564;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

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

  

 /* Style général de la carte */
 .card {
  background-color: var(--card-bg);
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.card-title {
  color: var(--primary);
  margin-bottom: 1rem;
  padding: 0 1rem;
}

/* Conteneur PDF */
.pdf-viewer {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* IFrame PDF */
iframe {
  min-height: 600px;
  display: block;
  background: transparent;
}

/* Boutons d'action */
.pdf-actions {
  text-align: center;
  padding: 0.5rem;
}

.btn-download {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s;
}

.btn-download:hover {
  background-color: var(--primary-dark);
}
  
  /* Listes */
  .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
  }
  
  .list-group-item:hover {
    background-color: #fbe5ec;
  }
  
  /* Liens */
  a {
    color: var(--primary);
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* Footer */
  footer {
    margin-top: 2rem;
    background-color: #fff;
    padding: 1.5rem;
    border-top: 1px solid #e4d4dd;
    border-radius: 12px;
    color: var(--secondary);
  }


  .carousel-caption h5,
  .carousel-caption p {
    color: #000 !important;      /* Texte en noir */
    background-color: rgba(255, 255, 255, 0.6); /* Fond blanc semi-transparent pour lisibilité */
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: inline-block;
  }

    .project-card {
      transition: transform 0.2s ease;
    }

    .project-card:hover {
      transform: scale(1.02);
    }

    .btn-github {
      background-color: #24292e;
      color: white;
    }

    .btn-github:hover {
      background-color: #444d56;
    }



    .highlight-card img {
      max-width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .highlight-card h4 {
      font-size: 1.5rem;
      margin-top: 1rem;
      color: #343a40;
    }
    
    .highlight-card p {
      color: #6c757d;
      font-size: 1rem;
    }
    



    .section-title {
      color: #0aafaf;
      font-size: 2rem;
      margin-bottom: 20px;
    }
    .step {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 30px;
    }
    .step img {
      width: 40%;
      height: auto;
      border-radius: 8px;
      margin-right: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .step-content {
      max-width: 55%;
    }
    .step h5 {
      color: #0aafaf;
      font-size: 1.5rem;
    }
    .step-text {
      font-size: 1.1rem;
    }
    .step-number {
      font-size: 2rem;
      color: #b2d8d8;
      font-weight: bold;
      margin-right: 15px;
    }
    .btn-step {
      margin-top: 15px;
      background-color: #b2d8d8;
    }
    footer {
      background-color: #f8f9fa;
      padding: 20px 0;
      text-align: center;
    }

    




/* Style général pour le tableau */
.table-container {
  margin-top: 30px;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  padding: 12px;
  text-align: center;
  border: 1px solid #dee2e6;
}

th {
  background-color: #b2d8d8;
  color: white;
  font-weight: bold;
}

td {
  word-wrap: break-word;
  max-width: 200px;
  text-align: left;
}

/* Style pour les lignes alternées */
tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #e9ecef;
}

/* Style pour la ligne de titre */
thead th {
  background-color: #0056b3;
  color: black;
}

/* Contrôle de la taille du tableau */
.table-container {
  max-height: 800px;
  overflow-y: auto;
}

/* Couleur personnalisée pour le bouton */
.custom-btn {
  background-color: #b2d8d8; /* Rouge */
  color: white; /* Texte en blanc */
  border-radius: 5px; /* Coins arrondis */
  padding: 10px 20px; /* Espace autour du texte */
  text-decoration: none; /* Enlever la ligne de soulignement */
  display: inline-block; /* Pour que le bouton soit en ligne avec le contenu */
  align-items: center;
  display: inline-block; /* Assurer que le bouton est un bloc inline */
}

.custom-btn:hover {
  color: black;
}

.cursor-pointer{
  cursor: pointer;
}