/* Footer Contact Enhancement - High Contrast Styles */

/* Main footer background and contrast */
#footer {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* Footer headings */
#footer h3,
#footer h4,
#footer h5,
#footer h6,
#footer .footer-title {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Footer paragraphs and text */
#footer p {
    color: #f0f0f0 !important;
}

/* Footer small text */
#footer small {
    color: #e0e0e0 !important;
}

/* Footer links */
#footer a,
#footer .footer-link {
    color: #93c5fd !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

#footer a:hover,
#footer .footer-link:hover {
    color: #dbeafe !important;
}

/* Focus styles for accessibility */
#footer a:focus,
#footer .footer-link:focus {
    outline: 2px solid #93c5fd !important;
    outline-offset: 2px !important;
}

/* Contact information specific styles */
.contact-info {
    color: #ffffff !important;
    margin-bottom: 10px !important;
    line-height: 1.6 !important;
}

.contact-info span {
    margin-right: 8px !important;
    font-size: 1.1em !important;
}

/* Newsletter section (exception to dark theme) */
.newsletter-section {
    background-color: #f8f9fa !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-top: 20px !important;
}

.newsletter-section .newsletter-title {
    color: #333333 !important;
    font-weight: 600 !important;
}

.newsletter-section .newsletter-subtitle {
    color: #666666 !important;
}

.newsletter-section .newsletter-input {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 2px solid #93c5fd !important;
    border-radius: 5px !important;
}

.newsletter-section .newsletter-button {
    background-color: #007bff !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    font-weight: 500 !important;
}

.newsletter-section .newsletter-success {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-radius: 5px !important;
    padding: 10px !important;
    margin-top: 10px !important;
}

/* List items spacing */
#footer ul li {
    margin-bottom: 8px !important;
}

/* Social links styling */
#footer .org-social-links a,
#footer .social-link {
    color: #93c5fd !important;
    margin-right: 10px !important;
}

#footer .org-social-links a:hover,
#footer .social-link:hover {
    color: #dbeafe !important;
    transform: scale(1.1) !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #footer {
        background-color: #000000 !important;
        color: #ffffff !important;
    }
    
    #footer a,
    #footer .footer-link {
        color: #ffffff !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    #footer {
        background-color: #1a1a1a !important;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .contact-info {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }
    
    .contact-info span {
        font-size: 1em !important;
    }
    
    .newsletter-section {
        padding: 15px !important;
    }
}

/* Force visibility and override any conflicting styles */
#footer * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure contact info is always visible */
#footer .contact-info,
#footer .contact-info * {
    color: #ffffff !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#footer .contact-info span {
    color: #93c5fd !important;
}
