/* Footer Contact Information High Contrast Styles */
/* Ensures maximum readability with white text on dark background */

/* Footer Background Enhancement */
footer#footer {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* Contact Information Section */
.contact-info {
    background-color: transparent !important;
    color: #ffffff !important;
}

.contact-info h5 {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

.contact-info p {
    color: #f0f0f0 !important;
    margin-bottom: 8px !important;
    line-height: 1.6 !important;
    font-size: 14px !important;
}

.contact-info span {
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Footer Text Elements (excluding newsletter) */
footer h4:not(.newsletter-section *),
footer h5:not(.newsletter-section *), 
footer h6:not(.newsletter-section *) {
    color: #ffffff !important;
    font-weight: 600 !important;
}

footer p {
    color: #f0f0f0 !important;
    line-height: 1.6 !important;
}

footer small {
    color: #e0e0e0 !important;
}

/* Footer Links */
footer a {
    color: #93c5fd !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

footer a:hover {
    color: #dbeafe !important;
    text-decoration: underline !important;
}

footer a:focus {
    outline: 2px solid #93c5fd !important;
    outline-offset: 2px !important;
    color: #dbeafe !important;
}

/* Specific overrides for list elements */
footer ul li a {
    color: #93c5fd !important;
    text-decoration: underline !important;
}

footer ul li a:hover {
    color: #dbeafe !important;
}

/* Newsletter Section - Maintain Original Styling */
.newsletter-section {
    background: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    padding: 25px !important;
    margin: 30px 0 !important;
}

.newsletter-title,
.newsletter-section h4 {
    color: #333 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    text-align: center !important;
}

.newsletter-subtitle {
    color: #666 !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

.newsletter-input {
    background: #ffffff !important;
    color: #333 !important;
    border: 2px solid #ddd !important;
    border-radius: 5px !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
}

.newsletter-input:focus {
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25) !important;
}

.newsletter-button {
    background: #007bff !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    width: 100% !important;
}

.newsletter-button:hover {
    background: #0056b3 !important;
}

.newsletter-success {
    background: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb !important;
    border-radius: 5px !important;
    padding: 15px !important;
    margin-top: 15px !important;
    text-align: center !important;
    font-size: 14px !important;
}

/* Force visibility for contact elements */
.contact-info, .contact-info * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    footer#footer {
        background-color: #000000 !important;
        color: #ffffff !important;
    }
    
    .contact-info p,
    .contact-info span {
        color: #ffffff !important;
    }
    
    footer a {
        color: #87ceeb !important;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .contact-info p {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }
    
    footer h5 {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }
}

/* Improved spacing for contact information */
.contact-info {
    padding: 10px 0 !important;
}

.contact-info p {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    word-wrap: break-word !important;
}

/* Emoji icon styling */
.contact-info p:first-child,
.contact-info p:nth-child(2),
.contact-info p:nth-child(3) {
    font-size: 14px !important;
}
