
    body {
        margin: 0;
        font-family: sans-serif;
        background-color: #fff;
    }

    .nav-links {
        display: flex;

    }

    .nav-item {
        position: relative;
    }

    .nav-links a {
        text-decoration: none;
        color: #333;

        padding: 10px 16px;
        border-radius: 8px;
        transition: background 0.3s;
    }

    .nav-links a:hover {
        background-color: #e0e0e0;
    }

    .submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #ffffff;
        border-radius: 12px;
        padding: 20px;
        width: 500px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        z-index: 100;
        max-height: 400px;
        overflow-y: auto;
    }

    .submenu-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .submenu-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px;
        border-radius: 10px;
        position: relative;
        transition: background 0.3s;
    }

    .submenu-item:hover {
        background-color: #f0f0f0;
    }

    .submenu-item img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 10px;
        border: 2px solid #ddd;
    }

    .submenu-item span {
        font-size: 15px;
        font-weight: 500;
        color: #333;
    }

    .nav-item:hover .submenu {
        display: block;
    }

    /* Nested submenu */
    .submenu-item.has-nested:hover .nested-submenu {
        display: block;
    }

    .nested-submenu {
        display: none;
        position: absolute;
        top: 0;
        left: 105%;
        background: #fff;
        padding: 10px;
        width: 200px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        z-index: 101;
    }

    .nested-submenu div {
        padding: 8px 10px;
        font-size: 14px;
        color: #333;
        border-radius: 6px;
        cursor: pointer;
    }

    .nested-submenu div:hover {
        background-color: #f3f3f3;
    }

    .header {
        display: flex;
        gap: 250px;
        align-items: center;
        padding: 15px 50px;
        border-bottom: 1px solid #ccc;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .logo img {
        height: 50px;
        margin-right: 10px;
    }

    .logo span {
        font-size: 24px;
        font-weight: bold;
        color: #333;
    }

    .contact-info {
        display: flex;
        gap: 30px;
    }

    .info-item {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #333;
    }

    .info-item i {
        color: #007bff;
        font-size: 16px;
        margin-right: 8px;
    }

    .nav-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 50px;
    }

    .category-btn {
        background: #007bff;
        color: white;
        padding: 10px;
        border: none;
        margin-left: 60px;
        margin-right: -80px;
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;
        border-radius: 5px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .category-btn i {
        font-size: 18px;
    }

    /* Dropdown Menu */
    .category-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 32px;
        width: 250px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        z-index: 1000;
    }

    /* Category List */
    .category-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .category-item {
        padding: 12px 15px;
        font-size: 16px;
        font-weight: bold;
        color: #333;
        border-bottom: 1px solid #ddd;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .category-item:hover {
        background: #f1f1f1;
    }

    /* Dropdown Submenu */
    .dropdown .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }

    .submenu {
        list-style: none;
        padding-left: 15px;
        display: none;
    }

    .submenu li {
        padding: 10px;
        font-size: 14px;
        border-bottom: 1px solid #ddd;
    }

    .submenu li:hover {
        background: #f9f9f9;
    }

    /* View More */
    .view-more {
        padding: 12px;
        text-align: center;
        color: #007bff;
        font-weight: bold;
        cursor: pointer;
        border-top: 1px solid #ddd;
    }

    .view-more:hover {
        background: #f1f1f1;
    }

    .nav-links {
        display: flex;
        gap: 10%;
        margin-right: 9%;
    }

    .nav-links a {
        text-decoration: none;
        color: #333;
        font-size: 20px;

    }


    .icons {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .icons i {
        font-size: 18px;
        color: #333;
        position: relative;
    }

    .badge {
        position: absolute;
        top: -8px;
        right: -10px;
        background: #007bff;
        color: white;
        font-size: 10px;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        text-align: center;
        line-height: 16px;
        font-weight: bold;
        --bs-badge-padding-y: -0.65em;

    }

    .hamburger {
        display: none;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #333;
    }

    .top-bar {
        display: none;
    }

    
    

    @media(max-width:1238px) {
            .nav-links {
                gap: 5%;
                margin-right: 2%;
            }

        }

        @media(max-width:1115px) {
            .nav-links {
                gap: 0%;
                margin-right: -10%;
            }
        }

        @media(max-width:2000px) {
            .jbh-main-header {
                display: none;
            }
        }


        @media (max-width: 1024px) {
            .nav-links {
                gap: 0%;
                margin-right: -9%;
            }

        }


        @media (max-width: 997px) {
            .header {
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
                padding: 15px 20px;
                display: none;
            }

            .info-item {
                display: none;
            }

            .icons {
                display: none;
            }

            .logo {
                display: flex;

            }

            .logo img {
                height: 40px;
                margin-right: 10px;
                margin-top: 10%;
            }

            .contact-info {
                flex-direction: column;
                gap: 10px;
                width: 100%;
            }

            .nav-bar {
                flex-direction: row-reverse;
                align-items: flex-start;
                padding: 10px 20px;
            }

            .hamburger {
                display: block;
                margin-left: auto;
            }

            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                gap: 10px;
                margin-top: 10px
            }

            .nav-links.show {
                display: flex;
            }

            .nav-item {
                width: 100%;
                margin-bottom: 16px;
                margin-top: 17px;
            }

            .submenu {
                position: static;
                width: 189%;
                box-shadow: none;
                margin-top: 18px;
            }


            .submenu-content {
                grid-template-columns: 1fr;
            }

            .category-btn {
                width: 100%;
                justify-content: space-between;
                margin: 0;
                display: none;
            }

            .category-dropdown {
                position: static;
                width: 100%;
                box-shadow: none;
            }

            .icons {
                margin-top: 10px;
                justify-content: flex-end;
                width: 99%;
            }

            #search-bar {
                flex: 1;
                margin-left: 10px;
                max-width: 200px;
            }


            .top-bar {
                display: block;
                /* justify-content: space-between; */
                /* gap: 85%; */
                align-items: center;
                padding: 0px 0px;
                /* background-color: white; */
                margin-left: 17px;

            }

            .top-logo {
                flex: 1;
            }

            .top-logo img {
                height: 41px;
                width: 99px;
                margin-top: 11px;
            }

            .top-right {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .top-icons {
                display: flex-end;
                gap: 20px;
                float: inline-end;
            }

            .top-hamburger {
                display: block;
                font-size: 24px;
                cursor: pointer;
            }

            .jbh-main-header {
                display: block;
                width: 397px;

                float: right;
            }
        }
   
        /* Mobile Nav Links (Initially hidden off-screen) */
        .mobile-nav-links {
            display: none;
            /* Hide on desktop */
            position: absolute;
            left: -250px;
            /* Off-screen by default */
            top: 97px;
            z-index: 1;
            width: 183px;
            height: 34%;
            background-color: #fff;
            transition: left 0.3s ease;
        }

        .mobile-nav-links a {
            color: black;
            padding: 20px;
            text-align: center;
            text-decoration: none;
            font-size: 18px;
        }

        .mobile-nav-links a:hover {
            background-color: #444;
        }

        /* Mobile Specific - Show Hamburger Button */


        /* Media Query for Mobile View (smaller than 768px) */
        @media (max-width: 768px) {

            /* Show Hamburger button on mobile */


            /* Show the mobile nav links */
            .mobile-nav-links.show {
                left: 0;
                /* Slide in from the left */
                display: block;
                /* Make the mobile nav visible */
            }

            /* Hide the desktop navigation menu on mobile */
            .nav-links {
                display: none;
            }

            @keyframes wheelScrollIn {
                0% {
                    transform: rotateZ(-90deg) translateX(-250px);
                    opacity: 0;
                }

                100% {
                    transform: rotateZ(0deg) translateX(0);
                    opacity: 1;
                }
            }

            @keyframes foldOut {
                0% {
                    transform: perspective(600px) rotateX(-90deg);
                    opacity: 0;
                }

                100% {
                    transform: perspective(600px) rotateX(0deg);
                    opacity: 1;
                }
            }

            @keyframes rollPaperIn {
                0% {
                    transform: perspective(800px) rotateY(-90deg);
                    opacity: 0;
                }

                100% {
                    transform: perspective(800px) rotateY(0deg);
                    opacity: 1;
                }
            }

            .mobile-nav-links {
                display: none;
                position: absolute;
                left: 0;
                top: 81px;
                z-index: 1;
                width: 150px;
                height: 100vh;
                /* background-color: #333; */
                transform-origin: left center;
                transform: perspective(800px) rotateY(-90deg);
                backface-visibility: hidden;
                /* Improves visual crispness */
            }

            /* Active state: show and animate like a paper roll opening */
            .mobile-nav-links.show {
                display: block;
                animation: rollPaperIn 0.6s ease forwards;
            }



        }

        .nav-bar {
            position: sticky;
            top: 0;
            z-index: 999;
            background: #f8f9fa;

            /* or your nav bg */
        }

        .hero-slider {
            transition: background-color 0.5s ease;
        }

    .banner {
        background-image: url('http://ktmprints.jbhtechinnovation.com/static/assets/images/printer_jbh.avif');
        /* Replace with your actual image URL or path */
        background-size: cover;
        background-position: center;
        position: relative;
        padding: 80px 20px;
        color: white;
        text-align: center;
    }

    .banner::after {
        content: '';
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        /* dark overlay */
        z-index: 1;
    }

    .banner-content {
        position: relative;
        z-index: 2;
        max-width: 1000px;
        margin: 0 auto;
    }

    .banner-content h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .breadcrumbs {
        font-size: 1rem;
    }

    .breadcrumbs a {
        color: white;
        text-decoration: none;
        font-weight: 700;
        margin: 0 5px;
    }

    .breadcrumbs a:hover {
        text-decoration: underline;
        color: #007bff;
        /* Change to your desired hover color */
    }

    @media (max-width: 768px) {
        .banner {
            padding: 60px 15px;
        }

        .banner-content h1 {
            font-size: 2rem;
        }

        .breadcrumbs {
            font-size: 0.9rem;
            flex-wrap: wrap;
        }

        .breadcrumbs a {
            margin: 0 3px;
        }
    }

    .story-section {
        padding: 60px 20px;
        background-color: #fff;
        overflow: hidden;
    }

    .story-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1200px;
        margin: auto;
        flex-wrap: wrap;
    }

    .story-text {
        flex: 1;
        min-width: 320px;
        padding-right: 40px;
    }

    .story-text h3 {
        font-size: 24px;
        color: #333;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .story-text h1 {
        font-size: 48px;
        color: #0066d9;
        margin-bottom: 20px;
        font-weight: 800;
    }

    .story-text p {
        font-size: 16px;
        line-height: 1.8;
        color: #444;
        margin-bottom: 30px;
    }

    .watch-now {
        display: inline-flex;
        align-items: center;
        background-color: #fff;
        border: 1px solid #ccc;
        padding: 10px 20px;
        border-radius: 30px;
        font-weight: 600;
        color: #333;
        text-decoration: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .watch-now i {
        margin-right: 10px;
    }

    .watch-now:hover {
        background-color: #f0f0f0;
    }

    .story-image {
        flex: 1;
        min-width: 320px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .story-image img {
        max-width: 100%;
        height: auto;
        transform: rotate(-10deg);
    }

    /* Responsive */
    @media (max-width: 360px){
        .story-text p{
            font-size: 11px;
            line-height: 2.0;
            margin-right: 30px;
        }
    }
    @media (max-width: 768px) {
        .story-content {
            flex-direction: column;
            text-align: center;
        }

        .story-text {
            padding: 0;
            
        }

        .story-image img {
            transform: none;
            margin-top: 30px;
        }
    }

    .footer {
        background: #f8f9fa;
        text-align: center;
        padding: 40px 20px;
        font-family: Arial, sans-serif;
    }

    .footer-logo {
        font-size: 24px;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .footer-logo img {

        /* Increased size */
        height: 50px;
    }

    .footer-links {
        margin: 25px 0;
        /* Increased margin for more space */
    }

    .footer-links a {
        text-decoration: none;
        color: black;
        margin: 0 15px;
        font-size: 14px;
    }

    .social-icons {
        margin: 25px 0;
        /* Increased space */
    }

    .social-icons a {
        color: black;
        font-size: 18px;
        margin: 0 10px;
    }

    .copyright {
        margin-top: 15px;
        font-size: 12px;
        color: #777;
    }

    @media (max-width: 768px) {
        .footer-logo {
            flex-direction: column;
            font-size: 20px;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 20px 0;
        }

        .footer-links a {
            margin: 0;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
        }
    }

    .services-section {
        padding: 80px 60px;
        background: #fff;
        font-family: 'Poppins', sans-serif;
    }

    .services-container {
        display: flex;
        justify-content: space-between;
        gap: 50px;
        flex-wrap: wrap;
    }

    .services-left {
        flex: 1 1 40%;
    }

    .services-left h2 {
        font-size: 36px;
        font-weight: 700;
        color: #222;
        margin-bottom: 20px;
        margin-top: -39px;
    }

    .services-left h2 span {
        display: block;
    }

    .services-left p {
        font-size: 16px;
        color: #444;
        line-height: 1.7;
        margin-bottom: -8px;
        margin-top: 31px;
    }

    .learn-more-btn {
        display: inline-block;
        padding: 12px 24px;
        background-color: #0066d6;
        color: #fff;
        font-weight: 600;
        border-radius: 6px;
        text-decoration: none;
        transition: 0.3s ease;
        margin-top: 30px;
    }

    .learn-more-btn:hover {
        background-color: #004fb3;
    }

    .services-right {
        flex: 1 1 55%;
        display: grid;
        grid-template-columns: repeat(0, 2fr);
        gap: 15px;
    }

    .service-item {
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }

    .service-item img {
        width: 40px;
        height: 77px;
        object-fit: contain;
    }

    .service-item h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 6px;
        color: #222;
    }

    .service-item p {
        font-size: 14px;
        color: #444;
        line-height: 1.6;
    }

    .what-we-do {
        background-color: #f0f6fe;
        padding: 60px 20px;
        font-family: 'Poppins', sans-serif;
    }

    .container {
        max-width: 1200px;
        margin: auto;
    }

    .content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 30px;
    }

    .text {
        flex: 1 1 500px;
    }

    .text h2 {
        font-size: 40px;
        font-weight: 700;
        margin-bottom: 20px;
        color: #2e2e2e;
    }

    .text p {
        color: #555;
        line-height: 1.6;
    }

    .image {
        flex: 1 1 400px;
        text-align: center;
    }

    .image img {
        max-width: 100%;
        height: auto;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .content {
            flex-direction: column-reverse;
            text-align: center;
        }

        .text h2 {
            font-size: 32px;
        }
    }

    /* Modal base */
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Modal box */
    .modal-content {
        background-color: #fff;
        padding: 25px;
        width: 90%;
        max-width: 500px;
        border-radius: 10px;
        position: relative;
    }

    /* Close button */
    .close-btn {
        position: absolute;
        right: 15px;
        top: 10px;
        font-size: 24px;
        cursor: pointer;
    }
