.page-footer {
    padding: 3.125rem 0 1.25rem;
}

#main-content:has(> :last-child.bg-white) + .page-footer {
    padding-top: 0;
}

.page-footer a {
    text-decoration: none;
}

.footer-top {
    padding: 1.5625rem;
    border-radius: 1.25rem;
    background: linear-gradient(95.78deg, #f4fbff 0%, #e0f5ff 100%);
}

.footer-logo a {
    display: block;
    max-width: 12.5rem;
    margin: 0 auto 0.625rem;
}

.footer-social-btn {
    max-width: 8.9375rem;
    margin: 0 auto;
}

.footer-social-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1em;
}

.footer-social-btn a i {
    font-size: 1.875rem;
    border-radius: 0.3125rem;
    overflow: hidden;
}

.footer-social-btn a span {
    width: calc(100% - 2.5rem);
}

.footer-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 1.25rem 0 0;
}

.footer-contact-info ul,
.footer-contact-info ul li {
    padding: 0;
    margin: 0;
}

.footer-contact-info ul {
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
}

.footer-contact-info ul li:before {
    display: none;
}

.footer-contact-info ul li a {
    font-size: 1rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
}

.footer-top__left {
    margin: 0 0 1.875rem;
}

.footer-quick-links ul,
.footer-quick-links ul li {
    padding: 0;
    margin: 0;
}

.footer-quick-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
}

.footer-quick-links ul li:before {
    display: none;
}

.footer-quick-links ul li a {
    font-size: 1rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
}

.footer-quick-links {
    margin: 1.875rem 0 0;
}

.footer-bottom {
    margin: 1.5625rem 0 0;
    text-align: center;
}

.back-to-top {
    font-size: 0.9375rem;
}

.back-to-top::after {
    content: "\e90e";
}

.footer-bottom ul {
    margin: 2.1875rem 0 0;
    padding: 0;
}

.footer-bottom ul li {
    padding: 0;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1em;
}

.footer-bottom ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.3125rem 1.5625rem;
    align-items: center;
    justify-content: center;
}

.footer-bottom ul li:before {
    display: none;
}

.footer-bottom ul li a {
    font-size: 0.9375rem;
    font-weight: 300;
    display: flex;
    line-height: 1em;
}

@media (min-width: 768px) {
    .footer-top__left {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;
        margin: 0 0 1.75rem;
    }

    .footer-social-btn {
        max-width: unset;
        margin: 0;
    }

    .footer-logo a {
        max-width: 12.5rem;
        margin: 0 0 0.625rem;
    }

    .footer-btns {
        margin: 0;
        flex-direction: column;
    }

    .footer-social-btn a {
        font-size: 1rem;
    }

    .footer-top {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 2.8125rem 3.125rem 2.5rem 3.125rem;
        justify-content: space-between;
    }

    .footer-quick-links {
        margin: 0;
    }

    .footer-contact-info ul li a,
    .footer-quick-links ul li a {
        justify-content: flex-start;
    }

    .footer-quick-links ul,
    .footer-contact-info ul {
        gap: 0.625rem;
    }

    .footer-bottom {
        margin: 1.5625rem 0 0;
        padding: 0 3.125rem;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
    }

    .footer-bottom ul {
        justify-content: flex-start;
        margin: 0;
        width: 70%;
    }
}

@media (min-width: 1200px) {
    .footer-logo a {
        max-width: 17.5rem;
        margin: 0 0 1.25rem;
    }

    .footer-social-btn a span {
        width: auto;
    }

    .footer-top__left {
        margin: 0;
        width: max-content;
    }

    .footer-top {
        padding: 3.125rem 4.6875rem 3.125rem 4.6875rem;
        align-items: center;
    }

    .footer-bottom {
        margin: 1.5625rem 0 0;
        padding: 0 7.5rem;
    }

    .footer-bottom ul {
        gap: 3.125rem;
        width: 80%;
    }

    .footer-quick-links ul,
    .footer-contact-info ul {
        gap: 0.375rem;
    }

    .footer-contact-info ul li a,
    .footer-quick-links ul li a,
    .footer-social-btn a,
    .footer-bottom ul li a {
        transition: color 0.3s;
    }

    .footer-contact-info ul li a:hover,
    .footer-quick-links ul li a:hover,
    .footer-social-btn a:hover,
    .footer-bottom ul li a:hover {
        color: var(--color-secondary);
    }
}

@media (min-width: 1600px) {
    .footer-logo a {
        max-width: 21.875rem;
    }
}
