
    /* Global (Desktop default styles) */
    body {
        font-family: 'Poppins', sans-serif;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* Preloader (both desktop and mobile) */
    #preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .animation-preloader .spinner {
        border: 4px solid #ddd;
        border-top: 4px solid #3498db;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 1s linear infinite;
        margin-bottom: 10px;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

    .txt-loading span {
        font-size: 22px;
        font-weight: bold;
        margin: 0 2px;
        display: inline-block;
    }

    .animation-preloader p {
        font-size: 14px;
        color: #333;
        margin-top: 10px;
    }

    /* Offcanvas common setup */
    .offcanvas__info {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100%;
        background: #fff;
        z-index: 10000;
        transform: translateX(100%);
        transition: all 0.3s ease;
    }

    .offcanvas__info.active {
        transform: translateX(0);
    }

    /* Hide submenu by default */
    ul.submenu {
        display: none;
        position: absolute;
        background-color: white;
        padding: 10px 0;
        min-width: 200px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    /* Positioning the dropdown correctly */
    .has-dropdown {
        position: relative;
    }

    /* Show submenu on hover */
    .has-dropdown:hover > .submenu {
        display: block;
    }

    /* Style submenu items */
    ul.submenu li {
        list-style: none;
    }

    ul.submenu li a {
        display: block;
        padding: 10px 20px;
        color: #333;
        text-decoration: none;
    }

    ul.submenu li a:hover {
        background-color: #f5f5f5;
    }

    /* Mobile-specific styles only */
    @media (max-width: 768px) {
        .header-top-wrapper {
            display: flex;
            flex-direction: column;
            align-items: start;
        }

        .header-top-wrapper .contact-list {
            display: flex;
            flex-direction: column;
            margin-bottom: 8px;
        }

        .contact-list li {
            margin-bottom: 5px;
        }

        .top-right {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        /* Hide desktop menu on mobile */
        .mean__menu-wrapper {
            display: none !important;
        }

        /* Show hamburger icon on mobile */
        .header__hamburger {
            display: block !important;
            font-size: 22px;
            cursor: pointer;
        }

        /* Mobile menu general structure */
        .mobile-menu ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-menu ul li {
            margin-bottom: 0px !important;
        }

        /* Base Link Styling for Mobile Menu */
        .mobile-menu ul li a {
            text-decoration: none !important;
            color: #333 !important;
            font-weight: 500 !important;
            font-size: 15px !important;
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            border-bottom: 1px solid #eee !important;
            padding: 12px 15px !important;
            height: auto !important; /* Fix for huge gaps */
            min-height: 0 !important; /* Fix for huge gaps */
            margin: 0 !important;
            line-height: 1.4 !important;
            word-break: break-word;
        }

        /* Ensure theme's expand icons (like MeanMenu) are hidden completely to avoid double arrows */
        .mobile-menu .mean-expand, 
        .mobile-menu .toggle-icon {
            display: none !important;
        }

        /* Adding purely CSS custom arrow to has-dropdown elements */
        .mobile-menu .has-dropdown > a::after {
            content: '❯' !important;
            font-size: 14px !important;
            color: #f28b24 !important;
            transition: transform 0.3s ease !important;
            display: inline-block !important;
            margin-left: 10px;
        }

        .mobile-menu .has-dropdown.active > a::after {
            transform: rotate(90deg) !important;
        }

        /* Hide desktop elements on mobile */
        .main-menu,
        .top-right .flag-wrap,
        .top-right span,
        .header-button,
        .search-icon {
            display: none !important;
        }

        /* Normal Submenu styling for Mobile (e.g. Tools) */
        .mobile-menu .submenu {
            display: none !important;
            position: static !important;
            background: #f9f9f9 !important;
            box-shadow: none !important;
            width: 100% !important;
            padding: 0 !important;
        }

        .mobile-menu .submenu.active {
            display: block !important;
        }

        .mobile-menu .submenu li a {
            padding-left: 30px !important; /* Indent sub items */
            font-size: 14px !important;
            color: #555 !important;
        }
        
        .mobile-menu .submenu li a::after {
            display: none !important; /* Remove arrow from child links */
        }
    }

    /* Desktop styles */
    @media (min-width: 769px) {
        .header__hamburger {
            display: none !important;
        }
        
        .mobile-menu {
            display: none !important;
        }
    }

    .whatsapp-container {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .whatsapp-text-bubble {
        background: #25D366;
        color: white;
        padding: 8px 15px;
        border-radius: 20px 20px 5px 20px;
        font-size: 14px;
        font-weight: 500;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        white-space: nowrap;
        position: relative;
        transition: opacity 0.5s ease;
    }

    /* WhatsApp Icon Styling */
    .whatsapp-float img {
        width: 60px;
        height: auto;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out;
        display: block;
    }

    .whatsapp-float img:hover {
        transform: scale(1.1);
    }

    /* Mobile Compatibility */
    @media (max-width: 480px) {
        .whatsapp-text-bubble {
            font-size: 12px;
            padding: 6px 12px;
        }
        .whatsapp-float img {
            width: 50px;
        }
    }

    /* WhatsApp float */
    .whatsapp-float {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
    }

    .whatsapp-float img {
        width: 60px;
        height: auto;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out;
    }

    .whatsapp-float img:hover {
        transform: scale(1.1);
    }
    
    /* =========================================
       DESKTOP MEGA MENU STYLES (Landscape)
    ========================================= */
    @media (min-width: 769px) {
        /* Positioning context for the mega menu */
        .main-menu ul li.mega-dropdown {
            position: relative; 
        }

        /* Override standard submenu for the mega menu */
        .main-menu ul li.mega-dropdown > .mega-menu {
            width: 750px; /* Landscape width */
            left: -200px; /* Adjust this to center align with your layout */
            padding: 25px;
            display: none;
            position: absolute;
            background-color: #ffffff;
            box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.1);
            border-top: 3px solid #f28b24; /* Apricorn Orange */
            border-radius: 0 0 8px 8px;
            z-index: 1000;
        }

        .main-menu ul li.mega-dropdown:hover > .mega-menu {
            display: block;
        }

        /* Flexbox layout for columns */
        .mega-menu-content {
            display: flex;
            justify-content: space-between;
            gap: 30px;
        }

        .mega-column {
            flex: 1;
        }

        .mega-heading {
            font-size: 16px;
            font-weight: 700;
            color: #111;
            margin-bottom: 15px;
            border-bottom: 2px solid #eee;
            padding-bottom: 10px;
            text-transform: uppercase;
        }

        .mega-column ul {
            padding: 0;
            margin: 0;
            list-style: none;
            display: block !important; /* Force show inside mega menu */
            box-shadow: none !important;
            position: static !important;
        }

        .mega-column ul li {
            margin-bottom: 5px;
        }

        .mega-column ul li a {
            padding: 6px 0 !important;
            font-size: 14px;
            color: #444 !important;
            transition: all 0.3s ease;
            display: block;
            font-weight: 500;
        }

        .mega-column ul li a:hover {
            color: #f28b24 !important;
            padding-left: 8px !important; /* Diagonal text hover effect */
            background-color: transparent !important;
        }
    }
    
    /* =========================================
       FIX FOR DISAPPEARING LINKS ON HOVER
    ========================================= */

    /* Default state of the links */
    .main-menu ul li.mega-dropdown .mega-menu-content .mega-column ul li a {
        color: #444444 !important;
        font-size: 15px !important;
        padding: 10px 0 !important;
        display: block !important;
        background-color: transparent !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Hover state of the links */
    .main-menu ul li.mega-dropdown .mega-menu-content .mega-column ul li a:hover,
    .main-menu ul li.mega-dropdown .mega-menu-content .mega-column ul li:hover > a {
        color: #f28b24 !important; /* Apricorn Orange */
        background-color: transparent !important;
        padding-left: 8px !important; /* Diagonal shift */
        opacity: 1 !important;
        visibility: visible !important;
    }

    .main-menu ul li.mega-dropdown .mega-menu-content .mega-column ul li a::before,
    .main-menu ul li.mega-dropdown .mega-menu-content .mega-column ul li a::after {
        display: none !important;
    }

    /* =========================================
       MOBILE MEGA MENU FIXES (Perfect Alignment)
    ========================================= */
    @media (max-width: 768px) {
        .mobile-menu .mega-menu-content {
            display: flex !important;
            flex-direction: column !important;
            gap: 0px !important; 
            padding: 0 !important;
            width: 100% !important;
            background: #fdfdfd !important;
        }
        
        .mobile-menu .mega-column {
            border-bottom: 0 !important;
            width: 100% !important;
            display: block !important;
            margin: 0 !important;
        }
        
        /* The specific headings inside Mega Menu (Development, Design, etc.) */
        .mobile-menu .mega-heading {
            font-size: 13px !important;
            color: #444 !important;
            margin-bottom: 0 !important;
            font-weight: 600 !important;
            text-transform: uppercase !important;
            padding: 12px 25px !important; /* Indented padding */
            background: #f0f0f0 !important;
            border-bottom: 1px solid #e0e0e0 !important;
            position: relative !important;
            cursor: pointer !important;
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            line-height: normal !important;
        }
        
        /* > icon for Sub Categories */
        .mobile-menu .mega-heading::after {
            content: '❯' !important;
            font-size: 12px !important;
            color: #f28b24 !important;
            transition: transform 0.3s ease;
            margin-left: 10px;
        }
        
        /* Rotate > icon when active */
        .mobile-menu .mega-column.active .mega-heading::after {
            transform: rotate(90deg) !important;
        }
        
        /* Hide ul by default on mobile */
        .mobile-menu .mega-column ul {
            display: none !important;
            padding: 0 !important;
            background: #fff !important;
            margin: 0 !important;
        }
        
        /* Show ul when active */
        .mobile-menu .mega-column.active ul {
            display: block !important;
        }
        
        /* Highly structured styling to prevent massive boxes and gaps */
        .mobile-menu .mega-column ul li a {
            border-bottom: 1px dashed #f0f0f0 !important;
            padding: 10px 15px 10px 40px !important; /* Deep indentation for inner links */
            font-size: 14px !important;
            color: #666 !important;
            height: auto !important; /* Forces normal height */
            min-height: 0 !important; /* Overrides any theme flex/min-height */
            line-height: normal !important;
            margin: 0 !important;
            background: #fff !important;
            display: block !important; /* Revert flex so text fills normally */
        }
        
        /* Ensure no arrows on bottom-level inner links */
        .mobile-menu .mega-column ul li a::after {
            display: none !important;
        }
    }
