footer {
    background: linear-gradient(120deg, #f8fafc 0%, #e0eafc 100%);
    border-top: 1px solid #e2e8f0;
    padding: 0.5rem 0 0.5rem;
    margin-top: auto;
    transition: background 0.4s;
    color: #1a2233;
    border-radius: 1.2em 1.2em 0 0;
    box-shadow: 0 2px 16px 0 rgba(80,120,200,0.04);
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}
.footer-nav a {
    color: #234;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: #0077b6;
    text-decoration: underline;
}
.footer-copyright p {
    color: #4a5a6a;
}
body.dark-theme footer {
    background: linear-gradient(120deg, #181c2a 0%, #283e51 60%, #274b74 100%);
    color: #fff;
}
body.dark-theme .footer-domain p,
body.dark-theme .footer-copyright p {
    color: #fff;
}
body.dark-theme .footer-nav a {
    color: #fff;
}
body.dark-theme .footer-nav a:hover,
body.dark-theme .footer-nav a:focus {
    color: #36d1c4;
}
body.dark-theme .footer-copyright p {
    color: #b0b8d8;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    width: 100%;
}

.footer-logo-section {
    display: flex;
    justify-content: center;
}

.footer-logo-section a {
    display: inline-block;
}

.footer-logo {
    height: 40px;
    width: auto;
    border-radius: var(--radius-md);
}

.footer-domain {
    margin: 0;
}

.footer-domain p {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-copyright {
    margin: 0;
}

.footer-copyright p {
    font-size: 0.875rem;
    margin: 0;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Remove duplicate/old footer-nav a rules to avoid conflicts */

@media (max-width: 768px) {
    .footer-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}
