/* ============================================================
   FOOTER
============================================================= */

.site-footer {

    --footer-navy: var(--deep-blue);
    --footer-deep: #03355b;
    --footer-gold: var(--gold);
    --footer-teal:var(--deep-blue);

    position: relative;

    color: #ffffff;

    background: var(--footer-navy);

    overflow: hidden;

}


/* Subtle top line */

.site-footer::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(90deg,
            var(--footer-gold),
            var(--footer-teal),
            var(--footer-gold));

}


/* ============================================================
   FOOTER TOP
============================================================= */

.footer-top {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr 1fr 1fr;

    gap: 38px;

    padding: 80px 0 65px;

}


/* ============================================================
   BRAND
============================================================= */

.footer-brand {

    max-width: 300px;

}


.footer-logo-link {

    display: inline-block;

    margin-bottom: 22px;

}


.footer-logo {

    display: block;

    width: 190px;

    height: auto;

    transition:
        transform 0.3s ease;
}


.footer-logo:hover {

    transform:
        translateY(-3px);

}


.footer-tagline {

    margin: 0 0 25px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;

    line-height: 1.8;

}


/* ============================================================
   SOCIAL
============================================================= */

.footer-social {

    display: flex;

    align-items: center;

    gap: 9px;

}


.footer-social a {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: rgba(255, 255, 255, 0.75);

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 50%;

    text-decoration: none;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;

}


.footer-social a:hover {

    color: var(--footer-gold);

    background: var(--footer-gold);

    border-color: var(--footer-gold);

    transform:
        translateY(-4px);

}


/* ============================================================
   FOOTER COLUMNS
============================================================= */

.footer-col {

    min-width: 0;

}


.footer-heading {

    display: block;

    width: 100%;

    margin: 0 0 18px;

    padding: 0;

    color: #ffffff;

    background: transparent;

    border: 0;

    text-align: left;

    font-family: inherit;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 0.5px;

    text-transform: uppercase;

}


.footer-toggle span {

    display: none;

}


/* ============================================================
   LINKS
============================================================= */

.footer-links {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.footer-links a {

    position: relative;

    display: inline-block;

    width: fit-content;

    color: rgba(255, 255, 255, 0.60);

    font-size: 12px;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.footer-links a::before {

    content: "";

    position: absolute;

    left: 0;

    bottom: -2px;

    width: 0;

    height: 1px;

    background: var(--footer-gold);

    transition:
        width 0.3s ease;

}


.footer-links a:hover {

    color: #ffffff;

    transform:
        translateX(4px);

}


.footer-links a:hover::before {

    width: 100%;

}


/* ============================================================
   SPACED HEADING
============================================================= */

.footer-heading-spaced {

    margin-top: 30px;

}


/* ============================================================
   FOOTER CTA
============================================================= */

.footer-cta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 30px 35px;

    margin-bottom: 45px;

    background:
        linear-gradient(135deg,
            var(--footer-deep),
            #0b4166);

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 12px;

}


.footer-cta-label {

    display: block;

    margin-bottom: 7px;

    color: var(--footer-gold);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.footer-cta h3 {

    margin: 0;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;

    line-height: 1.3;

}


.footer-cta-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    flex-shrink: 0;

    padding: 14px 22px;

    color: var(--white);

    background: #e2b654;
    
    border-radius: 6px;
    
    text-decoration: none;
    
    font-size: 13px;

    font-weight: 800;
    
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.footer-cta-button span {

    font-size: 19px;
    
    transition:
    transform 0.3s ease;
    
}


.footer-cta-button:hover {
    
    /* color: var(--deep-blue); */
    background: #e2b654;

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.20);

}


.footer-cta-button:hover span {

    transform:
        translateX(5px);

}


/* ============================================================
   FOOTER BOTTOM
============================================================= */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 22px 0 25px;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);

}


.footer-bottom p {

    margin: 0;

    color: rgba(255, 255, 255, 0.48);

    font-size: 11px;

}


