/* footer.css - Styles for the AI Exam Boost Footer */

:root { /* Define colors if not already in a global scope, or reuse from header.css */
    --footer-bg: #2c3e50; /* Dark blue-grey, example */
    --footer-text-color: #bdc3c7; /* Light grey for text */
    --footer-link-color: #ecf0f1; /* Slightly brighter for links */
    --footer-link-hover-color: #ffffff;
    --footer-heading-color: #ffffff;
    --footer-border-color: #34495e; /* Slightly lighter than bg for subtle lines */
}

.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text-color);
    padding: 50px 0 20px 0; /* More top padding, less bottom */
    font-size: 0.9em;
    line-height: 1.7;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-wrap: wrap; /* Allow sections to wrap on smaller screens */
    justify-content: space-between;
    gap: 30px; /* Space between footer sections */
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--footer-border-color);
}

.footer-section {
    flex: 1; /* Allow sections to grow */
    min-width: 200px; /* Minimum width before wrapping */
    margin-bottom: 20px; /* Space for wrapped items */
}

/* Footer About/Logo Section */
.footer-about .footer-logo-link {
    display: inline-block;
    margin-bottom: 15px;
}
.footer-logo-image {
    height: 40px; /* Adjust as needed */
    width: auto;
    /* filter: brightness(0) invert(1); Optional: if you want a white version of a dark logo */
}
.footer-logo-text { /* If using text logo in footer */
    font-size: 1.6em;
    font-weight: bold;
    color: var(--footer-link-hover-color);
}
.footer-tagline {
    font-size: 0.95em;
    color: var(--footer-text-color);
    max-width: 280px; /* Constrain width of tagline */
}


/* Footer Links Sections */
.footer-links-group h4 {
    font-size: 1.1em;
    color: var(--footer-heading-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

.footer-links-group ul li {
    margin-bottom: 10px;
}

.footer-links-group ul li a {
    color: var(--footer-link-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-links-group ul li a:hover {
    color: var(--footer-link-hover-color);
    text-decoration: underline;
}

/* Social Media Section */
.footer-social h4 {
    font-size: 1.1em;
    color: var(--footer-heading-color);
    margin-bottom: 15px;
    font-weight: 600;
}
.social-media-icons {
    display: flex;
    gap: 15px; /* Space between icons */
    /* margin-top: 5px; */ /* Already handled by h4 margin */
}

.social-media-icons a img {
    width: 28px; /* Adjust icon size */
    height: 28px;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease;
}

.social-media-icons a:hover img {
    opacity: 1;
    transform: scale(1.1);
}


/* Footer Bottom (Copyright) */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85em;
}

.copyright {
    margin: 0;
    color: var(--footer-text-color);
}

.copyright .company-link {
    color: var(--footer-link-color);
    text-decoration: none;
    font-weight: 500;
}

.copyright .company-link:hover {
    color: var(--footer-link-hover-color);
    text-decoration: underline;
}

/* Responsive adjustments for footer sections */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center content when stacked */
        text-align: center; /* Center text within sections */
    }
    .footer-section {
        min-width: 100%; /* Allow sections to take full width */
        margin-bottom: 30px;
    }
    .footer-links-group ul {
        text-align: center; /* Center list items if section is centered */
    }
    .social-media-icons {
        justify-content: center; /* Center social icons */
    }
    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }
}

.footer-ai-disclaimer {
    font-size: 0.8em;
    font-style: italic;
    color: #aeb6bf; /* A muted, light grey */
    margin-bottom: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}