/* Home page: hero carousel, service cards and request section. */
/* Main hero surface and decorative light spots. */
.hero {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 1.45rem), linear-gradient(135deg, #062b5c 0%, #074987 100%);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
  position: relative;
}
.hero::before, .hero::after {
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  opacity: .85;
  position: absolute;
  z-index: -1;
}
.hero::before {
  background: radial-gradient(circle, rgba(43, 198, 244, .28), rgba(43, 198, 244, 0) 68%);
  height: 32rem;
  right: -7rem;
  top: -10rem;
  width: 32rem;
}
.hero::after {
  background: radial-gradient(circle, rgba(0, 120, 215, .22), rgba(0, 120, 215, 0) 68%);
  bottom: -18rem;
  height: 40rem;
  left: 25%;
  width: 40rem;
}
/* Hero content typography and actions. */
.hero .container {
  --bs-gutter-x: 3rem;
}
.hero-row {
  min-height: clamp(42rem, 88vh, 50rem);
}
.hero h1, .hero-slide-title {
  letter-spacing: -.052em;
  line-height: 1.02;
  max-width: 51rem;
}
.hero .lead, .hero .text-white-50 {
  color: rgba(255, 255, 255, .86) !important;
}
.hero .lead {
  margin-bottom: 2.75rem !important;
}
.hero .btn-outline-light {
  border-color: rgba(255, 255, 255, .32);
}
.hero .btn-outline-light:hover {
  color: var(--wbs-navy);
}
/* Individual carousel backgrounds and transition states. */
.hero .carousel-item {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 1.45rem), linear-gradient(135deg, #062b5c 0%, #074987 100%);
  transition: opacity .8s ease, filter .8s ease;
}
.hero .hero-slide-support {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 1.45rem), linear-gradient(135deg, #062b5c 0%, #074987 100%);
}
.hero .hero-slide-infrastructure {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 1.45rem), linear-gradient(135deg, #053563 0%, #0068b8 100%);
}
.hero .hero-slide-automation {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 1.45rem), linear-gradient(135deg, #082c62 0%, #087caa 100%);
}
.hero .hero-slide-servers {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 1.45rem), linear-gradient(135deg, #062e66 0%, #087cb7 100%);
}
.hero .carousel-item::after {
  background-image: radial-gradient(circle at 12% 24%, rgba(117, 232, 255, .85) 0 .08rem, transparent .13rem), radial-gradient(circle at 38% 68%, rgba(43, 198, 244, .7) 0 .1rem, transparent .17rem), radial-gradient(circle at 72% 30%, rgba(255, 255, 255, .7) 0 .07rem, transparent .13rem), radial-gradient(circle at 88% 77%, rgba(43, 198, 244, .65) 0 .11rem, transparent .18rem);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}
