/*------------------------------------*\
    
    Page Footer CSS

    Page footer...........The main page footer.

\*------------------------------------*/

.page-footer {
    background: var(--dark-blue);
    position: relative;
    margin-top: auto;
}

.page-footer:after {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 51px;
    background-color: #fff;
}

.footer-top__form {
    background-color: var(--main-blue);
    padding: 25px 22px 33px;
    position: relative;
    z-index: 1;

}

.footer-top__form:after {
    content: "";
    position: absolute;
    left: -1px;
    top: -2px;
    width: 52px;
    height: 52px;
    background-color: #fff;
    clip-path: polygon(0 0, 0% 100%, 100% 0);
}


.footer-top__form h2 {
    color: #fff;
    text-align: center;
}

.footer-logo a {
    width: 100%;
    display: block;
    border-bottom: none;
}

.footer-logo img {
    width: 75px;
    height: 50px;
}

.footer-logo .footer-logo__img {
    filter: brightness(0) invert(1);
}

.footer-logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top a {
    padding-left: 38px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    transition: all ease 0.3s;
    border-bottom: none;
}

.back-to-top a:after {
    content: "\e916";
    font-family: 'lpi-icon';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%) rotate(-90deg);
    width: 30px;
    height: 30px;
    border-radius: 50px;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.footer-logo-col {
    gap: 24px;
}

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

.footer-top__content {
    width: 100%;
    max-width: 348px;
    margin: 0 auto;
    padding-top: 40px;
}

.footer-highlight-text {
    position: relative;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #fff;
    font-family: "Readex Pro", sans-serif;
    margin: 74px 0 54px;
    padding: 27px 43px 31px;
}

.footer-highlight-text i {
    position: absolute;
    top: -23px;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    font-size: 65px;
    width: 97px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--dark-blue);
}

.footer-top h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 5px;
    letter-spacing: 0.1em;
}

.footer-info {
    text-align: center;
}

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

.footer-info ul li {
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

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

.footer-info ul li a {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: none;
    transition: all ease 0.3s;
}

.footer-info ul li a i {
    color: var(--main-orange);
    font-size: 18px;
}

.footer-info ul li a i.icon-location {
    font-size: 20px;
}

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

}

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

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

.footer-social ul li a {
    font-size: 40px;
    color: #fff;
    line-height: 1em;
    border-bottom: none;
    display: flex;
    transition: all ease 0.3s;
}

.footer-social {
    margin: 40px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
}

.footer-bottom {
    background: var(--dark-gray);
    padding: 18px 0 65px;
    margin: 40px 0 0;
    position: relative;
    z-index: 1;
}

.footer-bottom__wrapper ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 11px 50px;
    justify-content: center;
}

.footer-bottom__wrapper ul li {
    padding: 0;
    margin: 0;
    line-height: 1em;
    font-size: 14px;
    font-weight: 500;
    color: var(--light-gray);
}

.footer-bottom__wrapper ul li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--light-gray);
    border-bottom: none;
    transition: all ease 0.3s;
    line-height: 1em;
}

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

.footer-top {
    position: relative;
    z-index: 1;
}

.page-footer:before {
    content: "";
    position: absolute;
    left: -22px;
    background: #004976;
    top: 0;
    width: calc(100% - 44px);
    height: 640px;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
}

.footer-top__form .row {
    --bs-gutter-x: 20px;
}

.footer-center-bg-icon {
    position: absolute;
    width: 87px;
    bottom: 115px;
    right: -31px;
}

.footer-association-logo {
    max-width: 130px;
    padding: 16px 0;
}

@media(max-width: 767px) {
    .inner-footer .footer-social ul {
        flex-wrap: wrap;
    }
    
    .inner-footer .footer-social .association-logo__item {
        width: 100%;
    }

    .inner-footer .association-logo__inner {
        margin: 0 auto;
    }
}

