.top-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.image-wrapper {
    position: relative;
}

.laboratory-img {
    width: 100%;
    max-height: 250px;
    display: block;
    object-fit: cover;
    clip-path: inset(0 0 20% 0);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

.header-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.title {
    color: #212e53;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.download-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #2ea3b8;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    
}

.download-btn:hover {
    background-color: #2ea3b8;
}

.content-wrapper {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Style pour la barre latérale */
.formation-sidebar {
    flex: 0 0 25%;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    padding-bottom: 40px;
}

.sidebar-content {
    background: #2ea3b8;
    padding: 0rem;
    padding-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-row {
  display: flex;
  gap: 2px;
  margin: 10px 0;
}

.sidebar-row h3 {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding-left: 1.5rem;
    color: white;
    position: relative;  /* Ajouté */
}

.sidebar-row h3::before {  /* Ajouté */
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: white;
}

.sidebar-row p {
    padding-left: 3px;
    flex: 1;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
}

.sidebar-content h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 2rem;
    border-bottom: 3px solid #212e53; /* Épaisseur et couleur de la ligne */
    padding-top: 20px;
    padding-left: 10px;
}






.sidebar-row ul, .sidebar-row li {  /* Ajout de .sidebar-row */
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    margin-left: 20%;
}

/* Ajout des styles spécifiques pour les listes de la sidebar */
.sidebar-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.sidebar-content ul li {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    position: relative;
}

/* Pour les puces vides des prérequis */
.sidebar-content ul li {
    position: relative;
}



/* Style spécifique pour les objectifs */
.objectives-list ul {
    list-style: none;
    padding-left: 2.5rem;
    padding-right: 5px;
    margin: 0;
    margin-top: 10px;
}

.objectives-list ul li {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    position: relative;
}


/* Ajout de puces personnalisées */
.sidebar-content ul li::before {
    content: "○";  /* Puce vide */
    position: absolute;
    left: -1rem;
    color: white;
}

.objectives-list ul li::before {
    content: "•";
    color: white;
    position: absolute;
    left: -1rem;
}

/* Style pour les sections du contenu */
.presentation , .training {
    margin-bottom: 50px;
}

.formation-content {
    flex: 1;
    min-width: 0;
}


.formation-content h1 {
    font-family: sans-serif;
    color: #212e53;
    font-weight: 500;
    border-bottom: 3px solid #212e53;
    padding-bottom: 5px;
    margin-bottom: 30px;
}

/* Spécifier les sélecteurs pour les titres de formation */
.formation-content h2, 
.formation-content h3 {  /* Ajout de .formation-content */
    font-family: sans-serif;
    color: #0d96a4;
    font-weight: 550;
    font-size: x-large;
    margin-top: 2rem;
}

/* Spécifier les sélecteurs pour les listes */
.formation-content ul {
    padding-left: 1.5rem;
    font-family: 'Work Sans', sans-serif;
    
}

.formation-content li {
    color: #212e53;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .formation-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }
}

