/* Ensure these variables are in your :root if not already */
:root {
    --body-color: #E4E9F7;
    --nav-color: #204102;
    --text-color: #FFF;
    --sidebar-bg: #142a00;
    --sidebar-hover: #5b5c00;
}

.footer {
    background-color: var(--nav-color); /* #204102 */
    color: var(--text-color); /* #FFF */
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    padding: 40px 0; /* Changed to 0 on left/right to allow full width */
    width: 100vw; /* Full viewport width */
    position: relative; /* Ensure it respects the flow of the page */
    left: 0; /* Align to left edge */
    margin-left: calc(-50vw + 50%); /* Center it relative to viewport */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto; /* Center the content */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5%; /* Add padding inside the container instead */
}

.logo-section {
    width: 20%;
    min-width: 150px;
    padding-right: 20px;
}

.logo {
    max-width: 100%;
    height: auto;
}

.footer-column {
    margin: 20px 0;
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-column a,
.footer-column p {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin: 8px 0;
    font-size: 14px;
}

.footer-column a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    width: 100%; /* Ensure copyright spans full container width */
}

@media (max-width: 768px) {
    .logo-section {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-column {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .footer-column {
        width: 100%;
    }
}