@media(min-width: 768px) {
    .footer-top__form {
        padding: 60px 36px;
    }

    .footer-top__form:after {
        width: 102px;
        height: 102px;
    }

    .page-footer:after {
        height: 100px;
    }

    .footer-top__form .row {
        --bs-gutter-x: 16px;
    }

    .footer-logo img {
        width: 140px;
        height: 93px;
    }

    .footer-top__content {
        padding-top: 70px;
        margin: 0 auto;
    }

    .footer-top h3 {
        margin: 0 0 15px;
    }

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

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

    .footer-bottom {
        margin: 70px 0 0;
        padding: 17px 0;
    }

    .footer-bottom__wrapper ul {
        gap: 0;
        justify-content: space-between;
    }

    .footer-bottom__wrapper ul li,
    .footer-bottom__wrapper ul li a {
        font-size: 16px;
    }

    .page-footer:before {
        left: 0;
        width: calc(100% - 94px);
        height: 756px;
        clip-path: polygon(0 0, 0% 100%, 100% 15%);
    }

    .footer-top__form h2 {
        margin: 0 0 30px;
    }

    .footer-center-bg-icon {
        width: 167px;
        bottom: unset;
        right: -1px;
        top: 727px;
    }
}

@media(min-width: 1200px) {
    .page-footer {
        background: #004976;
    }

    .page-footer:before {
        left: unset;
        width: calc(50% - 94px);
        height: 100%;
        clip-path: unset;
        background: var(--dark-blue);
        right: 0;
    }

    .footer-top {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        flex-direction: row-reverse;
        position: relative;
    }

    .footer-top:after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -101px;
        width: calc(50% + 130px);
        background: var(--dark-blue);
        height: 480px;
        clip-path: polygon(65% 0, 0% 100%, 100% 100%);
    }

    .footer-top__form {
        padding: 60px 36px;
        width: calc(54% - 16px);
        max-width: 658px;
    }

    .footer-top__content {
        padding-top: 0;
        margin: 0;
    }

    .footer-highlight-text {
        margin: 74px 0 54px;
        padding: 27px 43px 31px;
    }

    .footer-highlight-text i {
        position: absolute;
        top: -23px;
        left: 50%;
        right: 50%;
        transform: translateX(-50%);
        font-size: 65px;
        width: 97px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #004976;
    }

    .footer-info ul li a {
        font-size: 16px;
        justify-content: flex-start;
    }

    .footer-info {
        text-align: left;
    }

    .footer-social:not(.inner-footer .footer-social) {
        flex-direction: row;
    }

    .footer-social ul {
        justify-content: flex-start;
        gap: 15px;
    }

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

    .footer-social ul li a:hover,
    .footer-info ul li a:hover,
    .back-to-top a:hover,
    .footer-bottom__wrapper ul li a:hover {
        color: var(--main-orange);
    }

    .back-to-top a:hover:after {
        border-color: var(--main-orange);
    }

    .footer-logo img {
        width: 184px;
        height: 123px;
    }

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

    .footer-center-bg-icon {
        width: auto;
        bottom: unset;
        right: unset;
        top: 150px;
        left: 50%;
        transform: translate(-50%, 0);
        margin-left: -85px;
    }

    .footer-bottom__wrapper {
        padding: 0 8px;
    }
}





.newsletter-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 40px 20px;
    z-index: 9;
    width: 90%;
    max-width: 426px;
    text-align: center;
    box-shadow: 0px 0px 7px 3px #0003;
}

.newsletter-modal__close {
    position: absolute;
    right: 15px;
    top: 12px;
    color: rgba(0, 115, 186, 0.3);
    font-size: 15px;
    transform: rotate(45deg);
    cursor: pointer;
}

.newsletter-modal__input input {
    border: 1px solid var(--dark-gray);
    border-radius: 50px;
}

.newsletter-modal__input .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 15px;
    gap: 8px;
    margin-top: 10px;
}

.newsletter-modal__input .btn::after {
    position: relative;
    transform: unset;
    right: 0;
    top: 0;
}

.newsletter-modal h3 {
    font-size: 24px;
    margin: 0 0 10px;
}

@media(min-width: 768px) {
    .newsletter-modal {
        padding: 53px 38px;
    }
}

@media(min-width: 1200px) {
    .newsletter-modal {
        top: unset;
        transform: unset;
        left: unset;
        bottom: 15px;
        right: 15px;
    }

    .newsletter-modal__close:hover {
        color: rgba(0, 115, 186, 1);
    }
}