.hero .carousel-item-next, .hero .carousel-item-prev {
  opacity: 0;
  transform: none !important;
}
.hero .carousel-item-next.carousel-item-start, .hero .carousel-item-prev.carousel-item-end {
  animation: hero-assemble .8s ease both;
  opacity: 1;
  transform: none !important;
}
.hero .carousel-item.active.carousel-item-start, .hero .carousel-item.active.carousel-item-end {
  animation: hero-disintegrate .8s ease both;
  opacity: 0;
  transform: none !important;
}
.hero .carousel-item.active.carousel-item-start::after, .hero .carousel-item.active.carousel-item-end::after {
  animation: hero-dust .8s ease both;
}
.hero .carousel-item-next.carousel-item-start .hero-row, .hero .carousel-item-prev.carousel-item-end .hero-row {
  animation: hero-content-in .75s .08s ease both;
}
.hero .carousel-item.active.carousel-item-start .hero-row, .hero .carousel-item.active.carousel-item-end .hero-row {
  animation: hero-content-out .6s ease both;
}
/* Carousel exit, entry, dust and content-motion keyframes. */
@keyframes hero-disintegrate {
  0% {
    clip-path: inset(0);
    filter: blur(0);
    opacity: 1;
  }
  55% {
    clip-path: polygon(0 0, 100% 0, 96% 35%, 100% 70%, 91% 100%, 0 100%, 4% 67%, 0 30%);
  }
  100% {
    clip-path: polygon(15% 0, 100% 12%, 88% 48%, 100% 82%, 70% 100%, 9% 84%, 17% 46%, 0 16%);
    filter: blur(13px);
    opacity: 0;
  }
}
@keyframes hero-assemble {
  from {
    clip-path: polygon(11% 0, 100% 10%, 90% 44%, 100% 84%, 73% 100%, 8% 87%, 16% 47%, 0 18%);
    filter: blur(11px);
    opacity: 0;
  }
  to {
    clip-path: inset(0);
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes hero-dust {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  28% {
    opacity: .85;
  }
  100% {
    opacity: 0;
    transform: translate3d(5rem, -2rem, 0) scale(1.9);
  }
}
@keyframes hero-content-out {
  to {
    filter: blur(7px);
    opacity: 0;
    transform: translate3d(1.5rem, -.75rem, 0);
  }
}
@keyframes hero-content-in {
  from {
    filter: blur(7px);
    opacity: 0;
    transform: translate3d(-1.5rem, .75rem, 0);
  }
  to {
    filter: blur(0);
    opacity: 1;
    transform: none;
  }
}
/* Slide indicator controls pinned to the bottom of the hero. */
.hero-carousel-navigation {
  bottom: 1.5rem;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 3;
}
.hero-carousel-controls {
  align-items: center;
  display: flex;
}
.hero-carousel-indicators {
  align-items: center;
  display: flex !important;
  gap: .45rem;
  margin: 0;
  min-height: .5rem;
  position: static;
}
.hero-carousel-indicators [data-bs-target] {
  background-color: #fff;
  border: 0;
  border-radius: 999px;
  display: block;
  height: .38rem;
  margin: 0;
  opacity: .48;
  padding: 0;
  width: 1.7rem;
}
.hero-carousel-indicators .active {
  opacity: 1;
  width: 2.7rem;
}
/* Problem cards and the consultation-step list. */
.problem-section {
  background: linear-gradient(180deg, #fff 0%, var(--wbs-cloud) 100%);
}
.problem-card {
  color: var(--wbs-ink);
}
.problem-card .card-body {
  display: flex;
  flex-direction: column;
}
.problem-card:hover, .problem-card:focus-visible, #services .card:hover {
  box-shadow: 0 1.4rem 3rem rgba(22, 42, 73, .14) !important;
  transform: translateY(-5px);
}
.problem-card-link {
  color: var(--wbs-blue);
  font-weight: 700;
  margin-top: auto;
}
.request-steps {
  display: grid;
  gap: 1.25rem;
}
.request-steps li {
  align-items: flex-start;
  display: flex;
  gap: .9rem;
}
.request-steps span {
  align-items: center;
  background: var(--wbs-blue-soft);
  border-radius: 50%;
  color: var(--wbs-blue);
  display: inline-flex;
  flex: 0 0 2rem;
  font-size: .88rem;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
}
.request-steps strong {
  display: block;
  font-size: 1rem;
  margin: .2rem 0;
}
.request-steps p {
  color: #627d98;
  margin: 0;
}
/* Outcome lists use the site's blue accent and spacing. */
.case-feature-list {
  display: grid;
  gap: .7rem;
  margin-top: 1.35rem !important;
}
.case-feature-list li {
  color: #48617a;
  line-height: 1.35;
}
/* About WBS uses a calm animated blue gradient with strong text contrast. */
.about-wbs-section {
  animation: about-wbs-gradient 20s ease-in-out infinite;
  background: linear-gradient(115deg, #063663 0%, #07558c 48%, #0871a6 100%);
  background-size: 170% 170%;
}
@keyframes about-wbs-gradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
/* Service-card hover accent. */
#services .card::after {
  background: var(--wbs-blue);
  content: "";
  height: 3px;
  left: 1.5rem;
  position: absolute;
  top: 0;
  transition: width .25s ease;
  width: 0;
}
#services .card:hover::after {
  width: 4.5rem;
}
#services .card-body {
  padding: 1.25rem !important;
}
#services .card h3 {
  margin-top: 1.15rem !important;
}
/* Responsive hero sizing and measurement helpers. */
@media (max-width: 991.98px) {
  .hero-row {
    min-height: var(--hero-row-min-height, auto);
  }
  .hero-carousel--measuring .carousel-item {
    display: block;
    inset: 0;
    position: absolute;
    visibility: hidden;
  }
  .hero-row--measuring {
    min-height: 0 !important;
  }
  .hero::before {
    right: -15rem;
  }
}
@media (max-width: 575.98px) {
  .hero h1, .hero-slide-title {
    font-size: 2.55rem;
  }
  .hero-carousel-navigation {
    bottom: 1.25rem;
  }
  .hero .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .carousel-item, .hero .carousel-item-next, .hero .carousel-item-prev {
    animation: none !important;
    transition: none !important;
  }
  .hero .carousel-item::after, .hero .carousel-item .hero-row {
    animation: none !important;
  }
  .about-wbs-section {
    animation: none;
  }
}
