/* En-tête */
.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;
}

/* Contenu de la formation */
.formation-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.presentation {
    margin-bottom: 3rem;
}

.presentation h2 {
    color: #0d96a4;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.presentation p {
    color: #212e53;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Formulaire de contact */
.contact-form {
    width: 100%;
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.contact-form h2 {
    text-align: center;
    color: #212e53;
    margin-bottom: 1rem;
}

.contact-form p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.contact-form form {
    display: flex;
    gap: 2rem;
}

.contact-form .left-column,
.contact-form .right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    color: #0d96a4;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.contact-form button {
    margin-top: auto;
    padding: 1rem 2rem;
    background-color: #2ea3b8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #0d96a4;
}

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

    .contact-form {
        padding: 1rem;
    }

    .title {
        font-size: 2rem;
    }
}