/* Section styling */



.question-answer-section {
	background-color: #f9f9f9;
	padding: 20px;
	margin: 20px auto;
	max-width: 1200px;
	/* max-height: 500px; */
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-container {}

/* Hover effect */
.question-answer-section:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Headings */
.question-answer-section h3 {
	color: #333;
	font-size: 25px;
	margin-bottom: 15px;
	font-family: 'Montserrat', sans-serif;
}

/* Image */
.question-answer-section img {
	width: 80%;
	max-width: 500px;
	max-height: 400px;
	height: auto;
	margin: 15px auto;
	border-radius: 8px;
	display: block;
}

/* Paragraph */
.question-answer-section p {
	color: #555;
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 auto;
	max-width: 700px;

	/* max-height: 500px; */
}


.container-for-two {

	display: flex;
	flex-direction: column;

}

.container-for-two section {

	flex-direction: row;

}






/* Tablet adjustments */
@media (min-width: 600px) {
	.question-answer-section {
		padding: 30px;
	}

	.question-answer-section h3 {
		font-size: 30px;
	}

	.question-answer-section p {
		font-size: 20px
	}
}

/* Desktop flex layout */
@media (min-width: 900px) {
	.question-answer-section {
		display: flex;
		align-items: center;
		text-align: left;
		gap: 30px;
	}

	/* Wrap text in div for flex */
	.question-answer-section h3,
	.question-answer-section p {
		flex: 1;
	}


	.question-answer-section img {
		width: 80%;
		margin: 0;
	}
}

@media (width >=1200px) {

	.question-answer-section h3 {

		font-size: 40px;

	}

	.question-answer-section p {

		font-size: 25px;

	}


	.question-answer-section img {
		width: 80%;
		margin: 0;

	}


}

@media (width >=1600px) {

	.container-for-two {

		display: flex;
		flex-direction: row;
		justify-content: center !important;
		margin: 0 auto;
		gap: 50px;
		/* align-items: center; */

	}


	.container-for-two section {

		/* background-color: #0d132b; */
		flex-direction: column;


	}

	/* .vertical-layout { */
	/* 	max-width: 900px !important; */
	/* 	display: flex !important; */
	/* 	justify-content: center !important; */
	/* 	background-color: black; */
	/* 	margin: 0 auto; */
	/**/
	/**/
	/* } */

}
