/* ========================================================================
   ONEPIP Footer Styles - Extracted from opwebv7
   This file contains all CSS related to the footer component
   ======================================================================== */

/* ==========================================================================
   BASE FOOTER STYLES
   ========================================================================== */

.footer {
    background: url(../images/newfooter.svg) no-repeat center center / cover, linear-gradient(0deg, hsla(0, 0%, 0%, 0.28) 0%, hsla(0, 0%, 0%, 0.08) 25%, hsla(0, 0%, 0%, 0) 100%);
    background-blend-mode: normal;
    min-height: 423px;
    padding: 38px 150px;
}

    .footer .dropdown-toggle::after {
        display: none;
    }

/* Footer Details Section */
.footer-details {
    flex-basis: 65%;
    margin-top: 85px;
}

/* Footer Contact Section */
.footer-contact {
    text-align: right;
    margin-bottom: 20px;
}

    .footer-contact p {
        margin-bottom: 0px;
    }

/* ==========================================================================
   FOOTER TYPOGRAPHY & TEXT ELEMENTS
   ========================================================================== */

/* Slogan */
footer .p-slogan {
    font-family: SFPro-Bold;
    font-size: 24px;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
    margin-top: 30px;
    padding-bottom: 10px;
}

footer .footer-details p {
    text-align: left !important;
}

footer .footer-contact p {
    text-align: right !important;
}

footer .p-subslogan {
    color: #000000;
    font-family: SFPro-Bold;
}

/* License */
footer .p-license {
    font-family: SFPro-Regular;
    font-size: 14px;
    letter-spacing: 0px;
    color: #000000;
    line-height: 1.2;
    letter-spacing: 0.44px;
    width: 640px;
}

footer .p-sublicense {
    font-family: SFPro-Medium;
    font-size: 16px;
    letter-spacing: 0px;
    color: #000000;
}

/* Copyright */
footer .p-copyright {
    font-family: SFPro-Bold;
    font-size: 14px;
    letter-spacing: 0.2px;
    color: #000000;
    margin-top: 4px;
}

/* Address */
footer .p-address {
    font-family: SFPro-Regular;
    font-size: 16px;
    letter-spacing: 0px;
    color: #000000;
    margin: 0;
    line-height: 22px;
    margin-top: 36px;
}

/* Contact Info */
footer .p-contact {
    font-family: SFPro-Bold;
    font-size: 16px;
    letter-spacing: 0px;
    color: #000000;
    margin: 0;
    line-height: 1.3;
    font-weight: 900;
}

/* ==========================================================================
   FOOTER CONDITIONS / LINKS
   ========================================================================== */

footer .footer-conditions {
    font-family: SFPro-Medium;
    font-size: 24px;
    letter-spacing: -0.5px;
    color: #000000;
    margin-top: 33px;
}

    footer .footer-conditions a {
        padding: 0 10px;
        white-space: nowrap;
        cursor: pointer;
        color: #000000;
    }

        footer .footer-conditions a:nth-of-type(1) {
            padding-left: 0;
        }

.footer-links {
    font-family: Helvetica-Neu-Medium;
    font-size: 18px;
    letter-spacing: -0.38px;
}

/* ==========================================================================
   FOOTER LOGOS & SOCIAL MEDIA
   ========================================================================== */

footer .divFooterLogo {
    margin-top: 78px;
    cursor: default;
    justify-content: end;
}

    footer .divFooterLogo img {
        padding: 0 5px;
    }

    footer .divFooterLogo a:nth-of-type(5) img {
        padding-right: 0px;
    }

.redirectFooter {
    cursor: pointer;
}

/* ==========================================================================
   LANGUAGE SELECTOR IN FOOTER
   ========================================================================== */

footer .language-selected {
    background: none;
    border: none;
    font-family: 'SFPRO-BOLD';
    font-size: 21px;
    color: #000000;
    cursor: pointer;
}

