/* Modern Footer Styles */
.footer-widget {
    transition: all 0.3s ease;
}

.footer-widget:hover {
    transform: translateY(-2px);
}

.footer-widget h5 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-widget ul li a {
    transition: all 0.3s ease;
    position: relative;
}

.footer-widget ul li a:hover {
    color: #e12355 !important;
    transform: translateX(5px);
}

.footer-widget ul li a:hover i {
    color: #e12355 !important;
}

.contact-info .bg-primary,
.contact-info .bg-success,
.contact-info .bg-info {
    transition: all 0.3s ease;
}

.contact-info .bg-primary:hover,
.contact-info .bg-success:hover,
.contact-info .bg-info:hover {
    transform: scale(1.1);
}

.btn-success:hover,
.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer .text-light:hover {
    color: #e12355 !important;
}

.footer .fab:hover {
    color: #e12355 !important;
    transform: scale(1.2);
}

/* Footer Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-widget {
    animation: fadeInUp 0.6s ease-out;
}

.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; }
.footer-widget:nth-child(4) { animation-delay: 0.4s; }
.footer-widget:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .footer-widget h5 {
        font-size: 1.1rem;
    }
    
    .contact-info .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info .bg-primary,
    .contact-info .bg-success,
    .contact-info .bg-info {
        margin: 0 auto 1rem auto;
    }
}

/* Footer Link Hover Effects */
.footer-widget ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer-widget ul li a:hover::before {
    width: 20px;
}

/* Social Media Icons */
.footer .fab {
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
}

.footer .fab:hover {
    background: rgba(30, 58, 138, 0.1);
    transform: scale(1.2) rotate(5deg);
}

/* Footer Bottom Border Animation */
.footer .border-top {
    position: relative;
    overflow: hidden;
}

.footer .border-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1e3a8a, transparent);
    animation: borderSlide 3s ease-in-out infinite;
}

@keyframes borderSlide {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Footer Background Pattern */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 2;
}
