.hero-section-service {
  width: 100%;
  height: 70vh;
  background-color: #fff;
}

.spline-wrapper {
  position: relative;
  height: 100%;
  justify-content: flex-start;
}

.spline-text-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  pointer-events: none;
  padding-left: 15px;
  max-width: 1320px;
}

.hero-section-service h1 {
  z-index: 1;
  width: 50%;
  font-size: clamp(29px, 6vw, 80px);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.84);
  line-height: 100%;
}

.service-hero-btn {
  pointer-events: all;
  padding: 10px 15px;
  pointer-events: auto;
  cursor: pointer;
  font-size: clamp(16px, 2vw, 25px);
  color: #fff;
  border-radius: 6px;
  background-color: var(--ortho-blue);
}

.service-hero-btn:hover {
  background-color: var(--profile-blue);
  color: #fff;
}

.spline-hero {
  width: 100%;
  height: 100%;
  overflow: hidden;
  align-self: start;
  flex: 1;
}

.spline-hero spline-viewer {
  width: 100%;
  height: 100%;
  border: none;
}

@media screen and (max-width: 1024px) {
  .hero-section-service .spline-text-wrapper h1 {
    padding-top: 40px;
    width: 100%;
    text-align: center;
  }

  .spline-text-wrapper {
    justify-content: start;
    align-items: center;
    padding-left: 0px;
  }

  .spline-hero spline-viewer {
    padding-top: 50px;
  }
}

@media screen and (max-width: 450px) {
  .spline-wrapper {
    margin: 0;
    width: 100%;
  }
}