.inner-footer.page-footer:before,
.inner-footer.page-footer:after {
    display: none;
}

.inner-footer.page-footer {
    padding-top: 40px;
}

.inner-footer .footer-top__content {
    padding-top: 0;
    max-width: unset;
    margin: 0;
}

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

.inner-footer .footer-logo-col {
    gap: 24px;
}

.inner-footer .footer-highlight-text {
    margin: 74px auto 54px;
    max-width: 348px;
}

.inner-footer .footer-highlight-text span {
    width: 20px;
}

@media(min-width: 768px) {
    .inner-footer.page-footer {
        padding-top: 70px;
    }

    .inner-footer .footer-top__content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .inner-footer .footer-logo a {
        max-width: 100px;
    }

    .inner-footer .footer-logo-col {
        gap: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .inner-footer .footer-info ul li a {
        font-size: 16px;
        line-height: 1.4375em;
        width: max-content;
        margin: 0 auto;
        gap: 8px;
    }

    .inner-footer .footer-info ul {
        gap: 14px;
    }

    .inner-footer .footer-highlight-text {
        font-size: 14px;
        padding: 24px 12px;
        position: relative;
        margin: 0 0 15px;
    }

    .inner-footer .footer-highlight-text span {
        position: absolute;
        left: 50%;
        top: -16px;
        transform: translate(-50%, 0);
        font-size: 33px;
        z-index: 1;
        width: 33px;
        height: 20px;
        display: flex;
        align-items: center;
    }

    .inner-footer .footer-highlight-text span:after {
        content: "";
        position: absolute;
        left: -9px;
        top: 0;
        width: calc(100% + 18px);
        background: var(--dark-blue);
        height: 100%;
        z-index: -1;
    }

    .inner-footer .footer-highlight-text i {
        font-size: 50px;
    }

    .inner-footer .footer-social {
        margin: 0;
    }

    .inner-footer .footer-social ul li a {
        font-size: 30px;
    }

    .inner-footer .footer-social ul {
        justify-content: flex-end;
    }

    .inner-footer .footer-bottom {
        margin: 61px 0 0;
    }

    .inner-footer .footer-top h3 {
        margin: 0 0 12px;
    }

    .inner-footer .footer-bottom__wrapper ul li,
    .inner-footer .footer-bottom__wrapper ul li a {
        font-size: 14px;
    }

    .inner-footer .footer-center-bg-icon {
        width: 82px;
        bottom: unset;
        right: unset;
        top: -34px;
        left: 91px;
    }
}

@media(min-width: 1200px) {
    .inner-footer.page-footer {
        padding-top: 100px;
    }

    .inner-footer .footer-top:after {
        display: none;
    }

    .inner-footer .footer-top__content {
        width: 100%;
    }

    .inner-footer .footer-logo a {
        max-width: 184px;
    }

    .inner-footer .footer-logo-col {
        gap: 24px;
        flex-direction: row;
        align-items: center;
    }

    .inner-footer .footer-top h3 {
        margin: 0 0 15px;
        text-align: center;
    }

    .inner-footer.page-footer {
        background: var(--dark-blue);
    }

    .inner-footer .footer-bottom__wrapper ul li,
    .inner-footer .footer-bottom__wrapper ul li a {
        font-size: 16px;
    }

    .inner-footer .footer-social ul {
        justify-content: center;
    }

    .inner-footer .footer-social ul li a {
        font-size: 40px;
    }

    .inner-footer .footer-highlight-text {
        font-size: 20px;
        padding: 25px 42px;
        margin: 28px 0 32px;
    }

    .inner-footer .footer-highlight-text i {
        background: var(--dark-blue);
    }

    .inner-footer .footer-bottom {
        margin: 113px 0 0;
    }

    .inner-footer .footer-highlight-text span {
        top: -25px;
        width: 65px;
        height: 40px;
    }

    .inner-footer .footer-highlight-text span:after {
        left: -17px;
        width: calc(100% + 34px);
    }

    .inner-footer .footer-center-bg-icon {
        width: 166px;
        top: -34px;
        left: 12px;
    }
}
