/* ==== FOOTER ==== */
.footer {
    background-color: var(--grey-bg);
    margin-top: 5vh;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px 40px;
    font-family: "IBM Plex Serif", serif;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

/* Logo on the left */
.footer-logo {
    height: 100px; /* Adjust as needed to match total row height */
    width: auto;
}

/* Content (nav + socials + copyright) */
.footer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Top: links + socials */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Navigation Links */
.footer-links {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.footer-links li a {
    text-decoration: none;
    color: var(--blue-main);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--green-main);
}

/* Social Icons */
.footer-socials a {
    color: var(--blue-main);
    margin-left: 16px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--green-main);
}

/* Divider line */
.footer-divider {
    margin: 15px 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

/* Bottom: Copyright */
.footer-bottom p {
    font-size: 15px;
    color: var(--blue-main);
}

.footer-bottom a {
    text-decoration: underline;
    color: var(--blue-main);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--green-main);
}

/* ==== RESPONSIVE FOOTER ==== */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        height: 200px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-socials {
        margin-top: 10px;
    }

    .footer-divider {
        width: 100%;
        margin: 25px 0 15px 0;
    }

    .footer-bottom p {
        font-size: 14px;
    }
}
