/*
Theme Name: InfoPixal Theme Child
Theme URI: https://infopixal.com/
Description: Premium Child Theme for InfoPixal Theme.
Author: InfoPixal
Author URI: https://infopixal.com/
Template: infopixal-theme
Version: 1.0.0
Text Domain: infopixal-theme-child
*/

/* =============================================================
   LOGO — COMPLETE AUTO-SIZE FIX
   Fixes: 1600x1159px oversized logo.jpeg rendered in header
          + mobile/secondary logo stacking on desktop
   ============================================================= */

/* --- Branding container: single row, vertically centered --- */
.branding {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    line-height: 1 !important;
    overflow: hidden !important;
}

/* The <a> wrapper around the logo --- */
.branding > a {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 0 !important;
    overflow: hidden !important;
    max-height: 75px !important;
}

/* --- ALL logo images: hard cap on size --- */
.branding img,
.branding > a img,
.branding > a > img {
    width: auto !important;
    height: auto !important;
    max-width: 200px !important;
    max-height: 70px !important;
    min-height: unset !important;
    min-width: unset !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
    transition: max-height 0.3s ease, max-width 0.3s ease !important;
}

/* --- HIDE mobile/secondary logo on desktop (≥ 768px) ---
   The mobile logo (InfoPixal logo.png) was stacking under
   the main POWERGRID logo on desktop — this hides it.      */
@media screen and (min-width: 768px) {
    .branding img.mobile-logo,
    .branding a img.mobile-logo,
    .branding img.mobile-desktop-logo {
        display: none !important;
    }
}

/* --- Show ONLY mobile logo on small screens --- */
@media screen and (max-width: 767px) {
    .branding img:not(.mobile-logo):not(.mobile-desktop-logo) {
        display: none !important;
    }
    .branding img.mobile-logo,
    .branding img.mobile-desktop-logo {
        display: block !important;
        max-width: 140px !important;
        max-height: 44px !important;
    }
}

/* --- Sticky/scrolled header: shrink logo slightly --- */
.sticky-on .branding img,
.sticky-on .branding > a img,
.phantom-sticky .sticky-on .branding img {
    max-height: 48px !important;
    max-width: 160px !important;
}

/* --- Tablet (768px – 1024px) --- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .branding img,
    .branding > a img {
        max-width: 170px !important;
        max-height: 58px !important;
    }
}

/* --- Small mobile (≤ 480px) --- */
@media screen and (max-width: 480px) {
    .branding img.mobile-logo,
    .branding img.mobile-desktop-logo {
        max-width: 120px !important;
        max-height: 38px !important;
    }
}