.footer-legal {

    display: flex;

    align-items: center;

    gap: 20px;

}


.footer-legal a {

    color: rgba(255, 255, 255, 0.48);

    font-size: 11px;

    text-decoration: none;

    transition:
        color 0.25s ease;

}


.footer-legal a:hover {

    color: var(--footer-gold);

}



/* ============================================================
   DESKTOP FOOTER LINKS
   Bootstrap collapse should stay OPEN on desktop
============================================================= */

@media (min-width: 768px) {

    .footer-links.collapse {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
    }

    .footer-toggle {
        cursor: default;
    }

    .footer-toggle span {
        display: none !important;
    }

}


@media (min-width: 768px) {

    .footer-links.collapse {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
    }

    .footer-toggle {
        cursor: default;
    }

    .footer-toggle span {
        display: none !important;
    }

}






/* ============================================================
   LARGE TABLET
============================================================= */

@media (max-width: 1199.98px) {

    .footer-top {

        grid-template-columns:
            1.4fr repeat(3 , 1fr);

        gap: 35px;

    }


    .footer-brand {

        grid-column: span 4;

        max-width: 600px;

    }

}


/* ============================================================
   TABLET
============================================================= */

@media (max-width: 991.98px) {

    .footer-top {

        grid-template-columns:
            repeat(3, 1fr);

        gap: 35px 25px;

        padding: 70px 0 55px;

    }


    .footer-brand {

        grid-column: span 3;

    }


    .footer-cta {

        padding: 28px;

    }

}


/* ============================================================
   MOBILE
============================================================= */

@media (max-width: 767.98px) {

    .footer-top {

        display: block;

        padding: 60px 0 35px;

    }


    /* Brand */

    .footer-brand {

        max-width: 100%;

        padding-bottom: 35px;

        margin-bottom: 10px;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.10);

    }


    .footer-logo {

        width: 170px;

    }


    /* Footer columns */

    .footer-col {

        border-bottom:
            1px solid rgba(255, 255, 255, 0.10);

    }


    /* Heading becomes button */

    .footer-heading {

        display: flex;

        align-items: center;

        justify-content: space-between;

        min-height: 58px;

        margin: 0;

        padding: 0;

        cursor: pointer;

    }


    .footer-toggle span {

        display: flex;

        align-items: center;
        justify-content: center;

        width: 25px;
        height: 25px;

        color: var(--footer-gold);

        font-size: 20px;

        font-weight: 400;

        transition:
            transform 0.3s ease;

    }


    /* Rotate plus */

    .footer-toggle[aria-expanded="true"] span {

        transform:
            rotate(45deg);

    }


    /* Mobile links */

    .footer-links {

        padding:
            0 0 20px;

        gap: 9px;

    }


    .footer-links a {

        width: 100%;

        padding-left: 4px;

        font-size: 12px;

    }


    .footer-heading-spaced {

        margin-top: 0;

    }


    /* CTA */

    .footer-cta {

        flex-direction: column;

        align-items: flex-start;

        gap: 22px;

        padding: 25px;

        margin-bottom: 30px;

    }


    .footer-cta h3 {

        font-size: 21px;

    }


    .footer-cta-button {

        width: 100%;

    }


    /* Bottom */

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        padding: 20px 0 25px;

    }


    .footer-legal {

        flex-wrap: wrap;

        gap: 10px 18px;

    }

}


/* ============================================================
   SMALL MOBILE
============================================================= */

@media (max-width: 400px) {

    .footer-tagline {

        font-size: 12px;

    }


    .footer-social a {

        width: 35px;
        height: 35px;

    }


    .footer-cta {

        padding: 22px;

    }


    .footer-cta h3 {

        font-size: 19px;

    }

}


/* ============================================================
   REDUCED MOTION
============================================================= */

@media (prefers-reduced-motion: reduce) {

    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {

        transition: none !important;

    }

}