.service-detail {
  padding-top: 100px;
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fc;
  margin-top: -2rem;
}

.service-hero {
  position: relative;
  text-align: center;
  padding: 3rem 1rem;
  background:  #0A2342;
  /*background: linear-gradient(to right, #13bfc7, #0e8a92);*/
  color: white;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  z-index: 2;
}

.service-hero::after {
  content: "";
  background: url('https://azure-hornet-996963.hostingersite.com/kandk/assets/logo.webp') no-repeat center center;
  background-size: 300px;
  opacity: 0.35;
  position: absolute;
  top: 23%;
  left: 60%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: 100%;
  z-index: 0;
}

.service-hero .hero-content {
  position: relative;
  z-index: 1;
}

.service-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-hero .lead {
  font-size: 1.25rem;
  font-weight: 400;
}

.service-content {
  background: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

ul {
    list-style: none;
}

.bullet-icon {
  color: #13bfc7;
  margin-right: 0.5rem;
  animation: sweep 1.6s infinite ease-in-out;
}

@keyframes sweep {
  0%, 100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(5deg) translateY(-3px);
  }
}

.service-content h2 {
  font-size: 1.8rem;
  color: #102A43;
  margin-bottom: 1rem;
}

.service-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-content li {
  margin-bottom: 0.5rem;
}

.before-after-section {
  text-align: center;
  margin: 3rem auto;
}

.before-after-flip {
  width: 340px;
  height: 230px;
  position: relative;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.4,2,.6,1);
  cursor: pointer;
}

.before-after-flip img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

.after-img {
  transform: rotateY(180deg);
}

.flip-caption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #666;
}

.browse-services-cta{
    padding: 1rem 2rem;
}

.service-cta {
  text-align: center;
  margin: 4rem auto;
}


@media (min-width: 810px){
    .service-hero::after{
        top: 80%;
        left: 60%;
    }
}
