#pageLoader {
  width: 100vw;
  height: 100vh;
}

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  transform: scale(1.5);
}

.steps-row {
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: sans-serif;
}

/* Steps */
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.5s ease;
  color: #4caf50;
}

/* Make visible */
.step.visible {
  opacity: 1;
  transform: scale(1);
}

.step .icon img {
  display: block;
  width: 48px; 
  height: 48px;
}

.step small {
  margin-top: 8px;
  font-size: 16px; 
  text-align: center;
}

.step small,
.arrow small {
  white-space: nowrap;
  display: inline-block;
}

/* Arrows */
.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 32px;
  line-height: 1;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  color: #4caf50;
}

.arrow small {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.75;
  white-space: nowrap;
}

.arrow.visible {
  opacity: 1;
  transform: translateX(0);
}

.hub-spot-color small {
  color: #4caf50;
}

@media (max-width: 1024px) {
  .loader {
    transform: scale(1.1);
  }

  .steps-row {
    gap: 20px;
  }

  .step .icon img {
    width: 36px;
    height: 36px;
  }

  .arrow {
    font-size: 24px;
  }

  .arrow small {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  #pageLoader {
    padding: 0 12px;
  }

  .loader {
    transform: scale(0.95);
  }

  .steps-row {
    gap: 12px;
    flex-wrap: nowrap;
  }

  .step {
    opacity: 0;
    transform: scale(0.9);
  }

  .step.visible {
    opacity: 1;
    transform: scale(1);
  }

  .step .icon img {
    width: 30px;
    height: 30px;
  }

  .step small {
    font-size: 12px;
    margin-top: 4px;
  }

  .arrow {
    font-size: 18px;
  }

  .arrow small {
    font-size: 10px;
     margin-top: 4px;
  }
}

@media (max-width: 380px) {
  .steps-row {
    gap: 8px;
  }

  .step .icon img {
    width: 26px;
    height: 26px;
  }

  .step small,
  .arrow small {
    font-size: 9px;
  }

  .arrow {
    font-size: 16px;
  }
}
