

/************************************/
/***     06. Our Service css      ***/
/************************************/

.our-services{
	position: relative;
	padding: 100px 0 280px;
	background: url('../../images/our-service-bg.webp') no-repeat center center;
	background-size: cover;
}

.our-services:before{
	content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
	opacity: 70%;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.our-services .container{
	position: relative;
	z-index: 1;
}

.our-services-list{
	position: relative;
	z-index: 2;
	margin-top: -180px;
}

.services-list-box{
	background: var(--white-color);
	border: 1px solid var(--background-accent-color);
	border-radius: 40px;
	padding: 60px;
	box-shadow: 0px 4px 30px 0px rgba(15, 23, 42, 0.04);
	display: flex;
	flex-wrap: wrap;
	gap: 30px 60px;
}

.services-list-box .service-item{
	width: calc(33.33% - 45px);
	position: relative;
}

.services-list-box .service-item:after{
	content: '';
	position: absolute;
	width: 1px;
	height: 100%;
	top: 0;
	right: -30px;
	bottom: 0;
	left: auto;
	border-right: 1px solid var(--divider-color);
}

.services-list-box .service-item:nth-child(3n + 3):after{
	display: none;
}

.service-item .icon-box{
	margin-bottom: 30px;
}

.service-item .icon-box img{
	max-width: 60px;
}

.service-body{
	margin-bottom: 60px;
}

.service-body h3{
	font-size: 20px;
	font-weight: 600;
	text-transform: capitalize;
}

.service-item .service-footer a{
	background: var(--background-accent-color);
	border-radius: 8px;
	width: 70px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease-in-out;
}

.service-item:hover .service-footer a{
	background: var(--accent-color);
}

.service-item .service-footer a img{
	max-width: 18px;
	transform: rotate(45deg);
	transition: all 0.3s ease-in-out;
}

.service-item .service-footer a:hover img{
	filter: brightness(0) invert(1);
}


/************************************/
/***       Responsive css        ***/
/************************************/

@media only screen and (max-width: 991px) {
    .our-services {
        padding: 50px 0 180px;
    }

    .services-list-box {
        padding: 40px;
    }

    .services-list-box .service-item {
        width: calc(50% - 30px);
    }

    .services-list-box .service-item:nth-child(2n + 2):after {
        display: none;
    }

    .service-item .icon-box {
        margin-bottom: 20px;
    }

    .service-item .icon-box img {
        max-width: 50px;
    }

    .service-body {
        margin-bottom: 30px;
    }

}

@media only screen and (max-width: 767px) {
    .services-list-box {
        border-radius: 30px;
        padding: 20px 15px;
        gap: 30px 10px;
    }

    .services-list-box .service-item {
        width: 100%;
    }

    .services-list-box .service-item:after {
        display: none;
    }

    .service-body,
	.service-item .icon-box {
        margin-bottom: 15px;
    }

    .service-body {
        margin-bottom: 20px;
    }

    .service-body h3 {
        font-size: 18px;
    }

    .service-item .service-footer a {
        width: 60px;
        height: 30px;
    }

}
