/* Footer Contrast Enhancement Styles */
/* These styles override the default footer styles to improve readability and accessibility */

#footer {
    background-color: #1a1a1a !important;
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
}

#footer h5, 
#footer h6 {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 1.25rem !important;
}

#footer p, 
#footer div,
#footer small {
    color: #f0f0f0 !important;
    line-height: 1.6 !important;
}

#footer ul {
    padding-left: 0 !important;
}

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

#footer .text-muted {
    color: #e0e0e0 !important;
}

#footer a {
    color: #93c5fd !important;
    text-decoration: underline !important;
    transition: color 0.2s ease-in-out !important;
    padding: 0.25rem 0 !important;
    display: inline-block !important;
    font-weight: 500 !important;
}

#footer a:hover, 
#footer a:focus {
    color: #dbeafe !important;
    text-decoration: underline !important;
}

#footer a:focus {
    outline: 2px solid #93c5fd !important;
    outline-offset: 3px !important;
    border-radius: 2px !important;
}

#footer hr {
    border-color: rgba(255, 255, 255, 0.2) !important;
    margin: 2rem 0 !important;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    #footer {
        background-color: #000000 !important;
    }
    
    #footer h5, 
    #footer h6 {
        color: #ffffff !important;
    }
    
    #footer p, 
    #footer div,
    #footer small,
    #footer .text-muted {
        color: #ffffff !important;
    }
    
    #footer a {
        color: #ffffff !important;
        text-decoration: underline !important;
        background-color: transparent !important;
        font-weight: 700 !important;
    }
    
    #footer a:hover, 
    #footer a:focus {
        background-color: #ffffff !important;
        color: #000000 !important;
        outline: 2px solid #ffffff !important;
    }
}

/* Increased spacing for footer columns on mobile */
@media (max-width: 767.98px) {
    #footer .col-lg-4 {
        margin-bottom: 2.5rem !important;
    }
    
    #footer ul li {
        margin-bottom: 1rem !important;
    }
    
    #footer h5, 
    #footer h6 {
        font-size: 1.25rem !important;
    }
}
