
.main-services-head h6 {
  color: var(--color-1);
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}
.main-services-head h2 {
  font-size: 42px;
  line-height: 1.2;
  text-align: center;
  font-weight: 600;
  font-family: var(--font-03);
}
.main-services-head h2 span {
  color: var(--color-2);
}

.main-services-wapper {
  display: flex;
  height: 100%;
  row-gap: 20px;
}
.single-item {
  height: 100%;
}
.main-services-bottom .row {
  row-gap: 40px;
}
.main-services-wapper-head figure img {
  max-width: 40px;
  width: 100%;
}
.main-services-wapper-head figure {
  width: 70px;
  height: 70px;
  background: var(--color-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.main-services-wapper-head {
  display: flex;
  align-items: start;
  justify-content: center;
  /* width: 100%; */
  column-gap: 20px;
  flex-direction: column;
  background: #f3f3f3;
  padding: 100px 50px;
  position: relative;
  padding-left: 150px !important;
  width: calc( 100% - 430px);
  row-gap: 20px;
}
.icon-box {
  width: 430px;
  display: flex;
  align-items: center;
}
.fcontent_wrap.main-services-wapper-head p {
  text-align: left;
}
.main-services-wapper .icon-box img {
  height: 350px;
  display: block;
  position: relative;
  z-index: 1;
  -webkit-box-shadow: 0px 0px 29px 5px rgba(0,0,0,0.38);
  -moz-box-shadow: 0px 0px 29px 5px rgba(0,0,0,0.38);
  box-shadow: 0px 0px 29px 5px rgba(0,0,0,0.38);
  transform: translateX(80px);
}
.main-services-wapper-head h3 a {
  width: calc(100% - 70px);
  color: #000000;
  font-size: 22px;
  font-weight: 700;
  max-width: 210px;
  line-height: 1.25;
  margin: 0;
  transition: .3s ease-in-out;
}
.main-services-wapper:hover .main-services-wapper-head h3 a {
  color: var(--color-2);
  transition: .3s ease-in-out;
}
.main-services-wapper-bottom p {
  color: #555555;
  line-height: 1.75;
  margin: 0;
}
.main-services-inner {
  display: flex;
  flex-direction: column;
  row-gap: 60px;
}
.main-services-head {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.main-services-wapper:hover .main-services-wapper-head h3 {
  color: var(--color-2);
}
.main-services-wapper:hover .main-services-wapper-head .icon-box{
  backface-visibility: visible !important;
  animation: flip .5s ease;
  background: #000;
}
@keyframes flip {
  0% {
    transform: perspective(400px) rotateY(0);
    animation-timing-function: ease-out;
  }
  100% {
    transform: perspective(400px) rotateY(360deg);
    animation-timing-function: ease-in;
  }
}

.service-btn.hr-btn.btn-main::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-1);
  left: 11px;
  top: 11px;
  transition: .3s ease-in-out;
  z-index: -1;
}
.service-btn.hr-btn.btn-main:hover::after {
  left: -11px;
  top: -11px;
  transition: .3s ease-in-out;
  border-color: var(--color-2);
} 
.hr-btn.btn-main.service-btn {
  position: relative;
  background: var(--color-1);
  color: var(--white);
  border-color: var(--color-1);
  display: inline-block;
}
.more-service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hr-btn.btn-main.service-btn:hover {
  background: var(--color-2);
  border-color: var(--color-2);
}
.main-services-bottom {
  display: flex;
  flex-direction: column;
  row-gap: 50px;
}

@media(max-width:1200px){
  .main-services-head h2 {
  font-size: 35px;
}
.main-services-wapper-head .icon-box {
  height: 50px;
  max-width: 50px;
}
.main-services-wapper-head h3 a {
  font-size: 18px;
}
.main-services-wapper {
  padding: 30px;
}
}
@media(max-width:991px){
  .main-services-inner {
  row-gap: 50px;
}
.main-services-wapper {
  flex-direction: column;
}
.main-services-wapper-head {
  width: 100%;
}
.main-services-head h2 {
  font-size: 28px;
}
}
@media(max-width:768px){
  .main-services-wapper .icon-box img {
  transform: translateX(0px);
}
.main-services-wapper-head {
  padding-left: 50px !important;
  row-gap: 20px;
}
}
@media screen and (max-width:575px) {
  .main-services-head h2{
    font-size: 30px;
  }
  .main-services-head h2 {
  font-size: 24px;
}
.main-services-inner {
  row-gap: 35px;
}
.main-services-wapper {
  row-gap: 10px;
}
.icon-box {
  width: 100%;
  display: flex;
  align-items: center;
}
.main-services-wapper {
  padding: 10px;
}
.main-services-wapper .icon-box img {
  transform: translateX(0px);
  width: 100%;
  object-fit: cover;
}
.main-services-wapper-head {
  padding-left: 50px !important;
  row-gap: 10px;
  padding: 50px 20px !important;
}
}