.marquee {
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  gap: 3rem; /* space between images */
  animation: marquee-scroll 20s linear infinite;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}




.slideshow img {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fadeZoom 35s infinite;
}

/* delay kwa kila picha */
.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 5s; }
.slideshow img:nth-child(3) { animation-delay: 10s; }
.slideshow img:nth-child(4) { animation-delay: 15s; }
.slideshow img:nth-child(5) { animation-delay: 20s; }
.slideshow img:nth-child(6) { animation-delay: 25s; }
.slideshow img:nth-child(7) { animation-delay: 30s; }

@keyframes fadeZoom {
  0%   { opacity: 0; transform: scale(1); }
  10%  { opacity: 1; transform: scale(1.05); }
  20%  { opacity: 1; transform: scale(1.1); }
  30%  { opacity: 0; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1); }
}



@keyframes spinnerGrow {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(360deg);
  }
}

.animate-spinnerGrow {
  animation: spinnerGrow 1s ease-out forwards;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp {
  animation: fadeInUp 1s ease-out forwards;
}




@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 1.5s ease-out forwards;
}


