/* =====================================
   PROFESSIONAL FOUR-COLUMN FOOTER
===================================== */

.site-footer {
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
    background: var(--nav-colr);
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
}

/* Main Footer Layout */

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 40px;

    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    /* padding: 55px 30px 45px; */
    padding: 55px 30px 45px;
}

.footer-col {
    min-width: 0;
}

/* Footer Headings */

.footer-col h4 {
    /* margin-bottom: 22px; */
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

/* Brand Logo */

/* Footer Brand Logo */

.footer-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    line-height: 0;
}

.footer-brand .custom-logo {
    display: block;
    width: auto;
    max-width: 180px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(5%);
}



/* Footer Description */

.footer-description {
    max-width: 480px;
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.9;
    opacity: 0.85;
}

/* Footer Navigation Links */

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer-links a {
    color: var(--text-color);
    font-size: 13px;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Footer Column Lists */

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-color);
    font-size: 13px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Contact Section */

.footer-contact {
    width: 100%;
    max-width: 350px;
}

.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 22px;
    font-size: 13px;
    line-height: 1.9;
    opacity: 0.85;
}

.footer-address i {
    flex-shrink: 0;
    margin-top: 5px;
    font-size: 18px;
}

.footer-contact h4,
.footer-contact .follow-heading {
    margin-bottom: 14px;
}

/* Social Icons */

.footer-social-icons,
.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.footer-social-icons a,
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 36px;
    height: 36px;

    color: var(--text-color);
    font-size: 16px;
    text-decoration: none;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-social-icons a:hover,
.social-links a:hover {
    background: var(--text-color);
    color: var(--nav-colr);
    transform: translateY(-3px);
}

/* Copyright Bar */

.footer-bottom {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    /* padding: 20px 30px; */
    padding: 15px 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}


.footer-bottom p {
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
    opacity: 0.8;
}

/* Dark Mode */

body.dark .footer-logo img {
    filter: brightness(0) invert(0.8);
}

body.dark .footer-social-icons a,
body.dark .social-links a {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Tablet */

@media screen and (max-width: 1000px) {
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

    .footer-contact {
        max-width: 100%;
    }
}

/* Mobile */

@media screen and (max-width: 550px) {
    .site-footer {
        margin-top: 35px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 35px 22px;
    }

    .footer-col h4 {
        margin-bottom: 15px;
    }

    .footer-logo img {
        max-width: 170px;
        height: 48px;
    }

    .footer-description,
    .footer-address {
        font-size: 13px;
    }

    .footer-bottom {
        padding: 18px 15px;
    }
}

/* Small Mobile */

@media screen and (max-width: 400px) {
    .footer-container {
        padding: 32px 18px 25px;
    }

    .footer-links {
        gap: 12px 18px;
    }

    .footer-social-icons a,
    .social-links a {
        width: 34px;
        height: 34px;
    }
}