/* css/footer.css - Dedicated Footer Styles - Consistent across all pages */

/* --- Global Styles to Prevent Extra Space --- */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Footer Styles --- */
footer {
    background-color: #343a40 !important;
    color: #adb5bd !important;
    padding: 24px 0 !important;
    margin-top: 40px !important;
    border-top: none !important;
    font-size: 0.9em !important;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    position: relative !important;
    bottom: 0 !important;
    width: 100% !important;
}

footer .container { 
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 15px;
}

footer .container p { 
    margin-bottom: 6px; 
}

footer a { 
    color: #f8f9fa !important; 
    text-decoration: none !important;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

footer a:hover { 
    color: #007bff !important; 
    text-decoration: underline !important; 
}

/* Compact grid for footer content */
.footer-content { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 16px; 
    align-items: start; 
    text-align: left; 
}

.footer-section h3, .footer-section h4 { 
    font-size: 1rem !important; 
    margin-bottom: 8px !important; 
    color: #ff6b35 !important;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 600 !important;
}

.footer-section p, .footer-section li, .footer-section a { 
    font-size: 0.9rem !important; 
    line-height: 1.5 !important;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: #adb5bd !important;
}

.footer-section ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.footer-section li { 
    margin: 4px 0; 
}

.footer-section img {
    height: 40px;
    margin-bottom: 10px;
}

.footer-bottom { 
    text-align: center; 
    padding-top: 10px; 
    margin-top: 16px; 
    border-top: 1px solid rgba(255,255,255,0.12); 
    font-size: 0.85rem; 
}

.footer-bottom p {
    margin: 5px 0 !important;
    color: #adb5bd !important;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 0.85rem !important;
}

.footer-bottom a {
    color: #adb5bd !important;
    text-decoration: none !important;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 0.85rem !important;
}

.footer-bottom a:hover {
    color: #ff6b35 !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 14px; 
    }
}

@media (max-width: 768px) {
    footer { 
        padding: 18px 0 !important; 
        font-size: 0.85em !important; 
    }
    
    .footer-content { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px; 
    }
    
    .footer-section h3, .footer-section h4 { 
        font-size: 0.95rem !important; 
        font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    }
    
    .footer-section p, .footer-section li, .footer-section a { 
        font-size: 0.85rem !important; 
        font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    }
}

@media (max-width: 480px) {
    .footer-content { 
        grid-template-columns: 1fr 1fr; 
        gap: 10px; 
    }
    
    .footer-section h3, .footer-section h4 { 
        font-size: 0.9rem !important; 
        font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    }
    
    .footer-section p, .footer-section li, .footer-section a { 
        font-size: 0.8rem !important; 
        font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    }
}
