body {
  padding-top: 0px;
}

.footer {
  margin-bottom: 0px;
}

.fixed-bottom-bar {
  display: none;
}

.video-block {
  width: 100%;
  height: 100dvh;
  position: relative;
  z-index: 1;
}

.video-block-visual-background {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.video-block-logo {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 0px var(--grid-margin) 16px;
  z-index: 10;
}

.home-cta-mobile-container {
  display: none;
}

.empty-block {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 0;
}

.gradient-block {
  width: 100%;
  height: 100vh;
}

.gradient-block-text {
  padding: 0px var(--grid-margin);
}

.visuals-over-text-block {
  position: relative;
  width: 100%;
  height: 200vh;
  /* background-color: var(--blue); */
}

.visuals-over-text-block-text {
  position: relative;
  width: 100%;
  padding: var(--grid-margin);
  z-index: 1;
  pointer-events: none;
}

.visuals-over-text-block-text h1 {
  color: var(--white);
  pointer-events: auto;
}

.visuals-over-text-block-visuals {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.visuals-over-text-block-single-visual {
  width: 18%;
  height: auto;
  position: absolute;
  z-index: 2;
  transform: scale(0.88);
  pointer-events: auto;
}

.visuals-over-text-block-single-visual:nth-child(1) {
  left: 0%;
  top: calc(50% + 36vh);
}

.visuals-over-text-block-single-visual:nth-child(2) {
  left: 32%;
  top: calc(50% + 0vh);
}

.visuals-over-text-block-single-visual:nth-child(3) {
  right: 0%;
  top: calc(50% + 12vh);
}

.visuals-over-text-block-single-visual:nth-child(4) {
  right: 30%;
  top: calc(50% + 75vh);
}

.skills-title-block {
  width: 100%;
  height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 0;
}

.skills-title-block-text {
  width: 100%;
  padding: var(--grid-margin);
  padding-bottom: calc(var(--grid-margin) * 1.5);
}

.skills-title-block-text h2 {
  color: var(--white);
}

.horizontal-scroll-block {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.horizontal-scroll-block-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  will-change: transform;
}

.horizontal-scroll-block-item {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-shrink: 0;
  will-change: transform;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.horizontal-scroll-block-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.horizontal-scroll-block-item.horizontal-scroll-block-item-cta-container::before {
  display: none;
}

.horizontal-scroll-block-item:last-child::before {
  display: none;
}

.horizontal-scroll-block-item-title {
  padding: 0px var(--grid-margin);
  color: var(--white);
  position: relative;
  z-index: 2;
}

.horizontal-scroll-block-item-description {
  padding: var(--grid-margin);
  padding-bottom: calc(var(--grid-margin) * 1.5);
  padding-top: 8px;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.horizontal-scroll-block-item.horizontal-scroll-block-item-cta-container {
  justify-content: flex-start;
}

.block-item-cta {
  padding: var(--grid-margin);
  padding-top: calc(var(--grid-margin) * 1.5);
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.block-item-cta .cta {
  background-color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.block-item-cta .cta:hover {
  background-color: var(--dark-grey);
}

.horizontal-scroll-block .block-item-cta h1 {
  color: var(--white);
}

.horizontal-scroll-block .block-item-cta .cta {
  background-color: var(--white);
}

.horizontal-scroll-block .block-item-cta .cta:hover {
  background-color: var(--dark-grey);
}

.last-block {
  width: 100%;
  height: calc(100vh - var(--footer-height));
  background-color: var(--white);
}

.footer {
  background-color: var(--white);
  margin-bottom: 0px;
}

/* -------------------- TABLET / MOBILE -------------------- */
@media screen and (max-width: 1023px) {
  .visuals-over-text-block-single-visual {
    width: 25%;
  }

  .visuals-over-text-block-single-visual:nth-child(1) {
    left: 0%;
    top: calc(50% + 56vh);
  }

  .visuals-over-text-block-single-visual:nth-child(2) {
    left: 24%;
    top: calc(50% + 0vh);
  }

  .visuals-over-text-block-single-visual:nth-child(3) {
    right: 0%;
    top: calc(50% + 24vh);
  }

  .visuals-over-text-block-single-visual:nth-child(4) {
    right: 24%;
    top: calc(50% + 80vh);
  }

  .horizontal-scroll-block-item-description {
    padding-bottom: calc(var(--grid-margin) * 5);
  }

  /* Improve performance on mobile */
  .horizontal-scroll-block-content {
    -webkit-overflow-scrolling: touch;
  }

  .horizontal-scroll-block {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  /* Ensure visuals stay above text on mobile */
  .visuals-over-text-block-visuals {
    z-index: 10;
  }

  .visuals-over-text-block-single-visual {
    z-index: 10;
  }

  .visuals-over-text-block-text {
    z-index: 1;
  }
}

/* -------------------- MOBILE -------------------- */
@media screen and (max-width: 991px) {

  section:not(.video-block),
  .footer {
    display: none;
  }

  .home-cta-mobile-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    z-index: 999;
  }

  .home-cta-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60vw;
    width: auto;

    height: 40px;
    padding: 0 30px 1px;
    background-color: var(--white);
    color: var(--blue);
    text-align: center;
    text-wrap: nowrap;
    border: 1px solid var(--blue);
    border-radius: 20px;
    transition: background-color 0.3s linear, color 0.3s linear;
  }

  .home-cta-mobile:hover {
    background-color: var(--blue);
    color: var(--white);
  }
}