/* Footer Styles */
:root {
    --footer-bg: var(--color-primary);
    --footer-text: rgba(255, 255, 255, 0.9);
    --footer-link: #ffffff;
    --footer-link-hover: #ffffff;
    --footer-wave: var(--color-primary);
    --social-bg: #ffffff;
    --social-icon: var(--color-primary);
}

.footer-container {
    position: relative;
    margin-top: 0;
    background-color: #3B83F6;
    color: var(--footer-text);
    overflow: hidden;
}

.footer-wave {
    display: none;
}

.footer-content {
    padding: 60px 0 40px;
    position: relative;
    z-index: 2; /* ensure wave is behind */
}

.footer-section h4 {
    color: var(--footer-text);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
    padding-left: 5px; /* slightly bigger hover shift */
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--social-bg);
    color: var(--social-icon);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--footer-link);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-bottom-links li {
    display: flex;
    align-items: center;
}

.footer-bottom-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0 10px;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--footer-link);
}

.footer-bottom-links li:not(:last-child)::after {
    content: '|';
    color: rgba(255, 255, 255, 0.5);
    margin-left: 5px;
}

.copyright {
    color: var(--footer-text);
    font-size: 0.9rem;
    margin: 20px 0 0;
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 767.98px) {
    .footer-section {
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-bottom-links li:not(:last-child)::after {
        display: none;
    }

    .social-links {
        justify-content: center;
        margin: 0 auto;
    }
}
