/*
Theme Name: Company Theme
Author: Shameem
Version: 1.3
*/

:root {
    --primary: #0066cc;
    --primary-dark: #004d99;
    --accent: #4da6ff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.5;
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 85px; /* Offset for fixed header */
}

@media only screen and (max-width: 768px) {
    body {
        padding-top: 52px; /* Matches mobile header height precisely */
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media only screen and (max-width: 768px) {
    .container, .container-fluid {
        padding: 0 20px;
    }
}

/* Header */
.site-header {
    background: #ffffff;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99990; /* Just below header */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

@media only screen and (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }
}

/* Adjust for WP Admin Bar */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 0; /* WordPress admin bar is not fixed on small screens, so header should stay at 0 */
    }
}

.site-header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.logo img {
    height: 40px;
}

@media (max-width: 768px) {
    .logo img {
        height: 32px;
    }
}

.main-navigation .nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

@media (max-width: 1200px) {
    .main-navigation .nav-menu {
        gap: 25px;
    }
}

.main-navigation ul li a {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
}

.main-navigation ul li a:hover,
.main-navigation ul li a.active,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a {
    color: #3b82f6 !important; /* Brighter blue for active state */
}

.main-navigation ul li {
    position: relative;
}



/* Dropdown Support */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    padding: 15px 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    list-style: none;
    display: block; /* Overriding display: flex from parent ul */
    border: 1px solid #f1f5f9;
    margin-top: 15px;
}

.sub-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0 !important;
    width: 100%;
}

.sub-menu li a {
    padding: 10px 25px !important;
    display: block !important;
    color: #64748b !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.sub-menu li a::after {
    display: none !important; /* Hide the active underline for sub-menu items */
}

.sub-menu li a:hover {
    background: #f8fbff;
    color: #3b82f6 !important;
    padding-left: 30px !important;
}

/* Mega Menu Styles */
.nav-menu-wrapper {
    position: static;
}

.menu-item-has-mega-menu:hover .mega-menu,
.menu-item-has-mega-menu:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item-has-mega-menu {
    position: static !important;
}

.mega-menu,
.menu-item-has-mega-menu > .sub-menu {
    position: absolute;
    top: 100%;
    left: 40px;
    right: 40px;
    background: #ffffff;
    padding: 0; /* Remove internal padding to allow sidebar to touch edges */
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border: 1px solid #f1f5f9;
    margin-top: 15px;
    display: flex; /* Switch to flex for sidebar layout */
    min-height: 450px;
    overflow: hidden;
}

/* Sidebar Styling */
.mega-sidebar {
    width: 280px;
    background: #f8fafc;
    border-right: 1px solid #f1f5f9;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.mega-sidebar-item {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-pane-link {
    font-size: 0.8rem;
    color: #94a3b8;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 5px;
}

.mega-sidebar-item:hover .view-pane-link,
.mega-sidebar-item.active .view-pane-link {
    opacity: 1;
}

.view-pane-link:hover {
    color: #3b82f6;
    transform: scale(1.1);
}

.mega-sidebar-item:hover {
    color: #1e293b;
    background: #f1f5f9;
}

.mega-sidebar-item.active {
    color: #3b82f6;
    background: #ffffff;
    border-left-color: #3b82f6;
    margin-right: -1px; /* Overlap the border-right of sidebar */
}

/* Content Area Styling */
.mega-content-area {
    flex: 1;
    background: #ffffff;
    display: flex;
}

.mega-content-pane {
    display: none;
    width: 100%;
    padding: 40px;
    gap: 40px;
}

.mega-content-pane.active {
    display: flex;
}

/* Middle Column: Subcategories */
.mega-subcats-col {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    max-height: 400px;
}

