
.main {
  width: 100%;
  min-height: 300px;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.service {
  background: #fff;
  padding: 20px 70px;
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  left:50px;
  z-index: 1;
  box-shadow: 0 0 20px -15px #030380;
  transition: transform .8s;
}

/* Mengatur posisi logo service */
.service-logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: -90px auto 0;
  background: #fff;
  border: 18px solid #ff9c00;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Membuat border title */
.service h4 {
  height: auto;
  width: auto;
  margin: 50px auto;
  background: #fff;
  position: relative;
  font-size:14px;
}

.service h4::after,
.service h4::before {
  content: '';
  width: 40px;
  height: 30px;
 position: absolute;
 z-index: -1;
}

.service h4::after {
  background: linear-gradient(to right, #fff, #333);
  right: -5px;
  top: -5px;
}

.service h4::before {
  background: linear-gradient(to right, #333, #fff);
  left: -5px;
  bottom: -5px;
}


/* membuat shadow untuk service */
.main::after {
  content: '';
  height: 200px;
  width: 80%;
  background: #fff;
  position: absolute;
  border-radius: 10px;
  bottom: 0;
  left: 10%;
  z-index: -1;
  box-shadow: 0 0 20px -15px #030380;
  transition: transform .8s;
}
.main::before {
  content: '';
  height: 200px;
  width: 64%;
  background: #fff;
  position: absolute;
  border-radius: 10px;
  bottom: 0;
  left: 18%;
  z-index: -2;
}

.main:hover .service {
  transform: translateY(-50px);
}

.main:hover::after {
  transform: translateY(-25px);
}

.service-logo img {
  transition: transform 1s;
}

.main:hover .service-logo img {
  transform: rotate(360deg);
}

@media only screen and (min-width: 768px) and (max-width: 999px){
	.service {
    background: #fff;
    padding: 20px 70px;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    left: 265px !important;
    z-index: 1;
    box-shadow: 0 0 20px -15px #030380;
    transition: transform .8s;
}
.service-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: -90px auto 0;
    background: #fff;
    border: 12px solid #ff9c00;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main {
    width: 100%;
    min-height: 230px;
    text-align: center;
    position: relative;
    cursor: pointer;
}
}

@media only screen and (max-width: 479px){
	.sky-form .row {
    margin: 0 0px !important;
}
	.main {
  width: 100%;
  min-height: 250px;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.service {
  background: #fff;
  padding: 20px 70px;
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  z-index: 1;
  box-shadow: 0 0 20px -15px #030380;
  transition: transform .8s;
  left:72px;
}
	.service-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: -90px auto 0;
    background: #fff;
    border: 5px solid #ff9c00;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Membuat border title */
.service h4 {
  height: auto;
  width: auto;
  margin: 50px auto;
  background: #fff;
  position: relative;
  font-size:14px;
}

.service h4::after,
.service h4::before {
  content: '';
  width: 40px;
  height: 30px;
 position: absolute;
 z-index: -1;
}

.service h4::after {
  background: linear-gradient(to right, #fff, #333);
  right: -5px;
  top: -5px;
}

.service h4::before {
  background: linear-gradient(to right, #333, #fff);
  left: -5px;
  bottom: -5px;
}


/* membuat shadow untuk service */
.main::after {
  content: '';
  height: 200px;
  width: 80%;
  background: #fff;
  position: absolute;
  border-radius: 10px;
  bottom: 0;
  left: 10%;
  z-index: -1;
  box-shadow: 0 0 20px -15px #030380;
  transition: transform .8s;
}
.main::before {
  content: '';
  height: 200px;
  width: 64%;
  background: #fff;
  position: absolute;
  border-radius: 10px;
  bottom: 0;
  left: 18%;
  z-index: -2;
}

.main:hover .service {
  transform: translateY(-50px);
}

.main:hover::after {
  transform: translateY(-25px);
}

.service-logo img {
  transition: transform 1s;
}

.main:hover .service-logo img {
  transform: rotate(360deg);
}
}