/* =========================================
   BAIG & ASSOCIATES - FOOTER
   ========================================= */

.site-footer {
    width: 100%;
    background: #d4af37;
    color: #1f2937;
}


/* =========================================
   FOOTER CONTAINER
   ========================================= */

.footer-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 55px 40px 25px;
}


/* =========================================
   FOOTER TOP
   ========================================= */

.footer-top {
    display: grid;

    grid-template-columns:
        1.4fr
        0.8fr
        1fr
        1.2fr;

    gap: 50px;

    padding-bottom: 45px;
}


/* =========================================
   FOOTER COLUMNS
   ========================================= */

.footer-column {
    min-width: 0;
}

.footer-column h4 {
    margin: 0 0 18px;

    font-size: 17px;

    font-weight: 700;

    color: #1f2937;
}


/* =========================================
   FOOTER LOGO
   ========================================= */

.footer-logo {
    display: flex;

    align-items: center;

    margin-bottom: 18px;
}

.footer-logo-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-right: 12px;

    font-size: 29px;

    color: #1f2937;
}

.footer-logo h3 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 21px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: 1px;

    color: #1f2937;
}

.footer-logo p {
    margin: 4px 0 0;

    font-size: 10px;

    letter-spacing: 3px;

    color: #1f2937;
}


/* =========================================
   DESCRIPTION
   ========================================= */

.footer-description {
    max-width: 320px;

    margin: 0;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   FOOTER LINKS
   ========================================= */

.footer-links {
    list-style: none;

    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: #1f2937;

    text-decoration: none;

    font-size: 14px;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.footer-links a:hover {
    color: #000000;

    padding-left: 4px;
}


/* =========================================
   SOCIAL ICONS
   ========================================= */

.footer-social {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 25px;
}

.footer-social a {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #1f2937;

    color: #d4af37;

    text-decoration: none;

    font-size: 18px;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.footer-social a:hover {
    background: #000000;

    color: #d4af37;

    transform: translateY(-2px);
}


/* =========================================
   OFFICE
   ========================================= */

.footer-office {
    margin-top: 5px;
}

.footer-office h4 {
    margin-bottom: 12px;
}

.footer-office p {
    margin: 0;

    font-size: 14px;

    line-height: 1.7;

    color: #1f2937;
}


/* =========================================
   PHONE / WEBSITE
   ========================================= */

.footer-phone {
    margin-top: 12px !important;
}

.footer-website {
    margin-top: 5px !important;
}

.footer-phone a,
.footer-website a {
    color: #1f2937;

    text-decoration: none;

    transition: text-decoration 0.2s ease;
}

.footer-phone a:hover,
.footer-website a:hover {
    text-decoration: underline;
}


/* =========================================
   FOOTER BOTTOM
   ========================================= */

.footer-bottom {
    border-top: 1px solid rgba(31, 41, 55, 0.25);

    padding-top: 22px;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 25px;
}


/* =========================================
   COPYRIGHT
   ========================================= */

.footer-copyright {
    text-align: left;
}

.footer-copyright p {
    margin: 0;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================
   DEVELOPER
   ========================================= */

.footer-developer {
    text-align: center;
}

.footer-developer p {
    margin: 0;

    font-size: 13px;

    line-height: 1.6;
}

.footer-developer a {
    color: #1f2937;

    font-weight: 700;

    text-decoration: none;
}

.footer-developer a:hover {
    text-decoration: underline;
}


/* =========================================
   LEGAL LINKS
   ========================================= */

.footer-legal {
    display: flex;

    justify-content: flex-end;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;
}

.footer-legal a {
    color: #1f2937;

    font-size: 13px;

    text-decoration: none;

    white-space: nowrap;
}

.footer-legal a:hover {
    text-decoration: underline;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1100px) {

    .footer-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .footer-top {
        grid-template-columns:
            1fr
            1fr;

        gap: 40px;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;

        gap: 18px;
    }

    .footer-developer {
        text-align: right;
    }

    .footer-legal {
        grid-column: 1 / -1;

        justify-content: center;

        padding-top: 8px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .footer-container {
        padding: 40px 20px 22px;
    }


    /* Footer columns */
    .footer-top {
        display: flex;

        flex-direction: column;

        gap: 30px;

        padding-bottom: 30px;
    }


    .footer-column {
        width: 100%;
    }


    /* Logo */
    .footer-logo h3 {
        font-size: 19px;
    }

    .footer-logo p {
        font-size: 9px;

        letter-spacing: 2px;
    }


    .footer-description {
        max-width: 100%;

        font-size: 14px;
    }


    /* Bottom */
    .footer-bottom {
        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 14px;

        text-align: center;

        padding-top: 20px;
    }


    .footer-copyright,
    .footer-developer,
    .footer-legal {
        width: 100%;

        text-align: center;

        justify-content: center;
    }


    .footer-copyright p,
    .footer-developer p {
        font-size: 13px;
    }


    /* Legal links */
    .footer-legal {
        display: flex;

        flex-wrap: wrap;

        gap: 10px 18px;

        justify-content: center;
    }


    .footer-legal a {
        font-size: 13px;
    }

}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

    .footer-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-top {
        gap: 27px;
    }

    .footer-logo-icon {
        width: 40px;
        height: 40px;

        font-size: 25px;
    }

    .footer-logo h3 {
        font-size: 17px;
    }

    .footer-logo p {
        font-size: 8px;

        letter-spacing: 1.5px;
    }

    .footer-social a {
        width: 38px;
        height: 38px;

        font-size: 17px;
    }

    .footer-legal {
        gap: 8px 14px;
    }

}