/* The home hero keeps its intentional banner spacing. */
body.home #main {
  padding-top: 0;
}
body.home #main #home-2019 {
  box-sizing: border-box;
  min-height: clamp(580px, 40.2vw, 760px);
  padding-top: clamp(210px, 15.8vw, 300px);
  padding-bottom: 100px;
  background-image:
    linear-gradient(to right, #005bea 0%, rgba(0, 91, 234, .58) 58%, rgba(0, 110, 234, .22) 100%),
    url('../images/Home-Page-Banner-Default.jpg');
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
body.home #home-2019::after {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  background: rgba(224, 241, 255, .36);
  clip-path: polygon(29.5% 100%, 100% 36%, 100% 100%);
  pointer-events: none;
  z-index: -1;
}
body.home #main #home-2019 > .layout__row {
  max-width: 1420px;
  width: 82%;
}
body.home #main #home-2019 .builder__column-0 {
  margin-bottom: 65px;
}
body.home #main #home-2019 h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 2.78vw, 50px);
  line-height: 1.2;
  letter-spacing: normal;
}
body.home #main #home-2019 h2 {
  font-size: clamp(18px, 1.28vw, 23px);
  line-height: 1.5;
  margin: 0;
}
body.home #home-2019 #main-button-home {
  padding: 22px 26px;
  font-size: clamp(17px, 1.28vw, 23px);
  line-height: 1.2;
  white-space: nowrap;
}
@media (min-width: 1101px) {
  body.home .header {
    position: absolute;
    inset: 0 0 auto;
  }
  body.home .header__bar {
    background: transparent;
  }
}
@media (min-width: 800px) and (max-width: 1100px) {
  body.home #main #home-2019 {
    padding-top: 96px;
    min-height: 500px;
  }
}
@media (max-width: 799px) {
  body.home #main #mobile-2019 {
    padding-top: 40px;
  }
}
@media (min-width: 1101px) {
  body.home .header__bar > .layout__row {
    max-width: 1550px;
    width: 86%;
  }
  body.home .header__logo img {
    width: clamp(120px, 8.33vw, 150px);
    height: auto;
  }
  body.home .navigation__text {
    font-size: clamp(16px, 1.12vw, 20px);
  }
  body.home .navigation > ul > li {
    padding-right: clamp(24px, 3.1vw, 56px);
  }
  body.home .navigation .menu__item-button .button {
    font-size: clamp(13px, 1vw, 18px);
  }
}
body.home #main .builder__row-3 > .layout__row {
  max-width: 1420px;
  width: 82%;
}
body.home #home-2019 #main-button-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: clamp(208px, 14.45vw, 260px);
  min-height: clamp(58px, 4.06vw, 73px);
  padding: 18px 20px;
}
body.home #main-button-home .button__text {
  font-size: clamp(17px, 1.28vw, 23px);
}
@media (min-width: 1101px) {
  body.home .header__bar > .layout__row {
    display: flex;
    align-items: center;
  }
  body.home .header__logo {
    flex: 0 0 auto;
    margin: 22px 0;
  }
  body.home .header__bar .navigation {
    flex: 1;
    max-width: 1240px;
    margin-left: clamp(32px, 2.78vw, 50px);
  }
  body.home .navigation > ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  body.home .navigation > ul > li {
    padding-right: 0;
  }
}
/* ---------- Client logos: continuous marquee, scrolling left to right ---------- */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-scroll 45s linear infinite;   /* change 45s to make it faster / slower */
}
.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}
.logo-marquee__set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-marquee__set li {
  flex: 0 0 auto;
  width: clamp(200px, 16vw, 280px);
  margin: 0 clamp(24px, 3vw, 56px) 0 0;
  padding: 0;
}
.logo-marquee__set img {
  display: block;
  width: 100%;
  height: auto;
}
/* Push the section below the client logos down by 30px */
body.home #main .builder__row-5 {
    margin-top: 45px !important;
}

/* Smooth blue-to-white transition below the hero */
body.home #main .builder__row-3 {
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    padding-top: 30px;
    background: linear-gradient(
        to bottom,
        #e8f2ff 0%,
        #f5f9ff 45%,
        #ffffff 100%
    );
}

/* Keep the logo row centered and clean */
body.home #main .builder__row-3 > .layout__row {
    width: 90%;
    max-width: 1420px;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
}

/* Smooth, subtle logo presentation */
body.home .logo-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
}

/* Track holds two identical halves; sliding from -50% to 0 moves the logos to the RIGHT, seamlessly. */
@keyframes logo-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