.mega-subcat-item {
    text-decoration: none;
    display: block;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.mega-subcat-item:hover {
    background: #f8fafc;
}

.mega-subcat-item strong {
    display: block;
    color: #1e293b;
    font-size: 1.05rem;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.mega-subcat-item a {
    text-decoration: none;
    color: inherit;
}

.mega-subcat-item a:hover strong {
    color: #3b82f6;
}

.mega-subcat-item p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Right Column: Mini Product Cards */
.mega-products-wrapper {
    flex: 1;
    position: relative;
}

.mega-products-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    animation: fadeInMega 0.3s ease;
}

.mega-products-grid.active {
    display: grid;
}

@keyframes fadeInMega {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-product-mini-card {
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mega-product-mini-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.05);
    transform: translateY(-5px);
}

.mini-card-img {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
}

.mini-card-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.mega-product-mini-card span {
    color: #1e293b;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 992px) {
    .site-header {
        position: fixed; /* Keep header fixed on mobile */
    }

    .mega-menu {
        position: relative;
        display: none;
        box-shadow: none;
        padding: 0;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        margin-top: 10px;
        background: #fdfdfe;
        border-radius: 12px;
        min-height: auto;
        overflow: hidden; /* Clean borders */
        width: 100%;
    }
    
    .menu-item-has-mega-menu.active-dropdown .mega-menu {
        display: flex !important;
    }

    .mega-sidebar {
        width: 100%;
        gap: 0;
        background: transparent;
        border: none;
        padding: 0;
    }

    .mega-sidebar-item {
        padding: 18px 20px;
        border: none !important;
        color: #1e293b;
        font-weight: 700;
        font-size: 0.95rem;
        border-bottom: 1px solid #f1f5f9 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fff;
        transition: background 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mega-sidebar-item:last-child {
        border-bottom: none !important;
    }

    .mega-sidebar-item.active {
        background: #f8fafc;
        color: #3b82f6;
    }

    .mega-sidebar-item::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.75rem;
        transition: transform 0.3s ease;
        opacity: 0.4;
    }

    .mega-sidebar-item.active::after {
        transform: rotate(180deg);
        opacity: 1;
    }

    .mega-content-area {
        display: block;
        background: #f8fafc;
        width: 100%;
    }

    .mega-content-pane {
        padding: 0;
        flex-direction: column;
        gap: 0;
        display: none;
        background: #fff;
        width: 100%;
    }

    .mega-content-pane.active {
        display: flex;
    }
    
    .mega-subcats-col {
        width: 100%;
        max-height: none;
        gap: 0;
        padding: 5px 0;
        background: #fff;
    }

    .mega-subcat-item {
        padding: 14px 25px;
        border-bottom: 1px solid #f8fafc;
        background: transparent;
        text-decoration: none;
        display: block;
    }

    .mega-subcat-item strong {
        font-size: 0.9rem;
        font-weight: 600;
        color: #475569;
        display: block;
    }

    .mega-subcat-item p {
        display: none;
    }

    .mega-products-wrapper {
        padding: 20px;
        background: #f1f5f9;
        width: 100%;
    }

    .mega-products-grid {
        display: none;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        width: 100%;
    }

    .mega-products-grid.active {
        display: grid;
    }

    .mega-product-mini-card {
        padding: 12px;
        background: #fff;
        border-radius: 12px;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    }

    .mini-card-img {
        width: 100%;
        height: 70px;
        background: #f8fafc;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mega-product-mini-card span {
        font-size: 0.7rem;
        font-weight: 700;
        color: #0f172a;
        text-align: center;
        line-height: 1.2;
    }

    .no-products-mini {
        font-size: 0.8rem;
        text-align: center;
        color: #94a3b8;
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        margin: 10px 0;
        display: none !important; /* Force hide by default on mobile */
        border: none;
        background: transparent;
    }
    
    .menu-item-has-children.active-dropdown > .sub-menu {
        display: block !important;
    }
}

.mobile-only-contact {
    display: none;
}

.menu-item-contact {
    display: none !important;
}

@media (max-width: 992px) {
    .mobile-only-contact {
        display: block;
    }
    .menu-item-contact {
        display: block !important;
        margin-top: 20px !important;
    }
}

.btn-contact {
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    color: white !important;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Hero Section - The Card Style */
.hero-section {
    padding: 20px 0;
}

.hero-inner {
    position: relative;
    height: 550px;
    border-radius: 40px;
    overflow: hidden;
    background: #1e293b;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-bg::after {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-left: 80px;
}

.hero-tagline {
    display: block;
    color: #4da6ff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content h1 {
    color: white;
    font-size: 5.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-blue-v3 {
    background: #4da6ff;
    color: #fff !important;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(77, 166, 255, 0.2);
}

.btn-blue-v3:hover {
    background: #0080ff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 128, 255, 0.3);
}

.btn-outline-v3 {
    background: transparent;
    color: #fff !important;
    padding: 16px 38px;
    border-radius: 100px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-v3:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff !important;
    transform: translateY(-3px);
}

/* Floating Device Frame (Rectangular & Smaller) */
.hero-device {
    position: absolute;
    right: 4%;
    top: 12%;
    width: 320px;
    z-index: 10;
}

.device-link {
    text-decoration: none;
    display: block;
}

.device-frame {
    background: #0f172a;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.device-link:hover .device-frame {
    transform: translateY(-8px);
}

.device-img {
    height: 180px;
}

.device-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.device-content {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #0f172a;
}

.device-btn {
    width: 60px;
    height: 60px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.device-link:hover .device-btn {
    background: #2563eb;
}

.device-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.device-label {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.3;
}

.device-title {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}

/* Search Cutout Box with Smooth Inverted Curves */
.search-cutout {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    padding: 35px 60px 35px 70px;
    border-top-left-radius: 40px;
    z-index: 20;
}

/* New Stats Grid */
.hero-stats-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Quicksand', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.4;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .hero-stats-grid { gap: 30px; }
    .stat-number { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .search-cutout {
        position: relative;
        padding: 30px 20px;
        border-radius: 0;
        width: 100%;
    }
    .search-cutout::before,
    .search-cutout::after { display: none; }
    .hero-stats-grid { 
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    .stat-item { text-align: center; }
}

/* Product Nav */
.product-nav {
    padding: 80px 0 0 0;
    background: #fff;
    text-align: center;
}

.nav-section h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 40px;
}

.nav-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.nav-item {
    width: 130px;
    transition: var(--transition);
}

.nav-item:hover {
    transform: translateY(-5px);
}

.nav-item .icon {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.6rem;
    overflow: hidden; /* Ensure image clips at corners */
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.nav-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.nav-item p {
    font-weight: 500;
    font-size: 0.85rem;
    color: #64748b;
}

/* Solution Sections Refined */
.solution-section {
    padding: 100px 0;
    border-bottom: 2px solid #f1f5f9;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: center;
    overflow: hidden; /* Prevent grid from pushing outside */
}

/* Ensure the second column doesn't expand the grid */
.solution-grid > div:nth-child(2) {
    min-width: 0;
}

.solution-info h2 {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #000;
    line-height: 1.1;
}

.solution-info p {
    font-size: 1.05rem;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.solution-btns {
    display: flex;
    gap: 20px;
}

.btn-black {
    background: #000;
    color: #fff !important;
    padding: 16px 35px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-blue-icon {
    background: #1d4ed8;
    color: #fff !important;
    padding: 16px 35px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.solution-gallery-wrapper {
    width: 100%;
    position: relative;
}

.solution-gallery {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 20px 0 40px;
    scrollbar-width: none;
}

.solution-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 320px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 5;
}

.gallery-label {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    padding: 15px 35px;
    border-top-left-radius: 24px;
    font-weight: 600;
    font-size: 1rem;
    color: #111827;
    box-shadow: -5px -5px 20px rgba(0,0,0,0.05);
}

.gallery-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

/* Values Section */
.values-section {
    padding: 120px 0;
    background-color: #f8fafc;
    background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 30px 30px; /* Dotted background */
}

.values-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: start;
}

.values-header h2 {
    font-size: 2.8rem;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.2;
    max-width: 500px;
}

.values-header p {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 450px;
    padding-top: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.value-item {
    text-align: center;
}

.value-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glowing rings effect */
.icon-circle {
    width: 70px;
    height: 70px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.value-icon-wrapper::before,
.value-icon-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: var(--transition);
}

.value-icon-wrapper::before {
    width: 95px;
    height: 95px;
    background: rgba(37, 99, 235, 0.05);
}

.value-icon-wrapper::after {
    width: 120px;
    height: 120px;
    background: rgba(37, 99, 235, 0.03);
}

.value-item:hover .value-icon-wrapper::after {
    transform: scale(1.1);
    background: rgba(37, 99, 235, 0.08);
}

.value-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 15px;
}

.value-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .values-header { grid-template-columns: 1fr; gap: 20px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 40px; }
}

@media (max-width: 500px) {
    .values-grid { grid-template-columns: 1fr; }
}

/* Redesigned Footer */
footer {
    background: #0A1244; /* Very dark navy/black */
    color: white;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.footer-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
}

.footer-logo img {
    height: 45px;
}

.footer-pills {
    display: flex;
    gap: 12px;
}

.footer-pills a {
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-pills a:hover {
    background: white;
    color: #020617;
}

.footer-main-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    margin-bottom: 100px;
}

.footer-slogan {
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 80px;
    color: #fff;
}

.footer-newsletter-card {
    background: rgba(15, 23, 42, 0.4);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 600px;
}

.footer-newsletter-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-newsletter-card p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 6px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    outline: none;
    font-size: 1rem;
}

.newsletter-form button {
    background: white;
    color: #020617;
    border: none;
    padding: 12px 35px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #e2e8f0;
}

.footer-right-col {
    padding-top: 20px;
}

.contact-group {
    margin-bottom: 45px;
}

.contact-group label {
    display: block;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.contact-group p {
    color: #cbd5e1;
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 350px;
}

.footer-bottom-row {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.back-to-top {
    width: 60px;
    height: 60px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
}

.back-to-top:hover {
    border-color: white;
    transform: translateY(-5px);
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-slogan { font-size: 3.5rem; }
}

@media (max-width: 992px) {
    .footer-nav-row { flex-direction: column; gap: 40px; text-align: center; }
    .footer-pills { flex-wrap: wrap; justify-content: center; }
    .footer-main-row { grid-template-columns: 1fr; gap: 60px; }
    .footer-left-col { order: 1; }
    .footer-right-col { order: 2; }
    .footer-slogan { font-size: 3rem; margin-bottom: 40px; }
}

@media (max-width: 600px) {
    .footer-bottom-row { flex-direction: column; gap: 30px; text-align: center; }
    
    .footer-pills {
        gap: 8px;
    }
    
    .footer-pills a {
        flex: 1 1 calc(50% - 10px);
        padding: 8px 12px;
        font-size: 0.8rem;
        text-align: center;
    }
}

/* Product Detail Page Styles */
.product-detail-page {
    padding: 60px 0;
    background: #fff;
}

.product-tabs {
    display: flex;
    background: #f1f7ff;
    padding: 4px;
    border-radius: 100px;
    margin-bottom: 40px;
    gap: 0;
    width: 100%; /* Expand to full width */
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none; /* IE and Edge */
}

.product-tabs::-webkit-scrollbar {
    display: none;
}

.product-tabs a {
    flex: 1; /* Make links expand evenly */
    text-align: center;
    padding: 8px 20px;
    text-decoration: none;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text breaking */
}

.product-tabs a.active {
    background: #fff;
    color: #1e293b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tab-content {
    margin-bottom: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.specs-table {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.specs-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-bottom: 1px solid #f1f5f9;
}

.specs-row:last-child {
    border-bottom: none;
}

.specs-label {
    background: #f1f7ff;
    padding: 20px 25px;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.specs-content {
    padding: 20px 25px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
}

/* Applications Tab Styles */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.app-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 30px;
    border-radius: 12px;
}

.app-card h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 600;
}

.app-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.app-card ul {
    list-style: none;
    padding: 0;
}

.app-card ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.4;
}

.app-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Downloads Tab Styles */
.download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #fff;
    border: 1.5px solid #4da6ff;
    border-radius: 12px;
}

.download-main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.doc-icon {
    width: 48px;
    height: 48px;
    background: #e1f0ff;
    color: #2563eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-info h3 {
    font-size: 1.15rem;
    color: #1e3a8a;
    font-weight: 600;
}

.doc-meta {
    flex: 1;
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
}

.doc-action {
    flex: 0 0 auto;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #2563eb;
    color: #fff;
}

/* Reusable Checkmark List Style */
.checkmark-list {
    list-style: none;
    padding: 0;
}

.checkmark-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 25px;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.5;
}

.checkmark-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.benefits-summary {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #f1f5f9;
}

.benefits-summary p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-info {
    font-weight: 500;
    color: #1e293b !important;
}

.contact-info a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.product-main-container {
    display: grid;
    grid-template-columns: 1fr 3fr; /* 1/4 gallery, 3/4 info split */
    gap: 60px; /* Increased gap slightly for better breathing room in wider layout */
    margin-bottom: 100px;
    align-items: start;
}

.main-image-card {
    background: #fff;
    border-radius: 30px; /* Larger radius as seen in design */
    padding: 30px;
    margin-bottom: 25px;
    border: 1.5px solid #e2e8f0; /* Visible boxed border */
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-image-card img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures image fills the box without distortion or cropping */
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns as in design */
    gap: 15px;
}

.thumb {
    aspect-ratio: 1 / 1; /* Square thumbnails */
    background: #fff;
    border-radius: 15px;
    padding: 10px;
    cursor: pointer;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb.active {
    border-color: #2563eb;
}

.product-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1e3a8a; /* Deep blue title */
    line-height: 1.2;
}

.product-description {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 40px;
}

.product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 600px; /* Fixed height for scrolling */
    overflow-y: auto;
    padding-right: 15px; /* Space for scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

.feature-list::-webkit-scrollbar {
    width: 6px;
}

.feature-list::-webkit-scrollbar-track {
    background: transparent;
}

.feature-list::-webkit-scrollbar-thumb {
    background-color: #e2e8f0;
    border-radius: 20px;
}

.feature-card {
    background: #f8fbff;
    padding: 25px 35px;
    border-radius: 12px;
    border: 1px solid #e2eefc;
}

.feature-card h4 {
    color: #2563eb;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 0.95rem;
}

.feature-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.related-products {
    padding: 100px 0;
    background: #fff;
}

.related-header {
    text-align: center;
    margin-bottom: 80px;
}

.featured-badge {
    display: inline-block;
    padding: 6px 20px;
    background: #f1f7ff;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 25px;
    border: 1px solid #e2efff;
}

.featured-badge span {
    color: #2563eb;
}

.related-header h2 {
    font-size: 3.2rem;
    line-height: 1.1;
    color: #1e3a8a;
    font-weight: 500;
}

.related-header h2 span {
    color: #94a3b8; /* Matching the greyed out text in design */
}

.related-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.related-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 30px 10px; /* Reduced vertical padding */
}

.related-slider::-webkit-scrollbar {
    display: none;
}

.related-item {
    flex: 0 0 320px; /* Correct card width */
}

.related-card {
    display: block;
    text-decoration: none;
    position: relative;
    height: 320px; /* Reduced height to remove extra space */
}

.related-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    /* This creates the exact folder shape with rounded corner cutout */
    mask-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10C0 4.47715 4.47715 0 10 0H65C68.9782 0 71 2.02175 73 5C75 7.97825 78 8 82 8H90C95.5228 8 100 12.4772 100 18V90C100 95.5228 95.5228 100 90 100H10C4.47715 100 0 95.5228 0 90V10Z' fill='black'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10C0 4.47715 4.47715 0 10 0H65C68.9782 0 71 2.02175 73 5C75 7.97825 78 8 82 8H90C95.5228 8 100 12.4772 100 18V90C100 95.5228 95.5228 100 90 100H10C4.47715 100 0 95.5228 0 90V10Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.related-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill the card completely */
    padding: 0; /* Remove extra space */
    transition: transform 0.6s ease;
}

