/* Employment cards */
.services_container{
	width: 100%;
	heigth: 100%;
	padding: 50px 5%;
	padding-bottom: 50px;
}

.services_inner{
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.services_heading{
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-bottom: 50px;
}

.services_heading > h1{
	width: 100%;
	text-align: center;
	color: black;
	font-family: var(--font);
}

.subheading{
	text-align: center;
}

.services{
	width: 100%;
	height: auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.service_card{
	width: 100%;
	max-height: 700px;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow);
	border-radius: 8px;
}

.servicecard_image{
	width: 100%;
	height: 100%;
	max-height: 300px;
}

.servicecard_image > img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.servicecard_content{
	width: 100%;
	padding: 20px 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.6;
}

.servicecard_text{
	width: 100%;
	margin: 17px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-height: 1.4;
}

.servicecard_content > p {
	width: 100%;
	margin: 17px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-height: 1.4;
}

.servicecard_content > h1{
	width: 100%;
	text-align: center;
	font-size: 30px !important;
	line-height: 1.2;
	margin-bottom: 0;
}

.details_heading{
	width: 100%;
	height: 200px;
	padding-bottom: 25px;
}

.details_heading > img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

/* Queries */
@media screen and (max-width: 1075px) {
	.services{
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 700px) {
	.services{
		grid-template-columns: repeat(1, 1fr);
	}
	
	.details_heading{
		height: 125px;
		padding-bottom: 10px;
	}
}

/* Details */
.content {
	width: 100%;
	height: auto;
	font-size: 18px;
	line-height: 1.2;
	padding: 0 5% 50px 5%;
}

.project_detail {
	width: 100%;
	height: auto;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}

.back-link {
	display: inline-block;
	margin-bottom: 25px;
	text-decoration: none;
	font-size: 17px;
	font-weight: 500;
}

.back-link:hover {
	text-decoration: underline;
}

.project_title {
	width: 100%;
	height: auto;
	margin-bottom: 25px;
	color: var(--blue);
	font-family: var(--font);
	line-height: 1.2;
}

.project_description1 {
	width: 100%;
	min-height: 200px;
	font-size: 18px;
	line-height: 1.4;
}

.img-title{
	width: 100%;
	height: auto;
	font-size: 25px;
	margin-bottom: 50px;
	margin-top: 50px;
	color: var(--blue);
	text-align: left;
	letter-spacing: 1px;
}

.project_gallery {
	width: 100%;
	height: auto;
	display: flex;
	overflow: auto;
	overflow-y: hidden;
	gap: 10px;
}

.gallery_item {
	flex: 0 0 auto;
	width: 200px;
	height: 200px;
	cursor: pointer;
}

.gallery_item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

@media screen and (min-width: 768px){
	.content {
		padding: 50px 5%;
	}
}

@media (max-width: 768px) {

	.project_description1 {
		font-size: 0.9em;
	}

	.gallery_item {
		width: 100px;
		height: 100px;
	}
	
	.back-link {
		font-size: 15px;
	}
}