.services {
	padding: 5rem 0;
}

.nav-heading {
	font-size: 4.5rem;
	font-weight: 600;
	text-align: center;
	margin-bottom: 2rem;
}

.services-nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.services-nav-list-item {
	margin: 1rem 0.7rem;
	font-size: 1.6rem;
	background-color: #eee;
	border-radius: 5px;
	padding: 1.5rem 1rem;
	min-width: auto;
}

.services-nav-list-item.active {
	background-color: #fae29a;
}

.services-list-container {
	max-width: 100rem;
	margin: 5rem auto;
	padding: 0 5rem;
}

.services-list-heading {
	font-weight: bold;
	font-size: 2.4rem;
	line-height: 1.5;
	margin-bottom: 1rem;
}

.services-header {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 10rem;
}
.services-header-text-box-heading {
	font-size: 4.5rem;
	font-weight: 600;
	margin-bottom: 2rem;
}

.services-header-text-box p {
	font-size: 2rem;
	line-height: 1.5;
	text-align: justify;
}

.services-header-text-box {
	flex: 70;
}

.services-header-img {
	flex: 30;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.services-header-img img {
	width: 70%;
}

.services-list {
	margin-bottom: 3rem;
}

.services-list ul {
	list-style-type: initial;
	padding: 0 2.5rem;
}

.services-list-li {
	font-size: 1.6rem;
	line-height: 1.5;
	width: 80%;
	margin-bottom: 0.5rem;
}

.services-p {
	font-size: 2rem;
	line-height: 1.5;
}

span.services-list-heading {
	font-size: 2rem;
}

.services-header-text-box-heading.mobile {
	display: none;
	text-align: center;
}

@media (max-width: 1080px) {
	.services-header {
		flex-direction: column;
	}
	.services-header-text-box {
		order: 2;
	}
	.services-header-text-box-heading.desktop {
		display: none;
	}

	.services-header-text-box-heading.mobile {
		display: block;
	}

	.services-header-img {
		order: 1;
		flex-direction: column;
	}
	.services-header-img img {
		margin: 4rem 0;
	}
}

@media (max-width: 768px) {
	.services {
		margin-top: 5rem;
	}
	.nav-heading {
		font-size: 2.4rem;
	}
}

@media (max-width: 700px) {
	.services-list-container {
		padding: 0;
	}

	.services-list-heading {
		font-size: 1.2rem;
	}
	.services-list-li {
		font-size: 1.1rem;
	}
	.services-p {
		font-size: 1.2rem;
	}

	.services-nav-list-item {
		font-size: 1.4rem;
		margin: 1rem;
	}

	.services-header-text-box-heading {
		font-size: 2.4rem;
	}

	.services-header-text-box p {
		font-size: 1.2rem;
	}

	span.services-list-heading {
		font-size: 1.2rem;
	}

	.container {
		padding: 0 2.2rem;
	}

	.container.nav-container {
		padding: 0 0.5rem;
		margin-top: 4rem;
	}
}

@media (max-width: 375px) {
	.services-header-text-box-heading {
		font-size: 2rem;
	}
}
