/* Forklift Scroll-to-Top Button */
.forklift-scroll-top {
    position: fixed;
    right: 16px;
    bottom: 32px;
    z-index: 900; /* Lower than footer menu z-index (999) so menus appear above */
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    /* Ensure it doesn't cause overflow */
    max-width: calc(100vw - 32px);
}
/* Double the icon size */
.forklift-scroll-top svg {
    display: block;
    width: 180px;
    height: 80px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
    max-width: 100%;
}
.forklift-scroll-top:active svg {
    filter: brightness(1.1) drop-shadow(0 2px 12px #00FFFF44);
}
@media (max-width: 600px) {
    .forklift-scroll-top {
        right: 8px;
        bottom: 8px;
    }
    .forklift-scroll-top svg {
        width: 100px;
        height: 44px;
    }
}
/* Prevent horizontal scroll on body and html */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Footer Custom Shortcode Styles */

.footer-custom {
    background: #1a1a1a;
    color: #ffffff;
    width: 100%;
    max-width: 100vw;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
    /* overflow-x: hidden; */
}

/* Top divider line */
.footer-divider {
    width: 100%;
    max-width: 100vw;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #00FFFF 50%, transparent 100%);
    opacity: 0.6;
}

/* Main footer content */
.footer-inner {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 48px 24px 32px 24px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    box-sizing: border-box;
    gap: 24px;
    /* overflow-x: hidden; */
}

/* Left Column - Logo */
.footer-logo-column {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 0 1 auto;
}

.footer-logo-link {
    display: block;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo {
    max-width: 240px;
    height: auto;
    display: block;
}

/* Center Column - LinkedIn + Moving PNG + Copyright */
.footer-center-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex: 0 1 auto;
    min-width: 200px;
}

.footer-social-icon {
    display: flex;
    justify-content: center;
}

.footer-social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-social-icon a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.footer-linkedin-icon {
    display: block;
    width: 80px;
    height: 80px;
}

.footer-moving-png {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #ffffff;
    margin: 0;
}

.footer-copyright p {
    margin: 0;
    padding: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Right Column - Menu */
.footer-menu-column {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex: 0 1 auto;
}

.footer-nav {
    width: 100%;
    max-width: 280px;
}


/* Footer menu base styles */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.footer-menu li {
    margin: 0;
    padding: 0;
    position: relative;
}

/* Remove any default arrow/bullet from WordPress menus */
.footer-menu li::before {
    display: none !important;
    content: none !important;
}

.footer-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    position: relative;
}

/* Arrow indicator for menu items */
.footer-menu li a::before {
    content: '➜';
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-menu li a:hover {
    background: rgba(0, 255, 255, 0.08);
    color: #00FFFF;
    transform: translateX(-4px);
}

.footer-menu li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Submenu styles: hidden by default, show on hover/focus */
.footer-menu li ul.sub-menu {
    display: none;
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    min-width: 220px;
    max-width: 90vw;
    background: #181818;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    padding: 12px;
    margin: 0;
    z-index: 999;
    list-style: none;
    width: auto;
    align-items: flex-end;
    overflow-x: auto;
}

.footer-menu li:hover>ul.sub-menu,
.footer-menu li:focus-within>ul.sub-menu {
    display: block;
}

/* Show mega menu dropdown when toggled (all screen sizes) */
.footer-menu li.has-mega-menu.mega-menu-open .mega-menu-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: absolute;
    right: 0;
    left: auto;
    transform: none !important;
    margin-top: 12px;
}

/* On mobile, make it relative positioning */
@media only screen and (max-width: 900px) {
    .footer-menu li.has-mega-menu.mega-menu-open .mega-menu-dropdown {
        position: relative !important;
        right: auto;
        left: auto;
    }
}

.footer-menu li ul.sub-menu li {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
}

.footer-menu li ul.sub-menu li+li {
    margin-top: 8px;
}

.footer-menu li ul.sub-menu li a {
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1.00em;
    font-weight: 400;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.18s, color 0.18s, transform 0.12s;
    box-shadow: none;
}

.footer-menu li ul.sub-menu li a .menu-item-text {
    flex: 1 1 auto;
}

.footer-menu li ul.sub-menu li a:hover {
    background: rgba(0, 255, 255, 0.06);
    color: #00FFFF;
    transform: translateY(-2px);
}

/* Submenu arrow for parent items */
.footer-menu li.menu-item-has-children>a .menu-arrow {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 2px;
    vertical-align: middle;
    background: none;
    position: relative;
}

.footer-menu li.menu-item-has-children>a .menu-arrow::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #aaa;
    border-right: 2px solid #aaa;
    border-radius: 1px;
    transform: rotate(45deg);
    opacity: 0.7;
    transition: transform 0.4s cubic-bezier(.68, -0.55, .27, 1.55), border-color 0.2s;
    margin: 0 auto;
    margin-top: 2px;
}

.footer-menu li.menu-item-has-children:hover>a .menu-arrow::before,
.footer-menu li.menu-item-has-children:focus-within>a .menu-arrow::before {
    transform: rotate(225deg) scale(1.2);
    border-color: #00FFFF;
    opacity: 1;
}

/* Footer Bottom - Privacy Policy */

/* Bottom bar: LinkedIn, copyright left; privacy right */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding: 24px 40px 12px 40px;
    border-top: 1px solid rgba(0, 255, 255, 0.15);
    box-sizing: border-box;
    position: relative;
    min-height: 48px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-linkedin-fa {
    color: #fff;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #1a1a1a;
    border: 2px solid #fff;
    transition: background 0.2s, color 0.2s, border 0.2s;
    margin-right: 8px;
    margin-left: 22px;
    text-decoration: none;
}

.footer-linkedin-fa:hover {
    color: #00FFFF;
    border-color: #00FFFF;
    background: #232323;
}

.footer-bottom-left .footer-copyright {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-left: 0;
    margin-bottom: 0;
    letter-spacing: 0.02em;
    padding-left: 8px;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-privacy-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-privacy-link:hover {
    color: #00FFFF;
}

/* Responsive Design */

@media only screen and (max-width: 1024px) {
    .footer-inner {
        flex-direction: column;
        gap: 32px;
        padding: 36px 8vw 24px 8vw;
        max-width: 100vw;
    }

    .footer-logo-column,
    .footer-menu-column,
    .footer-center-column {
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .footer-nav {
        max-width: 100%;
    }

    .footer-menu {
        align-items: center;
        text-align: center;
    }

    .footer-menu li a {
        justify-content: center;
    }
    
    /* Increase height for moving PNG on medium screens */
    .footer-moving-png {
        min-height: 120px;
        height: auto;
    }
}


@media only screen and (max-width: 600px) {
    .footer-inner {
        padding: 24px 2vw 12px 2vw;
        gap: 16px;
        max-width: 100vw;
    }

    .footer-logo {
        max-width: 140px;
    }

    .footer-menu {
        gap: 10px;
    }

    .footer-menu li a {
        font-size: 0.98rem;
        padding: 5px 8px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 2vw 6px 2vw;
        gap: 8px;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
    }

    .footer-bottom-right {
        justify-content: flex-end;
        margin-top: 4px;
    }

    .footer-linkedin-fa {
        font-size: 1.5rem;
        width: 36px;
        height: 36px;
    }

    .footer-bottom-left .footer-copyright {
        font-size: 0.92rem;
    }

    /* Further increase height for moving PNG on small screens */
    .footer-moving-png {
        min-height: 284px;
        height: auto;
    }
}