/* Root section */
#jb-service {
  margin: -15px -25px;
  color: #555;
  /* light default */
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Containment / leakage guard */
#jb-service * {
  box-sizing: border-box;
}

/* Container */
#jb-service .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Decorative floating shape */
#jb-service .decorative_orb {
  position: absolute;
  inset: auto;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .18;
  pointer-events: none;
  z-index: -1;
  top: -180px;
  left: -140px;
  background: radial-gradient(circle at 30% 30%, #f60, transparent 60%);
  animation: float 16s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-20px)
  }
}

/* Utilities */
#jb-service .chip_badge {
  padding: 6px 30px;
  border-radius: 999px;
  background: linear-gradient(150deg, #f60, #517);
  font-weight: 600;
  letter-spacing: .3px;
  color: #fff;
}

#jb-service .button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  transition: .25s ease;
}

#jb-service .button_primary, #jb-service .button_secondary {
  background: linear-gradient(25deg, #f60, #ffa600);
  color: #0a0b14;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

#jb-service .button_secondary {
  background: linear-gradient(25deg, #b65be3, #a323e3);
}

#jb-service .button_primary:hover,
#jb-service .button_secondary:hover {
  transform: translateY(-2px);
}

#jb-service .card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: saturate(1.1) blur(10px);
}

/* Hero */
#jb-service .hero_section {
  padding: 96px 0 42px;
  position: relative;
}

#jb-service .hero_section .grid_layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}


#jb-service .heading_display {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #000, #999);
  /* light default */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom:20px;
}

#jb-service .heading_display:after{
  display:block;
  width:100%;
  height:20px;
  content: " ";
}

#jb-service .subheading {
  color: #333;
  /* light default */
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  margin: 0 0 28px;
}

#jb-service .cta_group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#jb-service .visual_panel {
  min-height: 320px;
  border-radius: 28px;
  position: relative;
  overflow: clip;
  background: linear-gradient(35deg, #f60, #8e2bbf);
  border: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

#jb-service .visual_panel .stats_group {
  position: absolute;
  inset: auto auto 16px 16px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

#jb-service .info_pill {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(10, 11, 20, .55);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: saturate(1.1) blur(10px);
  font-weight: 700;
  color: #fff;
}

/* Sections */
#jb-service .content_section {
  padding: 36px 0;
}

#jb-service .button:before,
#jb-service .button:after{
  display:none !important;
}

#jb-service .content_section h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 14px;
}

#jb-service .content_section p.lead {
  color: #333;
  /* light default */
  margin: 0 0 26px;
}

/* Features */
#jb-service .features_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

#jb-service .feature_card {
  padding: 20px;
  display: grid;
  gap: 10px;
}

#jb-service .feature_card h3 {
  margin: 6px 0 0;
  font-size: 1.15rem;
}

#jb-service .feature_card p {
  color: #333;
  /* light default */
  margin: 0;
  font-size: .98rem;
}

#jb-service .icon_box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(106, 123, 255, .25), rgba(0, 215, 255, .25));
  border: 1px solid rgba(255, 255, 255, .18);
}

#jb-service .icon_box svg {
  width: 20px;
  height: 20px;
}

/* Process */
#jb-service .process_grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}

#jb-service .process_step {
  padding: 18px;
  position: relative;
}

#jb-service .process_step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -9px;
  left: -9px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0a0b14;
  background: linear-gradient(25deg, #f60, #ffa600);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

#jb-service .process_step h3 {
  margin: 10px 0 6px;
}

#jb-service .process_step p {
  color: #333;
  /* light default */
  margin: 0;
  font-size: .96rem;
}

/* Pricing */
#jb-service .pricing_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

#jb-service .pricing_card {
  padding: 22px;
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
  padding-bottom:60px;
}

#jb-service .pricing_card h3.spanned{
  font-size:23px;
}

#jb-service .pricing_card .button_primary{
  position:absolute;
  bottom:20px;
  margin:auto;

}

#jb-service .pricing_card h3 span{
  margin-top:30px !important;
}

#jb-service .pricing_card.best {
  outline: 2px solid rgba(100, 245, 177, .65);
}

