.adkh-service-box {
  position: relative;
  width: auto;
  min-height: 235px;
  padding: 1.5px;
  border-radius: var(--adkh-border-radius);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, .08);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px; 
  overflow: hidden;
  cursor: pointer;
    transition: transform 0.8s ease;
}

.adkh-service-box::before,
.adkh-service-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--adkh-border-radius);
  backface-visibility: hidden;
  transition: transform 0.8s ease;
}

.adkh-service-box::before {
  background-image: linear-gradient(180deg, var(--adkh-border-color-from) 0%, var(--adkh-border-color-to) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: -1;
  transform: rotateY(0deg);
}

.adkh-service-box::after {
  background-image: linear-gradient(0deg, var(--adkh-border-color-from) 0%, var(--adkh-border-color-to) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: -2;
  transform: rotateY(-90deg);
}

.adkh-service-box:hover::before {
  transform: rotateY(90deg);
}

.adkh-service-box:hover::after {
  transform: rotateY(0deg);
}


.service-wrapper a {
    position: relative;
    padding: 24px;
    border-radius: var(--adkh-border-radius);
    background: #fff;
    min-height: 235px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.service-icon svg,
.service-icon img {
    width: 50px;
    height: 50px
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    width: 100%;
    text-align: center
}

.service-desc {
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px
}

@media screen and (max-width : 768px) {
    .adkh-service-box {
        width: 100%;
        min-height: auto;
    }

    .service-wrapper a {
        min-height: auto;
    }
}