/* =========================================
   HEROFAUCET PREMIUM DARK GREEN FOOTER
========================================= */

:root {
    --footer-bg: #073d2b;
    --footer-bg-light: #0b5137;
    --footer-green: #25c477;
    --footer-green-light: #8be3b1;
    --footer-red: #d94350;
    --footer-white: #ffffff;
    --footer-text: #c4ddcf;
}

/* MAIN FOOTER */

.footer-pro {
    position: relative;
    overflow: hidden;
    padding: 60px 0 0;
    color: var(--footer-text);

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(217, 67, 80, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(37, 196, 119, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #073d2b 0%,
            #0b5137 55%,
            #063523 100%
        );

    border-top: 4px solid transparent;
    border-image: linear-gradient(
        90deg,
        #087443,
        #25c477,
        #d94350,
        #25c477,
        #087443
    ) 1;

    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
}

/* FOOTER GRID */

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column {
    min-width: 0;
}

.footer-brand-area {
    max-width: 330px;
}

/* LOGO */

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    margin-bottom: 20px;

    background: #ffffff;
    border: 2px solid var(--footer-green);
    border-radius: 12px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
}

.footer-logo-link:hover {
    border-color: var(--footer-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.footer-logo {
    display: block;
    max-width: 175px;
    max-height: 55px;
    width: auto;
    object-fit: contain;
}

/* BRAND DESCRIPTION */

.footer-brand-area p {
    margin: 0;
    color: #c4ddcf;
    font-size: 14px;
    line-height: 1.9;
}

/* HEADINGS */

.footer-heading {
    position: relative;
    display: inline-block;

    margin-bottom: 23px;
    padding-bottom: 10px;

    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;

    border-bottom: 2px solid var(--footer-green);
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;

    width: 35%;
    height: 2px;

    background: var(--footer-red);
}

/* NAVIGATION */

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-nav a {
    display: flex;
    align-items: center;
    gap: 10px;

    width: fit-content;

    color: #c4ddcf;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: all 0.25s ease;
}

.footer-nav a i {
    width: 18px;
    min-width: 18px;

    color: var(--footer-green);
    font-size: 14px;
    text-align: center;

    transition: 0.25s ease;
}

.footer-nav a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-nav a:hover i {
    color: var(--footer-red);
}

/* DIVIDER */

.footer-divider {
    width: 100%;
    height: 1px;
    margin-bottom: 22px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(37, 196, 119, 0.8),
        rgba(255, 255, 255, 0.15),
        rgba(37, 196, 119, 0.8),
        transparent
    );
}

/* FOOTER BOTTOM */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 17px;

    padding: 18px 0;
}

.footer-copyright {
    color: #b7d2c3;
    font-size: 13px;
    line-height: 1.8;
}

.footer-copyright strong {
    color: #ffffff;
    font-weight: 800;
}

.copyright-text {
    margin-left: 3px;
}

/* BOTTOM LINKS */

.footer-bottom-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    font-size: 13px;
}

.footer-bottom-right a {
    color: #c4ddcf;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.footer-bottom-right a:hover {
    color: var(--footer-green-light);
}

.footer-bottom-right span {
    color: var(--footer-red);
}

/* POWERED BY */

.footer-powered {
    color: #b7d2c3;
    font-size: 12px;
}

.footer-powered i {
    margin-right: 4px;
    color: var(--footer-green);
}

.footer-powered strong {
    color: #ffffff;
}

/* TABLET */

@media (max-width: 991px) {

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }

    .footer-brand-area {
        max-width: 100%;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* MOBILE */

@media (max-width: 576px) {

    .footer-pro {
        padding-top: 40px;
    }

    .footer-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 28px;
        padding-bottom: 30px;
    }

    /* BRAND */

    .footer-brand-area {
        width: 100%;
        max-width: 100%;
        grid-column: 1 / -1;
    }

    .footer-logo-link {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .footer-logo {
        max-height: 45px;
    }

    .footer-brand-area p {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        overflow-wrap: anywhere;
    }

    /* EXPLORE */

    .footer-main > .footer-column:nth-child(2) {
        grid-column: 1;
        justify-self: start;
        width: 100%;
        text-align: left;
    }

    /* LEGAL */

    .footer-main > .footer-column:nth-child(3) {
        grid-column: 2;
        justify-self: end;
        width: 100%;
        text-align: left;
    }

    .footer-main > .footer-column:nth-child(2) .footer-nav,
    .footer-main > .footer-column:nth-child(3) .footer-nav {
        align-items: flex-start;
        gap: 12px;
    }

    /* MOBILE LINKS */

    .footer-main .footer-nav a {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;

        width: 100%;
        gap: 8px;

        text-align: left;
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-main .footer-nav a i {
        flex: 0 0 18px;
        width: 18px;
        min-width: 18px;
        margin-top: 3px;
        text-align: center;
    }

    /* CONTACT */

    .footer-main > .footer-contact {
        grid-column: 1 / -1;
        justify-self: center;
        width: 100%;
        text-align: center;
    }

    .footer-main > .footer-contact .footer-heading {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-main > .footer-contact .footer-nav {
        align-items: center;
    }

    .footer-main > .footer-contact .footer-nav a {
        justify-content: center;
        width: fit-content;
    }

    /* BOTTOM */

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        padding: 20px 0;
    }

    .footer-bottom-right {
        justify-content: center;
        gap: 8px;
    }

    .footer-copyright {
        line-height: 1.8;
        text-align: center;
    }

    .footer-powered {
        text-align: center;
    }
}

/* EXTRA SMALL MOBILE */

@media (max-width: 360px) {

    .footer-main {
        column-gap: 9px;
    }

    .footer-nav a {
        font-size: 12px;
    }

    .footer-heading {
        font-size: 15px;
    }

    .footer-bottom-right {
        gap: 6px;
        font-size: 12px;
    }
}