.language-selected {
    background: none;
    border: none;
    font-family: Helvetica-Neu-Bold;
    font-size: 12px;
    color: #000000;
    letter-spacing: 0.67px;
}

    .language-selected span {
        margin-right: 10px;
    }

footer .language-selector td {
    padding: 3px 12px;
}

footer .splitline {
    padding: 1px !important;
}

footer td:nth-child(2) {
    font-family: SFPro-Medium;
    font-size: 17px;
    color: #000000;
}

footer td:nth-child(n+4):nth-child(-n+6) {
    font-family: SFPro-Regular;
    font-size: 17px;
    color: #000000;
}

footer .dropdown-menu {
    left: 115px !important;
    top: -38px !important;
}

    footer .dropdown-menu[x-placement^=bottom], footer .dropdown-menu[x-placement^=left], footer .dropdown-menu[x-placement^=right], footer .dropdown-menu[x-placement^=top] {
        right: auto;
        bottom: auto;
    }

footer .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}

    footer .dropdown-menu span img {
        margin-right: 7px;
        margin-left: 10px;
    }

    footer .dropdown-menu span {
        font-family: SFPro-Bold;
        font-size: 19px;
        color: #000000;
    }

.footer-details .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.5);
    background-color: rgba(237, 236, 235, 1);
    overflow: hidden;
}

.footer-details .dropdown-item {
    margin-top: 12px;
    margin-bottom: 12px;
}

.footer-details .dropdown-menu div {
    margin: 12px 12px;
}

.footer-details .dropdown-menu a[onclick^="SetLanguage"] {
    cursor: pointer;
}

.footer-details .language-selector {
    background: transparent;
}

.footer-details a {
    color: #000000 !important;
    text-decoration: unset;
}

.footer-details .lang-en {
    font-size: 14px;
}
/* ==========================================================================
   MALAYSIA-SPECIFIC FOOTER STYLES (Multiple Locations)
   ========================================================================== */
.footer-my-locations {
    font-family: SFPro-Bold;
    font-size: 16px;
    letter-spacing: 0px;
    color: #000000;
    margin: 0;
    margin-top: 23px;
    font-weight: 700;
}

.footer-my-address {
    font-family: SFPro-Regular;
    font-size: 16px;
    letter-spacing: 0px;
    color: #000000;
    margin: 0;
    line-height: 17px;
    margin-top: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-my-location .location-tab {
    font-family: SFPro-Bold;
    font-size: 16px;
    letter-spacing: 0px;
    color: #000000;
    margin: 0;
    margin-top: 36px;
    font-weight: 700;
    position: relative;
    cursor: pointer;
}

.footer-my-locations .location-divider {
    margin: 0 8px;
    cursor: default;
    font-weight: normal;
}

.footer-my-locations .location-tab.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 3px;
    cursor: pointer;
}

/* ==========================================================================
   MOBILE FOOTER STYLES
   ========================================================================== */

.footer-mobile-wrapper {
    font-size: 14px;
    color: #333;
}

.footer-mobile-slogan {
    font-family: SFPro-Medium;
    margin: 12px 0;
    text-align: left;
    font-style: italic;
    font-size: 1.7rem;
}

.footer-mobile-license {
    padding-bottom: 20px;
}

.footer-mobile-license,
.footer-mobile-contact p {
    margin: 4px 0;
    line-height: 1.4;
}

.footer-mobile-links {
    text-align: center;
}

    .footer-mobile-links a {
        display: inline-block;
        margin: 5px 8px;
        text-decoration: none;
        color: #007bff;
        margin: 0px;
        color: black;
        text-decoration: none;
        font-weight: 600;
    }

.footer-mobile-social {
    margin-top: 16px;
}

    .footer-mobile-social img {
        width: 24px;
        margin: 0 6px;
        vertical-align: middle;
    }

.footer-mobile-copyright {
    color: #2A2A2A;
    font-size: 10px;
    margin: 0 auto;
    text-align: center;
    font-weight: 600;
}

