/* Footer Styles (Standardized with Reference Image) */

.footer_hazard-stripe {
    margin-top: 20px;
    height: 10px;
    width: 100%;
    background: repeating-linear-gradient(45deg,
            #FFD700,
            #FFD700 20px,
            #000 20px,
            #000 40px);
    border-bottom: 2px solid #000;
}

.footer_main {
    position: relative;
    padding: 15px 0;
    background-color: #004a99;
    background-image: linear-gradient(rgba(0, 74, 153, 0.9), rgba(0, 74, 153, 0.9)), url('../assets/images/footer bg.webp');
    background-size: cover;
    background-position: center;
    color: white;
    font-family: 'Mulish', sans-serif !important;
}

.footer_label {
    font-size: 0.85rem;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-bottom: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer_section-inline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
}

.footer_inline-chip {
    flex: 0 0 auto;
    margin-right: 8px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.footer_inline-label {
    flex: 0 0 auto;
    margin-bottom: 0 !important;
    white-space: nowrap;
}

.footer_section-inline .footer_links,
.footer_section-inline .footer_contact {
    flex: 1 1 auto;
    min-width: 0;
}

.footer_links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: opacity 0.2s;
    text-transform: uppercase;
}

.footer_contact a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer_social a {
    color: #fff;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_social a:hover {
    color: #FF7700 !important;
    transform: translateY(-3px);
}

.footer_links a:hover,
.footer_contact a:hover {
    opacity: 0.8;
}

.footer_divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer_contact i {
    font-size: 1rem;
}

.footer_contact-text {
    white-space: nowrap;
}

.footer_copyright {
    font-size: 0.70rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer_inprotech a {
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
}

.footer_inprotech a:hover {
    opacity: 1 !important;
    border-bottom-color: #fff;
    color: #FF7700 !important;
}

@media (min-width: 992px) {
    .footer_main .container {
        max-width: 100% !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    .footer_top-row {
        align-items: center !important;
        flex-wrap: nowrap !important;
        --bs-gutter-x: 0.75rem;
    }

    .footer_top-row > .col-lg-7 {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .footer_top-row > .col-lg-5 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: 110px !important;
    }

    .footer_links_inline {
        flex-wrap: nowrap !important;
        align-items: center !important;
        min-height: 20px;
        white-space: nowrap;
        line-height: 1.2;
    }

    .footer_links a,
    .footer_contact a,
    .footer_label {
        font-size: 0.85rem !important;
    }

    .footer_links_inline .footer_divider {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .footer_links_inline .footer_inline-chip,
    .footer_links_inline a,
    .footer_links_inline .footer_divider,
    .footer_section-contact-inline .footer_inline-label,
    .footer_contact a,
    .footer_contact .footer_divider,
    .footer_social {
        display: inline-flex;
        align-items: center;
        line-height: 1.2;
    }

    .footer_section-contact-inline {
        justify-content: flex-start;
        align-items: center;
    }

    .footer_inline-chip,
    .footer_section-contact-inline .footer_inline-label {
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
    }

    .footer_contact {
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 12px !important;
        line-height: 1.2;
    }

    .footer_contact .footer_divider {
        margin-left: 2px !important;
        margin-right: 2px !important;
    }

    .footer_social {
        gap: 12px !important;
        margin-left: 8px !important;
    }

    .footer_social a {
        font-size: 1.1rem !important;
    }

    .footer_social a:nth-last-child(-n+2) {
        display: none !important;
    }

    .footer_social .footer_divider {
        margin-right: 2px !important;
    }

    .footer_contact i,
    .footer_social i {
        line-height: 1 !important;
    }
}

@media (min-width: 992px) and (max-width: 1535px) {
    .footer_main .container {
        padding-left: 26px !important;
        padding-right: 26px !important;
    }

    .footer_links a,
    .footer_contact a,
    .footer_label {
        font-size: 0.78rem !important;
    }

    .footer_links_inline .footer_divider {
        padding-left: 0.3rem !important;
        padding-right: 0.3rem !important;
    }

    .footer_contact {
        gap: 7px !important;
    }

    .footer_social {
        gap: 8px !important;
        margin-left: 2px !important;
    }

    .footer_social a {
        font-size: 0.95rem !important;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .footer_top-row {
        text-align: left;
    }

    .footer_section-inline {
        align-items: flex-start;
        gap: 8px;
    }

    /* .footer_label {
        margin-bottom: 15px !important;
    } */

    .footer_links {
        gap: 0px;
    }

    .footer_contact {
        justify-content: flex-start !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }

    .footer_divider.d-lg-inline {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .footer_section-inline {
        gap: 8px;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .footer_label {
        font-size: 1rem;
    }

    .footer_links a,
    .footer_contact a {
        font-size: 0.75rem;
    }

    .footer_divider {
        display: inline !important;
        opacity: 0.3;
    }

    .footer_links {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        white-space: normal !important;
        overflow: visible !important;
        row-gap: 3px !important;
        column-gap: 0 !important;
    }

    .footer_links_inline {
        font-size: 0 !important;
        align-items: baseline !important;
    }

    .footer_links_inline .footer_inline-chip,
    .footer_links_inline a,
    .footer_links_inline .footer_divider {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
        vertical-align: baseline !important;
    }

    .footer_links_inline .footer_inline-chip {
        margin-right: 6px !important;
        position: relative;
        top: 1px;
    }

    .footer_section-contact-inline {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
    }

    .footer_section-contact-inline .footer_inline-label {
        line-height: 1 !important;
        margin-bottom: 0 !important;
    }

    .footer_contact {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        white-space: nowrap !important;
        gap: 4px !important;
        overflow-x: visible !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .footer_contact a {
        white-space: nowrap !important;
        gap: 4px !important;
        line-height: 1 !important;
    }

    .footer_contact i {
        font-size: 0.72rem !important;
        line-height: 1 !important;
    }

    .footer_contact .footer_divider {
        font-size: 0.65rem !important;
        padding: 0 1px !important;
    }

    .footer_contact::-webkit-scrollbar {
        display: none !important;
    }

    .footer-phone-country-code {
        display: none !important;
    }

    .footer_main {
        padding: 0 !important;
    }

    .footer_copyright {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        gap: 4px !important;
        white-space: nowrap !important;
        font-size: 0.58rem !important;
        line-height: 1.2 !important;
    }

    .footer_copyright .footer_inprotech {
        white-space: nowrap !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .footer_section-contact-inline {
        display: none !important;
    }
}