/* --- Bottom bar / footer InfoPixal logo --- */
.bottom-bar .branding img,
#bottom-bar .branding img,
.bottom-bar-table .branding img {
    max-width: 160px !important;
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* =============================================================
   FOOTER PREMIUM DESIGN (Sleek, Modern, Minimalist)
   ============================================================= */

/* Footer Base */
#footer {
    background: #4f5054 !important; /* User requested gray background */
    color: #fff !important;
    padding-top: 80px !important;
    padding-bottom: 0px !important;
    font-family: 'Inter', 'Roboto', sans-serif !important;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Footer Grid System */
.custom-footer-grid {
    display: grid;
    gap: 40px;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Dynamic Column Layouts */
.custom-footer-cols-1 { grid-template-columns: 1fr; }
.custom-footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
.custom-footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
.custom-footer-cols-4 { grid-template-columns: repeat(4, 1fr); }
.custom-footer-cols-5 { grid-template-columns: repeat(5, 1fr); }
.custom-footer-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Column Wrapper (Removed boxes, kept clean) */
.custom-footer-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Widget Titles */
.custom-widget-title {
    color: #f8fafc !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    margin-bottom: 25px !important;
    position: relative;
    letter-spacing: 0.5px;
}

/* Text / Paragraphs */
.footer-company-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 25px;
    max-width: 90%;
}

/* Quick Links & Services */
.custom-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-footer-links li {
    margin-bottom: 14px !important;
    position: relative;
}

.custom-footer-links li:last-child {
    margin-bottom: 0 !important;
}

.custom-footer-links a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.custom-footer-links a:hover {
    color: #38bdf8 !important; /* Vibrant accent color */
    transform: translateX(5px);
}

/* Image Logo Handling (Sleek container) */
.footer-logo {
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 6px;
    max-width: 100% !important;
    width: 200px;
    height: auto;
    display: inline-block;
    margin-bottom: 25px;
}

/* Contact Info Styling */
.custom-contact-info-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-contact-info-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.custom-contact-info-list li .svg-icon {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1rem;
    color: #38bdf8; /* Modern blue accent */
    background: rgba(56, 189, 248, 0.1);
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.custom-contact-info-list li:hover .svg-icon {
    background: #38bdf8;
    color: #0f172a;
}

.custom-contact-info-list li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.custom-contact-info-list li a:hover {
    color: #38bdf8;
}

.custom-contact-info-list li span:not(.svg-icon) {
    color: #fff;
}

.custom-contact-info li:last-child {
    margin-bottom: 0;
}

.empty-menu-text {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Responsive Grid */
@media screen and (max-width: 1024px) {
    .custom-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media screen and (max-width: 768px) {
    .custom-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .custom-footer-col {
        margin-bottom: 0;
    }
}

/* =============================================================
   CUSTOM BOTTOM BAR
   ============================================================= */
.custom-bottom-bar {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    margin-top: 20px;
}

.custom-bottom-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #fff;
    width: 100%;
    padding: 0;
}

.bottom-bar-left, .bottom-bar-right {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .custom-bottom-bar-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center !important;
    }
    .bottom-bar-left { margin-bottom: 10px !important; }
}

/* =============================================================
   PREMIUM MEGA MENU STYLING & ANIMATION
   ============================================================= */

/* Mega Menu Container */
.dt-mega-menu-wrap {
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    padding: 30px !important;
    transform-origin: top center;
    animation: megaMenuSlideFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    
    /* Perfect centering using fixed positioning relative to viewport */
    position: fixed !important;
    left: 50vw !important;
    transform: translateX(-50%) !important;
    width: 1200px !important;
    max-width: 95vw !important;
    margin: 0 !important;
    top: 100px !important; /* Flush with bottom of 100px header */
    z-index: 99999 !important; /* Ensure it sits on top of everything */
}

/* Invisible bridge to prevent hover gap issues */
.dt-mega-menu-wrap::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

/* Make columns distribute evenly to remove empty space */
.dt-mega-menu-wrap ul.sub-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    justify-content: space-between !important;
}

ul.sub-nav > li.dt-mega-parent {
    flex: 1 1 200px !important; /* Let them grow and shrink evenly */
    width: auto !important;
    padding-right: 20px !important;
    margin-bottom: 20px !important;
    position: relative !important; /* Keep inner columns relative */
}
ul.sub-nav > li.dt-mega-parent:last-child {
    padding-right: 0 !important;
}

/* Remove default background/shadows from inner elements if theme tries to add them */
ul.sub-nav > li.dt-mega-parent ul.sub-nav {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
    display: block !important; /* reset flex for inner subnav */
    width: auto !important;
}

/* Slide and Fade Animation */
@keyframes megaMenuSlideFade {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* Column Headers (Categories) */
ul.sub-nav > li.dt-mega-parent > a {
    font-size: 0.85rem !important; /* Make main category font size smaller */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #1e293b !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding-bottom: 8px !important;
    margin-bottom: 15px !important;
    display: inline-block !important;
    transition: color 0.3s ease !important;
}

ul.sub-nav > li.dt-mega-parent > a:hover {
    color: #ef4444 !important; /* Red color on hover to indicate it's clickable */
}

/* Hide arrow on column headers */
li.dt-mega-parent > a::before {
    display: none !important;
}

/* Sub-items (Subcategories & Products) */
ul.sub-nav > li.dt-mega-parent ul.sub-nav li a,
.dt-mega-menu-wrap ul li a {
    font-size: 1.05rem !important; /* Make sub menu items larger */
    color: #475569 !important;
    padding: 10px 12px 10px 24px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    display: block !important;
    font-weight: 500 !important;
    position: relative;
    border-bottom: 1px solid #f1f5f9 !important;
}
li.dt-mega-parent ul.sub-nav li:last-child a,
.dt-mega-menu-wrap ul li:last-child a {
    border-bottom: none !important;
}

/* Make arrow bold and always visible */
li.dt-mega-parent ul.sub-nav li a::before,
.dt-mega-menu-wrap ul li a::before {
    content: '\279C'; /* Bold right arrow */
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    color: #94a3b8; /* Darker gray for better visibility */
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

/* Hover effects for sub-items */
li.dt-mega-parent ul.sub-nav li a:hover,
.dt-mega-menu-wrap ul li a:hover {
    color: #e11d48 !important; /* PowerGrid Red Accent */
    background: #fff1f2 !important;
    padding-left: 28px !important;
}

/* Arrow color changes on hover */
li.dt-mega-parent ul.sub-nav li a:hover::before,
.dt-mega-menu-wrap ul li a:hover::before {
    color: #e11d48;
    left: 8px;
}

/* Clean up borders from default theme */
.dt-mega-menu-wrap .wf-cell,
li.dt-mega-parent {
    border-right: none !important;
}

/* Fix product menu dropdown arrow in header if misaligned */
.menu-item-has-children > a::after {
    margin-left: 6px !important;
    vertical-align: middle !important;
}

/* =============================================================
   CUSTOM HEADER CTA BLOCK & TOP BAR REMOVAL
   ============================================================= */

/* Hide the old top bar as phone is now in the main header */
.top-bar {
    display: none !important;
}

/* Push the CTA to the far right if flex is used, or just give it margin */
li.cta-menu-item {
    margin-left: auto !important;
    padding-left: 30px !important;
}
li.cta-menu-item > a {
    display: none !important; /* Hide default link wrapper if theme wraps it */
}

/* Center the menu items by balancing the auto margin */
ul.main-nav > li:first-child,
#main-nav > li:first-child {
    margin-left: auto !important;
}

.header-cta-block {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    height: 100% !important;
}

/* Phone Block */
.header-cta-phone {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.cta-icon {
    color: #ef4444 !important;
    font-size: 28px !important;
    width: 28px !important;
    height: 28px !important;
}
.cta-text-wrapper {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    line-height: 1.2 !important;
}
.cta-small-text {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #ef4444 !important;
    text-transform: uppercase !important;
}
.cta-large-text {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    text-decoration: none !important;
}

/* Request Quote Button */
.header-cta-button {
    background: #ef4444 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 10px 14px 10px 24px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-decoration: none !important;
    transition: background 0.3s ease !important;
}
.header-cta-button:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
}
.cta-arrow-circle {
    background: #ffffff !important;
    color: #ef4444 !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.cta-arrow-circle .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

/* =============================================================
   CUSTOM LEAD GENERATION POPUP
   ============================================================= */

/* Overlay Background */
.infopixal-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85); /* Dark slate background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999; /* Sit on top of everything including header */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Prevent top cutoff when taller than screen */
    padding: 40px 20px;
    overflow-y: auto; /* Allow scrolling if modal is tall */
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.infopixal-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.infopixal-popup-modal {
    background: transparent !important;
    width: 100%;
    max-width: 800px; /* Wider to fit 2 columns */
    margin: auto; /* Vertically centers if shorter than screen */
    position: relative;
    padding: 0 !important;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.infopixal-popup-overlay.active .infopixal-popup-modal {
    transform: translateY(0) scale(1);
}

/* Close Button */
.ip-custom-popup-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
    padding: 2px 10px !important;
}

.ip-custom-popup-close-btn:hover {
    color: #0f172a;
}

/* Content Styling */
.infopixal-popup-title {
    margin: 0 0 10px 0 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: center;
}

.infopixal-popup-desc {
    margin: 0 0 25px 0 !important;
    font-size: 15px !important;
    color: #64748b !important;
    text-align: center;
    line-height: 1.5 !important;
}

/* Form Wrapper (Assuming CF7) */
.infopixal-popup-form-wrap .wpcf7-form-control-wrap input,
.infopixal-popup-form-wrap .wpcf7-form-control-wrap textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    transition: border-color 0.2s ease;
}

.infopixal-popup-form-wrap .wpcf7-form-control-wrap input:focus,
.infopixal-popup-form-wrap .wpcf7-form-control-wrap textarea:focus {
    border-color: #ef4444 !important;
    outline: none !important;
}

.infopixal-popup-form-wrap .wpcf7-submit {
    width: 100% !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 15px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.infopixal-popup-form-wrap .wpcf7-submit:hover {
    transform: translateY(-2px);
    
}

/* Hero Section WPBakery Element Fixes */
.infopixal-hero {
    width: 100vw;
    max-width: 1920px;
    margin-left: calc(-50vw + 50%);
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}
@media (min-width: 1920px) {
    .infopixal-hero {
        margin-left: calc(-960px + 50%);
    }
}
.infopixal-hero .pg-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}
.infopixal-hero .infopixal-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}
.infopixal-hero .hero-title,
.infopixal-hero .hero-subtitle {
    color: #ffffff;
}
.infopixal-hero .hero-title span[style] {
    color: #ff4500 !important;
}


