﻿
/* Hero animations */
@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes floating {

    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-right {
    /* ...existing styles... */
    animation: fadeIn 1s ease-out forwards;
}


.animate-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Set different delays for each word */
.welcome-title .animate-word:nth-child(1) {
    animation-delay: 0.1s;
}

.welcome-title .animate-word:nth-child(2) {
    animation-delay: 0.3s;
}

.welcome-title .animate-word:nth-child(3) {
    animation-delay: 0.5s;
}

.welcome-subtitle .animate-word:nth-child(1) {
    animation-delay: 0.7s;
}

.welcome-subtitle .animate-word:nth-child(2) {
    animation-delay: 0.9s;
}

.welcome-subtitle .animate-word:nth-child(3) {
    animation-delay: 1.1s;
}

.welcome-subtitle .animate-word:nth-child(4) {
    animation-delay: 1.3s;
}
