.whyHome__card {
	position: relative;
	height: 400px;
	border-radius: 20px;
	background: var(--dark-blue);
	overflow: hidden;
}
.whyHome__card img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	opacity: 0.7;
}
.whyHome__card::after {
	content: "";
	position: absolute;
	top: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.7)));
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.7) 100%);
}
.whyHome__card-text {
	position: absolute;
	top: 0;
	z-index: 3;
	padding: 60px 40px;
	width: 100%;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	gap: 20px;
}
.whyHome__card-text .h5 {
	text-transform: uppercase;
	color: var(--white);
}
.whyHome__card-text p {
	font-size: 18px;
	color: var(--white);
}



@media (max-width: 1200px) {
	.whyHome__card {
		height: 340px;
	}
}
@media (max-width: 800px) {
	.whyHome__card-text p {
		font-size: 16px;
	}
}
@media (max-width: 600px) {
	.whyHome__card {
		border-radius: 15px;
	}
}
@media (max-width: 450px) {
	.whyHome__card-text {
		padding: 40px 20px;
	}
}