/* Footer Contrast Enhancement Styles */

/* Darker background for better contrast */
#footer {
    background: #1a1a1a !important; /* Darker than the current gradient */
}

/* Improved text contrast */
#footer h5 {
    color: #ffffff !important; /* Pure white for headings */
    font-weight: 600 !important;
    margin-bottom: 1.2rem !important;
}

#footer p {
    color: #f0f0f0 !important; /* Light gray for paragraph text */
    margin-bottom: 1rem !important;
    line-height: 1.6 !important;
}

#footer small {
    color: #e0e0e0 !important; /* Slightly darker for small text */
}

/* Enhanced link styles */
#footer a.text-light {
    color: #93c5fd !important; /* Light blue for links */
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

#footer a.text-light:hover, 
#footer a.text-light:focus {
    color: #dbeafe !important; /* Lighter blue on hover/focus */
    text-decoration: underline !important;
}

/* List styles */
#footer ul.list-unstyled {
    margin-bottom: 1.5rem !important;
}

#footer ul.list-unstyled li {
    margin-bottom: 0.75rem !important;
}

/* Horizontal rule */
#footer hr.my-4 {
    border-color: #444444 !important;
    opacity: 0.7 !important;
}

/* Focus styles for keyboard navigation */
#footer a:focus {
    outline: 3px solid #3b82f6 !important;
    outline-offset: 3px !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #footer {
        background: #000000 !important;
    }
    
    #footer h5, 
    #footer p, 
    #footer small {
        color: #ffffff !important;
    }
    
    #footer a.text-light {
        color: #99ccff !important;
        text-decoration: underline !important;
        font-weight: bold !important;
    }
}

/* Ensure JavaScript fallback for contrast */
.footer-high-contrast h5, 
.footer-high-contrast p, 
.footer-high-contrast small {
    color: #ffffff !important;
}

.footer-high-contrast a {
    color: #93c5fd !important;
    text-decoration: underline !important;
}
