.headline-home-c-services {
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 48px;
  display: flex;
}

.section.home-c-services {
  position: relative;
  margin: 100px 0;
}

.services-move-master {
  position: relative;
  height: 100%;
}

.services-move-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.home-c-service-image {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease;
  max-width: 400px;
  max-height: 400px;
  transform: translate(-50%, -50%);
}

.home-c-services-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  grid-column-gap: 9px;
  grid-row-gap: 9px;
  text-align: center;
  flex-flow: column;
  justify-content: flex-start;
}

.home-c-service-item {
  text-decoration: none;
  color: var(--black);
  transition: color 0.3s ease;
  width: 100%;
}

.w-inline-block {
  max-width: 100%;
  display: inline-block;
}

.text-h0 {
  font-family: var(--font--serif);
  font-size: var(--heading--h0);
  letter-spacing: var(--letter-spacing--2);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 93%;
  color: var(
    --black
  ); /* Changed from rgba(234, 234, 236, 0.5) to var(--black) */
}
.home-c-service-item:hover .text-h0 {
  color: var(--black);
}

@media (min-width: 1400px) and (max-width: 1499px) {
  .text-h0 {
    font-size: 140px;
  }
  .home-c-service-image {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 300px;
    max-height: 300px;
    transform: translate(-50%, -50%);
  }
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .text-h0 {
    font-size: 140px;
  }
  .home-c-service-image {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 300px;
    max-height: 300px;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .text-h0 {
    font-size: 140px;
  }
  .home-c-service-image {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 300px;
    max-height: 300px;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .text-h0 {
    font-size: 100px;
  }
  .home-c-service-image {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 200px;
    max-height: 200px;
    transform: translate(-50%, -50%);
  }
}
@media only screen and (max-width: 767px) {
  .text-h0 {
    font-size: 64px;
  }
  .home-c-service-image {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 150px;
    max-height: 150px;
    transform: translate(-50%, -50%);
  }
}
