/* Site Footer - fixed on all pages, same height as header */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    margin-top: 0;
    padding: 20px 28px;
    min-height: 82px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 63, 127, 0.08);
}

body.dark-mode .site-footer {
    background: rgba(15, 15, 35, 0.85);
    border-top: none;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* Match header-link style: light + dark mode */
.footer-links a {
    display: inline-block;
    padding: 10px 20px;
    color: #003f7f;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.footer-links a:hover {
    background: #e8f4fd;
    color: #007BFF;
}

body.dark-mode .footer-links a {
    color: var(--text-secondary);
}

body.dark-mode .footer-links a:hover {
    background: #e8f4fd;
    color: var(--accent);
}

.footer-copy {
    font-size: 0.9rem;
    color: #003f7f;
}

body.dark-mode .footer-copy {
    color: #7eb8f0;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 18px 22px;
        min-height: 78px;
    }
    .footer-inner {
        gap: 16px;
    }
    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 14px 16px;
        min-height: 70px;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-links {
        gap: 16px;
    }
    .footer-links a {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    .footer-copy {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 12px 14px;
        min-height: 66px;
    }
}
