﻿/* Footer Block */
.footer {
    background-color: #144562;
    color: #ffffff;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.footer__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Left Side - Contact Information */
.footer__left {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

/* Style all children except last two */
.footer__left > div:not(:nth-last-child(-n + 2)) {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.footer__address {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer__phone {
    margin-bottom: 15px;
}

.footer__phone-link {
    color: #ffffff;
    text-decoration: underline;
}

.footer__phone-link:hover {
    color: #DA4528;
}

.footer__email {
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

.footer__email-link {
    color: #9AD5DB;
    text-decoration: none;
}

.footer__email-link:hover {
    color: #DA4528;
    text-decoration: underline;
}

.footer__disclaimer {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    font-style: italic;
    margin-top: 20px;
    width: 60%;
}

.footer__copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 20px;
}

/* Right Side - Navigation Links */
.footer__right {
    flex: 1;
    max-width: 50%;
    text-align: right;
    margin-top: auto;
}

.footer__nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__nav-item {
    display: inline;
    margin-left: 12px;
    white-space: nowrap;
}

.footer__nav-item:first-child {
    margin-left: 0;
}

.footer__nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.footer__nav-link:hover {
    color: #DA4528;
}

/* Separator between links */
.footer__nav-item:not(:last-child)::after {
    content: "|";
    margin-left: 12px;
    color: #ffffff;
    font-size: 24px;
}

/* Seal Image */
.footer__seal {
    position: absolute;
    bottom: -60px;
    right: -45px;
    width: 320px;
    height: auto;
    opacity: 0.15;
    pointer-events: none;
}

.footer__seal-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Tablet */
@media (max-width: 992px) {
    .footer__container {
        padding: 0 20px;
    }

    .footer__disclaimer {
        width: 70%;
    }

    .footer__nav-link {
        font-size: 18px;
    }

    .footer__nav-item:not(:last-child)::after {
        font-size: 20px;
        margin-left: 10px;
    }

    .footer__nav-item {
        margin-left: 10px;
    }

    .footer__seal {
        width: 350px;
    }
}

/* Medium-small breakpoint to prevent wrapping */
@media (max-width: 880px) {
    .footer__nav-link {
        font-size: 16px;
    }

    .footer__nav-item {
        margin-left: 8px;
    }

    .footer__nav-item:not(:last-child)::after {
        font-size: 18px;
        margin-left: 8px;
    }
}

/* Med Tablet */
@media (max-width: 768px) {
    .footer {
        padding: 35px 0;
    }

    .footer__container {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 0 25px;
    }

    .footer__left,
    .footer__right {
        max-width: 100%;
        width: 100%;
    }

    .footer__right {
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 10px;
        text-align: left;
        border-bottom: 2px solid #DA4528;
    }

    .footer__left {
        padding-top: 20px;
    }

    .footer__nav-item {
        display: block;
        margin-left: 0;
        margin-bottom: 12px;
    }

    .footer__nav-item:not(:last-child)::after {
        content: none;
    }

    .footer__nav-link {
        font-size: 22px;
        line-height: 1.4;
    }

    .footer__disclaimer {
        width: 85%;
    }

    .footer__seal {
        width: 300px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .footer {
        padding: 25px 0;
    }

    .footer__container {
        padding: 0 20px;
    }

    .footer__left > div:not(:nth-last-child(-n + 2)) {
        font-size: 14px;
    }

    .footer__address {
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .footer__phone {
        margin-bottom: 12px;
    }

    .footer__email {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .footer__nav-link {
        font-size: 20px;
        line-height: 1.5;
    }

    .footer__nav-item {
        margin-bottom: 10px;
    }

    .footer__disclaimer,
    .footer__copyright {
        width: 100%;
        font-size: 11px;
        line-height: 1.4;
        margin-top: 15px;
    }

    .footer__seal {
        width: 250px;
    }
}

/* Mobile xs */
@media (max-width: 360px) {
    .footer__container {
        padding: 0 15px;
    }

    .footer__left > div:not(:nth-last-child(-n + 2)) {
        font-size: 13px;
    }

    .footer__nav-link {
        font-size: 18px;
    }

    .footer__disclaimer,
    .footer__copyright {
        font-size: 10px;
    }

    .footer__seal {
        width: 200px;
    }
}