.page-footer {
    position: relative;
    padding: 40px 0 0;
}

.page-footer:after {
    content: "";
    position: absolute;
    height: 5px;
    width: 100%;
    left: 0;
    top: 0;
    background: rgb(6,94,197);
    background: linear-gradient(45deg, rgba(6,94,197,1) 0%, rgba(125,183,250,1) 100%);
}

.footer-top-logo {
    margin: 0 auto 25px;
    display: table;
}

.footer-social ul {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social ul li {
    padding: 0;
    margin: 0 5px;
}

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

.footer-social ul li a {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background: rgb(12,53,101);
    background: linear-gradient(13deg, rgba(12,53,101,1) 0%, rgba(6,94,197,1) 100%);
}

.back-to-top {
    padding-top: 24px;
    position: relative;
    margin: 25px auto 0;
    display: table;
}

.back-to-top a i {
    height: 24px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px 50px 0 0;
    background: #CCD6E3;
    color: #1A2C40;
    font-size: 13px;
    position: absolute;
    top: -25px;
    left: 50%;
    font-weight: 700;
    transform: translate(-50%, 0);
}

.back-to-top a {
    font-size: 16px;
    padding: 8px 17px;
    border-radius: 50px;
    border: 1px solid #CCD6E3;
    position: inherit;
    color: #1A2C40;
    font-weight: 400;
    background: #F5FAFF;
    display: block;
}

.footer-top-first-right .btn {
    display: table;
    margin: 20px auto 25px;
    padding: 18px 55px 17px 25px;
}

.footer-top-first-right .btn::before {
    right: 26px;
}

.footer-top-link-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1A2C40;
    text-align: center;
    padding-bottom: 15px;
}

.footer-top-link-item ul {
    padding: 0;
    margin: 0;
}

.footer-top-link-item ul li {
    padding: 0;
    margin: 0 0 15px 0;
}

.footer-top-link-item ul li:last-child {
    margin: 0;
}

.footer-top-link-item ul li:before {
    display: none;
}

.footer-top-link-item ul li a {
    display: block;
    text-align: center;
    background: none;
    font-weight: 400;
}

.footer-top-link-item ul li a i {
    color: #065EC5;
    font-size: 24px;
    position: relative;
    top: 4px;
    margin-right: 6px;
}

.footer-top-link-item {
    padding-bottom: 22px;
}

.footer-bottom {
    background-color: #F4F4F5;
    padding: 15px 0;
    margin-top: 10px;
}

.footer-bottom ul {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-bottom ul li {
    padding: 0;
    margin: 0 0 8px 0;
    color: #1A2C40;
    font-size: 16px;
    font-weight: 400;
}

.footer-bottom ul li:last-child {
    margin: 0;
    width: 100%;
    text-align: center;
}

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

.footer-bottom ul li a {
    background: none;
    color: #1A2C40;
    font-size: 16px;
    font-weight: 400;
}

.footer-top-logo a {
    background: none;
}

@media(min-width: 768px) {
    .footer-bottom ul li:last-child {
        margin: 0;
        width: auto;
        text-align: left;
    }

    .footer-bottom ul li {
        margin: 0 17.5px !important;
    }

    .footer-bottom ul {
        justify-content: center;
    }

    .footer-top-link {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-top-link-item h3 {
        text-align: left;
    }

    .footer-top-link-item ul li a {
        text-align: left;
    }

    .footer-top-link-item {
        width: 33.333%;
        padding-bottom: 32px;
    }

    .footer-top-first {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 35px;
    }

    .footer-top-first-left {
        width: 50%;
    }

    .footer-top-first-right {
        width: 50%;
    }

    .back-to-top {
        margin: 0 auto;
    }

    .footer-top-first-right .btn {
        margin: 20px auto 0;
    }

    .footer-bottom {
        padding: 12px 0;
        margin-top: 0;
    }
}

@media(min-width: 1200px) {
    .footer-bottom ul li {
        margin: 0 32.5px !important;
    }

    .footer-bottom {
        padding: 22px 0;
        margin-top: 62px;
    }

    .footer-top-link-item {
        padding-bottom: 0;
        width: auto;
    }

    .footer-top-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .footer-top-logo {
        width: 184px;
    }

    .footer-top-first-right {
        width: 174px;
    }

    .footer-top-first {
        margin-bottom: 0;
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        transform: translate(0, -50%);
    }

    .footer-top-first-left {
        width: 184px;
    }

    .footer-top-link {
        width: 100%;
        padding: 0 243px 0 253px;
    }
    
    .footer-social ul li a:hover {
        background: rgb(12,53,101);
        background: linear-gradient(13deg, rgb(124 43 1) 0%, rgb(193 70 6) 100%);
    }

    .footer-top-link-item ul li a:hover,
    .footer-bottom ul li a:hover {
        color: #065EC5;
    }

    .back-to-top a:hover {
        color: #fff;
        background-color: #065EC5;
    }

    .footer-top-first-right .btn:hover::before {
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 17px;
    }

    .page-footer {
        padding: 65px 0 0;
    }
}