/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer .footer-brand-title,
.footer .footer-section-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer .footer-brand-title {
    font-size: 1.1rem;
}

.footer .footer-section-title {
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* Mobile Footer Responsiveness */
@media (max-width: 767px) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer .footer-brand-title,
    .footer .footer-section-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer .row>div {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .footer .col-lg-4.col-md-6:first-child {
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    .footer-links a {
        display: inline-block;
        margin-bottom: 0;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .footer-bottom .row>div {
        margin-bottom: 0.5rem;
    }

    .footer .mt-3 .d-flex {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }

    .footer .footer-brand-title {
        font-size: 1.1rem;
    }

    .footer .footer-section-title {
        font-size: 0.9rem;
    }

    .footer p.small {
        font-size: 0.85rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}
