.spa-banner-section {
  background-color: #212221;
  background-image: url("../Spa_Images/Auto_Spa_3.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  width: 100%;
}
.service-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 160px 0px 210px 260px;
  text-align: left;
  min-height: 450px;
  background-color: #212221;
}

.service-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spa-white-title {
  font-size: 64pt;
  line-height: 1em;
  font-weight: 400;
  color: white;
}
.before-after-title {
  font-size: 56pt;
  line-height: 1em;
  font-weight: 400;
  color: white;
}
.spa-white-desc {
  font-size: 18pt;
  line-height: 1.5em;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  color: white;
  max-width: 540px;
}
.spa-white-desc span {
  margin-top: 35px;
}

:root {
  --slider-pos: 50%;
}

.comparison-container {
  position: relative;
  width: 100%;
  height: 1200px;
  background-color: #333;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* The Image Slider Logic */
.slider-wrapper2 {
  inset: 0;
  width: 100%;
  height: 100%;
}

.img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.before-img {
  background-image: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&q=80&w=2070");
}

.after-img {
  background-image: url("https://images.unsplash.com/photo-1614162692292-7ac56d7f7f1e?auto=format&fit=crop&q=80&w=2070");
  clip-path: inset(0 0 0 var(--slider-pos));
}

/* Center Control Line */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos);
  width: 2px;
  background: white;
  z-index: 50;
  transform: translateX(-50%);
  pointer-events: none;
}

.handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 2px solid white;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.handle-circle::after {
  content: "◂ ▸";
  font-size: 14px;
  font-weight: bold;
}

.range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: col-resize;
  z-index: 60;
}
.top-content {
  position: absolute;
  top: 10%;
  left: 5%;
  z-index: 70;
  max-width: 350px;
}

.btn-action:hover {
  background: white;
  color: #212221;
}
.detail-labels {
  position: absolute;
  bottom: 8%;
  width: 90%;
  left: 5%;
  display: flex;
  justify-content: space-between;
  z-index: 70;
}

.detail-box {
  max-width: 280px;
}

.detail-box.right {
  text-align: right;
}
/* speak-container */

.spa-speak-container {
  max-width: 1920px;
  margin: 0 auto;
  padding-top: 50px;
  padding-bottom: 200px;
  display: flex;
  justify-content: space-between;
  gap: 95px;
  font-family: "DM Sans", sans-serif;
}
@media (max-width: 1800px) {
  .service-block {
    padding: 100px 0px 100px 100px;
  }
}
@media (max-width: 1536px) {
  .spa-white-title,
  .podium-title,
  .before-after-title {
    font-size: 42pt;
  }
  .service-block {
    padding: 100px 30px 100px 30px;
  }
}
@media (max-width: 1370px) {
    .spa-speak-container {
    gap: 50px;
    padding-top: 30px;
    padding-bottom: 100px;
  }
}
@media (max-width: 1024px) {
  .spa-white-title,
  .podium-title,
  .before-after-title {
    font-size: 32pt;
  }
  .spa-white-desc {
    font-size: 18pt;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-block {
    min-height: 350px;
  }
  .detail-labels {
    left: 5%;
  }
  .spa-white-desc {
    font-size: 15pt;
  }
}
