.top-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
}

.laboratory-img {
    width: 100%;
    max-height: 450px;
    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); /* blanc semi-transparent */
}

.title {
    position: absolute;
    top: 17%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0d96a4; /* couleur du texte */
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    z-index: 2; /* au-dessus de l'overlay */
}





/* Conteneur du formulaire */
#contact-form {
    width: 50%;               /* largeur du formulaire */
    margin: 0 auto;           /* centré horizontalement */
    display: flex;
    flex-direction: column;
    gap: 15px;                /* espace entre chaque champ */
    font-family: Arial, sans-serif;
    padding-bottom: 5%;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 50px;
}

/* Titre du champ (label) */
#contact-form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

/* Champs texte, email, téléphone, textarea et select */
#contact-form input,
#contact-form textarea,
#contact-form select {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Bouton de soumission */
#contact-form button {
    padding: 12px 20px;
    font-size: 1rem;
    background-color: #0d96a4;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

#contact-form button:hover {
    background-color: #0056b3;
}
