.footer-top {
    position: relative;
}

.footer-top__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 790px;
    object-fit: cover;
}

.footer-top__overlay {
    position: relative;
    z-index: 1;
    background: rgba(23, 37, 73, 0.61);
}

.footer-top-text-content {
    color: var(--white);
    padding: 120px 0 80px;
}

.footer-top-text-content p a,
.footer-top-text-content h1,
.footer-top-text-content h2,
.footer-top-text-content h3,
.footer-top-text-content h4,
.footer-top-text-content h5,
.footer-top-text-content h6 {
    color: var(--white);
}

.footer-top-text-content .sub-heading {
    color: var(--light-blue);
    -webkit-text-stroke: 1px var(--light-blue);
}

.footer-top-text-content blockquote,
.footer-top-text-content blockquote a {
    color: var(--white);
    -webkit-text-stroke-color: var(--white);
}

.footer-top-text-content ul li:before,
.footer-top-text-content ul.list-style li::after {
    color: var(--light-blue);
}

.footer-top-text-content h2 {
    color: var(--white);
    line-height: 1.5em;
}

.footer-top-text-content h2 span {
    font-family: "Nothing You Could Do", cursive;
    font-weight: 700;
    font-size: 35px;
    display: block;
    color: var(--white);
    -webkit-text-stroke-color: var(--white);
}

.footer-top-text-content .btn-location {
    background: var(--white);
    color: var(--dark-blue);
}

.footer-top-text-content .btn-tertiary {
    color: var(--white);
}

.footer-top__info {
    position: relative;
    padding: 50px 22px;
    border-radius: 40px 40px 0 0;
    margin: 0 -22px;
    background: var(--light-blue);
}

.footer-logo a {
    max-width: 216px;
    display: block;
}

.footer-logo a img {
    height: auto;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 0 30px;
}

.footer-logo-col .btn {
    width: max-content;
}

.footer-top h3 {
    text-transform: uppercase;
    font-size: 18px;
    margin: 0 0 10px;
}

.footer-location p {
    margin: 0 0 10px 0;
}

.footer-location a {
    padding-right: 17px;
}

.footer-location a:after {
    content: "\e910";
    color: var(--blue);
    font-size: 9px;
}

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

.footer-links ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

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

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





.footer-media ul {
    padding: 0;
    margin: 0;
    display: flex;
    gap: 16px;
}

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

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

.footer-media ul li a {
    font-size: 23px;
    text-decoration: none;
    font-weight: 400;
    color: var(--blue);
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 20px 5px rgba(23, 37, 73, 0.1);
    transition: all 0.3s ease;
}


.footer-media ul li a i.icon-youtube {
    font-size: 25px;
}

.back-to-top a {
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
    padding: 13px 46px 12px 30px;
    width: max-content;
    display: flex;
    position: relative;
    border-radius: 50px;
    border: 2px solid var(--twilight);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-top a:after {
    content: "\e914";
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translate(0, -50%);
    font-family: 'Village-Caregiving';
    font-size: 9px;
}

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

.footer-bottom {
    color: var(--white);
    background: var(--text);
    padding: 30px 0 37px;
}

.footer-bottom-top ul {
    padding: 0 0 18px;
    margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-bottom-top ul li {
    padding: 0;
    margin: 0;
    font-size: 14px;
    text-decoration: none;
    font-weight: 400;
    color: var(--white);
    line-height: 1em;
}

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

.footer-bottom-top ul li a {
    font-size: 14px;
    text-decoration: none;
    line-height: 1em;
    font-weight: 400;
    color: var(--white);
}

.footer-bottom-top p {
    font-size: 14px;
    line-height: 1.4em;
}


@media(min-width: 768px) {
    .footer-top__info {
        padding: 50px 26px;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 50px 59px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footer-top__info > div {
        width: calc(50% - 30px);
    }    

    .footer-top__bg {
        height: 100%;
    }

    .footer-top-text-content h2 span {
        font-size: 45px;
    }

    .footer-top-text-content .btn-group {
        margin: 20px 0 0;
    }

    .footer-top-text-content {
        padding: 150px 0 100px;
    }

    .footer-logo-col .btn {
        font-size: 16px;
        padding: 13px 80px 12px 24px;
    }

    .footer-location p {
        font-size: 16px;
        margin: 0 0 25px 0;
    }

    .footer-logo-col {
        margin: 0;
    }

    .footer-links {
        margin: 0;
        order: 1;
    }

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

    .footer-links ul {
        gap: 6px;
    }

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

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

    .footer-bottom-top ul {
        gap: 16px 13px;
        padding: 0 0 24px;
        margin: 0 0 25px;
    }

    .footer-bottom {
        padding: 40px 0;
    }

    .footer-location a {
        font-size: 16px;
    }

    .footer-logo-col .btn:after {
        font-size: 30px;
        right: 39px;
    }

    .footer-logo-col .btn::before {
        right: 30px;
        font-size: 23px;
    }
}


@media(min-width: 1200px) {
    .footer-bottom-top ul li:last-child {
        margin-left: auto;
    }

    .footer-bottom-top ul {
        gap: 16px 30px;
        padding: 0 0 30px;
        margin: 0 0 25px;
    }

    .footer-top__info > div {
        width: auto;
    }    

    .footer-links {
        order: unset;
    }

    .footer-top__info {
        padding: 70px 70px 60px;
        gap: 0;
        justify-content: space-between;
    }

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

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

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

    .footer-links ul li a:hover {
        color: var(--blue);
    }

    .footer-bottom-top ul li a:hover {
        opacity: 0.7;
    }

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

    .footer-bottom {
        padding: 45px 0 40px 0;
    }

    .footer-top-text-content {
        padding: 386px 0 140px;
    }

    .footer-top-text-content h2 {
        font-size: 40px;
    }

    .footer-top-text-content h2 span {
        display: inline-block;
    }

    .footer-top-text-content .btn-location:hover {
        background: var(--light-blue);
    }

    .footer-top-text-content .btn-tertiary:hover {
        color: var(--light-blue);
    }

    .footer-top-text-content p a:hover {
        color: var(--twilight);
    }
}

@media(min-width: 1600px) {
    .footer-top__info {
        justify-content: flex-start;
    }

    .footer-location {
        margin-left: 38px;
    }

    .footer-links {
        margin-left: 32px;
    }

    .footer-media {
        margin-left: 68px;
    }
}