body{
  overflow-x: hidden;
}

.Subheading {
  background-color: transparent;
}

.perspective {
  perspective: 1000px;
}


/* Basic fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-in from the left animation */
.slide-in-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide-in from the right animation */
.slide-in-right {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}


/* Step active animation */
.step.active {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(110, 110, 110, 0.4);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  background-color: #b9b7b7;
  color: white;
}

/* Loading bar styles */
.loading-bar {
  width: 100%;
  background-color: rgba(52, 52, 52, 0.2);
  margin-top: 0.5rem;
  border-radius: 9999px;
  overflow: hidden;
  height: 4px;
}

.loading-progress {
  height: 100%;
  width: 0%;
  background-color: white;
  transition: width 3s linear;
}



/* hero section animation  */

.floating-image {
  opacity: 0;
  transform: translateX(0) translateY(0);
  z-index: -3;
}


@keyframes floatToMobile {
  0% {
    opacity: 0;
    transform: translateX(var(--start-x)) translateY(100px) scale(0.8);
    z-index: -3;
  }

  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) ;
    z-index: 0;
  }
}


@keyframes floatFromMobile {
  0% {
    opacity: 1;
    transform: translateX(0) translateY(0) ;
    z-index: 0;
  }

  100% {
    opacity: 0;
    transform: translateX(var(--start-x)) translateY(100px) scale(0.8);
    z-index: -3;
  }
}

.show-animation {
  animation: floatToMobile 1.5s ease-out forwards;
}

.hide-animation {
  animation: floatFromMobile 4s ease-out forwards;
}

@keyframes titleHide {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1.3);
  }

  100% {
    opacity: 0;
    transform: translateY(280px) scale(0.8);
  }
}

@keyframes titleShow {
  0% {
    opacity: 0;
    transform: translateY(280px) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1.3);
  }
}

.title-hide {
  animation: titleHide 1s ease forwards;
}

.title-show {
  animation: titleShow 1s ease forwards;
}