/* SERVICES */
.services-height {
  /* height: 100px; */
  padding: 0 60px;
  width: 100%;
}

.services-wrapper {
  height: 90px;
  width: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
  position: absolute;
  bottom: -30px;
  z-index: 1000;
}

/*AK :-*/
.services-container {
    height: 90px;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    position: absolute;
    bottom: -30px;
    z-index: 1000;
}



.services {
    position: absolute;
    bottom: -280px;
    width: 100%;
    display: flex;
}

.services-card p {
  margin: 0px;
  font-size: 18px;
  font-weight: 500;
  padding: 15px 15px 0px 15px;
}
.services-icon {
  width: 50px;
}

.services-card {
  padding: 20px;
  /* box-shadow: 2px 2px 4px 0 rgb(2 45 98/10%); */
  transition: transform 2s;
  transform-style: preserve-3d;
  background-color: #ffffff;
  border: 0.5px rgb(2 45 98/10%) solid;
  display: flex;
  justify-content: center;
  text-align: center;
}

.services-card:hover {
  transform: rotateY(180deg);
}
.flipper-container .services-overlay {
  /* position: absolute;
  bottom: 0px;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #ffffff;
  transform: rotateY(180deg);
  box-shadow: 2px 2px 4px 0 rgb(2 45 98/10%); */

  position: absolute;
  bottom: 12px;
  -webkit-transform: scaleX(0);
  -webkit-transition-timing-function: ease-out;
  -webkit-transition-duration: 300ms;
  left: 0;
  opacity: 0;
  z-index: -999;
  /* box-shadow: 0 2px 3px 0 #f5f5f5; */
  background: #fff;
  transition: all 700ms;
}

.flipper-container .servicebox {
  text-align: center;
  border: 1px solid #f2f2f2;
  background: #fff;
  padding: 20px 0;
  /* box-shadow: 2px 2px 5px 0 #f5f5f5; */
}

.servicebox p {
  font-weight: 500;
  letter-spacing: 0.2px;
  font-size: 18px;
  color: #000249;
  padding-top: 10px;
  font-weight: 600;
}

.flipper-container:hover .services-overlay {
  opacity: 1;
  z-index: 9999;
  -webkit-transform: scale(1);
  cursor: pointer;
}
.services-img {
  width: 100%;
}
.services-overlay p {
  margin: 0;
  font-size: 15px;
  color: rgb(63, 62, 62);
  padding: 22px 30px;
  text-align: start;
}

.service-mb-icon {
  width: 52px;
}

.front p {
  margin: 0;
}

.flipper-container {
  position: relative;
  transform: translateY(-160px);
}
.flip {
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  transition: all 1s;
  margin: -13px;
}
.face {
  position: absolute;
  height: fit-content;
  width: 100%;
  bottom: 10px;
  backface-visibility: hidden;
  background-color: aqua;
  padding: 10px;
  left: 0;
}
.face.back {
  display: block;
  transform: rotateY(180deg);
  box-sizing: border-box;
  color: #fff;
  text-align: center;
  background-color: crimson;
}
.back h2 {
  padding: 10px 0px;
  font-family: Pacifico;
  letter-spacing: 1px;
  font-size: 30px;
}

@media (max-width: 576px) {
  /* .main-header {
    background-color: red;
} */
  .services-height {
    height: 660px;
    padding: 10px;
  }
  .services {
    position: static;
    bottom: 0;
    width: 100%;
    display: block;
    padding: 22px 0;
  }
  .servicebox p {
    font-size: 16px;
}
  .face {
    position: relative;
  }
  .services-wrapper {
    bottom: 70px;
    height: 200px;
    position: static;
  }

/*AK :-*/
    .services-container {
        bottom: 70px;
        height: 200px;
        position: static;
    }


  .vision-mission-section {
    padding-top: 0px !important;
  }
  .why-choose-content-wrapper h4 {
    font-size: 30px !important;
  }
  .flipper-container{
    transform: none;
  }
}

/* AK :- Code*/

@media (max-width: 768px) {
    /* .main-header {
    background-color: red;
} */
    .services-height {
        height: 660px;
        padding: 10px;
    }

    .services {
        position: static;
        bottom: 0;
        width: 100%;
        display: block;
        padding: 22px 0;
    }

    .servicebox p {
        font-size: 16px;
    }

    .face {
        position: relative;
    }

    .services-wrapper {
        bottom: 70px;
        height: 200px;
        position: static;
    }

    /*AK :-*/
    .services-container {
        bottom: 70px;
        height: 200px;
        position: static;
    }


    .vision-mission-section {
        padding-top: 0px !important;
    }

    .why-choose-content-wrapper h4 {
        font-size: 30px !important;
    }

    .flipper-container {
        transform: none;
    }
}


@media (min-width: 768px) and (max-width: 991px) {
  .services-height {
    height: 750px;
  }
  .services {
    position: static;
    bottom: 0;
    width: 100%;
    display: flex;
    padding: 20px;
  }
  .services {
    position: relative;
    display: block;
  }

  .face {
    position: relative;
  }
  .services-wrapper {
    bottom: 70px;
  }

  /*AK :-*/
    .services-container {
        bottom: 70px;
    }

  .vision-mission-section {
    padding-top: 0px !important;
  }
  .services-wrapper {
    bottom: -170px;
  }
    /*AK :-*/
    .services-container {
        bottom: -170px;
    }


}
@media (max-width: 1200px) {
  .servicebox p {
    font-size: 14px;
  }
}
@media (min-width: 1400px) and (max-width: 1920px) {
  .services-wrapper {
    bottom: 60px;
  }
  /*AK :-*/
    .services-container {
        bottom: 60px;
    }

  .services-card p {
    font-size: 20px;
  }
}

/* AK Add these code for Service-Wrapper to Service-container*/
