.hov-servizi-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 0;
}

.hov-servizi-content {
  flex: 1;
  max-width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hov-servizi-image-container {
  flex-shrink: 0;
  width: 35%;
  height: 750px;
  overflow: hidden;
  position: relative;
}

.hov-servizi-image-container .hover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
  display: block;
  border-radius: 5px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  padding: 35px 0;
  border-bottom: 2px solid #c2c2c7;
  cursor: pointer;
  color: var(--blue);
  transition: background-color 0.3s ease;
}

.service-item:first-child {
  border-top: 2px solid #c2c2c7;
  transition: background-color 0.3s ease;
}

.service-item:hover {
  color: var(--blue);
}

.service-title {
  font-size: 30px;
  font-family: "Moderat Extended Bold";
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.service-arrow svg {
  width: 34px;
  height: 34px;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.service-item:hover .service-arrow svg {
  stroke: #007bff;
  transform: rotate(45deg);
}

/* Mobile styles */
@media (max-width: 768px) {
  .hov-servizi-wrapper {
    flex-direction: column;
  }

  .hov-servizi-content {
    max-width: 100%;
  }

  .hov-servizi-image-container {
    display: none;
  }

  .service-title {
    font-size: 22px;
  }

  .service-item {
    padding: 26px 0;
  }
}
