
.main-services-head h6 {
  color: var(--color-2);
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}
.main-services-head h2 {
  font-size: 48px;
  line-height: 1.2;
  text-align: center;
  font-weight: 700;
}
.main-services-head h2 span {
  color: var(--color-2);
}

.main-services-wapper {
  padding: 40px;
  background-color: #fff;
  -webkit-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  -webkit-box-shadow: 0px 0px 32px 0px rgba(73, 73, 73, 0.06);
  box-shadow: 0px 0px 32px 0px rgba(73, 73, 73, 0.06);
  display: flex;
  flex-direction: column;
  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: center;
  justify-content: space-between;
  width: 100%;
  column-gap: 20px;
}     
.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: 85px;
}
.main-services-head {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.main-services-wapper:hover {
  -webkit-box-shadow: 0px 14px 32px 0px rgba(73, 73, 73, 0.27);
  box-shadow: 0px 14px 32px 0px rgba(73, 73, 73, 0.27);
}
.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 #000;
  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: #000;
  color: var(--white);
  border-color: #000;
  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;
}
}
@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;
}
}