@keyframes ray {
    0% {
        transform: translateY(-100%) scaleY(0.5);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(0%) scaleY(1);
        opacity: 0.8;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100%) scaleY(0.5);
        opacity: 0;
    }
}

.animate-ray {
    animation: ray 6s ease-in-out infinite;
    transform-origin: top;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
  pointer-events: none;
} 

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s cubic-bezier(.4, 0, .2, 1) both;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Honeycomb Hexagon Grid */
.hexagon-honeycomb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hex-row {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.hex-row.offset {
  margin-left: 112px; /* half hex width for stagger */
}

.hexagon-item {
  width: 200px;
  aspect-ratio: 1.15/1;
  background: #fff;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  border: 2.5px solid #ececec;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 24px 16px;
  margin-bottom: 24px;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  box-shadow: none;
}
.hexagon-item:hover {
  border-color: #ff5a5a;
  transform: translateY(-8px) scale(1.04);
}

.hexagon-icon {
  background: #ffeaea;
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin-bottom: 18px;
}
.hexagon-icon i {
  color: #ff5a5a;
  font-size: 2.1rem;
}

.hexagon-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
  text-align: center;
}

.hexagon-desc {
  font-size: 0.98rem;
  color: #888;
  text-align: center;
  margin-bottom: 0;
  font-weight: 400;
}

@media (max-width: 900px) {
  .hex-row.offset {
    margin-left: 0;
  }
  .hexagon-item {
    width: 150px;
    padding: 20px 8px 16px 8px;
  }
}