/* --- FOOTER CONTAINER --- */
.site-footer {
    background-color: #051538; /* Ultra-dark Navy Blue foundation */
    color: #a4b4cb; /* Soft blue-grey text for easy reading */
    padding-top: 80px;
    font-family: var(--font-body);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr; /* Makes the brand column wider than the links */
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Very subtle separator line */
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* --- FOOTER COLUMNS --- */
.footer-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

/* Cool little underline accent under the column titles */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-grey);
}

/* Brand Column */
.footer-logo {
    max-width: 220px;
    margin-bottom: 20px;
    /* This filter magically turns your logo pure white so it shows up on the dark background! */
    filter: brightness(0) invert(1); 
}

.brand-col p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Links Columns */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a4b4cb;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px; /* Links slide to the right on hover */
}

/* Contact Column */
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.contact-info li i {
    color: var(--secondary-grey);
    margin-top: 5px; /* Aligns the icon perfectly with the text */
}

/* --- BOTTOM COPYRIGHT BAR --- */
.footer-bottom {
    background-color: #030d24; /* An even darker strip at the very bottom */
    padding: 20px 0;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
    margin-left: 20px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--white);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* Snaps to a 2x2 grid on tablets */
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Snaps to 1 column on phones */
        text-align: center;
        gap: 50px;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%); /* Centers the underline on mobile */
    }

    .brand-col img {
        margin: 0 auto 20px auto;
    }

    .social-links, .contact-info li {
        justify-content: center; /* Centers icons and contact info */
    }

    .bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .legal-links a {
        margin: 0 10px;
    }
}