/* CUSTOM COLLAGE LAYOUT FIX - Reference Style */
.about-section .images-column .inner-column .images-outer {
    position: relative !important;
    height: 520px !important;
    /* Compact container */
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
    padding-top: 0px !important;
    margin-top: 0px !important;
}

/* Force Reset on all images but ALLOW TRANSFORM for parallax */
.about-section .images-column .images-outer div[class*="image"] {
    position: absolute !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 !important;
    display: block !important;
}

/* 1. LAYER 1: Bottom Left (Office/Meeting) - Medium */
.about-section .images-column .image-three {
    width: 40% !important;
    left: 0 !important;
    bottom: 40px !important;
    top: auto !important;
    z-index: 10 !important;
}

.about-section .images-column .image-three img {
    border: 8px solid #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* 2. LAYER 2: MAIN CENTER (Tall Work Station) */
.about-section .images-column .image {
    width: 48% !important;
    /* Taller, vertical ratio usually */
    height: auto !important;
    left: 25% !important;
    /* Centered visually */
    top: 0px !important;
    /* Start at top */
    z-index: 5 !important;
    /* Behind smaller overlaps */
}

.about-section .images-column .image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    background: none !important;
}

/* 3. LAYER 3: Top Right (Small Interaction) */
.about-section .images-column .image-two {
    width: 32% !important;
    right: 0px !important;
    top: 40px !important;
    left: auto !important;
    z-index: 20 !important;
}

