/* The promo box sits on top of the footer, so it is a shade DARKER than the
   footer (not the same navy) and lifts off it with a border + shadow.
   Orange stays reserved for the button. */
#cta {
    padding-top: 4rem;
    position: relative;
    z-index: 5;
}

.cta-block {
    background: var(--darkblue);
    border: 1px solid rgba(239, 130, 2, 0.45);
    box-shadow: 0 1.5rem 3rem rgba(2, 9, 24, 0.55);
    padding: 3.5rem 4rem;
    border-radius: 2rem;
    position: relative;
}

.cta-block h2 {
    font-size: 2.125rem;
    font-weight: var(--bold);
    color: var(--lightgray);
    margin-bottom: 1rem;
}

.cta-block p.inverse {
    color: #A7B5C4;
}

.cta-block .btn-primary {
    box-shadow: 0 0.5rem 1.5rem rgba(239, 130, 2, 0.35);
}

footer {
    padding: 13rem 0px 3rem;
    background: var(--lightblue);
    border-radius: 10rem 10rem 0px 0px;
    margin-top: -6rem;
    position: relative;
    z-index: 1;
}

/* --- Footer brand block ---
   Logo lockup sits above the link columns, separated by a hairline rule,
   so the footer opens with the mark rather than straight into lists. */

.footer-brand {
    padding-bottom: 3rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid #223253;
}

.footer-logo {
    display: inline-block;
    width: fit-content;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo img {
    width: 11rem;
    max-width: 100%;
    display: block;
}

.footer-logo:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 0.5rem 1rem rgba(239, 130, 2, 0.35));
}

.footer-tagline {
    color: #A7B5C4;
    max-width: 34rem;
    margin: 1.25rem 0px 0px;
    line-height: 1.7;
}

.footer-block h4 {
    font-size: 1.25rem;
    color: var(--lightgray);
    font-weight: var(--medium);
    margin-bottom: 1rem;
}

.cont-block i {
    font-size: 1.5rem;
    min-width: 2rem;
    color: var(--primary);
    display: block;
}

.cont-block p {
    margin-bottom: 0px;
}

.cont-block {
    margin-top: 1rem;
}

.footerlink li a {
    padding: 0.25rem 0px;
    line-height: 1.4rem;
    color: #A7B5C4;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s;
}

.footerlink li a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #223253;
    gap: 1rem;
}

.footer-bottom p {
    margin-bottom: 0px;
    color: #8595A8;
    font-size: 0.9375rem;
}

@media screen and (max-width:992px) {
    .cta-block h2 {
        font-size: 2rem;
    }
    .cta-block {
        padding: 2.5rem;
    }
    footer {
        padding-top: 11rem;
        border-radius: 5rem 5rem 0px 0px;
    }
    .footer-brand {
        padding-bottom: 2.5rem;
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .footer-bottom {
        display: block !important;
    }
}

@media screen and (max-width:680px) {
    .cta-block h2 {
        font-size: 1.5rem;
    }
    .footer-bottom {
        display: block !important;
        text-align: center;
    }
    .cta-block {
        padding: 2rem;
        border-radius: 1.25rem;
    }
    #cta {
        padding-top: 2rem;
    }
    footer {
        padding-top: 9rem;
        border-radius: 3rem 3rem 0px 0px;
    }
    .footer-brand {
        padding-bottom: 2rem;
        margin-bottom: 2.5rem;
        text-align: center;
    }
    .footer-logo {
        margin: 0px auto;
    }
    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-bottom {
        margin-top: 3rem;
    }
}

.footer-columns{
    display: flex;
    justify-content: center;
    align-items: baseline;
}