
/************************************/
/***       08. What We Do css     ***/
/************************************/

.what-we-do{
	/* background: url('../../images/what-we-do-bg.webp'), var(--secondary-color); */
	background:  var(--secondary-color);
	background-repeat: no-repeat;
	background-position: bottom left;
	background-size: auto;
}

.what-we-do .container-fluid{
	padding: 0;
}

.what-we-do-content{
	padding: 100px 120px;
	height: 100%;
}

.what-we-do-list{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
}

.what-we-do-list-box-1,
.what-we-do-list-box-2{
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.what-we-do-item{
	width: calc(50% - 15px);
	border: 1px solid var(--dark-divider-color);
	border-radius: 40px;
	padding: 30px;
}

.what-we-do-list-box-1 .what-we-do-item:nth-child(even){
	background: var(--dark-divider-color);
}

.what-we-do-list-box-2 .what-we-do-item:nth-child(odd){
	background: var(--dark-divider-color);
}

.what-we-do-item .icon-box{
	margin-bottom: 30px;
}

.what-we-do-item .icon-box img{
	max-width: 50px;
}

.what-we-item-content h3{
	font-size: 20px;
	font-weight: 600;
	text-transform: capitalize;
	color: var(--white-color);
	margin-bottom: 10px;
}
.what-we-item-content h3 a{
	color: var(--white-color);
}

.what-we-item-content p{
	color: var(--white-color);
	opacity: 80%;
	margin: 0;
}

.what-we-do-footer{
	margin-top: 40px;
}

.what-we-do-footer p{
	color: var(--white-color);
	margin: 0;
}
.what-we-do-footer p span{
	/* color: var(--accent-color); */
	/* text-decoration: underline; */
}
.what-we-do-footer p span a{
	color: var(--accent-color);
	text-decoration: underline;
	transition: all 0.3s ease-in-out;
}
.what-we-do-footer p span a:hover{
	padding-bottom: 2px;
	color:var(--white-color);
}

.what-we-do-image{
	position: relative;
}

.contact-now-circle{
	content: '';
	position: absolute;
	display: block;
	left: 0;
	top: 50%;
	transform: translate(-50% , -50%);
	z-index: 1;
}

.contact-now-circle img{
	width: 130px;
	height: 130px;
	animation: contactrotate 20s infinite linear;
}

@keyframes contactrotate{
	from{
		transform: rotate(0deg);
	  }
	to{
		transform: rotate(360deg);
	}
}

.what-we-do-image,
.what-we-do-image figure,
.what-we-do-image figure img{
	width: 100%;
	height: 100%;
}

.what-we-do-image figure img{
	aspect-ratio: 1 / 0.97;
	object-fit: cover;
}


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

@media only screen and (max-width: 1366px) {
    .what-we-do-content {
        padding: 100px 80px 100px 15px;
    }

    .contact-now-circle img {
        width: 100px;
        height: 100px;
    }

}

@media only screen and (max-width: 1024px) {
    .what-we-do-content {
        padding: 100px 50px 100px 15px;
    }

    .contact-now-circle img {
        width: 80px;
        height: 80px;
    }

}

@media only screen and (max-width: 991px) {
    .what-we-do {
        background-position: bottom 50% left;
    }

    .what-we-do-content {
        padding: 50px 15px 70px;
        height: auto;
    }

    .what-we-do-item {
        padding: 30px 20px;
    }

    .what-we-do-item .icon-box {
        margin-bottom: 20px;
    }

    .what-we-do-footer {
        margin-top: 30px;
    }

    .what-we-do-image,
	.what-we-do-image figure,
	.what-we-do-image figure img {
        height: auto;
    }

    .what-we-do-image figure img {
        aspect-ratio: 1 / 0.77;
    }

    .contact-now-circle {
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
    }

    .contact-now-circle img {
        width: 100px;
        height: 100px;
    }

}

@media only screen and (max-width: 767px) {
    .what-we-do-item {
        border-radius: 30px;
        width: 100%;
    }

    .what-we-do-list-box-2 .what-we-do-item:nth-child(odd) {
        background: transparent;
    }

    .what-we-do-list-box-2 .what-we-do-item:nth-child(even) {
        background: var(--dark-divider-color);
    }

    .what-we-item-content h3 {
        font-size: 18px;
    }

}
