/* Footer specific styles */

/* Footer Banner Styles */
.footer-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-family: 'Helvetica', sans-serif;
    color: #ffffff;
    background: #ce4f49;
    padding: 15px 0;
    width: 100%;
}

.banner-msg1 {
    --font-size: 19px;
    margin-bottom: 0;
    font-size: var(--font-size);
}

.banner-msg2 {
    --font-size: 12px;
    margin-bottom: 0;
    line-height: 15px;
    font-size: var(--font-size);
}

.banner-msg2 a {
    text-decoration: underline;
    color: #7cc6ff;
    text-decoration-color: #7cc6ff;
}

/* Footer Container Wrapper - Matches header spacing */
.footer-container-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 160px;
    padding-right: 160px;
    width: 100%;
}

@media (max-width: 1200px) {
    .footer-container-wrapper {
        max-width: 960px;
        padding-left: 120px;
        padding-right: 120px;
    }
}

@media (max-width: 992px) {
    .footer-container-wrapper {
        max-width: 720px;
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media (max-width: 768px) {
    .footer-container-wrapper {
        max-width: 540px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 576px) {
    .footer-container-wrapper {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Main Footer Styles */
footer {
    width: 100%;
    z-index: -2;
}

#footer-area {
    bottom: 0;
    left: 0;
    height: auto;
    background: #faede8;
    color: #444444;
    --font-size: 18px;
}

.main-footer {
    padding: 65px 160px;
    width: 100%;
    background: #FAEDE8;
}

.footer-container {
    padding: 1rem;
}

.footer-img {
    width: 240px;
    height: auto;
}

/* #footer-area .subfooter-img {
    width: 100%;
} */

.sub-footer {
    background-color: #faede8;
    color: #374151;
    padding: 20px 0;
    margin: 0;
    width: 100%;
    border-top: 1px solid #000000;
}

.sub-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.sub-footer li,
.sub-footer li span {
    font-family: 'Helvetica', sans-serif;
    --font-size: 17px;
    color: #656565;
    font-size: 18px;
    line-height: 1.5;
}

.sub-footer ul li[style*="font-weight:600"] {
    font-weight: 600 !important;
}

#footer-area .main-footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

#footer-area .main-footer ul li {
    font-family: 'Helvetica', sans-serif;
    color: #444444;
    --font-size: 14px;
    margin: 0;
}

#footer-area .main-footer ul li a {
    font-family: 'Helvetica', sans-serif;
    --font-size: 14px;
    color: #444444;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 0.5px;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
}

#footer-area .main-footer ul li a:hover {
    color: #ce4f49;
}

.footer-notice {
    background-color: #3C3C3C;
    color: #ffffff;
    border-top: 1px solid #dee2e6;
    width: 100%;
    height: 109px;
    padding-top: 45px;
    padding-left: 200px;
    padding-right: 200px;
}

.footer-notice .row {
    align-items: center;
}

.footer-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-notice ul li {
    font-family: 'Helvetica', sans-serif;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.footer-notice a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-notice a:hover {
    color: #ffffff;
}

.footer-notice .col-6:last-child {
    text-align: right;
}

.footer-notice .col-6:last-child span {
    font-family: 'Helvetica', sans-serif;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.payment_logo {
    display: inline-block;
    margin: 0.5rem;
}

#footer-area ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Mobile Styles */
.mob_add {
    display: none;
}

.mob-footer {
    --font-size: 14px;
    background-color: #faede8;
    width: 100%;
}

/* Center HIPAA badge on mobile */
@media (max-width: 768px) {
    .payment_logo {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .payment_logo img {
        margin: 0 auto !important;
    }
}

.mob_add .row .col,
.mob_add .row > [class*='col-'],
.footer-notice.mob_add ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.mob_add .row .col p {
    margin: 0;
}

/* Row Footer Styles for Mobile */
.row-footer {
    border: 1px solid #707070;
    margin: 0;
}

.row-footer .col,
.row-footer .col-6 {
    padding: 1rem;
    border-right: 1px solid #ddd;
}

.row-footer .col:last-child,
.row-footer .col-6:last-child {
    border-right: none;
}

.bx-0 {
    border-left: none !important;
    border-right: none !important;
}

.bl-0 {
    border-left: none !important;
}

.br-0 {
    border-right: none !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .web_add {
        display: none;
    }

    .mob_add {
        display: block;
        text-align: center;
    }

    .footer-container {
        text-align: center;
    }

    .footer-banner {
        height: auto !important;
        padding: 25px 5px;
    }

    .footer-banner {
        padding: 10px 20px !important
    }

    .banner-msg2,
    .hiw_card h3,
    .hiw_card p {
        font-size: calc(var(--font-size) - 4px) !important;
    }

    .footer-notice.mob_add ul,
    .footer-notice.mob_add ul li {
        flex-direction: column;
        gap: 0.5rem;
    }

    #footer-area .main-footer ul li {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    #footer-area {
        height: auto;
        justify-content: center;
    }

    #footer-area .subfooter-img {
        width: 60%;
    }

    #footer-area .payment_logo {
        float: none;
    }

    .main-footer .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .main-footer {
        padding: 50px 0 20px 0;
    }

    .sub-footer {
        height: auto;
        padding: 20px 0;
    }

    .sub-footer ul {
        flex-direction: column;
        align-items: center;
    }

    .sub-footer li {
        padding: 2px 0;
    }

    #footer-area .main-footer ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-notice {
        height: unset;
        padding: 0;
    }

    .footer-notice.mob_add ul,
    .footer-notice.mob_add ul li {
        flex-direction: column;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .web_add {
        display: block;
    }

    .mob_add {
        display: none;
    }

    .main-footer .row {
        align-items: flex-start;
    }

    .main-footer .col-lg-6:last-child {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .subfooter-img {
        max-height: 90px;
    }

    .sub-footer ul {
        justify-content: center;
        gap: 40px;
    }
}

/* Additional responsive adjustments for smaller screens */
@media (max-width: 576px) {
    .main-footer .footer-container {
        text-align: center;
    }

    .main-footer {
        padding: 1rem 0;
    }

    .sub-footer {
        padding: 0.5rem 0;
    }

    .sub-footer ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sub-footer li {
        text-align: center;
    }

    #footer-area .main-footer ul {
        padding: 0;
        margin: 1rem 0;
    }

    #footer-area .main-footer ul li {
        display: block;
        margin: 0.5rem 0;
    }

    .footer-notice {
        text-align: center;
    }
}