.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  color: white;
}

.hero-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}
.delay-3 {
  animation-delay: 0.9s;
}
.delay-4 {
  animation-delay: 1.2s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-item {
  flex-shrink: 0;
  width: 25%;
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  /* text-align: center; */
}

@media (max-width: 1024px) {
  .team-item {
    width: 33.3333%;
  }
}

@media (max-width: 768px) {
  .team-item {
    width: 50%;
  }
}

@media (max-width: 640px) {
  .team-item {
    width: 100%;
  }
}

.team-item img {
  width: 100%;
  /* height: 260px; */
  object-fit: cover;
  border-radius: 16px;
}

.rotate-forever {
  animation: spinForever 6s linear infinite;
}
@keyframes spinForever {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