.about-section .images-column .image-two img {
    border: 8px solid #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* 4. LAYER 4: Bottom Right (Focus Group/Laptop) */
.about-section .images-column .image-four {
    width: 38% !important;
    right: 15px !important;
    bottom: 0px !important;
    top: auto !important;
    z-index: 30 !important;
}

.about-section .images-column .image-four img {
    border: 8px solid #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Industry Card Premium UI */
.industry-card {
    text-align: center !important;
    padding: 30px 20px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 30px !important;
    transition: all 0.4s ease !important;
    border-bottom: 4px solid transparent !important;
    height: 100% !important;
    position: relative !important;
    top: 0 !important;
}

.industry-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-10px) !important;
    border-bottom-color: var(--primary-color, #ff3366) !important;
    border-color: transparent !important;
}

.industry-card .icon {
    font-size: 50px !important;
    color: var(--primary-color, #ff3366) !important;
    margin-bottom: 20px !important;
    display: inline-block !important;
    transition: transform 0.3s ease !important;
}

.industry-card:hover .icon {
    transform: scale(1.1) !important;
}

.industry-card h5 {
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    font-size: 20px !important;
    color: #222 !important;
}

.industry-card p {
    color: #666 !important;
    margin-bottom: 0 !important;
    line-height: 1.6 !important;
    font-size: 15px !important;
}

/* Section Spacing Fixes */
.product-overview,
.tech-specs-section,
.industries-section,
.downloads-section,
.product-cta {
    padding: 40px 0 !important;
}

/* Logo Sizing for exnixlogo.png */
.main-header .logo-box .logo,
.main-header .logo-box .logo a,
.main-header .logo-box .logo img {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}

.main-header .logo-box .logo img {
    max-height: 70px !important;
    max-width: 180px !important;
    width: auto !important;
}

.sticky-header .logo,
.sticky-header .logo a,
.sticky-header .logo img {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}

.sticky-header .logo img {
    max-height: 50px !important;
    max-width: 160px !important;
    width: auto !important;
}

/* Reduce nav margin to fix layout - GLOBAL LAYOUT FIXES */
.main-header .nav-outer {
    margin-left: 0px !important;
}

.main-menu .navigation>li {
    margin-right: 15px !important;
}

.main-header .outer-box {
    margin-left: 10px !important;
}

/* Footer and Info Section Logo Sizing */
.main-footer .logo-widget .logo img,
.info-section .logo-column .logo img {
    max-height: 90px !important;
    max-width: 280px !important;
    width: auto !important;
    background: transparent !important;
}

/* Sidebar Logo Sizing */
.sidebar-info-contents .logo img {
    max-height: 80px !important;
    max-width: 250px !important;
    width: auto !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE FIXES
   ========================================================================== */

@media only screen and (max-width: 1023px) {

    /* 1. Hide Unwanted Elements on Mobile */
    .color-palate,
    .color-trigger,
    .search-box-btn,
    .sticky-header .search-box-btn,
    .btn-box,
    .navSidebar-button {
        display: none !important;
    }

    /* 2. Fix Header Layout */
    .header-upper .auto-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
    }

    .header-upper .logo-box {
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0;
    }

    /* 3. Container for Buttons on Right */
    .nav-outer {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        float: none !important;
        position: static !important;
    }

    .outer-box {
        position: static !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
    }

    /* 4. Formatting Mobile Menu Hamburger Toggle */
    .mobile-nav-toggler {
        display: block !important;
        float: none !important;
        margin: 0 !important;
        color: #222 !important;
        font-size: 26px !important;
        cursor: pointer;
        line-height: 1;
    }

    .mobile-nav-toggler .icon {
        color: #222 !important;
    }

    /* 5. Logo Sizing */
    .main-header .header-upper .logo-box .logo img {
        max-height: 60px !important;
        max-width: 200px !important;
    }

    .mobile-menu .nav-logo img {
        max-height: 60px !important;
        max-width: 200px !important;
    }

    /* 6. Mobile Menu Adjustments */
    .mobile-menu .mega-menu {
        display: none;
        padding-left: 15px;
    }

    .mobile-menu .mega-menu .mega-menu-item h4 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .mobile-menu .mega-menu .mega-menu-item .icon {
        display: none;
    }

    .mobile-menu .navigation .mobile-sidebar-link {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
    }

    .mobile-menu .navigation .mobile-sidebar-link a {
        background-color: transparent !important;
        border: none !important;
        /* Removed border to look like link */
        color: #ff3366 !important;
        /* Theme color for visibility */
        text-transform: capitalize !important;
        font-weight: 700;
        text-align: left;
        /* Align like other items */
        padding: 10px 10px !important;
        padding-left: 0px !important;
        /* Align with others if needed, usually 10px is standard */
    }

    .mobile-menu .mobile-search-link a {
        text-align: left;
        font-size: 16px;
        color: #ffffff;
        padding: 10px 10px !important;
    }

    .mobile-menu .mobile-search-link a span {
        margin-right: 10px;
    }
}

/* Feature Card Styling for About Section Grid */
.about-feature-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #ff3366;
    /* Use theme color if available, or fallback */
}

/* Use specific icon colors if needed, but primary text color is good */
.about-feature-card .icon {
    font-size: 45px;
    margin-bottom: 20px;
    line-height: 1;
    display: inline-block;
}

.about-feature-card h6 {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    color: #222;
}

/* Ensure padding and layout is clean */

/* Safety Commitment Section Tabs */
.safety-commitment-section .nav-pills .nav-link {
    background-color: #141d38;
    color: #fff;
    font-weight: 500;
    padding: 18px 20px;
    border-radius: 0;
    margin-bottom: 2px;
    text-align: left;
    transition: all 0.3s ease;
    min-height: 80px;
    /* Consistent height for tabs */
    display: flex;
    align-items: center;
}

.safety-commitment-section .nav-pills .nav-link.active,
.safety-commitment-section .nav-pills .nav-link:hover {
    background-color: #00bcd4;
    color: #141d38;
    font-weight: 600;
}

/* Ensure right content box matches left nav height */
.safety-commitment-section .tab-content {
    height: 100%;
}

.safety-commitment-section .tab-pane {
    height: 100%;
}

.safety-commitment-section .inner-box {
    border: 2px solid #141d38;
    border-radius: 0 30px 30px 30px;
    padding: 40px;
    height: 100%;
    /* Fills the parent height */
    min-height: 100%;
    /* Fallback */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically center content if short */
}

/* Make the row equal height */
.safety-commitment-section .row {
    display: flex;
    flex-wrap: wrap;
}

/* Ensure columns stretch */
.safety-commitment-section .col-lg-5,
.safety-commitment-section .col-lg-7 {
    display: flex;
    flex-direction: column;
}

.safety-commitment-section .nav-pills {
    height: 100%;
    justify-content: space-between;
    /* Distribute tabs evenly if needed, or just fill */
}

/* Why Choose Safety Section */
.why-choose-safety-section {
    position: relative;
    padding: 100px 0;
    background-color: #f4f6f9;
}

.why-choose-safety-section .sec-title h2 {
    color: #141d38;
    text-transform: uppercase;
}

.safety-feature-block {
    position: relative;
    margin-bottom: 30px;
}

.safety-feature-block .inner-box {
    position: relative;
    background-color: #ffffff;
    padding: 40px 30px;
    border: 1px solid #e0e0e0;
    border-radius: 40px 0 40px 0;
    /* Leaf shape */
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.safety-feature-block .inner-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 96, 255, 0.15);
    border-color: #0060ff;
}