.related-card:hover img {
    transform: scale(1.08);
}

.action-btn {
    position: absolute;
    top: 35px; 
    right: 25px;
    width: 55px;
    height: 55px;
    background: #6b7280; /* Neutral dark circle as in design */
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 5;
    transition: all 0.3s ease;
}

.related-card:hover .action-btn {
    background: #2563eb;
    transform: scale(1.1);
}

.related-label-box {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;
    padding: 20px 30px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* Soft shadow as in design */
    border: 1px solid #f1f5f9;
    min-width: 260px;
    z-index: 10;
    transition: transform 0.4s ease;
}

.related-label-box small {
    display: block;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.related-label-box h5 {
    font-size: 1.4rem;
    color: #1e293b;
    font-weight: 600;
    margin: 0;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.slider-nav:hover {
    background: #1d4ed8;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev { left: -30px; }
.slider-nav.next { right: -30px; }

@media (max-width: 1400px) {
    .slider-nav.prev { left: 10px; }
    .slider-nav.next { right: 10px; }
}

@media (max-width: 768px) {
    .related-item { flex: 0 0 300px; }
    .related-card { height: 320px; }
    .related-label-box { min-width: 240px; padding: 15px 25px; }
    .related-header h2 { font-size: 2rem; }
}

@media (max-width: 992px) {
    .product-main-container { grid-template-columns: 1fr; }
    .product-tabs { overflow-x: auto; }
    .product-tabs a { flex: 0 0 auto; }
}

/* Product Detail Page Styles */
@media (max-width: 1200px) {
    .container { padding: 0 20px; }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-device { width: 320px; }
}

@media (max-width: 992px) {
    .hero-device { display: none; }
    .hero-content { padding-left: 40px; }
    .solution-grid { grid-template-columns: 1fr; }
}

/* About Us Page Styles */
.about-hero {
    padding: 120px 0 80px;
    background: #f8fafc;
    text-align: center;
}

.about-hero h1 {
    font-size: 4rem;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.about-story {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    color: #1e3a8a;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.mission-vision {
    padding: 100px 0;
    background: #fff;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    padding: 60px;
    border-radius: 40px;
    background: #f1f7ff;
    transition: var(--transition);
}

.mv-card.vision {
    background: #1e3a8a;
    color: #fff;
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mv-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .about-grid, .mv-grid { grid-template-columns: 1fr; }
    .about-hero h1 { font-size: 3rem; }
}

/* Header & Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100001;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        height: -webkit-fill-available;
        background: #fff;
        z-index: 100000;
        padding: 80px 20px 40px;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        display: block !important; /* Ensure it stays visible when active */
    }

    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
        touch-action: none; /* Prevent scroll-through */
    }

    .nav-menu-wrapper.active {
        right: 0 !important;
    }

    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 25px;
        padding-bottom: 50px;
        width: 100%;
        margin: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 10px 0;
        -webkit-tap-highlight-color: transparent;
    }

    .header-actions {
        display: none; /* Hide contact btn on mobile header */
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Home Page Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .container-fluid {
        padding: 0 10px; /* Reduced from 40px */
    }

    .hero-section {
        padding: 10px 0; /* Reduced from 20px */
    }

    /* Hero Section */
    .hero-inner {
        height: auto;
        min-height: 400px; /* Reduced slightly */
        padding: 60px 15px 40px; /* Reduced internal padding */
        border-radius: 24px;
        margin: 0; /* Removed margin to use container space */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-device {
        display: none; /* Hide floating device frame on small mobile */
    }

    .hero-content {
        padding: 0;
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 2.8rem; /* Slightly larger for impact */
        line-height: 1.1;
        text-shadow: 0 4px 15px rgba(0,0,0,0.4);
        margin-bottom: 30px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-btns .btn-blue-v3,
    .hero-btns .btn-outline-v3 {
        width: 100%;
        padding: 14px 25px;
        font-size: 1rem;
    }

    .hero-bg img {
        opacity: 0.6; /* Balanced darkness for contrast */
    }

    .search-cutout {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 40px;
        background: transparent;
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .stat-number {
        color: #fff !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .stat-label {
        color: rgba(255,255,255,0.7) !important;
    }

    .search-cutout::before, .search-cutout::after {
        display: none;
    }

    .search-box {
        width: 100%;
        background: #fff; /* Solid white background for search on mobile */
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .search-box input {
        color: #1e293b;
    }

    /* Product Nav */
    .product-nav {
        padding: 60px 0;
    }

    .nav-grid {
        gap: 20px;
    }

    .nav-item {
        width: calc(50% - 10px);
    }

    /* Solution Sections */
    .solution-section {
        padding: 60px 0;
    }

    .solution-info h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .solution-info p {
        font-size: 0.95rem;
    }

    .solution-btns {
        flex-direction: column;
    }

    .btn-black, .btn-blue-icon {
        width: 100%;
        justify-content: center;
    }

    .gallery-item {
        flex: 0 0 280px;
    }

    .gallery-image {
        height: 220px;
    }

    .values-header h2 {
        font-size: 2.2rem;
    }

    /* Reduce vertical padding for sections on mobile */
    .about-v3-section,
    .featured-products-v3,
    .news-section-v3,
    .newsletter-v3-section,
    .dist-products-section,
    .mfg-products-section,
    .solution-section,
    .values-section,
    .cta-section-v3,
    .about-hero,
    .about-story,
    .mission-vision,
    .related-products,
    .product-nav,
    .contact-hero,
    .contact-main,
    .solution-grid-section,
    .experience-section,
    .clients-section {
        padding: 40px 0 !important;
    }

    .about-story {
        padding-top: 10px !important; /* Especially tight since about-hero is right above it */
    }

    /* Standardize header spacing on mobile */
    .dist-section-title,
    .related-header {
        margin-bottom: 30px !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-inner {
        min-height: 380px;
        padding: 60px 15px 30px;
    }
    
    .search-box {
        padding: 6px 12px 6px 20px;
    }
}

/* Distribution & Manufacturing Products Section */
.dist-products-section,
.mfg-products-section {
    padding: 80px 0;
    background: #fff;
}

.dist-section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 50px;
    font-weight: 600;
}

/* Category Nav with Icons */
.dist-cats-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.dist-cat-item {
    text-align: center;
    width: 130px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.dist-cat-item:hover {
    transform: translateY(-5px);
}

.dist-cat-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    background: #f3f4f6;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dist-cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dist-cat-item p {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.3;
}

/* Filters Bar */
.dist-filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 40px;
}

.dist-filter-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-pill {
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    color: #4b5563;
}

.filter-pill.active {
    background: #2563eb;
    color: #fff;
}

.dist-sort-dropdown select {
    padding: 10px 40px 10px 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 0.9rem;
    background: #fff;
    color: #111827;
    cursor: pointer;
    outline: none;
}

/* Products Grid */
.dist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 40px;
}

.dist-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.dist-card-img {
    height: 250px;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
}

.dist-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dist-card-content {
    padding: 25px 20px;
}

.dist-card-content h4 {
    font-size: 0.95rem;
    color: #111827;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-quote {
    background: #0099cc;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

@media only screen and (max-width: 1200px) {
    .dist-grid { grid-template-columns: repeat(3, 1fr); padding: 0 20px; }
}

@media only screen and (max-width: 900px) {
    .dist-grid { grid-template-columns: repeat(2, 1fr); }
    .dist-filters-bar { 
        flex-direction: column; 
        gap: 20px; 
        align-items: center; 
        padding: 0 20px;
        text-align: center;
    }
    .dist-filter-btns {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 600px) {
    .dist-grid { grid-template-columns: 1fr; gap: 20px; }
    .dist-section-title { font-size: 2.2rem; margin-bottom: 30px; }
    .dist-cats-nav { 
        gap: 15px; 
        padding: 0 10px;
        justify-content: center;
    }
    .dist-cat-item { width: calc(50% - 15px); }
    .dist-cat-icon { width: 55px; height: 55px; }
    .filter-pill { padding: 8px 16px; font-size: 0.8rem; }
    .dist-sort-dropdown { width: 100%; }
    .dist-sort-dropdown select { width: 100%; }
}

/* Responsive Product Details & Misc */
@media (max-width: 992px) {
    .product-main-container {
        display: block !important;
        margin-bottom: 40px !important;
    }

    .product-gallery, .product-info-content {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 0 30px 0 !important;
    }

    .main-image-card {
        max-width: 100% !important;
        width: 100% !important;
        height: auto;
        aspect-ratio: auto !important;
        min-height: 200px !important;
        border-radius: 20px;
        padding: 10px !important;
        margin-bottom: 20px;
        background: radial-gradient(circle, #ffffff 0%, #f1f7ff 100%) !important;
    }

    .main-image-card img {
        height: auto !important;
        max-height: 350px !important;
        width: 100% !important;
        object-fit: contain;
    }

    .thumbnail-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)) !important;
        gap: 8px !important;
        margin-bottom: 30px;
    }

    .thumb {
        padding: 5px;
        border-radius: 10px;
        width: 100% !important;
    }
    
    .product-info-content {
        width: 100% !important;
        padding: 0;
    }

    .product-title {
        font-size: 2rem;
        margin-bottom: 20px;
        text-align: left;
    }

    .product-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .product-tabs {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 5px 0 !important;
        margin-bottom: 20px !important;
        gap: 10px !important;
        scrollbar-width: none;
    }

    .product-tabs::-webkit-scrollbar { display: none; }

    .product-tabs a {
        flex: 0 0 auto !important;
        padding: 8px 15px !important;
        font-size: 0.85rem !important;
    }

    .product-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .product-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .feature-list {
        max-height: none; /* Disable scrolling on mobile */
        overflow-y: visible;
        padding-right: 0;
    }

    .feature-card {
        padding: 20px;
    }

    .specs-row {
        grid-template-columns: 1fr;
    }

    .specs-label {
        background: #f8fbff;
        padding: 12px 20px;
    }

    .specs-content {
        padding: 12px 20px;
    }

    .applications-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .related-products {
        padding: 60px 0;
    }

    .related-header {
        margin-bottom: 40px;
        text-align: left;
    }

    .related-header h2 {
        font-size: 2.2rem;
    }

    .related-slider-container {
        padding: 0 15px !important;
    }

    .related-slider {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 15px !important;
        padding: 10px 0 40px !important;
    }

    .related-item {
        flex: 0 0 260px !important;
    }

    .slider-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }

    .container, .container-fluid {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .product-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .product-actions {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .product-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .related-header h2 {
        font-size: 1.8rem;
    }

    .related-slider {
        grid-template-columns: 1fr;
    }

    .footer-slogan {
        font-size: 2rem;
        line-height: normal;
        margin-bottom: 30px;
    }

    .footer-newsletter-card {
        padding: 30px 20px;
        text-align: center;
    }

    .footer-newsletter-card h3 {
        font-size: 1.4rem;
    }

    .newsletter-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 15px;
    }

    .newsletter-form input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        width: 100%;
    }

    .newsletter-form button {
        width: 100%;
        padding: 15px;
    }

    .footer-right-col {
        text-align: center;
    }

    .contact-group p {
        margin: 0 auto;
    }

    .download-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .doc-main {
        flex-direction: column;
    }

    .doc-meta {
        margin: 10px 0;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.4s ease forwards;
}

/* =============================
   About Us Section V3
============================= */
.about-us-v3 {
    padding: 120px 0;
    overflow: hidden;
    background: #fff;
}

.about-v3-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-badge {
    display: inline-block;
    padding: 8px 18px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 30px;
}

.about-title .title-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-title .h1 {
    font-size: 3.8rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.1;
    margin: 0;
}

.title-icon {
    width: 140px;
    height: 80px;
    background: #f8fafc;
    border-radius: 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.title-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-description {
    margin: 40px 0;
    max-width: 540px;
}

.about-description p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #64748b;
}

.btn-v3-primary {
    display: inline-block;
    padding: 18px 45px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.btn-v3-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
    color: #fff;
}

/* Image Composition */
.about-v3-images {
    position: relative;
    padding-left: 40px;
}

.main-image-frame {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.main-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.secondary-image-frame {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 260px;
    height: 190px;
    border-radius: 20px;
    border: 8px solid #fff;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    z-index: 10;
}

.secondary-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 1200px) {
    .about-title .h1 { font-size: 3rem; }
    .about-v3-grid { gap: 40px; }
}

@media (max-width: 991px) {
    .about-v3-grid { grid-template-columns: 1fr; gap: 80px; text-align: center; }
    .about-title .title-row { justify-content: center; }
    .about-description { margin: 40px auto; }
    .main-image-frame { margin: 0 auto; }
    .secondary-image-frame { left: 0; }
}

@media only screen and (max-width: 768px) {
    .about-us-v3 { padding: 60px 0; }
    .about-title .h1 { font-size: 2rem; }
    .title-icon { display: none; }
    .main-image-frame { 
        height: auto; 
        max-width: 280px; 
        margin: 0 auto; 
        aspect-ratio: 1/1; 
        border-radius: 20px;
        clip-path: none; /* Removing complex clip-path on mobile for better fit */
    }
    .about-v3-images { padding-left: 0; }
    .about-description { margin: 25px auto; }
    .about-description p { font-size: 1rem; }
}

/* =============================
   Featured Products V3
============================= */
.featured-products-v3 {
    padding: 120px 0;
    background: #fff;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.section-header-v3 {
    margin-bottom: 60px;
    text-align: center;
}

.text-center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    padding: 8px 18px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-header-v3 .h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-header-v3 p {
    color: #64748b;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Main Filter Tabs */
.main-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.main-filter-btn {
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #64748b;
    letter-spacing: 1px;
}

.main-filter-btn.active {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* Container Grid */
.featured-grid-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    min-height: 500px;
}

.featured-sidebar,
.featured-main-content {
    min-width: 0; /* Crucial for grid-layout flex/slider containment */
}

/* Sidebar */
.sub-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-cat-item {
    padding: 15px 25px;
    border-radius: 12px;
    color: #64748b;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    border: 1px solid transparent;
}

.sub-cat-item.category-parent {
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
    margin-bottom: 5px;
}

.sub-cat-item.category-child {
    padding-left: 45px;
    font-size: 0.95rem;
}

.sub-cat-item:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.sub-cat-item.active {
    background: #2563eb !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Main Content & Slider */
.featured-main-content {
    position: relative;
    /* Removed overflow: hidden to prevent clipping of arrows */
}

.slider-wrapper {
    position: relative;
    padding: 0 45px; /* Increased padding to make room for arrows */
}

.product-slider-inner {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 20px 0 40px;
    scroll-behavior: smooth;
    min-height: 400px;
}

.product-slider-inner::-webkit-scrollbar {
    display: none;
}

/* Adjust card size within slider */
.product-slider-inner .dist-card {
    flex: 0 0 350px;
    margin: 0;
}

/* Slider Nav */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.slider-nav:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.slider-nav.prev { left: 0; }
.slider-nav.next { right: 0; }

/* Skeleton Loaders */
.sidebar-skeleton .skeleton-item {
    height: 60px;
    background: #f1f5f9;
    border-radius: 12px;
    margin-bottom: 15px;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading-state {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-grid-layout { grid-template-columns: 250px 1fr; gap: 30px; }
    .section-header-v3 .h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .featured-grid-layout { grid-template-columns: 1fr; }
    .featured-sidebar { overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; margin-bottom: 20px; }
    .sub-cat-list { display: flex; gap: 10px; }
    .sub-cat-item { white-space: nowrap; flex-shrink: 0; margin-bottom: 0; padding: 10px 20px; font-size: 0.95rem; }
    .product-slider-inner .dist-card { flex: 0 0 280px; }
    .main-filter-btn { padding: 12px 25px; font-size: 0.9rem; }
    .slider-nav { width: 35px; height: 35px; font-size: 0.9rem; }
}


/* =============================
   Why Choose Us V3
============================= */
.why-choose-us-v3 {
    background: #050b24; /* Very dark navy */
    padding: 100px 0;
    color: #fff;
}

.why-choose-header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: flex-end;
    margin-bottom: 80px;
}

.why-badge {
    display: inline-block;
    padding: 10px 25px;
    background: #fff;
    color: #1e293b;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.why-badge span {
    color: #2563eb;
}

.why-choose-left .h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

.why-choose-right p {
    color: #94a3b8;
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0;
}

/* Features Grid */
.why-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 60px;
}

.why-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
}

/* Vertical separator for middle item */
.why-feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.why-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #4da6ff;
    flex-shrink: 0;
}

.eu-badge {
    width: 60px;
    height: 60px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
}

.eu-badge span {
    font-size: 0.45rem;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.why-text-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.why-text-box p {
    color: #94a3b8;
    font-size: 1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .why-choose-header { grid-template-columns: 1fr; gap: 30px; }
    .why-features-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-feature-item::after { display: none; }
}

@media (max-width: 768px) {
    .why-choose-left .h1 { font-size: 2.2rem; }
    .why-choose-right p { font-size: 1.1rem; }
    .why-choose-us-v3 { padding: 60px 0; }
}

/* =============================
   Features Section V3
============================= */
.features-section-v3 {
    padding: 20px 0;
    background: #fff;
}

.features-v3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-v3-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.feature-v3-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.08);
    border-color: #2563eb;
}

.feature-v3-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.icon-blue-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.feature-v3-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.feature-v3-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-v3-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-v3-grid {
        grid-template-columns: 1fr;
    }
    .feature-v3-card {
        padding: 40px 30px;
    }
    .features-section-v3 {
        padding: 60px 0;
    }
}

