.service-area {
  position: relative;
}

.service-area-page{
  padding-top: 250px;
}

.service-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/zpbackground.png');
  background-repeat: repeat;
  background-size: 400px 200px;
  opacity: 0.04;
  z-index: 0;
}

.service-details-area .container {
  max-width: 1400px !important;
}
.service-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 0px;
  padding-top: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  padding-bottom: 0;
  padding-right: 0;
  height: 90%;
}
.service-right h3,
.service-right p {
  margin: 0 20px;
}

.service-area.two .service-item:hover {
  background-color: transparent;
  border: none;
}
.service-image {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.service-image img {
  max-width: 100%;
  height: auto;
}

.service-right {
  /* display: flex;
  flex-direction: column;
  justify-content: space-between;*/
  margin-bottom: 20px;
  min-height: 120px;
}

.service-top {
  margin-bottom: 10px;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: #fefefe;
}

.service-top img {
  width: 35%;
  height: auto;
  margin-bottom: 20px;
}

.service-right h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #333;
}

.service-right p {
  font-size: 0.9em;
  line-height: 1.6;
  color: #1d1d1f;
  margin-bottom: 20px;
}

.service-link {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-color: #c02d28;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.arrow-icon {
  width: 10px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(315deg);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -7px;
  margin-top: -7px;
}

.service-link:hover {
  background-color: #a02b25;
}

.service-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(192, 45, 40, 0.5);
}

.service-link:active .arrow-icon {
  transform: translate(1px, 1px) rotate(45deg);
}

@media (min-width: 992px) {
  .service-item {
    /*  min-height: 470px;*/
  }
}

@media (min-width: 577px) and (max-width: 991px) {
  .service-item {
    min-height: 400px;
  }
}

@media (max-width: 576px) {
  .service-item {
    margin-bottom: 30px;
  }

  .service-image {
    width: 30%;
  }

  .service-top {
    display: block;
  }
  .service-area {
    padding-top: 100px;
  }
}