/* Remove Main Padding */
#main {
    padding: 0 !important;
}

/* Slideshow CSS */
.infopixal-hero .pg-slides-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.infopixal-hero .pg-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
}
.infopixal-hero .pg-slide.pg-slide-active {
    opacity: 1;
    z-index: 2;
}
.infopixal-hero .pg-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    transition: 0.3s;
}
.infopixal-hero .pg-slider-nav:hover {
    background: #ff4500;
}
.infopixal-hero .pg-slider-prev { left: 20px; }
.infopixal-hero .pg-slider-next { right: 20px; }


/* Split Layout for Product Image */
.infopixal-hero .hero-inner-flex.has-product-image {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}
.infopixal-hero .hero-inner-flex.has-product-image .hero-content {
    flex: 0 0 60%;
    max-width: 60%;
    padding-right: 30px;
    box-sizing: border-box;
}
.infopixal-hero .hero-inner-flex.has-product-image .hero-product-image {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: right;
    box-sizing: border-box;
}
.infopixal-hero .hero-product-image img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 991px) {
    .infopixal-hero .hero-inner-flex.has-product-image {
        flex-wrap: wrap;
    }
    .infopixal-hero .hero-inner-flex.has-product-image .hero-content,
    .infopixal-hero .hero-inner-flex.has-product-image .hero-product-image {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }
    .infopixal-hero .hero-inner-flex.has-product-image .hero-product-image {
        margin-top: 30px;
    }
}


/* Smaller Title Font Size */
.infopixal-hero .hero-title {
    font-size: 40px !important;
    line-height: 1.2;
}
@media (max-width: 768px) {
    .infopixal-hero .hero-title {
        font-size: 28px !important;
    }
}

