.footer .hover-link {
    transition: color 0.3s ease;
}

.footer .hover-link:hover {
    color: var(--primary-color) !important;
}

.footer .social-links a {
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.footer .social-links a:hover {
    transform: translateY(-3px);
}
/* ========================================
   MODERN FOOTER - DARK MODE SUPPORT
   Matching About Page Style
======================================== */

/* Footer Base Styles */
.footer {
    background: var(--background);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    opacity: 0.3;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

/* Footer Headings */
.footer h5 {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

/* Footer Text */
.footer p,
.footer .text-secondary {
    color: var(--muted-foreground) !important;
    line-height: 1.7;
}

/* Footer Links */
.footer .hover-link {
    color: var(--muted-foreground) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: inline-block;
}

.footer .hover-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--violet-primary);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer .hover-link:hover {
    color: var(--violet-primary) !important;
    transform: translateX(4px);
}

.footer .hover-link:hover::after {
    width: 100%;
}

/* Social Links */
.footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer .social-links a {
     
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-soft);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet-primary) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.footer .social-links a:hover {
    background: var(--gradient-primary);
    color: white !important;
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    border-color: var(--violet-light);
}

.footer .social-links a i {
    font-size: 1.25rem;
   
    transition: transform 0.3s ease;
}

.footer .social-links a:hover i {
    transform: scale(1.1);
}

/* Contact Info Icons */
.footer .bx {
    color: var(--violet-primary);
    transition: transform 0.3s ease;
}

.footer a:hover .bx {
    transform: translateX(3px);
}

/* Divider */
.footer hr {
    border-color: var(--border) !important;
    opacity: 0.5;
    margin: 2rem 0;
}

/* Footer Bottom */
.footer .row:last-child p,
.footer .row:last-child a {
    font-size: 0.875rem;
}

/* List Styling */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 1rem;
    }
}

/* ========================================
   DARK MODE - FOOTER
======================================== */

[data-theme="dark"] .footer {
    background: var(--background);
    border-top-color: rgba(167, 139, 250, 0.15);
}

[data-theme="dark"] .footer::before {
    background: var(--gradient-mesh);
    opacity: 0.5;
}

[data-theme="dark"] .footer h5 {
    color: var(--foreground);
}

[data-theme="dark"] .footer p,
[data-theme="dark"] .footer .text-secondary {
    color: var(--muted-foreground) !important;
}

[data-theme="dark"] .footer .hover-link {
    color: var(--muted-foreground) !important;
}

[data-theme="dark"] .footer .hover-link:hover {
    color: var(--violet-accent) !important;
}

[data-theme="dark"] .footer .hover-link::after {
    background: var(--violet-accent);
}

[data-theme="dark"] .footer .social-links a {
    background: rgba(139, 92, 246, 0.1);
    color: var(--violet-accent) !important;
    border-color: rgba(167, 139, 250, 0.2);
}

[data-theme="dark"] .footer .social-links a:hover {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    border-color: var(--violet-light);
}

[data-theme="dark"] .footer .bx {
    color: var(--violet-accent);
}

[data-theme="dark"] .footer hr {
    border-color: rgba(167, 139, 250, 0.15) !important;
}

/* Auto Dark Mode (System Preference) */
@media (prefers-color-scheme: dark) {
    .footer {
        background: var(--background);
        border-top-color: rgba(167, 139, 250, 0.15);
    }
    
    .footer::before {
        opacity: 0.5;
    }
    
    .footer h5 {
        color: var(--foreground);
    }
    
    .footer p,
    .footer .text-secondary {
        color: var(--muted-foreground) !important;
    }
    
    .footer .hover-link {
        color: var(--muted-foreground) !important;
    }
    
    .footer .hover-link:hover {
        color: var(--violet-accent) !important;
    }
    
    .footer .hover-link::after {
        background: var(--violet-accent);
    }
    
    .footer .social-links a {
        background: rgba(139, 92, 246, 0.1);
        color: var(--violet-accent) !important;
        border-color: rgba(167, 139, 250, 0.2);
    }
    
    .footer .social-links a:hover {
        background: var(--gradient-primary);
        color: white !important;
        box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    }
    
    .footer .bx {
        color: var(--violet-accent);
    }
    
    .footer hr {
        border-color: rgba(167, 139, 250, 0.15) !important;
    }
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer .col-lg-4,
.footer .col-lg-2,
.footer .col-lg-3 {
    animation: fadeIn 0.6s ease-out backwards;
}

.footer .col-lg-4 { animation-delay: 0.1s; }
.footer .col-lg-2:nth-of-type(2) { animation-delay: 0.2s; }
.footer .col-lg-3:nth-of-type(3) { animation-delay: 0.3s; }
.footer .col-lg-3:nth-of-type(4) { animation-delay: 0.4s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3,
    .footer .hover-link,
    .footer .social-links a {
        animation: none !important;
        transition: none !important;
    }
}

/* Print Styles */
@media print {
    .footer {
        background: white !important;
        border-top: 1px solid #ddd !important;
    }
    
    .footer::before {
        display: none;
    }
    
    .footer .social-links {
        display: none;
    }
}