/* Animations */

/* Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

@keyframes cloudMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 1000px 0;
    }
}

/* Utility Classes for Animation */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-wiggle:hover {
    animation: wiggle 0.5s ease-in-out infinite;
}

.animate-pop {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

/* Hero Specific Animations */
.hero-shapes div {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(40px);
    z-index: -1;
    animation: float 10s infinite;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    animation-delay: 0s;
}

.shape-2 {
    bottom: 20%;
    right: -5%;
    width: 250px;
    height: 250px;
    background: var(--accent-orange);
    animation-delay: 2s;
}

.shape-3 {
    top: 40%;
    left: 40%;
    width: 150px;
    height: 150px;
    background: var(--accent-yellow);
    animation-delay: 4s;
}

/* Page Transitions */
.page-section {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page-section.active {
    display: block;
    opacity: 1;
    animation: slideUp 0.6s ease-out;
}