/* New About Section Layout */
.new-about-layout .about-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.new-about-layout {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.new-about-layout .about-content-wrapper {
    flex: 0 0 45%;
    max-width: 45%;
    position: relative;
    padding-left: 0;
    box-sizing: border-box;
}
.new-about-layout .about-images-wrapper {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    box-sizing: border-box;
}
.new-about-layout .about-right-elements {
    flex: 0 0 0%;
    max-width: 0%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    box-sizing: border-box;
}

/* Typography Details */
.new-about-layout .section-label {
    position: relative;
    margin-bottom: 15px;
    display: inline-block;
    color: #f24b26;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}
.new-about-layout .section-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #111;
    margin-bottom: 20px;
}
.new-about-layout .section-title .text-primary {
    color: #f24b26 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}
.new-about-layout .about-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}
.new-about-layout .about-desc p {
    margin-bottom: 15px;
}
.new-about-layout .section-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

/* Patterns */
.new-about-layout .pattern-top-left {
    position: absolute;
    z-index: 0;
    top: -50px;
    left: -150px;
    width: 400px;
    opacity: 0.08;
    pointer-events: none;
}
.new-about-layout .pattern-bottom-right {
    position: absolute;
    z-index: 0;
    bottom: -100px;
    right: -150px;
    width: 400px;
    opacity: 0.08;
    margin: 0;
    pointer-events: none;
}

/* Image Collage */
.new-about-layout .about-images {
    position: relative;
    z-index: 3;
}
.new-about-layout .about-images .img-main img {
    position: relative;
    z-index: 4;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}
.new-about-layout .about-images .img-small {
    position: absolute;
    z-index: 5;
    border: 8px solid #fff;
    border-radius: 12px;
    width: 38%;
    overflow: hidden;
    background: #fff;
}
.new-about-layout .about-images .img-small img {
    border-radius: 4px;
    width: 100%;
    display: block;
}
.new-about-layout .about-images .top-right {
    top: -20px;
    right: -25px;
}
.new-about-layout .about-images .bottom-right {
    bottom: -20px;
    right: -25px;
}

.new-about-layout .about-content {
    position: relative;
    z-index: 2;
}
.new-about-layout .about-side-logo {
    display: none;
}
@media (max-width: 991px) {
    .new-about-layout {
        padding-top: 30px !important;
        padding-bottom: 40px !important;
    }
    .new-about-layout .about-grid {
        flex-direction: column;
        gap: 0 !important;
    }
    .new-about-layout .about-content-wrapper,
    .new-about-layout .about-content {
        display: contents;
    }
    .new-about-layout .about-pattern {
        display: none;
    }
    .new-about-layout .section-label { order: 1; }
    .new-about-layout .section-title { order: 2; }
    .new-about-layout .about-desc { order: 3; margin-bottom: 15px !important; }
    .new-about-layout .about-images-wrapper { order: 4; margin-bottom: 15px !important; width: 100%; }
    .new-about-layout .btn-primary { order: 5; margin: 0 auto; display: inline-flex; }
    .new-about-layout .about-right-elements { order: 6; }
    
    .new-about-layout .about-images-wrapper,
    .new-about-layout .about-right-elements {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
    }
}

/* Fix for large overflowing images on the site */
.wpb_single_image img, 
.vc_single_image-wrapper img, 
figure img, 
.wpb_wrapper img {
    max-width: 100% !important;
    height: auto;
}

/* =============================================================
   NEW SECTIONS: Categories, Featured Products, Industries
   ============================================================= */

/* Product Categories */
.infopixal-categories { 
    padding: 60px 0; 
    background-color: #f8fafc;
    background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    position: relative;
}
.infopixal-categories::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, #f8fafc 0%, rgba(248, 250, 252, 0.4) 50%, #f8fafc 100%);
    pointer-events: none;
}
.infopixal-categories .infopixal-container, .infopixal-categories .container { position: relative; z-index: 2; }
.infopixal-categories .section-label, .infopixal-featured-products .section-label { display: block; color: #f24b26; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; text-align: center; }
.infopixal-categories .section-title, .infopixal-featured-products .section-title { font-size: 36px; font-weight: 800; color: #0f172a !important; margin-bottom: 40px; text-align: center; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.category-card { 
    background: #ffffff; 
    border: 1px solid rgba(15, 23, 42, 0.05); 
    border-radius: 16px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    text-align: center; 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: relative;
    padding-bottom: 25px;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f24b26 0%, #ff7b5c 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.category-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08); 
    border-color: rgba(242, 75, 38, 0.2);
}
.category-card:hover::before {
    transform: scaleX(1);
}
.category-card .cat-icon { 
    height: 110px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-top: 15px; 
    padding: 0; 
}
.category-card .cat-icon img { 
    height: 110px !important; 
    width: auto !important; 
    max-width: 100% !important; 
    object-fit: contain; 
    margin: 0; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}
.category-card:hover .cat-icon img { transform: scale(1.1) translateY(-3px); }
.category-card h3 { 
    font-size: 16px; /* Reduced from 18px */
    font-weight: 700; 
    margin: 15px 20px 20px; /* Reduced margin */
    line-height: 1.4; 
    color: #0f172a; 
    transition: color 0.3s; 
}
.category-card:hover h3 { color: #f24b26; }
.category-card .cat-btn { 
    margin: 0 auto; 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    gap: 8px; 
    padding: 10px 24px; /* Slightly smaller padding */
    background: transparent; 
    color: #f24b26 !important; 
    border: 2px solid rgba(242, 75, 38, 0.2); 
    font-size: 12px; 
    font-weight: 800; 
    text-transform: uppercase; 
    text-decoration: none; 
    border-radius: 30px; 
    transition: all 0.3s ease; 
    letter-spacing: 0.5px; 
}
.category-card:hover .cat-btn { background: #f24b26; color: #fff !important; border-color: #f24b26; }
.category-card .cat-btn .arrow { transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); display: inline-block; }
.category-card:hover .cat-btn .arrow { transform: translateX(4px); }

/* Featured Products */
.infopixal-featured-products { padding: 20px 0; background: #fff; }
.products-slider { margin-top: 40px; padding: 10px 0; }
.product-slide-item { padding: 0 15px; }
.product-card { text-align: center; border: 1px solid #f0f0f0; border-radius: 8px; padding: 30px 20px; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s; background: #fff; position: relative; overflow: hidden; }
.product-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #f24b26; transform: scaleX(0); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); transform-origin: center; }
.product-card:hover {  border-color: transparent; transform: translateY(-5px); }
.product-card:hover::after { transform: scaleX(1); }
.product-card .prod-img { min-height: 250px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; overflow: hidden; }
.product-card .prod-img img { max-width: 100%; max-height: 250px; width: auto; margin: 0 auto; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.product-card:hover .prod-img img { transform: scale(1.08) translateY(-3px); }
.product-card h3 { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 15px; line-height: 1.4; transition: color 0.3s; }
.product-card:hover h3 { color: #f24b26; }
.product-card .prod-btn { font-size: 12px; font-weight: 700; text-transform: uppercase; text-decoration: none; color: #f24b26 !important; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 5px; transition: color 0.3s ease; }
.product-card .prod-btn .arrow { transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); display: inline-block; }
.product-card:hover .prod-btn { color: #222 !important; }
.product-card:hover .prod-btn .arrow { transform: translateX(5px); color: #f24b26; }

/* Slick Carousel Arrows */
.products-slider .slick-prev, .products-slider .slick-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: #f24b26; color: #fff; border: 1px solid #f24b26; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; font-size: 18px; font-style: normal; transition: all 0.3s ease;  }
.products-slider .slick-prev { left: -60px; }
.products-slider .slick-next { right: -60px; }
.products-slider .slick-prev:hover, .products-slider .slick-next:hover { background: #d03b1a; color: #fff; border-color: #d03b1a;  transform: translateY(-50%) scale(1.1); }
.products-slider .slick-prev::before, .products-slider .slick-next::before { display: none; } /* Hide default slick font */

/* Industries We Serve */
.infopixal-industries.bg-light { background: #fcfcfc; padding: 80px 0; }
.infopixal-industries .section-heading { margin-bottom: 50px; }
.infopixal-industries .section-label.lined-label { position: relative; display: inline-block; color: #f24b26; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px; }
.infopixal-industries .section-label.lined-label span { padding: 0 15px; }
.infopixal-industries .section-label.lined-label::before, .infopixal-industries .section-label.lined-label::after { content: ''; position: absolute; top: 50%; width: 40px; height: 1px; background: #f24b26; }
.infopixal-industries .section-label.lined-label::before { right: 100%; }
.infopixal-industries .section-label.lined-label::after { left: 100%; }
.infopixal-industries .section-title { font-size: 36px; font-weight: 800; color: #2b2e35; margin-bottom: 15px; letter-spacing: -0.5px; }
.infopixal-industries .section-subtitle { font-size: 16px; color: #555; }

.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card { position: relative; overflow: hidden; border-radius: 6px; background: #2b2e35;  cursor: pointer; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s; }
.industry-card:hover { transform: translateY(-5px);  }
.industry-card .ind-bg { width: 100%; height: 200px; overflow: hidden; }
.industry-card .ind-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.industry-card:hover .ind-bg img { transform: scale(1.1); }
.industry-card .ind-bottom-bar { display: flex; align-items: center; background: #2b2e35; color: #fff; position: relative; z-index: 2; height: 60px; border-top: none; }
.industry-card .ind-icon { width: 60px; height: 60px; background: #f24b26; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; }
.industry-card .ind-icon i { font-size: 26px; color: #fff; transition: transform 0.4s ease; display: inline-block; line-height: 1; }
.industry-card:hover .ind-icon i { transform: scale(1.15); }
.industry-card h3 { flex: 1; display: flex; align-items: center; justify-content: flex-start; font-size: 14px; font-weight: 700; color: #fff; margin: 0; padding: 0 15px 0 20px; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.2; text-align: left; }

/* View All Button */
.view-all-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 40px; background: transparent; color: #f24b26 !important; font-size: 13px; font-weight: 700; text-transform: uppercase; text-decoration: none; border-radius: 4px; border: 2px solid #f24b26; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); letter-spacing: 1px; position: relative; overflow: hidden; z-index: 1; }
.view-all-btn::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%; background: #f24b26; z-index: -1; transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.view-all-btn:hover { color: #fff !important;  transform: translateY(-3px); }
.view-all-btn:hover::before { width: 100%; }

/* Why Choose Us - Advanced Layout */
.infopixal-why-choose.advanced-layout { background: #fafafa; padding: 80px 0; position: relative; overflow: hidden; }
.infopixal-why-choose.advanced-layout::before { content: ''; position: absolute; top: 0; left: 0; width: 300px; height: 300px; background-image: radial-gradient(#d5d5d5 15%, transparent 16%); background-size: 20px 20px; opacity: 0.5; z-index: 1; pointer-events: none; }
.infopixal-why-choose.advanced-layout::after { content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 300px; background-image: radial-gradient(#d5d5d5 15%, transparent 16%); background-size: 20px 20px; opacity: 0.5; z-index: 1; pointer-events: none; }

.why-choose-header { margin-bottom: 50px; position: relative; z-index: 2; }
.why-choose-header .section-label.lined-label { color: #f24b26; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 15px; position: relative; display: inline-block; }
.why-choose-header .section-label.lined-label::before, .why-choose-header .section-label.lined-label::after { content: ''; position: absolute; top: 50%; width: 30px; height: 1px; background: #f24b26; }
.why-choose-header .section-label.lined-label::before { right: 100%; margin-right: 15px; }
.why-choose-header .section-label.lined-label::after { left: 100%; margin-left: 15px; }
.why-choose-header .section-title { font-size: 40px; font-weight: 900; color: #1a1a1a; margin-bottom: 10px; letter-spacing: -0.5px; text-transform: uppercase; }
.why-choose-header .section-subtitle { font-size: 16px; color: #555; max-width: 700px; margin: 0 auto; line-height: 1.6; }

.why-choose-grid { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; position: relative; z-index: 2; padding-bottom: 20px; }
.wc-features { width: 30%; display: flex; flex-direction: column; justify-content: center; }
.wc-features.wc-left .wc-feat-item, .wc-features.wc-right .wc-feat-item { display: flex; align-items: flex-start; margin-bottom: 45px; }
.wc-features.wc-left .wc-feat-item:last-child, .wc-features.wc-right .wc-feat-item:last-child { margin-bottom: 0; }
.wc-icon { width: 50px; height: 50px; display: flex; align-items: flex-start; justify-content: flex-start; flex-shrink: 0; margin-right: 20px; }
.wc-icon i { font-size: 36px; color: #f24b26; }
.wc-text { text-align: left; }
.wc-text h4 { font-size: 15px; font-weight: 800; color: #1a1a1a; margin-bottom: 8px; text-transform: uppercase; }
.wc-text p { font-size: 13px; color: #666; line-height: 1.6; margin: 0; }

.wc-center-img-wrap { width: 38%; position: relative; display: flex; align-items: center; justify-content: center; }
.wc-img-shape { position: relative; width: 100%; height: 450px; display: flex; align-items: center; justify-content: center; }
.wc-img-shape img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%); position: relative; z-index: 3; }
.wc-img-shape::before { content: ''; position: absolute; top: -15px; left: -15px; width: 100%; height: 100%; background: #f24b26; clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%); z-index: 2; }
.wc-img-shape::after { content: ''; position: absolute; bottom: -20px; left: -30px; width: 100%; height: 60%; background: #2b2e35; clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%); z-index: 1; }

.wc-stats-bar { position: relative; width: 90%; max-width: 1000px; background: #fff; border-radius: 16px;  display: flex; align-items: center; justify-content: space-between; padding: 35px 40px; z-index: 5; margin: 0 auto 60px auto; box-shadow: 0 20px 50px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.03); }
.wc-stat-item { text-align: center; flex: 1; border-right: 1px solid rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.wc-stat-item:hover { transform: translateY(-5px); }
.wc-stat-item:last-child { border-right: none; }
.wc-stat-item .st-icon { margin-bottom: 15px; display: inline-flex; width: 64px; height: 64px; background: rgba(242, 75, 38, 0.08); border-radius: 50%; align-items: center; justify-content: center; }
.wc-stat-item .st-icon i { font-size: 28px; color: #f24b26; }
.wc-stat-item h3 { font-size: 36px; font-weight: 900; color: #1a1a1a; margin-bottom: 5px; letter-spacing: -1px; }
.wc-stat-item p { font-size: 13px; color: #666; margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.wc-cta-bar { position: relative; background: linear-gradient(135deg, #ff5722 0%, #e64a19 50%, #bf360c 100%); padding: 50px 0; border-radius: 16px; z-index: 4; box-shadow: 0 20px 40px rgba(242,75,38,0.25); overflow: hidden; margin-bottom: 40px; }
.wc-cta-bar::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.wc-cta-bar.pattern-dots::before { background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="rgba(255,255,255,0.12)"/></svg>'); }
.wc-cta-bar.pattern-lines::before { background: url('data:image/svg+xml;utf8,<svg width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M-1,11 L11,-1 M-1,1 L1,-1 M9,11 L11,9" stroke="rgba(255,255,255,0.12)" stroke-width="1"/></svg>'); }
.wc-cta-bar.pattern-hexagons::before { background: url('data:image/svg+xml;utf8,<svg width="28" height="49" viewBox="0 0 28 49" xmlns="http://www.w3.org/2000/svg"><path d="M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z" fill="rgba(255,255,255,0.06)" fill-rule="evenodd"/></svg>'); }
.wc-cta-bar.pattern-waves::before { background: url('data:image/svg+xml;utf8,<svg width="40" height="12" viewBox="0 0 40 12" xmlns="http://www.w3.org/2000/svg"><path d="M0 6c5 0 5-6 10-6s5 6 10 6 5-6 10-6 5 6 10 6 5-6 10-6" stroke="rgba(255,255,255,0.15)" stroke-width="1" fill="none"/></svg>'); }
.wc-cta-bar.pattern-none::before { display: none; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 40px; position: relative; z-index: 2; }
.cta-left { display: flex; align-items: center; }
.cta-shield { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; margin-right: 25px; flex-shrink: 0; box-shadow: 0 0 20px rgba(255,255,255,0.1); }
.cta-shield i { font-size: 30px; color: #fff; }
.cta-text h3 { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 8px 0; letter-spacing: -0.5px; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.95); margin: 0; font-weight: 500; letter-spacing: 0.5px; }
.cta-right .btn-black { display: inline-flex; align-items: center; padding: 16px 40px; background: #1a1a1a; color: #fff; font-size: 14px; font-weight: 800; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; letter-spacing: 1px; text-transform: uppercase; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.cta-right .btn-black:hover { background: #fff; color: #f24b26; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .industries-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .products-slider .slick-prev { left: -10px; }
    .products-slider .slick-next { right: -10px; }
}
@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr; }
}


/* Fix double arrows from parent theme on hover */
.infopixal-hero .pg-slider-nav::after,
.infopixal-hero .pg-slider-nav::before,
.btn-primary::after,
.btn-primary::before,
.btn-secondary::after,
.btn-secondary::before {
    display: none !important;
    content: none !important;
}

/* Product Directory Editable Element */
.infopixal-prod-dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 50px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.pd-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; transition: all 0.3s ease; display: flex; flex-direction: column; overflow: hidden; }
.pd-card:hover { border-color: #f24b26; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.pd-card-inner { display: flex; padding: 30px; flex-grow: 1; align-items: center; }
.pd-card-left { flex: 0 0 65%; max-width: 65%; padding-right: 20px; }
.pd-card-right { flex: 0 0 35%; max-width: 35%; display: flex; align-items: center; justify-content: center; }
.pd-product-img { max-width: 100%; height: auto; object-fit: contain; }

.pd-header { display: flex; align-items: center; margin-bottom: 20px; }
.pd-icon { width: 55px; height: 55px; background: #f24b26; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; overflow: hidden; }
.pd-icon i { color: #fff; font-size: 24px; }
.pd-icon img { width: 100%; height: 100%; object-fit: cover; filter: invert(1); mix-blend-mode: screen; } /* Magical CSS to turn black-on-white JPGs into white icons */
.pd-header h3 { margin: 0; font-size: 18px; font-weight: 800; text-transform: uppercase; line-height: 1.3; }
.pd-header h3 a { color: #1a1a1a; text-decoration: none; transition: color 0.3s ease; }
.pd-header h3 a:hover { color: #f24b26; }

.pd-sub-list { list-style: none; margin: 0; padding: 0; }
.pd-sub-list li { margin-bottom: 10px; font-size: 14px; font-weight: 600; color: #555; display: flex; align-items: flex-start; line-height: 1.4; }
.pd-sub-list li i { color: #f24b26; font-size: 13px; margin-right: 10px; margin-top: 3px; flex-shrink: 0; }
.pd-sub-list li a { color: #555; text-decoration: none; transition: color 0.3s ease; }
.pd-sub-list li a:hover { color: #f24b26; }

.pd-card-footer { padding: 25px 30px; background: #fff; text-align: center; border-top: 1px solid #f0f0f0; }
.pd-view-all { display: inline-flex; align-items: center; justify-content: center; background: #f24b26; color: #fff; padding: 14px 35px; border-radius: 50px; font-size: 13px; font-weight: 800; text-transform: uppercase; text-decoration: none; letter-spacing: 1px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(242,75,38,0.25); }
.pd-view-all .arrow { margin-left: 10px; transition: transform 0.3s ease; font-size: 16px; }
.pd-view-all:hover { background: #d03b1a; color: #fff; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(242,75,38,0.4); }
.pd-view-all:hover .arrow { transform: translateX(5px); }

/* Featured Products Slider */
.infopixal-featured-products-wrapper { margin-bottom: 60px; }
.fp-section-title { text-align: center; margin: 60px 0 40px; display: flex; align-items: center; justify-content: center; }
.fp-section-title h2 { font-size: 24px; font-weight: 800; text-transform: uppercase; margin: 0 20px; color: #1a1a1a; letter-spacing: 0.5px; }
.fp-line { height: 2px; width: 80px; background: #f24b26; opacity: 0.6; }

.fp-slider-container { position: relative; padding: 0 30px; }
.fp-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 25px; height: 60px; background: #e5e5e5; border: none; font-size: 16px; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; z-index: 10; }
.fp-arrow:hover { background: #f24b26; }
.fp-prev { left: 0; border-radius: 0 6px 6px 0; }
.fp-next { right: 0; border-radius: 6px 0 0 6px; }

.fp-slide { padding: 15px; outline: none; }
.fp-card { background: #fdfdfd; border: 1px solid #f0f0f0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: all 0.3s ease; text-align: center; }
.fp-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.06); transform: translateY(-5px); border-color: #f24b26; }
.fp-img-wrap { background: #f5f5f5; padding: 25px; display: flex; align-items: center; justify-content: center; height: 200px; }
.fp-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fp-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.fp-content h3 { font-size: 16px; font-weight: 800; margin: 0 0 12px; color: #1a1a1a; text-transform: uppercase; }
.fp-content p { font-size: 14px; color: #555; margin: 0 0 25px; line-height: 1.5; flex-grow: 1; }
.fp-btn { display: inline-flex; align-items: center; justify-content: center; background: #f24b26; color: #fff; padding: 12px 35px; border-radius: 6px; font-size: 14px; font-weight: 800; text-transform: uppercase; text-decoration: none; transition: all 0.3s ease; align-self: center; box-shadow: 0 4px 15px rgba(242,75,38,0.25); }
.fp-btn i { margin-left: 10px; font-size: 18px; }
.fp-btn:hover { background: #d03b1a; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(242,75,38,0.4); }

/* Force remove border-radius from page title images/banners */
.main-title-section-wrapper,
.main-title-section-bg,
.page-title-wrapper,
.breadcrumb-wrapper,
.breadcrumb-section,
.page-header,
.page-title,
#main {
    border-radius: 0 !important;
}

@media(max-width: 991px) { 
    .infopixal-prod-dir-grid { grid-template-columns: 1fr; gap: 20px; } 
}
@media(max-width: 767px) { 
    .pd-card-inner { flex-direction: column; padding: 25px 20px; text-align: center; } 
    .pd-card-left { max-width: 100%; padding-right: 0; margin-bottom: 25px; display: flex; flex-direction: column; align-items: center; } 
    .pd-card-right { max-width: 100%; display: flex; justify-content: center; } 
    .pd-product-img { max-height: 180px; width: auto; margin: 0 auto; }
    
    .pd-header { flex-direction: column; margin-bottom: 15px; }
    .pd-icon { margin-right: 0; margin-bottom: 15px; width: 65px; height: 65px; }
    .pd-header h3 { font-size: 20px; text-align: center; }
    
    .pd-sub-list { text-align: left; display: inline-block; width: auto; max-width: 100%; }
    .pd-sub-list li { font-size: 15px; margin-bottom: 12px; }
}

/* =============================================================
   NEW ABOUT PAGE ELEMENTS
   ============================================================= */

.section-label-center {
    text-align: center;
    color: #ff4500;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-label-center span {
    position: relative;
    display: inline-block;
    padding: 0 15px;
}
.section-label-center span::before,
.section-label-center span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #ff4500;
}
.section-label-center span::before { left: 100%; }
.section-label-center span::after { right: 100%; }

/* Mission & Vision */
.infopixal-mission-vision {
    padding: 60px 0;
    background: #fff;
}
.mv-grid {
    display: flex;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.mv-box {
    flex: 1;
    padding: 60px 40px;
    text-align: center;
    position: relative;
}
.mv-mission {
    background: #fff7f4;
}
.mv-vision {
    background: #f9f9f9;
}
.mv-divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eaeaea;
    transform: translateX(-50%);
    z-index: 2;
}
.mv-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #ff4500;
    border-radius: 50%;
}
.mv-box .mv-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.mv-mission .mv-icon { background: #ff4500; }
.mv-vision .mv-icon { background: #333; }
.mv-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}
.mv-mission .mv-title { color: #ff4500; }
.mv-vision .mv-title { color: #333; }
.mv-text {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto;
}

/* Our Values */
.infopixal-our-values {
    padding: 60px 0;
    background: #fafafa;
}
.values-grid {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 8px;
}
.value-item {
    flex: 1;
    min-width: 200px;
    padding: 50px 30px;
    text-align: center;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.value-item:last-child {
    border-right: none;
}
.val-icon {
    font-size: 35px;
    color: #ff4500;
    margin-bottom: 20px;
}
.val-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}
.val-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* Why Choose Us (Row) */
.infopixal-why-choose-row {
    padding: 60px 0 80px;
    background: #fff;
}
.why-row-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.why-row-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
}
.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    border: 1.5px solid #ff4500;
    color: #ff4500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
    transition: 0.3s;
}
.why-row-item:hover .why-icon {
    background: #ff4500;
    color: #fff;
}
.why-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}
.why-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .mv-divider { display: none; }
    .mv-grid { flex-direction: column; }
    .value-item { flex: 0 0 50%; }
}
@media (max-width: 768px) {
    .why-row-item { flex: 0 0 45%; }
}
@media (max-width: 480px) {
    .value-item { flex: 0 0 100%; border-right: none; }
    .why-row-item { flex: 0 0 100%; }
}


/* =============================================================
   WHY CONNECT WITH US (Standalone)
   ============================================================= */

.pg-contact-features-wrap {
    background: #fff;
    padding: 60px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    margin-bottom: 60px;
}
.pg-features-subtitle {
    color: #ff4500;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.pg-features-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 50px 0;
    color: #111;
}
.pg-features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    row-gap: 50px;
}
.pg-feature-item {
    flex: 0 0 33.333%;
    min-width: 250px;
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
}
.pg-feature-item:not(:nth-child(3n))::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: #eee;
}
.pg-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 25px;
    transition: all 0.3s;
}
.pg-feature-icon.style-outline-red {
    background-color: transparent;
    border: 2px solid #ff4500;
    color: #ff4500;
}
.pg-feature-icon.style-fill-dark {
    background-color: #333;
    color: #fff;
}
.pg-feature-icon.style-fill-red {
    background-color: #ff4500;
    color: #fff;
}
.pg-feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #222;
}
.pg-feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 992px) {
    .pg-feature-item { flex: 0 0 50%; }
    .pg-feature-item:not(:nth-child(3n))::after { display: none; }
    .pg-feature-item:not(:nth-child(2n))::after {
        content: ''; position: absolute; right: 0; top: 10%; bottom: 10%; width: 1px; background: #eee;
    }
}
@media (max-width: 768px) {
    .pg-feature-item { flex: 0 0 100%; }
    .pg-feature-item::after { display: none !important; }
}


/* =============================================================
   SINGLE PRODUCT PAGE STYLES
   ============================================================= */

/* Product Hero */
.infopixal-product-hero {
    position: relative;
    padding: 60px 0;
    color: #fff;
    background-size: cover;
    background-position: center;
}
.infopixal-product-hero h1 {
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    color: #fff;
}
.product-breadcrumbs {
    font-size: 14px;
    color: #ddd;
}
.product-breadcrumbs a {
    color: #fff;
    text-decoration: none;
}
.product-breadcrumbs a:hover {
    color: #ff4500;
}

/* Single Product Wrap */
.infopixal-single-product-wrap {
    padding: 60px 0;
    background: #fdfdfd;
}
.sp-layout-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: flex-start;
}

/* Gallery Col */
.sp-gallery-col {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}
.sp-gallery-main {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
    background: #fff;
    border-radius: 4px;
    padding: 10px;
}
.sp-gallery-main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.sp-zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #666;
    cursor: pointer;
}
.sp-gallery-thumbs {
    margin: 0 -5px;
}
.sp-thumb-item {
    padding: 0 5px;
    cursor: pointer;
}
.sp-thumb-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}
.sp-thumb-item img:hover {
    border-color: #ff4500;
}

/* Info Col */
.sp-info-col {
    box-sizing: border-box;
    padding-top: 21px;
}
.sp-cat-label {
    display: block;
    color: #ff4500;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.sp-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin: 0 0 15px 0;
    line-height: 1.2;
}
.sp-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}
.sp-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.sp-features-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
    list-style-type: none !important;
}
.sp-features-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #ff4500;
    font-size: 16px;
}
.sp-action-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}
.sp-btn i { margin-left: 8px; }
.sp-btn-red {
    background: #ff4500;
    color: #fff;
    border: 2px solid #ff4500;
}
.sp-btn-red:hover {
    background: #e03e00;
    border-color: #e03e00;
    color: #fff;
}
.sp-btn-outline {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}
.sp-btn-outline:hover {
    background: #333;
    color: #fff;
}



/* Responsive */
@media(max-width: 992px) {
    .sp-layout-grid {
        grid-template-columns: 1fr;
    }
    .sp-gallery-col, .sp-info-col {
        width: 100%;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }
    .sp-gallery-main {
        padding: 0 !important;
        border: none !important;
        margin-bottom: 20px !important;
    }
    .sp-gallery-main img {
        width: 100% !important;
        max-width: 100% !important;
    }
    .wpb_tabs.clean-product-tabs .wpb_tabs_nav {
        margin-bottom: 15px !important;
    }
    .wpb_tabs.clean-product-tabs .wpb_tab {
        padding: 15px 0 !important;
    }
}

/* WPBakery Tabs Override for Clean Product Design */
.wpb_tabs.clean-product-tabs .wpb_tabs_nav {
    display: flex;
    border-bottom: 1px solid #ddd !important;
    background: transparent !important;
    margin-bottom: 30px !important;
}
.wpb_tabs.clean-product-tabs .wpb_tabs_nav li {
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}
.wpb_tabs.clean-product-tabs .wpb_tabs_nav li a {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    padding: 15px 20px !important;
    transition: all 0.3s;
}
.wpb_tabs.clean-product-tabs .wpb_tabs_nav li.ui-tabs-active a {
    color: #ff4500 !important;
    border-bottom: 2px solid #ff4500 !important;
}
.wpb_tabs.clean-product-tabs .wpb_tab {
    padding: 20px 0 !important;
    background: transparent !important;
    border: none !important;
}

/* Icon Grid */
.sp-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #fafafa;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #eee;
}
.sp-icon-grid-item {
    text-align: center;
}
.sp-ig-icon {
    color: #ff4500;
    font-size: 32px;
    margin-bottom: 10px;
}
.sp-ig-title {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}
@media(max-width: 768px) {
    .sp-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sticky-mobile-on.masthead:not(.mixed-header) .mobile-branding > a, 
    .sticky-mobile-on.masthead:not(.mixed-header) .mobile-branding > img,
    .show-device-logo .mobile-branding img {
        padding: 0px 0px 0px 0px !important;
        width: 20% !important;
    }
    .hero-subtitle {
        display: none !important;
    }
    .pg-slider-nav {
        display: none !important;
    }
    .hero-buttons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .hero-buttons a, .hero-buttons .btn-primary, .hero-buttons .btn-secondary {
        width: auto !important;
        display: inline-block !important;
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
    
    .infopixal-hero .hero-inner-flex {
        flex-direction: column;
    }
    .infopixal-hero .hero-content {
        display: contents;
    }
    .infopixal-hero .hero-title {
        order: 1;
        width: 100%;
    }
    .infopixal-hero .hero-product-image {
        order: 2;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .infopixal-hero .hero-buttons {
        order: 3;
        width: 100%;
    }
    
    .why-choose-grid {
        display: flex;
        flex-direction: column;
    }
    .why-choose-grid .wc-center-img-wrap {
        display: none !important;
    }
    .why-choose-grid .wc-features {
        width: 100% !important;
    }
    .wc-feat-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        background: #ffffff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        margin-bottom: 20px !important;
        box-sizing: border-box;
        border: 1px solid rgba(0,0,0,0.02);
    }
    .wc-feat-item .wc-icon {
        margin-right: 15px !important;
        flex-shrink: 0;
    }
    .wc-feat-item .wc-icon i {
        font-size: 28px !important;
    }
    .wc-feat-item .wc-text {
        text-align: left;
    }
    .wc-feat-item h4 {
        font-size: 15px !important;
        margin-bottom: 8px !important;
        color: #1a1a1a;
    }
    .wc-feat-item p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        color: #666;
    }
    
    .categories-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .category-card {
        display: grid !important;
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
        gap: 5px 15px;
        align-items: center;
        text-align: left;
        padding: 20px 15px;
    }
    .category-card .cat-icon {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        margin: 0 !important;
    }
    .category-card .cat-icon img {
        height: auto !important;
        width: 45px !important;
        object-fit: contain !important;
        margin: 0 !important;
    }
    .category-card h3 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        align-self: end;
        margin: 0 0 5px 0 !important;
        font-size: 15px !important;
        padding: 0 !important;
    }
    .category-card .cat-btn {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        align-self: start;
        justify-self: start;
        margin: 0 !important;
        font-size: 11px !important;
        padding: 8px 15px !important;
    }
    
    .section-title, .new-about-layout .section-title, .infopixal-categories .section-title {
        font-size: 24px !important;
    }
    
    .wc-stats-bar {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
        padding: 20px !important;
    }
    .wc-stat-item {
        border: none !important;
        margin-bottom: 0 !important;
    }
    .wc-stat-item:nth-child(5) {
        display: none !important;
    }
    
    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 0 20px !important;
    }
    .cta-left {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 25px;
    }
    .cta-shield {
        margin-right: 0 !important;
        margin-bottom: 20px;
    }
    .cta-right {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }
    .cta-right .btn-black {
        width: auto !important;
        padding: 15px 30px !important;
    }
    .wc-cta-bar {
        padding: 30px 0 !important;
    }
    
    #footer, .wf-container-footer {
        padding: 40px 20px !important;
        box-sizing: border-box !important;
    }
    .custom-footer-grid {
        gap: 40px !important;
    }
    .custom-widget-title {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }
    .footer-desc-text {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    .custom-footer-links a {
        font-size: 16px !important;
        padding: 6px 0 !important;
        display: inline-block;
    }
    .custom-contact-info li {
        font-size: 15px !important;
        margin-bottom: 15px !important;
    }
    .footer-logo {
        max-width: 220px !important;
        margin-bottom: 20px !important;
    }
    
    /* Page Title Mobile Height */
    #page .page-title, 
    #page .infopixal-header-banner, 
    #page .dt-fancy-title {
        height: 120px !important;
        min-height: 120px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Map Card Position Mobile */
    .pg-contact-map-row-full .pg-contact-container {
        display: flex !important;
        align-items: flex-start !important;
    }
    .pg-contact-map-row-full .pg-contact-map-card {
        position: relative !important;
        top: -10px !important;
        margin-top: 0 !important;
        transform: none !important;
    }
    
    /* Bigger Product Slider Images on Mobile */
    .product-card {
        padding: 20px 10px !important;
    }
    .product-card .prod-img {
        min-height: 250px !important;
        margin-bottom: 15px !important;
    }
    .product-card .prod-img img {
        max-height: 250px !important;
    }
}
