
@keyframes bounceSlow {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.animate-bounce-slow {
  animation: bounceSlow 4s infinite;
}

.banner-iamge {
background-image: url(/assets/image/type-car-rental.jpg);
}


@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-word {
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(40px); }
  to { opacity:1; transform:translateY(0); }
}

@keyframes slideText {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.animate-slideText {
  display: inline-block;
  animation: slideText 15s linear infinite;
}


@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.animate-marquee {
  animation: marquee 15s linear infinite;
}

/* rent button   */

#modalBox {
  transition: all 0.4s ease-in-out;
}

/* why choose us  */
.border-rotate {
  position: relative;
}

/* Actual moving border */
.animated-border {
  stroke-dashoffset: 0;
  animation: borderMove 4s linear infinite;
}

/* Clean 360 rotation effect */
@keyframes borderMove {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -200;
  }
}



/* our mission or vission  */
.animated-text {
  display: flex;
  gap: 10px;
  overflow: hidden;
}

.word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: letterIn 4s infinite;
}

/* Animation timing per letter */
.word span:nth-child(1) { animation-delay: 0s; }
.word span:nth-child(2) { animation-delay: 0.15s; }
.word span:nth-child(3) { animation-delay: 0.3s; }
.word span:nth-child(4) { animation-delay: 0.45s; }
.word span:nth-child(5) { animation-delay: 0.6s; }
.word span:nth-child(6) { animation-delay: 0.75s; }
.word span:nth-child(7) { animation-delay: 0.9s; }

.white span { color: white; }
.yellow span { color: #eab308; }

/* Smooth premium animation */
@keyframes letterIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Banner  */
/* Background slow zoom */
@keyframes zoomSlow {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1.2);
  }
}
.animate-zoomSlow {
  animation: zoomSlow 20s linear infinite alternate;
}

/* Heading slide */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-slideUp {
  animation: slideUp 1s ease-out forwards;
}

/* Fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.animate-fadeIn {
  animation: fadeIn 1.2s ease-out forwards;
}
.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }

/* Light line animation */
@keyframes lineMove {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
.animate-lineMove {
  animation: lineMove 3s linear infinite;
}

  @keyframes contactFloat {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-contact {
  animation: contactFloat 1s ease-out forwards;
}
