/* Enhanced Contact Information Styles for Maximum Contrast */

/* General footer styling with high contrast */
#footer {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* Footer section styling */
.footer-section {
    background-color: transparent !important;
}

/* Footer titles with maximum contrast */
.footer-title {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
}

/* Contact information specific styling */
.footer-section h5.footer-title {
    color: #ffffff !important;
    border-bottom: 2px solid #93c5fd !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1rem !important;
}

/* Contact information paragraphs */
.footer-section p {
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 0.8rem !important;
    padding: 0.3rem 0 !important;
}

/* Strong elements in contact info */
.footer-section p strong {
    color: #93c5fd !important;
    font-weight: 600 !important;
}

/* Emoji icons styling */
.footer-section p {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
}

/* Links styling with high contrast */
.footer-link {
    color: #93c5fd !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.footer-link:hover {
    color: #dbeafe !important;
    text-decoration: underline !important;
    text-shadow: 0 0 5px rgba(147, 197, 253, 0.5) !important;
}

/* Focus states for accessibility */
.footer-link:focus {
    outline: 2px solid #93c5fd !important;
    outline-offset: 2px !important;
    background-color: rgba(147, 197, 253, 0.1) !important;
    border-radius: 3px !important;
}

/* List styling */
.footer-section ul {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-section li {
    margin-bottom: 0.5rem !important;
    padding: 0.2rem 0 !important;
}

/* Social links styling */
.org-social-link {
    color: #93c5fd !important;
    background-color: rgba(147, 197, 253, 0.1) !important;
    border: 1px solid #93c5fd !important;
    transition: all 0.3s ease !important;
}

.org-social-link:hover {
    color: #ffffff !important;
    background-color: #93c5fd !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(147, 197, 253, 0.3) !important;
}

/* Newsletter section styling */
.newsletter-section {
    background-color: #f8f9fa !important;
    color: #333333 !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    margin-top: 1rem !important;
}

.newsletter-title {
    color: #333333 !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

.newsletter-subtitle {
    color: #666666 !important;
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
}

.newsletter-input {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 2px solid #93c5fd !important;
    border-radius: 5px !important;
    padding: 0.75rem !important;
    margin-right: 0.5rem !important;
}

.newsletter-button {
    background-color: #007bff !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.newsletter-button:hover {
    background-color: #0056b3 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 6px rgba(0, 123, 255, 0.3) !important;
}

.newsletter-success {
    background-color: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb !important;
    border-radius: 5px !important;
    padding: 0.75rem !important;
    margin-top: 1rem !important;
    font-weight: 500 !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer-section p {
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    }
    
    .footer-title {
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    }
    
    .footer-link {
        color: #ffffff !important;
        background-color: #000000 !important;
        padding: 0.3rem 0.5rem !important;
        border-radius: 3px !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    #footer {
        background-color: #000000 !important;
        border-top: 2px solid #93c5fd !important;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .footer-section p {
        font-size: 13px !important;
        flex-direction: column !important;
        gap: 0.3rem !important;
    }
    
    .footer-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .newsletter-input,
    .newsletter-button {
        width: 100% !important;
        margin: 0.3rem 0 !important;
    }
}

/* Print styles */
@media print {
    .footer-section p {
        color: #000000 !important;
        background-color: #ffffff !important;
    }
    
    .footer-title {
        color: #000000 !important;
        border-bottom: 2px solid #000000 !important;
    }
}

/* Ensure maximum visibility with force override */
.footer-section p,
.footer-section h5,
.footer-section strong {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}

/* Contact info class for additional targeting */
.contact-info {
    color: #ffffff !important;
    background-color: transparent !important;
    padding: 0.5rem 0 !important;
}

.contact-info p {
    color: #ffffff !important;
    font-weight: 500 !important;
    margin: 0.5rem 0 !important;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .footer-link,
    .newsletter-button,
    .org-social-link {
        transition: none !important;
        transform: none !important;
    }
}

/* Force visibility for dynamic content */
[style*="display: none"] .footer-section p,
[style*="visibility: hidden"] .footer-section p {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
