/* ========== GLOBAL FOR DENTURE PAGE ========== */
.service-hero,
.service-detail,
.service-types,
.service-journey{
  opacity:0;
  transform:translateY(40px);
  transition:opacity .7s ease-out, transform .7s ease-out;
}
.service-hero.visible,
.service-detail.visible,
.service-types.visible,
.service-journey.visible{
  opacity:1;
  transform:translateY(0);
}

/* ========== DENTURE HERO (YELLOW THEME) ========== */
.service-hero{
  background:linear-gradient(135deg,#fffdf4,#ffeaa7);
  padding-top:4rem;
  padding-bottom:4rem;
}
.service-chip{
  display:inline-block;
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  padding:.25rem .8rem;
  border-radius:999px;
  background:#fff3c4;
  color:#92400e;
  margin-bottom:.6rem;
}
.service-hero-title{
  font-weight:800;
  font-size:2.4rem;
  line-height:1.2;
}
.service-hero-title span{
  color:#f59e0b;
}
.service-hero-text{
  margin-top:.8rem;
  max-width:460px;
  color:#4b5563;
}
.service-hero-list{
  list-style:none;
  padding:0;
  margin:1rem 0 1.3rem;
  color:#374151;
  font-size:.95rem;
}
.service-hero-list li{
  margin-bottom:.3rem;
}
.service-hero-list i{
  color:#22c55e;
  margin-right:.4rem;
}
.service-hero-btn{
  background:linear-gradient(135deg,#facc15,#f97316);
  color:#111827;
  padding:.8rem 2.1rem;
  border-radius:999px;
  font-weight:800;
  border:none;
  text-transform:uppercase;
  letter-spacing:.08em;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
  transition:transform .25s, box-shadow .25s, filter .25s;
  text-decoration:none;
}
.service-hero-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 60px rgba(0,0,0,.45);
  filter:brightness(1.05);
}

/* right image card */
.service-hero-card{
  position:relative;
  border-radius:36px;
  overflow:hidden;
  box-shadow:0 28px 80px rgba(0,0,0,.28);
}
.service-hero-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle at top,#fffbeb,transparent 55%);
  opacity:.75;
}
.service-hero-card img{
  position:relative;
  width:100%;
  display:block;
}

/* ========== DENTURE DETAILS + BENEFITS ========== */
.service-detail{
  background:#ffffff;
  padding-top:3rem;
  padding-bottom:3rem;
}
.service-detail-title{
  font-weight:800;
  font-size:1.8rem;
  margin-bottom:.7rem;
}
.service-detail-text{
  color:#4b5563;
  font-size:.96rem;
  line-height:1.8;
  margin-bottom:.6rem;
}

/* benefits pills */
.service-pill-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.9rem .9rem;
}
.service-pill{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  background:#fffbeb;
  border-radius:999px;
  padding:.5rem 1.1rem;
  font-size:.9rem;
  color:#374151;
  border:1px solid #facc15;
  box-shadow:0 12px 28px rgba(0,0,0,.08);
  transform:translateY(20px);
  opacity:0;
  transition:opacity .5s ease-out, transform .5s ease-out, box-shadow .25s;
}
.service-pill i{
  color:#f97316;
  font-size:1.1rem;
}
.service-detail.visible .service-pill{
  opacity:1;
  transform:translateY(0);
}
.service-pill:nth-child(1){ transition-delay:.1s;}
.service-pill:nth-child(2){ transition-delay:.2s;}
.service-pill:nth-child(3){ transition-delay:.3s;}
.service-pill:nth-child(4){ transition-delay:.4s;}
.service-pill:hover{
  box-shadow:0 18px 40px rgba(0,0,0,.14);
  transform:translateY(-3px);
}

/* shared title */
.service-section-title{
  font-weight:800;
  font-size:1.9rem;
}

/* ========== TYPES OF DENTURES ========== */
.service-types{
  background:radial-gradient(circle at top,#fff9e5,#ffffff 55%);
  padding-top:3rem;
  padding-bottom:3rem;
}
.type-card{
  position:relative;
  border-radius:24px;
  padding:1.6rem 1.5rem 1.8rem;
  background:#ffffff;
  box-shadow:0 20px 60px rgba(0,0,0,.12);
  overflow:hidden;
  transform:translateY(30px);
  opacity:0;
  transition:opacity .6s ease-out, transform .6s ease-out, box-shadow .25s;
}
.type-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle at top,#fde68a,transparent 55%);
  opacity:.7;
}


.type-tag{
  position:relative;
  display:inline-block;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  padding:.2rem .7rem;
  border-radius:999px;
  background:#fef3c7;
  color:#92400e;
  margin-bottom:.6rem;
}
.type-card h3{
  position:relative;
  font-size:1.1rem;
  font-weight:700;
  margin-bottom:.4rem;
  color:#111827;
}
.type-card p{
  position:relative;
  font-size:.9rem;
  color:#4b5563;
}

