.service-section {
	background: hsl(var(--black) / 0.03);
}

.services-wrapper {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

@media (max-width: 1199px) {
	.services-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575px) {
	.services-wrapper {
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
	}
}

.services-card {
	display: flex;
	flex-direction: column;
	padding: 0;
	gap: 0;
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--white));
	border-radius: 5px;
	overflow: hidden;
	height: 100%;
}

.services-card__media {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: hsl(var(--light));
	line-height: 0;
}

.services-card__media img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
}

.services-card:hover .services-card__media img {
	transform: scale(1.05);
}

.services-card__content {
	padding: 0.75rem 0.85rem 0.9rem;
	text-align: center;
	background: hsl(var(--white));
}

.services-card__text {
	display: block;
	margin: 0;
	line-height: 1.25;
	font-weight: 600;
	font-size: 1rem;
	color: hsl(var(--heading-color));
}

.services-card__content .sub-title {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.8125rem;
	line-height: 1.35;
	color: hsl(var(--heading-color) / 0.7);
}

@media (max-width: 575px) {
	.services-card__content {
		padding: 0.55rem 0.45rem 0.65rem;
	}

	.services-card__text {
		font-size: 0.875rem !important;
	}

	.services-card__content .sub-title {
		font-size: 0.7rem !important;
	}
}
