/* Animations for Nathour Landing Page */

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pulse effect for WhatsApp button */
.nathour-whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #25D366;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Fade in animation for sections */
.nathour-animate-fade {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Slide in animation */
.nathour-animate-slide {
    animation: slideInRight 0.5s ease-out forwards;
}

/* Hover effects */
.nathour-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nathour-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Loading spinner */
.nathour-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success message animation */
.nathour-success-msg {
    background: #10B981;
    color: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}

/* Error message animation */
.nathour-error-msg {
    background: #EF4444;
    color: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}
