/* Footer */
/* --- Footer Section Styling --- */
.footer-section {
    background-color: #07653f;
    padding: 40px 15px 20px;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
}

@media (min-width: 576px) {
    .footer-section {
        padding: 50px 20px 20px;
    }
}

@media (min-width: 768px) {
    .footer-section {
        padding: 60px 20px 20px;
    }
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1800px;
    margin: 0 auto;
    padding-bottom: 30px;
}

@media (min-width: 576px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr 1fr;
        gap: 40px;
        padding-bottom: 40px;
    }
}

/* --- Column Styles --- */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to the left */
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e6e6e6;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .footer-heading {
        font-size: 1.12rem;
        margin-bottom: 22px;
    }
}

@media (min-width: 768px) {
    .footer-heading {
        font-size: 1.15rem;
        margin-bottom: 25px;
    }
}

/* --- Logo and Tagline --- */
.footer-col-brand {
    align-items: flex-start; /* Ensure logo and tagline align left */
}

.footer-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 12px;
    filter: brightness(0.9);
}

@media (min-width: 576px) {
    .footer-logo {
        max-width: 135px;
        margin-bottom: 13px;
    }
}

@media (min-width: 768px) {
    .footer-logo {
        max-width: 150px;
        margin-bottom: 15px;
    }
}

.footer-tagline {
    font-size: 0.95em;
    line-height: 1.6;
    color: #77ff00;
}

/* --- Quick Links & Contact/Support Lists --- */
.footer-links-list,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li,
.footer-contact-list li {
    margin-bottom: 12px;
}

.footer-links-list a,
.footer-contact-list a {
    color: #f9f8f8;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s ease;
    display: flex; /* For icon alignment */
    align-items: center;
}

.footer-links-list a:hover,
.footer-contact-list a:hover {
    color: #51ff00; /* Green on hover */
}

.footer-icon {
    font-size: 1.1em;
    margin-right: 10px;
    color: #2bff00; /* Green icon color */
    min-width: 20px; /* Ensure consistent spacing */
}

/* --- Access Channels --- */
.access-channels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 376px) {
    .access-channels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (min-width: 768px) {
    .access-channels-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
}

.access-channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #29834400;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    min-width: 80px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

@media (min-width: 576px) {
    .access-channel-item {
        padding: 13px;
        border-radius: 18px;
        min-width: 85px;
    }
}

@media (min-width: 768px) {
    .access-channel-item {
        padding: 15px;
        border-radius: 20px;
        flex: 1 1 calc(50% - 15px);
        min-width: 90px;
        flex-direction: row-reverse;
    }
}

.access-channel-item:hover {
    background-color: #00ff4430; /* Slightly darker green on hover */
    transform: translateY(-2px);
}

.footer-icon-large {
    font-size: 2em;
    color: #6ff830de; /* Green icon color */
    margin-bottom: 8px;
}

.access-channel-item span {
    font-size: 0.85em;
    color: #e4e4e4;
    font-weight: 500;
}


/* --- Social Media Icons --- */
.social-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media (min-width: 576px) {
    .social-icons {
        gap: 15px;
    }
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #b3f900;
    font-size: 1.1em;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

@media (min-width: 576px) {
    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 1.15em;
    }
}

@media (min-width: 768px) {
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}

.social-icons a:hover {
    background-color: #6CBE45; /* Green background on hover */
    color: white; /* White icon on hover */
    transform: translateY(-3px); /* Slight lift effect */
}

/* --- Bottom Bar (Legal Info) --- */
.footer-bottom-bar {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #e9e9e9; /* Separator for bottom bar */
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    align-items: center;
    gap: 15px; /* Space between copyright and legal links */
}

.footer-copyright {
    font-size: 0.85em;
    color: #ffffff;
}

.footer-legal-links a {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 0.85em;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #6CBE45; /* Green on hover */
}

.footer-legal-links .separator {
    color: #d7d7d7;
    margin: 0 10px;
    font-size: 0.85em;
}


/* --- Responsive Adjustments --- */
@media (max-width: 1000px) {
    .footer-container {
        /* On medium screens: 3 columns, then 2 for the last two */
        grid-template-columns: repeat(3, 1fr);
        gap: 90px;
    }
    .footer-col-brand {
        grid-column: 1 / span 3; /* Logo column spans all 3 columns */
        align-items: center; /* Center content when spanning */
        text-align: center;
    }
    .footer-col-brand .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-col-social {
        grid-column: 1 / span 3; /* Social media spans all 3 columns */
        align-items: center;
    }
    .footer-social .social-icons {
        justify-content: center; /* Center social icons */
    }
}

@media (max-width: 558px) {
    .footer-section { padding: 40px 15px 15px; }
    .footer-container {
        /* On smaller screens: 2 columns, then stack */
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .footer-col-brand {
        grid-column: 1 / span 2; /* Logo column spans 2 columns */
    }
    .footer-col-social {
        grid-column: 1 / span 2; /* Social media spans 2 columns */
    }
    .footer-heading { margin-bottom: 15px; font-size: 1.05em; }
    .footer-links-list li,
    .footer-contact-list li { margin-bottom: 8px; }
    .footer-links-list a,
    .footer-contact-list a { font-size: 0.9em; }
    .footer-icon { font-size: 1em; margin-right: 8px; }

    .access-channels-grid {
        flex-direction:column-reverse; /* Stack access channels vertically */
        gap: 10px;
    }
    .access-channel-item {
        flex: 1 1 100%; /* Take full width */
        max-width: 230px; /* Constrain width for readability */
        margin: 0 auto; /* Center items */
    }
    .footer-icon-large { font-size: 1.8em; }
    .access-channel-item span { font-size: 0.8em; }

    .social-icons a { width: 35px; height: 35px; font-size: 1.1em; }

    .footer-bottom-bar {
        flex-direction: column; /* Stack legal info vertically */
        gap: 10px;
        padding-top: 20px;
        margin-top: 20px;
    }
    .footer-copyright,
    .footer-legal-links a,
    .footer-legal-links .separator {
        font-size: 0.8em;
    }
}

@media (max-width: 450px) {
    .footer-container {
        /* On very small screens: single column stack */
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-col,
    .footer-col-brand,
    .footer-col-links,
    .footer-col-contact,
    .footer-col-access,
    .footer-col-social {
        grid-column: 1 / span 1; /* All columns stack */
        align-items: center; /* Center align all content */
        text-align: center;
    }
    .footer-heading { margin-bottom: 10px; font-size: 1em; }
    .footer-links-list li,
    .footer-contact-list li { margin-bottom: 6px; }
    .footer-links-list a,
    .footer-contact-list a { font-size: 0.85em; }

    .footer-contact-list a {
        justify-content: center; /* Center align icons and text for contact */
    }

    .social-icons {
        justify-content: center; /* Center social icons when stacked */
    }

    .footer-tagline { font-size: 0.85em; }
}