/* animate types */
.service-types.visible .type-card{
  opacity:1;
  transform:translateY(0);
}
.type-card:nth-child(1){ transition-delay:.1s;}
.type-card:nth-child(2){ transition-delay:.2s;}
.type-card:nth-child(3){ transition-delay:.3s;}
.type-card:hover{
  box-shadow:0 26px 80px rgba(0,0,0,.22);
  transform:translateY(-4px);
}

/* ========== DENTURE JOURNEY ========== */
.service-journey{
  background:#ffffff;
  padding-top:3rem;
  padding-bottom:3rem;
}
.journey-line{
  position:relative;
  display:flex;
  flex-wrap:wrap;
  gap:1.8rem;
  justify-content:space-between;
  margin-top:1.2rem;
}
.journey-step{
  position:relative;
  flex:1 1 220px;
  padding-top:0.6rem;
  margin-bottom:.6rem; 
  transform:translateY(30px);
  opacity:0;
  transition:opacity .6s ease-out, transform .6s ease-out;
}
.journey-step h4{
  font-size:1rem;
  font-weight:700;
  margin:0 0 .2rem;
}
.journey-step p{
  font-size:.9rem;
  color:#4b5563;
   line-height:1.0;
}

/* line + dots */
.journey-line::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:linear-gradient(90deg,#facc15,#f97316);
  opacity:.6;
}
.journey-dot{
  position:absolute;
  top:-6px;
  left:0;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#facc15;
  box-shadow:0 0 0 6px rgba(250,204,21,.35);
}

/* animate journey */
.service-journey.visible .journey-step{
  opacity:1;
  transform:translateY(0);
}
.journey-step:nth-child(1){ transition-delay:.1s;}
.journey-step:nth-child(2){ transition-delay:.2s;}
.journey-step:nth-child(3){ transition-delay:.3s;}
.journey-step:nth-child(4){ transition-delay:.4s;}

/* ========== RESPONSIVE ========== */

/* tablets and below */

@media (max-width:991.98px)

{
  .service-hero{
    padding-top:3.2rem;
    padding-bottom:3.2rem;
    text-align:center;
  }
  .service-hero-text,
  .service-hero-list{
    margin-left:auto;
    margin-right:auto;
  }
  .service-hero-card{
    margin-top:1.5rem;
  }
}




/* mobiles */

@media (max-width:767.98px){
  /* hero */
  .service-hero-title{
    font-size:2rem;
  }

  /* benefits pills in single column */
  .service-pill-grid{
    grid-template-columns:1fr;
  }

  /* type cards stack nicely */
  .type-card{
    margin-bottom:.5rem;
  }

  /* journey vertical layout */
  .journey-line{
    flex-direction:column;
  }
  .journey-line::before{
    display:none;
  }
  .journey-step{
    padding-top:0;
  }
  .journey-dot{
    position:static;
    margin-bottom:.9rem;
  }
}

/* desktop: keep horizontal line and dots as you have now */

/* mobile: vertical line + compact layout */
@media (max-width:767.98px){
  .journey-line{
    position:relative;
    flex-direction:column;
    gap:.8rem;
    padding-left:24px; 
           /* space for vertical line */
           
  }

  /* hide horizontal line */
  .journey-line::before{
    display:none;
  }

  /* vertical yellow line */
  .journey-line::after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:8px;                       /* distance from left edge */
    width:2px;
    background:linear-gradient(#facc15,#f97316);
    opacity:.8;
  }

  .journey-step{
    position:relative;
    padding-top:.2rem;
    margin-bottom:.2rem;
  }

  /* small circle on the line for each step */
  .journey-dot{
    display: none;
  }
}

/* Hard override paragraph margins inside journey */
.service-journey p{
  margin-top:0 !important;
  margin-bottom:0.35rem !important;  /* small, controlled gap */
}

/* Tighten step spacing further */
.journey-step{
  padding-top:0.2rem !important;
  margin-bottom:0.3rem !important;
}

/* On mobile, make it even tighter */
@media (max-width:767.98px){
  .service-journey{
    padding-top:2rem !important;
    padding-bottom:2rem !important;
  }
  .journey-line{
    gap:0.2rem !important;
  }
  .journey-step{
    padding-top:0.1rem !important;
    margin-bottom:0.2rem !important;
  }
}


/* mobile: turn off flex + control spacing tightly */

@media (max-width:767.98px)

{
  .journey-line{
    display:block;          /* stop flex on mobile */
    padding-left:16px;      /* space for vertical line if you want it */
  }

  .journey-step{
    display:block;
    flex:none;              /* no flex basis */
    padding-top:2rem;
    margin:1rem   /* small bottom gap only */
  }

  .service-journey p{
    margin:0.1rem 0 0.25rem 0;  /* very small paragraph margins */
  }
}

/* tablet only: hide line + dots */
@media (min-width:768px) and (max-width:991.98px){
  .journey-line::before,
  .journey-line::after{
    content:none !important;   /* no horizontal/vertical line */
  }

  .journey-dot{
    display:none !important;   /* hide yellow dots */
  }

  /* remove extra left padding if you added it for vertical line */
  .journey-line{
    padding-left:0 !important;
  }
}
