.page-footer {
    background: var(--dark);
    padding: 48px 0;
}

.footer-top h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 17px;
    padding: 0 0 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.footer-link ul li {
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.4em;
}

.footer-link ul li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--white);
    gap: 11px;
    font-size: 18px;
    font-family: "Rajdhani", sans-serif;
    text-decoration: none;
    font-weight: 500;
}

.footer-link ul li a i {
    color: var(--orange);
}

.footer-link ul li a.btn-tertiary {
    display: block;
    width: max-content;
    margin: 17px 0 20px;
    color: var(--orange);
    font-family: "Rajdhani", sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

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

.footer-info {
    margin: 25px 0 0;
}

.footer-info ul {
    display: flex;
    gap: 8px 32px;
    flex-wrap: wrap;
}

.footer-info ul li {
    width: calc(50% - 16px);
}

.footer-info ul li a {
    font-size: 16px;
    color: var(--white);
    font-weight: 400;
    text-decoration: none;
}

.footer-info .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 11px;
    padding: 10px 22px 11px 22px;
    margin: 15px 0 0;
}

.footer-info .btn::after {
    position: relative;
    right: 0;
    top: unset;
    transform: unset;

}

.footer-top__right {
    padding: 0 15px 0 0;
}

.footer-top__left {
    margin: 64px 0 0;
}

.footer-top__left h3 {
    padding: 0;
    border-bottom: none;
}

.footer-newsletter {
    position: relative;
    margin: 35px 0 0;
    color: var(--white);

    .gform_wrapper.gravity-theme .gform-loader {
        position: absolute;
        top: 10px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
}

.footer-newsletter input {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-newsletter input::placeholder {
    color: var(--white);
}

.footer-newsletter button {
    position: absolute;
    right: 0;
    top: 0;
    transform: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    background: transparent;
    padding: 0;
    border: none;
    font-weight: normal;
    background: none;
    margin-bottom: 0 !important;
}

.footer-newsletter button:after {
    right: 15px;
}

@media (min-width: 768px) {
    .footer-newsletter button:hover {
        color: #fff;
        background-color: transparent;

        &:after {
            color: #fff;
        }
    }
}

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

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

.footer-social ul li a {
    width: 38px;
    height: 38px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    color: var(--dark);
    text-decoration: none;
}

.footer-bottom {
    margin: 32px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 0 0;
}

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

.footer-bottom ul li,
.footer-bottom ul li a {
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--orange);
    font-size: 18px;
    gap: 11px;
    font-weight: 600;
    font-family: "Rajdhani", sans-serif;
}

.back-to-top a i {
    font-size: 16px;
}

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


@media(min-width: 768px) {
    .footer-top__right {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-direction: row-reverse;
        gap: 32px;
    }

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

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

    .footer-info ul li {
        width: 100%;
    }

    .footer-info .btn {
        width: max-content;
        padding: 10px 28px 11px 22px;
    }

    .footer-info ul li {
        width: max-content;
    }

    .footer-info ul {
        flex-direction: column;
    }

    .footer-top {
        padding: 0; 
        width: 100%;
    }

    .footer-bottom ul {
        gap: 32px;
    }

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

    .footer-link ul {
        gap: 20px;
    }

    .footer-link ul li a.btn-tertiary {
        margin: 17px 0 15px;
    }
}

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

    .footer-top {
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .footer-top__right {
        padding: 0;
        gap: 140px;
    }

    .footer-top__left {
        margin: 0;
        width: 507px;
    }

    .footer-top__left h3 {
        font-size: 32px;
    }

    .footer-link {
        width: 292px;
    }

    .footer-info {
        width: 184px;
    }

    .page-footer .container {
        max-width: 1306px;
    }

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

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

    .footer-social ul li a:hover {
        background: var(--orange);
        color: var(--white);
    }

    .footer-info ul li a:hover,
    .footer-link ul li a:hover,
    .footer-bottom ul li a:hover,
    .footer-newsletter button:hover {
        color: var(--orange);
    }

    .back-to-top a:hover {
        color: var(--white);
    }

    .footer-link ul li a.btn-tertiary:hover {
        color: var(--orange-hover);
    }
}

.footer-newsletter .gform_wrapper.gravity-theme {
    .gform_required_legend {
        display: none;
    }

    .gform_footer {
        padding: 0;
        margin: 0;
        font-size: 0;
        line-height: 0;
        position: absolute;
        top: 0;
        right: 0;
    }

    button {
        font-size: 0;
        margin-right: 0;
    }

    .gform_validation_errors {
        display: none;
    }

    .gfield_validation_message,
    .validation_message {
        border: 0;
        background-color: transparent;
        padding: 0;
        font-weight: bold;
        font-family: 'Inter';
        text-transform: uppercase;
        font-size: 12px;
        margin-top: 10px;
    }

    .gfield_error [aria-invalid=true] {
        border: 1px solid #D70C0C;
        border-left-width: 4px;
    }
}