.service-item-horizontal {
  flex: 1;
  margin: 0 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f0f3d9;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(122, 136, 78, 0.3);
  min-width: 0;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s, transform 0.6s, background-color 0.3s,
    box-shadow 0.3s;
}
.service-item-horizontal.visible {
  opacity: 1;
  transform: translateX(0);
}
.service-item-horizontal:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(122, 136, 78, 0.6);
}
.service-icon {
  font-size: 3rem;
  color: var(--primary-dark);
  position: relative;
  min-width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, color 0.3s;
}
.service-number {
  position: absolute;
  top: -10px;
  left: -10px;
  background: var(--primary-dark);
  color: white;
  font-size: 1rem;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  box-shadow: 0 0 5px rgba(122, 136, 78, 0.6);
}
.service-text {
  flex: 1;
}
.service-text h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #53602f;
  transition: color 0.3s;
}
.service-text p {
  margin: 5px 0 0;
  color: #6b6f3f;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.3s;
}
.service-item-horizontal:hover .service-icon {
  transform: scale(1.2);
  color: #d9e2a6;
}
.service-item-horizontal:hover .service-text h3,
.service-item-horizontal:hover .service-text p {
  color: #d9e2a6;
}
@media (max-width: 900px) {
  .services-list-horizontal {
    flex-wrap: wrap;
    padding: 0 10px;
  }
  .service-item-horizontal {
    flex: 1 1 calc(50% - 20px);
    margin: 10px;
  }
}
@media (max-width: 600px) {
  .service-item-horizontal {
    flex-direction: column;
    text-align: center;
    flex: 1 1 100%;
    margin: 10px 0;
  }
  .service-icon {
    margin-bottom: 10px;
    position: relative;
  }
  .service-number {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
  }
}