.safety-feature-block .icon-box {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background-color: rgba(0, 96, 255, 0.1);
    color: #0060ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    transition: all 0.3s ease;
}

.safety-feature-block .inner-box:hover .icon-box {
    background-color: #0060ff;
    color: #ffffff;
}

.safety-feature-block h4 {
    position: relative;
    color: #141d38;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4em;
}


/* Safety Gallery Section */
.safety-gallery-section {
    position: relative;
    padding: 100px 0 70px;
    background-color: #ffffff;
}

.safety-gallery-section .sec-title h2 {
    color: #141d38;
    text-transform: uppercase;
}

.gallery-block-two {
    position: relative;
    margin-bottom: 30px;
}

.gallery-block-two .inner-box {
    position: relative;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.gallery-block-two .inner-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #00bcd4;
    /* Brand Cyan highlight */
}

.gallery-block-two .image-box {
    position: relative;
    overflow: hidden;
    height: 300px;
    /* Fixed height for uniformity */
    border-bottom: 4px solid #00bcd4;
}

.gallery-block-two .image-box img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-block-two .inner-box:hover .image-box img {
    transform: scale(1.1);
}

.gallery-block-two .overlay-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 96, 255, 0.2);
    /* Blue tint on hover */
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-block-two .inner-box:hover .overlay-box {
    opacity: 1;
}

.gallery-block-two .lower-content {
    position: relative;
    padding: 25px 20px;
    text-align: center;
}

.gallery-block-two .lower-content h4 {
    position: relative;
    color: #141d38;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.3em;
}

.gallery-block-two .lower-content h4 a {
    color: #141d38;
    transition: all 0.3s ease;
}


/* Certifications & Awards Section */
.certification-awards-section {
    position: relative;
    padding: 100px 0;
    background-color: #0b132b;
    /* Dark Premium Background */
    color: #ffffff;
}

.certification-awards-section .sec-title h2 {
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.cert-award-wrapper {
    margin-bottom: 50px;
}

.cert-award-wrapper h3 {
    color: #00bcd4;
    /* Brand Cyan */
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-left: 5px solid #00bcd4;
    padding-left: 15px;
}

.cert-item-block {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.cert-item-block:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: #00bcd4;
}

.cert-item-block .image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-item-block .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cert-item-block:hover .image-frame img {
    transform: scale(1.05);
}

.cert-item-block h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}


/* Contact Safety Section */
.contact-safety-section {
    position: relative;
    padding: 100px 0;
    background-color: #f4f6f9;
}

.contact-safety-section .sec-title {
    margin-bottom: 30px;
}

.contact-safety-section .sec-title h2 {
    color: #141d38;
    text-transform: capitalize;
}

.contact-safety-section .text {
    color: #666;
    font-size: 16px;
    line-height: 1.8em;
    margin-bottom: 40px;
}

.contact-info-box {
    position: relative;
    margin-bottom: 30px;
}

.contact-info-box .inner {
    position: relative;
    padding-left: 60px;
    margin-bottom: 25px;
}

.contact-info-box .inner .icon {
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 40px;
    color: #00bcd4;
}

.contact-info-box .inner h6 {
    color: #141d38;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-info-box .inner a {
    color: #666;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-info-box .inner a:hover {
    color: #00bcd4;
}

.contact-safety-section .map-box {
    position: relative;
    height: 400px;
    /* Fixed height for consistency */
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid #fff;
}


/* Uniform Grid Height for Services Section */
.services-section .row {
    display: flex;
    flex-wrap: wrap;
}

.services-section .service-block {
    display: flex;
}

.services-section .service-block .inner-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Ensures proper vertical spacing */
}

/* Push the link/arrow to the bottom if content is short */

/* Uniform Grid Height for Services Section Two (What We Deliver) */
.services-section-two .row {
    display: flex;
    flex-wrap: wrap;
}

.services-section-two .service-block-two {
    display: flex;
    margin-bottom: 30px;
    /* Preserve margin */
}

.services-section-two .service-block-two .inner-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* Footer Logo Fix */
.main-footer .footer-widget.logo-widget .logo img {
    background: transparent !important;
    max-width: 250px !important;
    /* Force a reasonable width */
    width: auto !important;
    height: auto !important;
    display: inline-block;
}

.main-footer .footer-widget.logo-widget .logo {
    background: transparent !important;
}