/* Footer Layout */
.footer {
    background-color: var(--black);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.2);
}

/* Footer Headings */
.footer h3 {
    color: var(--white) !important;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

/* Footer Links */
.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--primary-light);
}

/* Footer Contact */
.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Social Icons */
.footer-contact a[href*="facebook"] {
    color: #4267b2;
}

.footer-contact a[href*="facebook"]:hover {
    color: var(--primary-light);
}

.footer-contact i.fa-facebook-f {
    color: #4267b2;
}

body.nav-closed .footer-bottom {
    margin-bottom: 2rem;
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}