.premier {
    padding: 5%;
    text-align: justify;
    display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	align-content: center;
}

.premier-box {
    flex: 1; /* Chaque div prend une part égale de l'espace disponible */
	min-width: 300px; /* Minimum width to prevent elements from shrinking too much */
	padding: 10px; /* Espacement autour des éléments pour l'esthétique */
	box-sizing: border-box; /* Assurez-vous que le padding est inclus dans la taille totale */
	text-align: justify;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.premier h1 {
    text-align: left;
}

.premier-img {
    width: 80%; /* Assurez-vous que l'image utilise toute la largeur disponible dans son div parent */
	max-width: 200px; /* Limite la taille de l'image si nécessaire */
	height: auto; /* Pour maintenir le ratio de l'image */
}                               
                        /*CENTRER IMAGE*/

.patient {
    padding: 5%;
    text-align: justify;
    display: flex;
	flex-direction: row;
    justify-content: space-evenly;
	flex-wrap: wrap;
    align-content: center;
    height: auto;
    align-items: stretch;
}

.patient-box {
    background-color: #d7dae4;
	box-shadow: 0 0 1px 0 rgba(0,12,32,0.04), 0 10px 16px 0 rgba(10,31,68,0.06);
	border-radius: 20px;
	padding: 20px 30px;
	height: auto;
    margin: 10px;
    flex: 1; 
    align-self: center;
    display: flex  ;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.patient-box h2 {
    text-align: center;
}

.responsive-image {
    width: 100%;
	max-width: 350px;
    height: auto;
    border-radius: 15px; /* Optionnel : pour correspondre au style des box */
    margin-bottom: 20px; /* Espacement entre l'image et le contenu */
}

.responsive-image1 {
    width: 100%;
	max-width: 480px;
    height: auto;
    border-radius: 15px; /* Optionnel : pour correspondre au style des box */
    margin-bottom: 20px; /* Espacement entre l'image et le contenu */
}

.faq {
    padding: 5%;
    text-align: justify;
}

.qa-container {
    width: 100%;
}

.qa-item {
    margin-bottom: 10px;
}

.question {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
	text-align: left;
}

.question h2 {
    margin: 0;
    font-size: 14px;
	text-align: left;
    font-weight: 350;
}

.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
	padding-left: 20px;
	padding-right: 25px;
	
}

.toggle-answer {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
	color: #969db7;
}

.hidden-content {
    display: none;
}


/* ==============================================
   Media Queries 
===============================================*/

/* Media query pour les tablettes et plus larges */
@media (min-width: 768px) {
    .premier {
        flex-direction: row; /* Affichage en ligne pour desktop */
        justify-content: center; /* Espace entre les éléments */
        padding: 5% 5%; /* Plus de padding pour l'espacement */
    }

    .premier-img {
        width: 35vw; /* L'image prend 50% de la largeur de son parent, ajustez selon vos besoins */
        max-width: 500px; /* Limite la taille maximale de l'image pour éviter qu'elle devienne trop grande */
        height: auto; /* Maintient le ratio de l'image */
    }

    .premier-box {
        flex: 1; /* Laisse chaque flex utiliser l'espace également */
        padding: 15px; /* Plus de padding pour un espacement accru */
        width: auto;
    }

    .patient {
        flex-direction: row; /* Affichage en ligne pour desktop */
        gap: 5px; /* Espace entre les pratiques */  
        height: auto; /* Peut être ajusté selon le besoin */
        align-items: stretch;
        display: flex;
    }

    .patient-box {
        flex: 1; /* Utilisation égale de l'espace */
        margin: 2%; /* Espacement autour des box */
        padding: 30px; /* Plus de padding pour desktop */
		height: auto;
    }
    
    .question h2 {
        font-size: 20px;
    }

}
