
#faq {
    background-color: #f9f9f9;
    padding: 40px;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#faq h2 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease, transform 0.3s ease;
}

.faq-question:hover {
    color: #0056b3;  /* Couleur plus sombre au survol */
    transform: translateX(5px); /* Légère translation pour l'effet */
}

.toggle-button {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    margin-top: 10px;
    font-size: 16px;
    color: #555;
    max-height: 0; /* Réduit la hauteur à 0 pour cacher la réponse */
    padding: 0 0 0 20px; /* Ajoute du padding pour le contenu caché */
    overflow: hidden; /* Cacher l'excédent de contenu */
    transition: max-height 0.2s ease-out, padding 0.2s ease-out; /* Ajoute la transition pour max-height et padding */
}

.faq-item.open .faq-answer {
    display: block;
    max-height: 300px; /* Une valeur suffisamment grande pour afficher tout le contenu */
    padding: 10px 0 10px 20px;  /* Ajuste le padding lors de l'ouverture */
}


.faq-item.open .toggle-button {
    transform: rotate(45deg);  /* Rotation pour transformer "+" en "x" */
}
/* Style général du formulaire */
.question-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

.question-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

.question-form label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #555;
    font-family: 'Arial', sans-serif;
}

.question-form input,
.question-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
}

.question-form input:focus,
.question-form textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.question-form button {
    background-color: #007BFF;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

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

#formMessage {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

/* Style pour le message de succès ou d'erreur */
#formMessage.success {
    color: green;
}

#formMessage.error {
    color: red;
}

/* Petite amélioration de la mise en page */
.question-form textarea {
    height: 150px;
    r
