/* Footer Contact Enhancement CSS */
/* High contrast footer styling for maximum readability */

/* Footer base styles */
footer {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* Footer headings */
footer h5, footer h6 {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Footer paragraphs */
footer p {
    color: #f0f0f0 !important;
}

/* Footer small text */
footer small, footer .small {
    color: #e0e0e0 !important;
}

/* Footer links */
footer a {
    color: #93c5fd !important;
    text-decoration: underline !important;
}

footer a:hover {
    color: #dbeafe !important;
    text-decoration: underline !important;
}

/* Contact info specific styling */
.contact-info {
    color: #ffffff !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    line-height: 1.6 !important;
}

/* Focus styles for accessibility */
footer a:focus {
    outline: 2px solid #93c5fd !important;
    outline-offset: 2px !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    footer {
        background-color: #000000 !important;
        color: #ffffff !important;
    }
    
    footer a {
        color: #ffffff !important;
        background-color: #0066cc !important;
        padding: 2px 4px !important;
    }
}

/* Mobile optimization */
@media (max-width: 768px) {
    .contact-info {
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }
    
    footer h5 {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }
}

/* Ensure visibility of all footer elements */
footer * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force white text on dark background (excluding newsletter) */
footer h1:not(.newsletter-section h1), 
footer h2:not(.newsletter-section h2), 
footer h3:not(.newsletter-section h3), 
footer h4:not(.newsletter-section h4), 
footer h5:not(.newsletter-section h5), 
footer h6:not(.newsletter-section h6) {
    color: #ffffff !important;
}

/* Specific protection for newsletter headers */
footer .newsletter-section h1,
footer .newsletter-section h2,
footer .newsletter-section h3,
footer .newsletter-section h4,
footer .newsletter-section h5,
footer .newsletter-section h6 {
    color: #333333 !important;
}

footer ul li {
    color: #f0f0f0 !important;
}

footer ul li a {
    color: #93c5fd !important;
}

/* Newsletter section specific styles */
.newsletter-section {
    background-color: #f8f9fa !important;
    padding: 25px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
}

.newsletter-section h4,
.newsletter-title {
    color: #333333 !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

.newsletter-section p,
.newsletter-subtitle {
    color: #666666 !important;
    margin-bottom: 15px !important;
}

.newsletter-form input,
.newsletter-input {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #93c5fd !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

.newsletter-form input::placeholder,
.newsletter-input::placeholder {
    color: #999999 !important;
}

.newsletter-form button,
.newsletter-button {
    background-color: #007bff !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    width: 100% !important;
}

.newsletter-form button:hover,
.newsletter-button:hover {
    background-color: #0056b3 !important;
    color: #ffffff !important;
}

.newsletter-success {
    background-color: #d4edda !important;
    color: #155724 !important;
    padding: 10px !important;
    border-radius: 5px !important;
    margin-top: 10px !important;
    border: 1px solid #c3e6cb !important;
}
