:root {
    --footer-bg: rgba(17, 24, 39, 0.85); /* Match Header Background */
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-text: #9ca3af;
    --footer-text-hover: #ffffff;
}

.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    font-family: 'Outfit', 'Inter', sans-serif;
    padding-top: 3.5rem;
    margin-top: auto;
}

/* Ensure Footer remains Dark in Light Mode */
html.light .main-footer {
    background-color: #111827;
}

html.light .footer-nav a {
    color: var(--footer-text);
}

html.light .footer-bottom {
    color: #9ca3af;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 3.5rem;
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-logo img {
    height: 55px; /* Sized appropriately to show the subtitle clearly */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-nav {
    display: flex;
    gap: 2rem;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    list-style: none !important;
}

.footer-nav a {
    color: var(--footer-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    letter-spacing: 0.2px;
}

.footer-nav a:hover {
    color: var(--footer-text-hover);
}

.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
    letter-spacing: 0.3px;
}

.footer-bottom span {
    color: var(--footer-text-hover);
    font-weight: 700;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 2rem;
    }
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}
