/* SEO Pages Specific Styles */

/* Ensure footer displays properly */
footer {
    background: #1a365d !important;
    color: white !important;
    padding: 60px 0 30px !important;
    margin-top: 80px !important;
    width: 100% !important;
    clear: both !important;
}

.footer-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
}

.footer-section {
    display: block !important;
}

.footer-section h4 {
    margin-bottom: 20px !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

.footer-section a {
    display: block !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    padding: 5px 0 !important;
    transition: color 0.3s ease !important;
}

.footer-section a:hover {
    color: white !important;
    text-decoration: underline !important;
}

.footer-bottom {
    text-align: center !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .footer-section {
        margin-bottom: 30px !important;
    }
}

/* Fix any main content overflow issues */
main {
    overflow-x: hidden;
}

/* Ensure sections don't break footer layout */
section {
    width: 100%;
    overflow-x: hidden;
}