/* 
 * Modern Footer Animations & Effects
 * Enhance the footer with smooth animations and interactive elements
 */

/* Entry animations for footer widgets */
.footer-widget {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    transition: transform 0.3s ease;
}


.footer-widget:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-widget:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-widget:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Hover effects for footer sections */
.footer-widget:hover {
    transform: translateY(-5px);
}

/* Glowing effect for social links */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

/* Pulse animation for widget titles */
.widget-title::after {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        opacity: 0.3;
        transform: scaleX(1);
    }

    to {
        opacity: 0.6;
        transform: scaleX(1.1);
    }
}

/* Interactive hover states for contact items */
.contact-item {
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 5px;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Enhanced mobile animations */
@media (max-width: 767px) {
    .footer-widget {
        animation-delay: 0s;
    }

    .social-links {
        animation: slideInUp 0.6s ease-out 0.4s both;
        justify-content: left;
    }

}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Smooth scrolling reveal animation */
.footer-widget.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.footer-widget.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for menu items */
.footer-widget.menu-links .menu-bottom ul li {
    animation: slideInLeft 0.6s ease-out;
    animation-fill-mode: both;
}

.footer-widget.menu-links .menu-bottom ul li:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-widget.menu-links .menu-bottom ul li:nth-child(2) {
    animation-delay: 0.15s;
}

.footer-widget.menu-links .menu-bottom ul li:nth-child(3) {
    animation-delay: 0.2s;
}

.footer-widget.menu-links .menu-bottom ul li:nth-child(4) {
    animation-delay: 0.25s;
}

.footer-widget.menu-links .menu-bottom ul li:nth-child(5) {
    animation-delay: 0.3s;
}

.footer-widget.menu-links .menu-bottom ul li:nth-child(6) {
    animation-delay: 0.35s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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