@charset "UTF-8";
/* CSS Document */

.service-head-main{
	background: url("../images/service-bg.jpeg");
	width: 100%;
	margin-left: 0;
	height: 30vw;
	background-size: cover;
	 background-position: center;
	 background-repeat: no-repeat;
	overflow: hidden;
	position: relative;
}

.service-head-main h1{
	color: #fff;
	z-index: 999;
	position: absolute;
	top: 50%;
	left: 25%;
	transform: skewX(-10deg) translate(-50%,-50%);
	font-size: 48px;
	font-weight: normal;
}

.service-head-main .head-main-3-right{
	left: -60%;
	transform: skewX(-30deg);
}

.head-main-3-right.right2{
	left: -50%;
}

.sevice-text{
	width: 50%;
}

.service-image {
	width: 50%;
	min-height: 500px;
	padding: 20px;
}

.service-image img {
	height: 100%;
	min-height: 500px;
	object-fit: cover;
}

.services h2.section-title{
	position: relative;
    text-align: center;
    color: #000;
    width: 100%;
    margin: 5% auto;
    transform: translateX(0);
	font-size: 36px;
}

.services .row{
	min-height: auto;
}

.services{
	margin-bottom: 50px;
}

.service-text {
	width: 50%;
}

.service-box{
	margin: 20px auto;
}

.service-box.row {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 400px;
}


.head-main-3-right{
	height: 100%;
	width: 100%;
}

@media(max-width:780px){
	
	.services h2.section-title{
		font-size: 10vw;
		margin: 20px 0;
	}
	.service-box.row{
		flex-direction: column-reverse;
		min-height: 300px;
	}
	
	.service-box:nth-child(2).row{
		flex-direction: column-reverse;
	}
	
	.service-box:nth-child(4).row{
		flex-direction: column-reverse;
	}
	
	.service-box:nth-child(5).row{
		flex-direction: column;
	}
	.service-box:nth-child(3).row{
		flex-direction: column;
	}
	
	.service-text,.service-image{
		width: 100%;
	}
	
	.service-image{
		height: 220px;
		min-height: 220px;
		
	}
	
	.service-image img{
		min-height: 100%;
	}
	
	.service-head-main{
		height: 350px;
	}
	
	.services{
		padding: 30px 20px;
	}
}
.texts {
	padding: 15px;
}

@media(max-width:980px){
	.texts{
		padding: 0;
	}
}

.service-title span{
	border-bottom: 3px solid #1f489d;
}

.texts p.border {
	padding: 10px;
	border: 2px solid #000;
	border-radius: 4px;
}
