/* Advanced CSS Animations for Heparth */

/* 1. Icon Pulse Animation */
.animate-icon-pulse {
    animation: iconPulse 2s infinite ease-in-out;
}

@keyframes iconPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0, 113, 227, 0)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 10px rgba(0, 113, 227, 0.4)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0, 113, 227, 0)); }
}

/* 2. Floating Float Animation */
.animate-float {
    animation: floating 3s infinite ease-in-out;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* 3. Gradient Text Animation */
.animate-gradient-text {
    background: linear-gradient(90deg, #054687, #0071e3, #054687);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* 4. Smooth Reveal from Bottom */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* 5. Hover Shine for Buttons */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    left: -150%;
}

.btn-shine:hover::after {
    left: 150%;
}

/* 7. Card Pop Hover Animation */
.card-pop {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-pop:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.15);
}

/* 8. Text Gradient Animated */
.text-gradient-animate {
    background: linear-gradient(90deg, #054687, #0071e3, #00c6ff, #054687);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

/* 9. Background Particle-like Float */
.bg-float-dots {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#0071e3 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    z-index: -1;
    animation: floatBg 20s linear infinite;
}

@keyframes floatBg {
    from { background-position: 0 0; }
    to { background-position: 300px 300px; }
}

/* 10. Smooth Reveal Left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* 11. Smooth Reveal Right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* 12. Staggered List Items */
.staggered-item {
    opacity: 0;
    transform: translateY(20px);
}

.staggered-item.active {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger delays (can be applied manually or via JS) */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