#jb-service .pricing_card .badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  background: linear-gradient(90deg, #6a7bff, #64f5b1);
  color: #0a0b14;
}

#jb-service .pricing_card h3 {
  margin: 2px 0 0;
}

#jb-service .pricing_tag {
  color: #333;
  /* light default */
  font-size: .95rem;
  margin-top: -6px;
}

#jb-service .price_amount {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

#jb-service .includes_list {
  display: grid;
  gap: 8px;
}

#jb-service .includes_list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #333;
  /* light default */
}

#jb-service .includes_list svg {
  width: 18px;
  height: 18px;
}

#jb-service .pricing_card .actions {
  margin-top: 6px;
}

/* Portfolio (kept if you add later) */
#jb-service .portfolio_grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}

#jb-service .portfolio_shot,
#jb-service .portfolio_shot_sm {
  min-height: 220px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

#jb-service .portfolio_shot_sm {
  min-height: 150px;
}

/* Tech stack (kept if you add later) */
#jb-service .tech_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#jb-service .tech_badge {
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .92rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
}

/* FAQ */
#jb-service .faq_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#jb-service .faq_grid details {
  padding: 16px 18px;
}

#jb-service .faq_grid summary {
  cursor: pointer;
  font-weight: 800;
}

#jb-service .faq_grid p {
  color: #333;
  /* light default */
  margin: 10px 0 0;
}

/* Contact */
#jb-service .contact_section {
  display: block;
}

#jb-service .contact_form {
  display: grid;
  gap: 12px;
}

#jb-service .contact_form label {
  font-weight: 700;
}

#jb-service .contact_form input,
#jb-service .contact_form textarea,
#jb-service .contact_form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #f5f7ff;
  border: 1px solid rgba(255, 255, 255, .18);
}

#jb-service .contact_form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer CTA */
#jb-service .cta_wide {
  text-align: center;
  padding: 40px;
  border-radius: 28px;
  background:
    radial-gradient(500px 200px at 20% 20%, #ff66005e, transparent 60%),
    radial-gradient(600px 240px at 80% 70%, #5511776e, transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .16);
}

/* Responsiveness */
@media (max-width: 1024px) {
  #jb-service .hero_section .grid_layout {
    grid-template-columns: 1fr;
  }

  #jb-service .features_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #jb-service .process_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #jb-service .pricing_grid {
    grid-template-columns: 1fr;
  }

  #jb-service .portfolio_grid {
    grid-template-columns: 1fr;
  }

  #jb-service .faq_grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {

  #jb-service .decorative_orb,
  #jb-service .button:hover,
  #jb-service .hero_section .visual_panel {
    animation: none !important;
    transition: none !important;
  }
}

/* Local tweaks preserved */
#jb-service .card,
#jb-service .card p {
  text-align: left !important;
}

#jb-service h2.spanned,
#jb-service h3.spanned {
  margin-top: 10px;
  padding-top: 0;
  text-align: center;
}

#jb-service h2.spanned span,
#jb-service h3.spanned span {
  background: transparent !important;
  margin-top: 0;
  font-weight: 100;
}

/* ===== Dark mode override ===== */
@media (prefers-color-scheme: dark) {
  #jb-service {
    color: #f5f7ff;
  }

  #jb-service .content_section p.lead {
    color: #b9c0d9;
  }

  #jb-service .process_step p,
  #jb-service .feature_card p,
  #jb-service .subheading,
  #jb-service .pricing_tag,
  #jb-service .includes_list li {
    color: #b9c0d9;
  }

  #jb-service .heading_display {
    background: linear-gradient(180deg, #fff, #cfd6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

html.dark #jb-service {
  color: #f5f7ff;
}

html.dark #jb-service .content_section p.lead {
  color: #b9c0d9;
}

html.dark #jb-service .process_step p,
html.dark #jb-service .feature_card p,
html.dark #jb-service .subheading,
html.dark #jb-service .pricing_tag,
html.dark #jb-service .includes_list li {
  color: #b9c0d9;
}

html.dark #jb-service .heading_display {
  background: linear-gradient(180deg, #fff, #cfd6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
