/* === SERVICE DETAILS SECTION === */
body {
  background-image: url("../../assets/images/services/service-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-details {
  background: #ffffff;
  max-width: 800px;
  margin: 3rem auto;
  padding: 3rem 2rem 4rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column; /* ensures vertical stacking */
  align-items: center;    /* centers content horizontally */
  gap: 1.5rem;            /* spacing between elements */
}

.service-details h1 {
  font-size: 2.2rem;
  color: #15143E;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-details p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  max-width: 800px;
  margin: 0;
}

/* --- CTA button --- */
.service-details .cta {
  font-size: 1.5rem;
  margin: 0.5rem;
}

/* --- Service phone --- */
.service-details .phone {
  font-size: 1.5rem;
}

/* --- Service image --- */
.service-details img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-details img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .service-details {
    margin: 2rem 1rem;
    padding: 2rem 1rem;
  }

  .service-details h1 {
    font-size: 1.8rem;
  }

  .service-details p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .service-details h1 {
    font-size: 1.2rem;
  }
  
  .service-details img {
    max-width: 90%;
  }

  .service-details .cta {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}