/* =========================
   SERVICE PARALLAX (JS-DRIVEN)
   CLEAN CSS (NO BACKGROUND URL HERE)
========================= */

.service-parallax {
  position: relative;
  padding: 110px 20px; /* slightly taller section */
  overflow: hidden;
  isolation: isolate;
}

/* PARALLAX BACKGROUND LAYER */
.service-bg {
  position: absolute;
  top: 50%;
  left: 50%;

  /* 👇 MADE TALLER FOR STRONGER PARALLAX EFFECT */
  width: 130%;
  height: 300%;

  transform: translate(-50%, -50%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: 0;
  will-change: transform;
}

/* DARK OVERLAY */
.service-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

/* TITLE */
.service-parallax h2 {
  position: relative;
  z-index: 2;

  text-align: center;
  font-size: 2.3rem;
  color: #ffffff;
  margin-bottom: 45px;
  line-height: 1.3;
}

/* HIGHLIGHT */
.service-parallax .highlight {
  color: #ff2b2b;
}

/* GRID */
.service-grid {
  position: relative;
  z-index: 2;

  max-width: 1100px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* CARD */
.service-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 22px;
  border-radius: 14px;
  backdrop-filter: blur(10px);

  color: #ffffff;
  transition: all 0.3s ease;
}

/* HOVER */
.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.14);
}

/* TITLE */
.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* TEXT */
.service-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-parallax h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .service-parallax {
    padding: 90px 16px;
  }

  .service-card {
    padding: 18px;
  }

  .service-bg {
    width: 160%;
    height: 320%; /* extra parallax depth on mobile */
  }
}