.page-footer {
    position: relative;

}

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

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

.page-footer ul li.menu-item-object-ubermenu-custom > a {
    display: none;
}

.footer-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0.16;
}


.footer-wrapper {
    position: relative;
    z-index: 1;
    background: linear-gradient(360deg, #051830 0%, #0D3566 100%);
    border-radius: 30px;
    overflow: hidden;
    margin: 0 -22px;
}

.footer-logo a {
    max-width: 247px;
    margin: 0 auto 35px;
    display: table;
    text-decoration: none;
}

.footer-social ul li a {
    font-size: 50px;
    color: var(--color-white);
    text-decoration: none;
    display: flex;
    transition: opacity 0.3s ease-in-out;
}

.footer-social ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.footer-top {
    margin: 35px 0 0;
    position: relative;
    z-index: 1;
}

.footer-flex {
    padding: 44px 0;
    margin: 44px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-flex h3 {
    font-size: 22px;
    font-weight: normal;
    font-family: var(--font-primary-bold);
    color: var(--color-white);
    margin: 0 0 15px;
    text-align: center;
}

.footer-link ul li a {
    font-size: 18px;
    font-weight: normal;
    font-family: var(--font-primary-regular);
    color: var(--color-white);
    display: block;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s ease-in-out;
}

.footer-link ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-btn .btn {
    margin: 0 auto;
    display: table;
    border: none;
}

.footer-bottom ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.footer-bottom ul li,
.footer-bottom ul li a {
    font-size: 18px;
    font-weight: normal;
    font-family: var(--font-primary-regular);
    color: var(--color-white);
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease-in-out;
}

.footer-bottom ul li:after {
    content: "|";
    font-family: "Open Sans", sans-serif;
    position: absolute;
    right: -17px;
    top: 0;
}

.footer-bottom ul li:last-child:after,
.footer-bottom ul li:nth-child(3):after {
    display: none;
}

.back-to-top a {
    font-size: 18px;
    font-weight: normal;
    font-family: var(--font-primary-bold);
    color: var(--color-white);
    transition: opacity 0.3s ease-in-out;
}

.back-to-top {
    margin: 20px 0 0;
    text-align: center;
}

.footer-bottom {
    margin: 0 0 70px;
    position: relative;
    z-index: 1;
}

.footer-cta-pattern {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 672px;
    max-width: unset;
    top: 4px;
}

.footer-cta {
    padding: 80px 0 0;
    position: relative;
    z-index: 1;
}

.footer-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 35px;

    .btn-group {
        gap: 20px 30px;
    }
}

.footer-cta__content h2 {
    color: var(--color-white);
    margin: 0 0 50px;
    font-size: 50px;
}

.footer-cta__content h2 span {
    color: var(--color-secondary);
}

.page-footer .btn-secondary {
    border-color: var(--color-primary);
}

.page-footer .btn-primary {
    border: 1px solid var(--color-white);
    background: transparent;
}

@media(min-width: 768px) {
    .footer-wrapper {
        margin: 0;
        padding: 0 40px;
    }

    .footer-logo a {
        max-width: 361px;
        margin: 0 auto 35px;
        display: table;
        text-decoration: none;
    }

    .footer-flex {
        display: flex;
        flex-direction: row;
        gap: 40px 32px;
        flex-wrap: wrap;
        margin: 44px 0;
    }

    .footer-cta-pattern {
        top: -86px;
    }

    .footer-link {
        width: calc(50% - 16px);
    }

    .footer-flex h3 {
        text-align: left;
    }

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

    .page-footer {
        margin: 0 0 38px;
    }

    .footer-btn {
        width: 100%;
    }

    .footer-bottom ul {
        gap: 20px 140px;
    }

    .footer-bottom ul li:after {
        right: -70px;
    }

    .footer-top {
        margin: 26px 0 0;
    }

    .footer-bottom {
        margin: 0 0 44px;
    }

    .footer-cta__content {
        padding: 0;

        .btn-group {
            gap: 35px 30px;
        }
    }

    .footer-cta__content h2 {
        font-size: 43px;
        margin: 0 0 20px;
    }

    .footer-cta__content .btn-group {
        gap: 0 37px;
    }
}

@media(min-width: 1200px) {
    .footer-cta {
        padding: 120px 0 0;
    }

    .footer-cta__content h2 {
        font-size: 60px;
        margin: 0;
    }

    .page-footer {
        margin: 0 0 47px;
    }

    .footer-cta-pattern {
        min-width: unset;
        width: 557px;
        top: 16px;
        margin-left: 45px;
    }

    .footer-top .btn-group {
        gap: 37px;
        margin: 0;
    }

    .footer-top {
        margin: 55px 0 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer-flex {
        gap: 0 34px;
        margin: 44px 0;
        justify-content: space-between;
    }

    .footer-logo a {
        margin: 0;
    }

    .footer-link {
        max-width: 180px;
        width: auto;
    }

    .footer-btn {
        width: auto;
        margin-left: auto;
    }

    .footer-bottom ul li:nth-child(3):after {
        display: block;
    }

    .footer-bottom ul {
        gap: 20px 98px;
    }

    .footer-bottom ul li:after {
        right: -50px;
    }

    .footer-bottom {
        margin: 0 0 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 35px;
    }

    .footer-wrapper {
        padding: 0 105px;
    }

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

    .footer-link ul li a:hover,
    .footer-bottom ul li a:hover,
    .back-to-top a:hover,
    .footer-social ul li a:hover {
        opacity: 0.8;
    }

    .footer-social {
        margin-left: auto;
    }

    .page-footer .btn-secondary:hover {
        border-color: var(--color-secondary);
        box-shadow: none;
    }

    .page-footer .btn-primary:hover {
        background: var(--color-white);
        color: #092448;
    }
}

@media(min-width: 1600px) {
    .footer-cta-pattern {
        width: 806px;
        top: 15px;
        margin-left: 25px;
    }

    .page-footer {
        margin: 0 0 50px;
    }

    .footer-bottom {
        margin: 0 0 50px;
        justify-content: space-between;
        gap: 35px;
    }

    .footer-flex {
        gap: 0 34px;
        margin: 44px 0 40px;
        justify-content: flex-start;
        padding: 44px 0 40px 0;
    }

    .footer-bottom ul {
        gap: 20px 148px;
    }

    .footer-bottom ul li:after {
        right: -75px;
        font-size: 22px;
    }

    .footer-link {
        max-width: unset;
        width: 270px;
    }

    .footer-top {
        margin: 55px 0 0;
    }

    .footer-wrapper {
        padding: 0 151px;
    }

}