/* =============================
   Products Highlight V3
============================= */
.products-highlight-v3 {
    padding: 100px 0;
    background: #fff;
}

.highlight-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.highlight-card {
    position: relative;
    padding-bottom: 40px; /* Space for the overlapping info card */
}

.highlight-image-wrapper {
    position: relative;
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.highlight-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.highlight-card:hover .highlight-image-wrapper img {
    transform: scale(1.05);
}

.view-icon-circle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.highlight-card:hover .view-icon-circle {
    opacity: 1;
    transform: scale(1.1);
}

.highlight-info-card {
    position: absolute;
    bottom: 0;
    left: 20px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 0 15px 0 0;
    box-shadow: 10px -10px 40px rgba(0,0,0,0.05);
    min-width: 200px;
    z-index: 5;
}

.highlight-label {
    display: block;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.highlight-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Responsive Highlights */
@media (max-width: 1200px) {
    .highlight-products-grid { grid-template-columns: repeat(2, 1fr); }
    .highlight-info-card { min-width: 180px; }
}

@media (max-width: 768px) {
    .highlight-products-grid { grid-template-columns: 1fr; }
    .products-highlight-v3 { padding: 60px 0; }
    .highlight-image-wrapper { height: 300px; }
}

/* =============================
   Clients Section V3
============================= */
.clients-section-v3 {
    padding: 50px 0;
    background: #fafafa;
    overflow: hidden;
}

.clients-header-v3 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: flex-end;
    margin-bottom: 80px;
}

.section-badge.no-center {
    margin-left: 0;
}

.clients-title-box .h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.clients-title-box .muted-text {
    color: #cbd5e1;
    font-weight: 400;
}

.clients-text-box p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Clients Logos */
.clients-logos-wrapper {
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.clients-logos-track {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 20px 0;
    width: max-content;
    animation: scroll-logos 40s linear infinite;
}

.clients-logos-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

.clients-logos-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.client-logo-item {
    flex: 0 0 auto;
}

.logo-circle {
    width: 130px;
    height: 130px;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    text-align: center;
}

.logo-circle:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-circle:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .clients-header-v3 { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .clients-title-box .h1 { font-size: 2.2rem; }
    .logo-circle { width: 100px; height: 100px; padding: 20px; }
    .clients-section-v3 { padding: 60px 0; }
}

/* =============================
   News & Blogs V3
============================= */
.news-section-v3 {
    padding: 100px 0;
    background: #f8fafc;
}

.news-grid-v3 {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Featured Horizontal Card */
.featured-news-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}

.featured-news-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.featured-news-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.featured-news-image {
    height: 450px;
    overflow: hidden;
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-news-card:hover .featured-news-image img {
    transform: scale(1.05);
}

.featured-news-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.post-date { color: #94a3b8; }
.post-cat { color: #2563eb; margin-left: 15px; }
.post-cat a { color: inherit; text-decoration: none; }

.featured-news-content h3 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.featured-news-content h3 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.featured-news-content h3 a:hover { color: #2563eb; }

.post-excerpt {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    gap: 15px;
}

/* Sub Grid */
.sub-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card-v3 {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
}

.news-card-v3:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.news-card-image {
    height: 220px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    padding: 30px;
}

.news-card-content h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 700;
}

.news-card-content h4 a {
    color: #1e293b;
    text-decoration: none;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.news-card-v3:hover .card-link {
    color: #2563eb;
    gap: 12px;
}

/* Responsive News */
@media (max-width: 1024px) {
    .featured-news-inner { grid-template-columns: 1fr; }
    .featured-news-image { height: 350px; }
    .featured-news-content { padding: 40px; }
    .sub-news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sub-news-grid { grid-template-columns: 1fr; }
    .featured-news-content h3 { font-size: 1.6rem; }
    .news-section-v3 { padding: 60px 0; }
}

/* =============================
   FAQ Section V3
============================= */
.faq-section-v3 {
    padding: 50px 0;
    background: #fff;
}

.faq-container-v3 {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #f1f5f9;
    background: #fff;
    border-radius: 4px;
}

.faq-item-v3 {
    border-bottom: 1px solid #f1f5f9;
}

.faq-item-v3:last-child {
    border-bottom: none;
}

.faq-question-v3 {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.faq-question-v3:hover {
    background: #fbfcfd;
}

.faq-icon {
    font-size: 0.8rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.faq-item-v3.active .faq-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

.faq-text {
    font-size: 1.15rem;
    color: #64748b;
    font-weight: 500;
}

.faq-item-v3.active .faq-text {
    color: #1e293b;
}

.faq-answer-v3 {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item-v3.active .faq-answer-v3 {
    max-height: 500px; /* Adjust as needed */
}

.faq-answer-inner {
    padding: 0 30px 30px 70px; /* Aligns with question text */
}

.faq-answer-inner p {
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    font-size: 1.05rem;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section-v3 { padding: 60px 0; }
    .faq-question-v3 { padding: 20px; gap: 15px; }
    .faq-answer-inner { padding: 0 20px 20px 55px; }
    .faq-text { font-size: 1.05rem; }
}

/* =============================
   About Detailed Section V2
============================= */
.about-detailed-v3 {
    padding: 120px 0;
    background: #fff;
}

.about-detailed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Image Composition */
.about-detailed-images {
    position: relative;
    padding-bottom: 60px;
}

.detailed-main-frame {
    position: relative;
    width: 90%;
    margin-left: auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.detailed-main-frame img {
    width: 100%;
    display: block;
}

.experience-card {
    position: absolute;
    top: 10px;
    left: -40px;
    background: #fff;
    padding: 25px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    text-align: center;
    z-index: 5;
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 5px;
}

.exp-text {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

.detailed-sub-frame {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 250px;
    height: 250px;
    border-radius: 25px;
    border: 10px solid #fff;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 2;
}

.detailed-sub-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Side */
.sub-badge {
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 20px;
    display: block;
}

.detailed-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.detailed-desc {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 40px;
}

.detailed-features {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detailed-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: #1e293b;
    font-size: 1.05rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.detailed-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1e1bff; /* Same bright blue as design */
    color: #fff !important;
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(30, 27, 255, 0.2);
}

.detailed-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30, 27, 255, 0.3);
}

/* Responsive Detailed About */
@media (max-width: 1200px) {
    .detailed-title { font-size: 3rem; }
    .about-detailed-grid { gap: 50px; }
}

@media (max-width: 991px) {
    .about-detailed-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .about-detailed-images { max-width: 500px; margin: 0 auto 30px; overflow: visible; }
    .detailed-features { justify-items: center; text-align: left; max-width: 400px; margin: 0 auto 40px; }
    .detailed-main-frame { width: 100%; margin: 0; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
    .detailed-title br { display: none; }
}

@media (max-width: 768px) {
    .about-detailed-v3 { padding: 40px 0; overflow-x: hidden; }
    .about-detailed-v3 .container { padding: 0 15px; }
    .about-detailed-grid { display: block !important; text-align: center; }
    .detailed-title { font-size: 1.6rem; line-height: 1.2; padding: 0; margin-bottom: 20px; word-wrap: break-word; }
    .detailed-desc { padding: 0; font-size: 0.95rem; margin-bottom: 25px; }
    .detailed-features { grid-template-columns: 1fr; text-align: left; padding: 0; margin: 0 auto 25px; max-width: 280px; gap: 12px; }
    .detailed-features li { font-size: 0.95rem; }
    
    .about-detailed-images { 
        width: 100% !important;
        max-width: 280px !important; 
        margin: 0 auto 30px !important; 
        padding-bottom: 0 !important;
    }
    .detailed-main-frame { 
        width: 100% !important;
        margin: 0 !important;
        border-radius: 12px !important; 
    }
    .experience-card { 
        position: relative !important;
        top: -10px !important;
        left: 0 !important;
        transform: none !important;
        margin: 0 auto 10px !important;
        width: 150px !important;
        padding: 10px !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06) !important;
        display: inline-block;
    }
    .exp-number { font-size: 1.5rem; }
    .exp-text { font-size: 0.75rem; }
    .about-detailed-images img { width: 100% !important; height: auto !important; border-radius: 12px !important; display: block; }
}

.hero-subtext {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin-top: -10px;
    margin-bottom: 0;
    max-width: 600px;
}

@media (max-width: 768px) {
    .hero-subtext {
        font-size: 1.05rem;
        margin-top: 5px;
        text-align: center;
    }
}

/* Mission & Values Section */
.mission-values-section {
    padding: 100px 0;
    background: #fff;
}

.mission-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.mission-values-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 25px;
    letter-spacing: -0.01em;
}

.mission-values-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #64748b;
    max-width: 540px;
}

.values-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-check-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.values-check-list li:last-child {
    margin-bottom: 0;
}

.check-icon {
    color: #0f172a;
    font-size: 1.25rem;
    margin-top: 3px;
}

.value-item-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #64748b;
}

.value-item-content strong {
    color: #0f172a;
    font-weight: 600;
}

@media (max-width: 992px) {
    .mission-values-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .mission-values-section {
        padding: 80px 0;
    }
}

/* Dropdown Menu Styles */
.main-navigation ul li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-navigation ul li:hover > .sub-menu,
.sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 3rd Level and Deeper (Desktop) */
@media only screen and (min-width: 993px) {
    .sub-menu .sub-menu {
        top: 0;
        left: 100%;
        margin-top: -15px; /* Alignment with parent item */
        margin-left: 2px;
    }
}

.sub-menu li {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

.sub-menu li a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 25px !important;
    font-size: 0.95rem;
    color: #64748b !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-weight: 500;
}

.sub-menu li a::after {
    display: none !important;
}

.sub-menu li a:hover {
    background: #f8fafc;
    color: #3b82f6 !important;
    padding-left: 30px !important;
}

@media only screen and (max-width: 992px) {
    .main-navigation ul li .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 5px 0 5px 20px;
        display: none;
        min-width: 100%;
        background: transparent;
    }

    .sub-menu .sub-menu {
        padding-left: 15px; /* Deep indentation for nested categories */
        margin: 0;
    }
    
    .sub-menu li a {
        padding: 10px 0 !important;
    }
    
    .main-navigation ul li.active-dropdown > a {
        color: #3b82f6 !important;
    }
    
    .main-navigation ul li.active-dropdown > a i {
        transform: rotate(180deg);
    }
    
    .main-navigation ul li a i {
        transition: transform 0.3s ease;
    }
}

/* Skeleton Loader */
@keyframes skeleton-loading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.product-skeleton-card {
    min-width: 320px;
    height: 400px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.skeleton-image { 
    height: 200px; 
    width: 100%; 
    border-radius: 12px; 
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-title { 
    height: 24px; 
    width: 70%; 
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-text { 
    height: 16px; 
    width: 100%; 
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-button { 
    height: 44px; 
    width: 140px; 
    border-radius: 50px; 
    margin-top: auto; 
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.sidebar-skeleton {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.skeleton-item {
    height: 45px;
    width: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* Unified Pagination Styles */
.pagination-wrapper {
    margin-top: 60px;
    text-align: center;
}

.page-numbers {
    list-style: none;
    display: inline-flex;
    gap: 12px;
    padding: 0;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

.page-numbers li {
    display: inline-block;
}

.page-numbers li a, 
.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border-radius: 12px;
    background: #fff;
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.page-numbers li a:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.page-numbers li span.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.page-numbers li a.prev,
.page-numbers li a.next {
    font-size: 0.9rem;
    padding: 0 20px;
}

@media (max-width: 768px) { 
    .page-numbers { gap: 8px; }
    .page-numbers li a, .page-numbers li span { min-width: 40px; height: 40px; font-size: 0.85rem; }
}

/** 
 * UNIFIED MOBILE NAVIGATION FIX 
 * Forced overrides for physical devices
 */
@media screen and (max-width: 992px) {
    .site-header {
        position: fixed !important;
        width: 100% !important;
        z-index: 100000 !important;
    }

    .nav-menu-wrapper {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 400px !important;
        height: 100vh !important;
        height: -webkit-fill-available !important;
        background: #ffffff !important;
        z-index: 100001 !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1) !important;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 80px 20px 60px !important;
    }

    .nav-menu-wrapper.active {
        right: 0 !important;
    }

    .menu-overlay {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.5) !important;
        z-index: 99999 !important;
    }

    /* Mega Menu Mobile Structure Override */
    .mega-menu,
    .menu-item-has-mega-menu > .sub-menu {
        display: none !important;
        position: relative !important;
        width: 100% !important;
        background: #f8fafc !important;
        margin: 10px 0 !important;
        border-radius: 12px !important;
        flex-direction: column !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        min-height: auto !important;
    }

    .active-dropdown .mega-menu,
    .active-dropdown > .sub-menu {
        display: flex !important;
    }

    .mega-sidebar {
        width: 100% !important;
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .mega-sidebar-item {
        background: #fff !important;
        padding: 15px 20px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        color: #1e293b !important;
    }

    .mega-content-area {
        width: 100% !important;
        display: block !important;
        background: #f8fafc !important;
    }

    .mega-content-pane {
        display: none !important;
        background: #fff !important;
        padding: 0 !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .mega-content-pane.active {
        display: flex !important;
    }

    .mega-subcats-col {
        width: 100% !important;
        padding: 5px 0 !important;
        background: #fff !important;
    }

    .mega-subcat-item {
        padding: 12px 25px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        display: block !important;
    }

    .mega-products-wrapper {
        padding: 20px !important;
        background: #f1f5f9 !important;
        width: 100% !important;
    }

    .mega-products-grid {
        display: none !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        width: 100% !important;
    }

    .mega-products-grid.active {
        display: grid !important;
    }

    /* Standard Sub-menu Display */
    .sub-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        background: transparent !important;
        box-shadow: none !important;
        padding-left: 20px !important;
    }

    .active-dropdown > .sub-menu:not(.mega-menu):not(.mega-layout-tabs) {
        display: block !important;
    }

    /* Chevron rotation for mobile */
    .active-dropdown > a i {
        transform: rotate(180deg) !important;
    }
}
