/* Global Footer - shared across all pages */

.footer {
    background-color: #f5f5f7;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.footer-link {
    color: #6e6e73;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    width: fit-content;
    animation: footerFadeInUp 0.5s ease backwards;
}

.footer-links a:nth-child(1) { animation-delay: 0.1s; }
.footer-links a:nth-child(2) { animation-delay: 0.2s; }
.footer-links a:nth-child(3) { animation-delay: 0.3s; }
.footer-links a:nth-child(4) { animation-delay: 0.4s; }

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #1d1d1f;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-link:hover {
    color: #1d1d1f;
}

.footer-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #86868b;
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

@keyframes footerFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 0;
    }

    .footer-container {
        gap: 25px;
        padding: 0 20px;
    }

    .footer-links {
        gap: 16px;
    }

    .footer-link {
        font-size: 13px;
    }
}
