/* Footer Contact Information Enhanced Styles */
/* High Contrast Design for Maximum Readability */

/* Force dark background for footer */
#footer {
    background-color: #1a1a1a !important;
    background: #1a1a1a !important;
    color: #ffffff !important;
}

/* Enhanced contact information section */
.contact-info {
    background: transparent !important;
    padding: 15px 0 !important;
    border-radius: 8px !important;
}

.contact-info p {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-bottom: 12px !important;
    line-height: 1.6 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.contact-info i {
    color: #93c5fd !important;
    font-size: 16px !important;
    margin-right: 8px !important;
    min-width: 20px !important;
    text-align: center !important;
}

/* Footer section enhancements */
.footer-section h5,
.footer-section h4 {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.footer-section p {
    color: #f0f0f0 !important;
    line-height: 1.6 !important;
}

.footer-section small {
    color: #e0e0e0 !important;
}

/* Links styling */
.footer-link,
.footer-section a {
    color: #93c5fd !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

.footer-link:hover,
.footer-section a:hover {
    color: #dbeafe !important;
    text-decoration: underline !important;
}

/* Focus styles for accessibility */
.footer-link:focus,
.footer-section a:focus {
    outline: 2px solid #93c5fd !important;
    outline-offset: 2px !important;
    border-radius: 3px !important;
}

/* List styling */
.footer-section ul li {
    margin-bottom: 8px !important;
}

.footer-section ul li a {
    padding: 5px 0 !important;
    display: inline-block !important;
}

/* Social links enhancements */
.org-social-link {
    background: rgba(147, 197, 253, 0.1) !important;
    border: 1px solid #93c5fd !important;
    color: #93c5fd !important;
    transition: all 0.3s ease !important;
}

.org-social-link:hover {
    background: #93c5fd !important;
    color: #1a1a1a !important;
    transform: translateY(-2px) !important;
}

/* Newsletter section styling */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 20px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(147, 197, 253, 0.2) !important;
}

.newsletter-title {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.newsletter-subtitle {
    color: #f0f0f0 !important;
}

.newsletter-input {
    background: #ffffff !important;
    border: 2px solid #93c5fd !important;
    color: #333333 !important;
    padding: 12px 15px !important;
}

.newsletter-input:focus {
    border-color: #dbeafe !important;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.2) !important;
}

.newsletter-button {
    background: #93c5fd !important;
    border: none !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    transition: all 0.3s ease !important;
}

.newsletter-button:hover {
    background: #dbeafe !important;
    transform: translateY(-1px) !important;
}

.newsletter-success {
    color: #22c55e !important;
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid #22c55e !important;
    padding: 10px !important;
    border-radius: 5px !important;
    margin-top: 10px !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .contact-info p {
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }
    
    .contact-info i {
        font-size: 14px !important;
        margin-right: 6px !important;
    }
    
    .footer-section {
        margin-bottom: 30px !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #footer {
        background-color: #000000 !important;
        border-top: 3px solid #ffffff !important;
    }
    
    .contact-info p,
    .footer-section h5,
    .footer-section h4 {
        color: #ffffff !important;
        font-weight: bold !important;
    }
    
    .footer-link,
    .footer-section a {
        color: #ffffff !important;
        text-decoration: underline !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    #footer {
        background-color: #111111 !important;
    }
    
    .contact-info p {
        color: #ffffff !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .org-social-link,
    .newsletter-button,
    .footer-link {
        transition: none !important;
    }
    
    .org-social-link:hover {
        transform: none !important;
    }
    
    .newsletter-button:hover {
        transform: none !important;
    }
}

/* Print styles */
@media print {
    #footer {
        background: white !important;
        color: black !important;
        border-top: 2px solid black !important;
    }
    
    .contact-info p,
    .footer-section h5,
    .footer-section h4 {
        color: black !important;
    }
    
    .contact-info i {
        color: black !important;
    }
    
    .footer-link,
    .footer-section a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* Force visibility for critical elements */
.contact-info,
.contact-info p,
.contact-info i {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Ensure emoji visibility */
.contact-info p::before {
    content: '' !important;
}

/* Backup styling for older browsers */
.contact-info p[style*="color: #ffffff"] {
    color: white !important;
}

.contact-info i[style*="color: #93c5fd"] {
    color: lightblue !important;
}
