:root {
  --section-padding-y: 4rem;
}

html {
  scroll-behavior: smooth;
}

.section-padding {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

/* Hero */
.hero-card {
  border-radius: 1rem;
}

.hero-bg-shape {
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 40%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(13,110,253,.25) 0%, rgba(13,110,253,0) 60%);
  pointer-events: none;
}

/* Service cards */
.service-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.08);
}

/* Back to top */
.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: all .2s ease;
  z-index: 1050;
}
.to-top.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Dark mode tweaks via data attribute (Bootstrap 5.3) */
html[data-bs-theme="dark"] .hero-bg-shape {
  background: radial-gradient(50% 50% at 50% 50%, rgba(13,110,253,.35) 0%, rgba(13,110,253,0) 60%);
}

