.page-footer {
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.page-footer-inner {
    background-color: #e5e5e5;
}

.home .page-footer {
    margin-top: auto; /* used to affix footer at bottom of page */
}

.footer {
    padding: 70px 0 50px;
}

.footer__logo {
    display: block;
}

.footer__logo:not(:last-child) {
    margin-bottom: 40px;
}

.footer__logo img {
    width: 100%;
    height: auto;
}

.footer__logo--main {
    max-width: 251px;
    padding: 0 20px;
    display: block;
    margin: 0 auto;
}

.footer__logo--sub {
    max-width: 315px;
    padding: 0 20px;
    display: block;
    margin: 0 auto;
}

.footer__logo--custom {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    align-items: center;
}

.footer__logo--custom img {
    width: 50%;
    height: fit-content;
    margin-right: 5px;
}

.footer__helpers h3 {
    color: #043364;
    font-weight: 500;
}

.footer__helpers ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-top: 10px;
}

.footer__helpers ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer__helpers a,
.footer__helpers p {
    font-size: 16px;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    color: #5a5a5a;
    position: relative;
}

.footer__helpers a {
    line-height: 1.2;
    padding-bottom: 3px;
    box-shadow: inset 0 0 #043364;
    transition: color 0.3s ease-in-out, box-shadow 0.25s ease-in-out;
}

.footer__helpers a:hover {
    color: #971515;
    box-shadow: inset 0 -3px #043364;
}

.footer__bottom {
    background-color: #ededed;
    padding: 22px 0;
}

.footer__bottom__socials ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    list-style: none;
}

.footer__bottom__socials ul li {
    margin-right: 10px;
}

.footer__bottom__socials ul li a {
    display: block;
}

.footer__bottom__links ul {
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer__bottom__links ul li {
    display: inline-block;
}

.footer__bottom__links ul li:not(:last-child) {
    margin-right: 46px;
}

.footer__bottom__links ul li a,
.footer__bottom__links ul li small {
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    line-height: 1.2;
    padding-bottom: 3px;
    box-shadow: inset 0 0 #043364;
    transition: color 0.3s ease-in-out, box-shadow 0.25s ease-in-out;
}

.footer__bottom__links ul li a:hover {
    color: #971515;
    box-shadow: inset 0 -3px #043364;
}

.footer__bottom__scrolltop {
    text-align: right;
}

.footer__bottom__scrolltop a {
    font-size: 18px;
    font-weight: bold;
    font-family: "Rajdhani", sans-serif;
    color: #043364;
    text-transform: uppercase;
}

.footer__bottom__scrolltop a:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 0;
    height: 0;
    position: relative;
    top: 0;
    margin-left: 12px;
    border-top: 0;
    border-right: 7px solid transparent;
    border-bottom: 8px solid #043364;
    border-left: 7px solid transparent;
}

/*
* Responsive
*/

@media (max-width: 1025px) {
    .page-footer {
        padding-top: 0;
    }

    .page-footer:before {
        z-index: 3;
        top: -40px;
        height: 350px;
    }

    .footer {
        padding: 55px 0 50px 40px;
    }

    .footer__helpers {
        padding-right: 0;
    }

    .footer__item {
        margin-bottom: 20px;
    }

    .footer__helpers h3 {
        font-size: 35px;
        margin-bottom: 20px;
    }

    .footer__logo {
        margin: 0;
        padding: 0;
    }

    .footer__logo:not(:last-child) {
        margin-bottom: 25px;
    }

    .footer__logo--main {
        width: 156px;
    }

    .footer__logo--sub {
        width: 239px;
    }

    .footer__bottom__links ul li:not(:last-child) {
        margin-right: 15px;
    }

    .footer__bottom__links ul li:last-child {
        margin-left: auto;
    }

    .footer__bottom__links ul {
        text-align: left;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .page-footer {
        margin: 0;
        padding: 0;
    }

    .footer__helpers a,
    .footer__helpers p {
        font-size: 15px;
        font-weight: 400;
    }

    .footer {
        padding: 92px 22px 25px;
    }

    .footer__item {
        margin-bottom: 35px;
    }

    .footer__helpers {
        text-align: center;
    }

    .footer__logo {
        margin: 0 auto;
    }

    .footer__logo--custom {
        justify-content: center;
    }

    .footer__logo--custom img {
        width: 40%;
    }

    .footer__bottom {
        padding: 30px 0 100px;
        border-bottom: 6px solid #043364;
    }

    .footer__bottom .flex-row {
        flex-direction: column-reverse;
    }

    .footer__bottom__socials {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 30px;
    }

    .footer__bottom__socials ul {
        position: relative;
        top: 5px;
    }

    .footer__bottom__links ul {
        padding: 0;
        display: block;
    }

    .footer__bottom__links ul li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 18px;
    }

    .footer__bottom__links ul li {
        display: block;
        text-align: center;
    }
}
