/* 🎯 HERO CONTAINER: animated background */
.top-hero-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-around;
  padding: 20px;
  border-radius: 16px;
  margin: 0px auto;
  max-width: 1000px; 
  /* background: linear-gradient(270deg, #00b8de, #00b8de, white, #000, #333); */
  background: linear-gradient(270deg, #f4f4f4, #e3f2fd, #f4f4f4);  
  background-size: 600% 600%; 
  animation: heroGradient 15s ease infinite;
}
 @keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 🧩 Hero Items */
.top-hero-items {
  flex: 1 1 23%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 15px 20px;
  background-color: #ffffff;
  color: #000;
  text-align: center;
  /* color: #002e6e; */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 16px;
  border: 2px solid transparent;
  min-height: 70px;
  box-sizing: border-box;
  animation: buttonGlow 4s ease-in-out infinite;
}

/* 🌟 Border pulse on the items */
@keyframes buttonGlow {
  0%, 100% { border-color: transparent; box-shadow: none; }
  50% { border-color: #00b8de; box-shadow: 0 0 10px #00b9de29; }
}

/* 🌀 ICON Pulse + Glow + Fade */
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  animation: pulseGlow 2.5s ease-in-out infinite;
  transform-origin: center;
  filter: drop-shadow(0 0 0 transparent);
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 0px transparent);
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
    filter: drop-shadow(0 0 8px #00b8de);
  }
}

/* ✨ TEXT Animation (like icon) */
.top-hero-items span {
  display: inline-block;
  animation: textPulse 3s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

/* 🌊 Stagger the icons */
.top-hero-items:nth-child(1) .icon,
.top-hero-items:nth-child(1) span {
  animation-delay: 0s;
}
.top-hero-items:nth-child(2) .icon,
.top-hero-items:nth-child(2) span {
  animation-delay: 0.5s;
}
.top-hero-items:nth-child(3) .icon,
.top-hero-items:nth-child(3) span {
  animation-delay: 1s;
}
.top-hero-items:nth-child(4) .icon,
.top-hero-items:nth-child(4) span {
  animation-delay: 1.5s;
}

a {
  text-decoration: none;
}

/* 📱tablet Mobile Styles */
@media (max-width: 900px) {
  .top-hero-items {
    flex: 1 1 23%;
  }
}

/* 📱 Mobile Styles */
@media (max-width: 720px) {
  .top-hero-items {
    flex: 1 1 46%;
    font-size: 15px;
    padding: 15px;
    min-height: 70px;
  }

  /* 📱 Smaller Mobile Styles */
@media (max-width: 390px) {
  .top-hero-items {
    flex: 1 1 100%;
  }
}

  .icon {
    width: 20px;
    height: 20px;
  }
}
