/* Site Footer */
.site-footer {
    background: #212529;
    color: #dee2e6;
    padding: 4rem 0 2rem;
    border-top: 4px solid #4361ee;
}

/* Container */
.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Footer Main Content */
.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand */
.footer-brand {
    max-width: 300px;
}

.footer-logo img {
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: #adb5bd;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Footer Links */
.footer-links {
    margin-bottom: 1rem;
}

.footer-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #4361ee;
}

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

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: #4361ee;
    transform: translateX(5px);
}

/* Footer Newsletter */
.footer-newsletter {
    max-width: 300px;
}

.footer-text {
    color: #adb5bd;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-newsletter .btn {
    background: #4361ee;
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-newsletter .btn:hover {
    background: #3a56d4;
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
}

/* Copyright */
.copyright {
    flex: 1;
    min-width: 250px;
}

.copyright p {
    color: #6c757d;
    font-size: 0.875rem;
    margin: 0;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    margin: 0 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.social-link:hover {
    background: #4361ee;
    color: white;
    transform: translateY(-3px);
}

/* Legal Links */
.legal-links {
    flex: 1;
    min-width: 250px;
    text-align: right;
}

.legal-links a {
    color: #adb5bd;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #4361ee;
}

.separator {
    color: #6c757d;
    margin: 0 0.75rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .legal-links {
        text-align: center;
        order: 3;
    }

    .copyright {
        order: 1;
    }

    .footer-social {
        order: 2;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand,
    .footer-newsletter {
        max-width: 100%;
    }

    .legal-links .separator {
        margin: 0 0.5rem;
    }
}

/* Animation */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-main>* {
    animation: footerFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.footer-main>*:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-main>*:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-main>*:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-main>*:nth-child(4) {
    animation-delay: 0.4s;
}

.footer-bottom>* {
    animation: footerFadeIn 0.6s ease-out 0.5s forwards;
    opacity: 0;
}