/* Animation Utilities */
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header load animation */
.load-animate {
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards;
}

.load-animate-delayed {
    opacity: 0;
    animation: fadeInDown 1s ease-out 0.3s forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to top button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: #00F3FF;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn:hover {
    background-color: rgba(0, 243, 255, 0.8);
    color: #000;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/* Disabled button state */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success message styling */
#formMessage {
    display: none;
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

#formMessage.success {
    display: block;
    background-color: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

#formMessage.error {
    display: block;
    background-color: rgba(255, 0, 0, 0.1);
    color: #ff4d4d;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* Cookie Popup Animation */
#cookieConsent.show-popup {
    transform: translateY(0);
}
