footer {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #0a192f;
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 2rem;

    border-radius: 8px;
    border-left: none;
    border-bottom: none;
    border-right: none;
    border-top: 1px solid rgba(102, 252, 241, 0.2);
    box-shadow: 0 2px 8px rgba(102, 252, 241, 0.15), 0 4px 16px rgba(102, 252, 241, 0.1);
    position: relative;
    z-index: 1;
}

.footer-links {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #64ffda;
    text-decoration: none;
    margin: 0 0.75rem;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

footer p {
    font-size: 0.85rem;
    color: #888;
    margin-top: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        /* Allow items to wrap */
        justify-content: center;
        gap: 0.5rem 1rem;
        /* Row gap / Column gap */
        max-width: 300px;
        /* Optional: control width for alignment */
        margin: 0 auto 1rem;
    }

    .footer-links a {
        flex: 1 1 45%;
        /* Each link takes about half the row */
        text-align: center;
        margin: 0;
        /* Remove inline margin so flex gap works */
    }
}