/* Core */
img {
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #1c8ff7;
}

.text-gradient {
  font-weight: 500;
  background: linear-gradient(90deg, #1c8ff7 0%, #1cf4f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Loading Bars (used in Hubspot placeholders) */

.loading-bars {
  display: inline-flex;
  gap: 0.25rem;
  height: 1.5rem;
}

.loading-bars > div {
  display: inline-block;
  width: 0.375rem;
  height: 100%;
  background-color: rgb(255, 255, 255, 50%);
  -webkit-animation: loading-bar-stretch 1.2s infinite ease-in-out;
  animation: loading-bar-stretch 1.2s infinite ease-in-out;
}

.loading-bars > div:nth-child(2) {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.loading-bars > div:nth-child(3) {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

.loading-bars > div:nth-child(4) {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.loading-bars > div:nth-child(5) {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@keyframes loading-bar-stretch {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.625);
    transform: scaleY(0.625);
  }

  20% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

/* Loading Text (visually hidden, for screen readers) */

.loading-text {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  white-space: nowrap !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* Info Box (used in marketing blocks) */

.info-box h1 {
  font-family: Syncopate, avenir-lt-pro, Avenir, Nunito, Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.info-box h1,
.info-box h2,
.info-box h3,
.info-box h4,
.info-box h5,
.info-box h6 {
  margin: 0 0 0.75rem;
}

.info-box p {
  margin: 0 0 1rem;
}

.info-box .info-box__label {
  margin: 0;
  font-family: Syncopate, avenir-lt-pro, Avenir, Nunito, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.125;
  text-transform: uppercase;
}

.info-box > :first-child {
  margin-top: 0 !important;
}

.info-box > :last-child {
  margin-bottom: 0 !important;
}

.info-box.info-box--centered {
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
}

/* Section layout (used by request-demo block) */

.section {
  position: relative;
  padding: 4rem 1.5rem;
  padding-left: calc(1.5rem + constant(safe-area-inset-left));
  padding-left: calc(1.5rem + env(safe-area-inset-left));
  padding-right: calc(1.5rem + constant(safe-area-inset-right));
  padding-right: calc(1.5rem + env(safe-area-inset-right));
}

.section .section__background-image {
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  width: 100%;
  height: 100%;
}

.section .section__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 40rem;
  margin: 0 auto;
}

.section .section__content > h1,
.section .section__content > h2,
.section .section__content > h3,
.section .section__content > h4,
.section .section__content > h5,
.section .section__content > h6 {
  margin: 0;
}

.section.section--background-gradient {
  color: #ffffff;
  background: linear-gradient(140deg, #110129 0%, #253a7c 100%);
}

/* Compact variant used on this page */
.section.section--compact {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Generic row layout used in marketing blocks */

.ns-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ns-row.ns-row--sidebar > :first-child {
  flex: 0 0 auto;
}

/* Hubspot container */

.hubspot-form {
  width: 100%;
}

/* Resource cards used in Splide slider */

.resource {
  display: block;
}

.resource > :first-child {
  margin-top: 0 !important;
}

.resource > :last-child {
  margin-bottom: 0 !important;
}

.resource .resource__image {
  display: flex;
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: 0.25rem;
}

.resource .resource__image img {
  width: 100%;
}

.resource .resource__label {
  margin: 0.125rem 0;
  font-family: Syncopate, avenir-lt-pro, Avenir, Nunito, Arial, Helvetica, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1c8ff7;
}

.resource .resource__title {
  margin: 0.125rem 0;
  font-family: avenir-lt-pro, Avenir, Nunito, Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a0044;
}

.resource .resource__title a {
  color: inherit;
}

/* Footer used directly in template */

.footer {
  padding: 4rem 2rem;
  padding-bottom: calc(4rem + constant(safe-area-inset-bottom));
  padding-bottom: calc(4rem + env(safe-area-inset-bottom));
  padding-left: calc(2rem + constant(safe-area-inset-left));
  padding-left: calc(2rem + env(safe-area-inset-left));
  padding-right: calc(2rem + constant(safe-area-inset-right));
  padding-right: calc(2rem + env(safe-area-inset-right));
  font-size: 1rem;
  color: #ffffff;
  background: linear-gradient(140deg, #110129 0%, #253a7c 100%);
}

.footer .footer__content {
  display: grid;
  gap: 2rem;
  max-width: 40rem;
  margin: 0 auto;
}

.footer .footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer .footer__contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.footer .footer__contact-buttons > a {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  min-width: 15rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: linear-gradient(140deg, rgb(147, 144, 144, 22%) 0%, rgb(255, 255, 255, 10%) 100%);
  border-radius: 0.25rem;
}

.footer .footer__social-icons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.footer .footer__title {
  margin: 0 0 0.5rem;
  font-family: Syncopate, avenir-lt-pro, Avenir, Nunito, Arial, Helvetica, sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.footer .footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer .footer__menu > li {
  display: block;
  margin: 0.25rem 0;
  line-height: 1.25;
}

.footer .footer__menu > li:first-child {
  margin-top: 0;
}

.footer .footer__menu > li:last-child {
  margin-bottom: 0;
}

.footer .footer__menu > li > a {
  font-size: 0.875rem;
  color: #ffffff;
}

.footer .footer__copyright {
  font-size: 0.875rem;
}

.footer .footer__copyright > :first-child {
  margin-top: 0;
}

.footer .footer__copyright > :last-child {
  margin-bottom: 0;
}

/* Splide slider tweaks used on this page */

.splide .splide__track:not(:only-child) {
  margin-bottom: 2rem;
}

.splide .splide__pagination {
  flex-wrap: nowrap;
  gap: 0.5rem;
  bottom: 0;
  padding: 0;
}

.splide .splide__pagination li {
  display: inline-flex;
  flex: 0 1 4rem;
}

.splide .splide__pagination__page {
  flex: 1 1 0;
  margin: 0;
  width: auto;
  height: 0.5rem;
  opacity: 1;
  background-color: #d3d3d3;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease-in-out;
}

.splide .splide__pagination__page.is-active {
  background-color: #1c8ff7;
  transform: none;
}

/* Responsive tweaks for footer/layout */

@media (min-width: 576px) {
  .footer .footer__content {
    grid-template-columns: 3fr 2fr;
  }

  .footer .footer__brand {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .footer .footer__contact {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer .footer__nav.footer__nav--locations {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 3;
    flex-direction: column;
    align-items: center;
  }

  .footer .footer__nav.footer__nav--locations .footer__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
  }

  .footer .footer__nav.footer__nav--locations .footer__menu > li {
    display: inline-block;
    margin: 0;
  }

  .footer .footer__nav.footer__nav--solutions {
    grid-column: 1;
    grid-row: 4;
  }

  .footer .footer__nav.footer__nav--training {
    grid-column: 1;
    grid-row: 5;
  }

  .footer .footer__nav.footer__nav--resources {
    grid-column: 2;
    grid-row: 4 / 6;
  }

  .footer .footer__contact-form {
    grid-column: 1 / -1;
    grid-row: 6;
  }

  .footer .footer__copyright {
    grid-column: 1 / -1;
    grid-row: 7;
  }
}

@media (min-width: 992px) {
  .section {
    padding: 5rem 2rem;
  }

  .section .section__content {
    gap: 4rem;
    max-width: 80rem;
  }

  .section.section--compact .section__content {
    max-width: 60rem;
  }

  .ns-row {
    flex-direction: row;
    gap: 4rem;
  }

  .ns-row.ns-row--sidebar > :first-child {
    flex: 0 0 25rem;
  }
}

@media (min-width: 1280px) {
  .footer .footer__content {
    grid-template-columns: 2fr 3fr 2fr 4fr;
    grid-template-rows: auto 2rem auto 2rem auto 2rem auto 2rem auto auto;
    row-gap: 0;
    max-width: 80rem;
  }

  .footer .footer__brand,
  .footer .footer__contact-buttons,
  .footer .footer__social-icons {
    justify-content: flex-start;
  }

  .footer .footer__contact {
    grid-column: 1;
    grid-row: 3 / span 3;
  }

  .footer .footer__nav.footer__nav--locations {
    grid-column: 1;
    grid-row: 6 / span 2;
    align-items: flex-start;
  }

  .footer .footer__nav.footer__nav--locations .footer__menu {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }

  .footer .footer__nav.footer__nav--solutions {
    grid-column: 2;
    grid-row: 2 / span 2;
  }

  .footer .footer__nav.footer__nav--training {
    grid-column: 2;
    grid-row: 5;
  }

  .footer .footer__nav.footer__nav--resources {
    grid-column: 3;
    grid-row: 2 / span 4;
  }

  .footer .footer__contact-form {
    grid-column: 4;
    grid-row: 2 / span 9;
  }

  .footer .footer__copyright {
    grid-column: 1 / -2;
    grid-row: 10;
  }
}

/*Splider*/
  /* Add breathing room below the slider content so pagination can sit lower */
  .splide {
    padding-bottom: 5px; /* increase to push pagination further down */
  }

