/* ── Footer — reusable across any page with <footer class="footer"> ── */

/* ── Base styles ── */
.footer {
    background: url(../images/image/home-bg-6.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    min-height: 33rem;
    padding: 10.625rem 0 1.0625rem;
}

.footer .footer-imgs {
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    max-width: 36rem;
    margin-bottom: 2.5rem;
    padding-bottom: 0.625rem;
}

.footer .footer-imgs .footer-logo {
    width: fit-content;
    height: fit-content;
}

.footer .footer-imgs .footer-icons {
    display: flex;
    gap: 0.9375rem;
}

.footer .footer-imgs .footer-icons .icon {
    width: 3.125rem;
    height: 3.125rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0.0625rem solid rgba(255, 255, 255, 0.2);
    border-radius: 100%;
    transition: all 0.4s ease-in-out;
}

.footer .footer-imgs .footer-icons .icon.active,
.footer .footer-imgs .footer-icons .icon:hover {
    background-color: var(--white);
}

.footer .footer-imgs .footer-icons .icon.active img,
.footer .footer-imgs .footer-icons .icon:hover img {
    filter: invert(60%) sepia(82%) saturate(608%) hue-rotate(202deg) brightness(101%) contrast(132%);
}

.footer .footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.6875rem;
    color: var(--white);
    margin-bottom: 0.9375rem;
}

.footer .footer-link {
    font-size: 1rem;
    font-weight: 400;
    line-height: 2.25rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    transition: all 0.2s ease-in-out;
}

.footer .footer-link:hover {
    color: var(--black);
}

.footer hr {
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.2);
    margin: 1.875rem auto 0.625rem;
    opacity: 1;
}

.footer .footer-terms {
    display: flex;
    justify-content: space-between;
}

.footer .footer-terms p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    margin-bottom: 0;
    letter-spacing: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
}

.footer .footer-terms p a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

.footer .footer-terms a:hover {
    color: var(--black);
}

.footer .gooter-links {
    align-items: flex-end;
}

.footer-list {
    cursor: pointer;
}

.footer-border {
    border-right: 0.0625rem solid rgba(255, 255, 255, 0.2);
}

/* ── Responsive ── */

/* ≤ 1199px */
@media (max-width: 1199.98px) {
    .footer .footer-imgs {
        max-width: 27.25rem;
    }

    .footer {
        padding: 13.125rem 0 1.0625rem;
    }

    .footer .footer-title {
        font-size: 1rem;
    }
}

/* ≤ 991px */
@media (max-width: 991.98px) {
    .footer {
        padding: 17.5rem 0 1.0625rem;
    }

    .footer .footer-title {
        font-size: 1.0625rem;
        font-weight: 700;
    }
}

/* ≤ 767px */
@media (max-width: 767.98px) {
    .footer {
        padding: 23.125rem 0 1.0625rem;
        margin-top: -15.625rem !important;
    }

    .footer .footer-terms {
        flex-direction: column;
        align-items: center;
    }
}

/* ≤ 575px */
@media (max-width: 575.98px) {
    .footer {
        padding: 23.125rem 0 1.0625rem;
    }

    .footer .footer-terms p {
        text-align: center;
        font-size: 0.875rem;
    }

    .footer .gooter-links {
        align-items: flex-start;
    }

    .footer .footer-title {
        font-size: 0.9375rem;
        margin-bottom: 0.625rem;
    }

    .footer .footer-link {
        font-size: 0.875rem;
        line-height: 1.75rem;
    }
}
