/**
 * PREMIUM HERO ANIMATIONS
 * Soft animated gradient + Subtle Glow Particles
 */

/* 1. Animated Gradient Background */
.contact-hero {
    position: relative;
    overflow: hidden;
    /* Contain particles */
    /* Soft Premium Gradient (Purple/Pink/Blue hues) */
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab, #7C3AED);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: 1;
    /* Ensure base layer */
}

/* Gradient Keyframes */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 2. Particles Container */
#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Behind content */
}

/* Particle Styles */
.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

/* Particle Float Animation */
@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    50% {
        transform: translateY(-50px) scale(1);
        opacity: 0.3;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Ensure Text is Readable & On Top */
.contact-hero .container {
    position: relative;
    z-index: 2;
    /* meaningful backdrop for text readability if needed */
    /* text-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}

/* Brand Floater Animation */
@keyframes floatBrand {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-30px) rotate(5deg);
    }

    66% {
        transform: translateY(20px) rotate(-5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}