#footer-mobile {
    text-align: left;
    padding: 30px;
}

    #footer-mobile .op10 {
        width: 11rem;
    }

    #footer-mobile .location-tab {
        padding-right: 10px;
    }

    #footer-mobile .footer-my-locations .location-tab {
        font-family: SFPro-Regular;
        font-weight: normal;
    }

        #footer-mobile .footer-my-locations .location-tab.active {
            font-family: SFPro-Medium;
            font-weight: bold;
            text-decoration-thickness: 2px;
            text-underline-offset: 5px;
        }

/* ==========================================================================
   FOOTER LOGO STYLES
   ========================================================================== */

.footer-logo {
    width: 87px;
}

/* ==========================================================================
   MEDIA QUERIES - RESPONSIVE FOOTER STYLES
   ========================================================================== */

/* Max-width: 1920px */
@media (max-width: 1920px) {
    .footer .d-flex {
        max-width: 1420px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer .p-license {
        width: 631px;
    }
}

/* Max-width: 1366px */
@media (max-width: 1366px) {
    footer .p-address {
        margin-top: 24px;
    }

    footer .divFooterLogo {
        margin-top: 100px;
    }

    footer .p-slogan {
        font-size: 18px !important;
        color: #000000;
        margin: 0;
        margin-top: 37px !important;
    }

    footer .p-license {
        font-size: 13px !important;
    }

    footer .p-address {
        font-size: 15px !important;
        margin-top: 22px !important;
    }

    footer .p-contact {
        font-size: 15px !important;
    }

    footer .divFooterLogo {
        margin-top: 91px !important;
    }

    footer .footer-conditions {
        font-size: 20px;
    }

    footer .p-copyright {
        font-size: 13px;
        letter-spacing: 0.18px;
        margin-top: 0px;
    }
}

/* Max-width: 1280px */
@media (max-width: 1280px) {
    .footer-links {
        font-size: 12px;
    }
}

/* Max-width: 992px */
@media (max-width: 992px) {
    .footer-links {
        font-size: 12px;
    }
}

/* Max-width: 768px */
@media (max-width: 768px) {
    .address-section p {
        text-align: left;
    }
}

/* Max-width: 576px - Mobile */
@media (max-width: 576px) {
    .footer-logo {
        width: 87px;
    }

    .navbar-logo {
        width: 100px;
    }

    .language-selected span {
        display: none;
    }
}

/* Media queries for specific breakpoints */
@media (max-width: 767.98px) {
    .d-md-block {
        display: none !important;
    }

    .d-md-none {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }

    .d-md-none {
        display: none !important;
    }
}

/* ==========================================================================
   BOXED LAYOUT FOOTER
   ========================================================================== */

.boxed #main-wrapper .footer {
    display: none;
}

/* ==========================================================================
   UTILITY CLASSES FOR FOOTER
   ========================================================================== */

.copyright {
    color: #FFAC00;
    font-family: Helvetica-Neu-Medium;
    font-size: 16px;
    letter-spacing: -0.33px;
    margin-bottom: 0px;
}

/* ==========================================================================
   FOOTER CONTENT WRAPPERS
   ========================================================================== */

.footer-mobile-content {
    text-align: center;
}

/* Location divider */
.location-divider {
    cursor: default;
}

@media (max-width: 1570px) {
    footer {
        zoom: 1; /* 100% - normal size */
    }
}

@media (max-width: 1365px) {
    footer {
        zoom: 0.95; /* 95% - slightly smaller */
    }
}

@media (max-width: 1330px) {
    footer {
        zoom: 0.9; /* 90% */
    }
}

@media (max-width: 1280px) {
    footer {
        zoom: 0.85; /* 85% */
    }
}

@media (max-width: 1200px) {
    footer {
        zoom: 0.8; /* 80% */
    }
}

@media (max-width: 1135px) {
    footer {
        zoom: 0.75; /* 75% */
    }
}

@media (max-width: 1080px) {
    footer {
        zoom: 0.7; /* 70% */
    }
}

@media (max-width: 991px) {
    footer {
        zoom: 0.65; /* 65% - smallest desktop view */
    }
}