* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }


  body {
    margin: 0;
    font-family:  sans-serif;
    background-color: #fff;

  }

  .mobile-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: grey;
    position: relative;
    z-index: 100;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .logo img {
    height: 40px;
  }

  .menu-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 22px;
    color: #333;
  }

  .menu-toggle {
    cursor: pointer;
  }

  .category-dropdown {
    display: none;
    /*visibility: hidden;*/
    position: static;
    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;
    transition: 0.6s ease-in-out;
  }

  .category-menu-jbh:hover .category-dropdown {
    visibility: visible;
    display: block;
  }


  /* 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;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: fixed;
    top: 60px;
    width: 100%;
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .menu-icons i {
    font-size: 22px;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  /*icon styling*/
  .mobile-icon {
    align-items: center;
  }

  .sub-mobile-icon {
    align-items: center;
    right: 50%;
    display: flex;

    gap: 10px;
  }

  .menu-toggle i.fa-times {
    transform: rotate(180deg);
  }

  .mobile-menu li {
    list-style: none;
    border-bottom: 1px solid #eee;
  }

  .mobile-menu li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }

  .mobile-menu li a:hover {
    background: #f4f4f4;
  }

  .search-jbh {
    outline: none;
    border-radius: 7px;
    padding: 6px 10px;
    position: absolute;
    right: 9%;
    display: none;
  }

  

  .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: 280px;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
  }

  .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 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .categoryw-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;
  }

  .categoryw-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 {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
      padding: 15px 20px;
      width: 100%;
    }

    .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;
      width: 100%;
      box-sizing: border-box;
    }

    .hamburger {
      display: block;
      margin-left: auto;
    }

    .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      gap: 10px;
      margin-top: 10px;
      width: 100%;
      margin-right: 0;
      padding: 0 20px;
      box-sizing: border-box;
    }

    .nav-links.show {
      display: flex;
    }

    .nav-item {
      width: 100%;
      margin-bottom: 16px;
      margin-top: 17px;
    }

    .submenu {
      position: static;
      width: 100%;
      box-sizing: border-box;
      margin-top: 18px;
      max-width: 100%;
      transform: none;
      left: 0;
    }


    .submenu-content {
      grid-template-columns: 1fr;
    }

    .categoryw-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: auto;
    }

    #search-bar {
      flex: 1;
      margin-left: 10px;
      max-width: 200px;
    }
    .top-bar {
      display: block;
      align-items: center;
      padding: 0px 0px;
      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: 100%;
      float: none;
    }
  }

  /* Mobile Nav Links (Initially hidden off-screen) */
  .mobile-nav-links {
    display: none;
    position: absolute;
    left: -100%;
    top: 97px;
    z-index: 1;
    width: 100%;
    height: auto;
    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) {

    
    .mobile-nav-links.show {
      left: 0;
      
      display: block;
     
    }


   
    .nav-links {
      display: none;
    }
}

    @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: 76px;
      z-index: 1;
      width: 150px;
      height: 100vh;
      transform-origin: left center;
      transform: perspective(800px) rotateY(-90deg);
      backface-visibility: hidden;
     
    }

    /* 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;
  }
  .banner {
    background-image: url('http://ktmprints.jbhtechinnovation.com/static/assets/images/printer_jbh.avif');
    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 */
  }

  .breadcrumbs span {
    font-weight: 600;
    color: #fff;
  }

  @media (max-width: 768px) {
    .banner {
      padding: 50px 15px;
    }

    .banner-content h1 {
      font-size: 2rem;
    }

    .breadcrumbs {
      font-size: 0.9rem;
      flex-wrap: wrap;
    }

    .breadcrumbs a,
    .breadcrumbs span {
      display: inline-block;
      margin: 0 3px;
    }
  }
  .our-products {
    /* padding: 60px 20px; */
    background-color: #caedf7;
    font-family: sans-serif;
  }

  .our-products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

 

  .categories-container {
    position: relative;
    margin-bottom: 40px;
  }

  .categories-scroller {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 15px;
    gap: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .categories-scroller::-webkit-scrollbar {
    display: none;
  }

  .scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  

  .scroll-btn.left {
   top: 20px;
  }

  .scroll-btn.right {
    right: 10px;
    top: 25px;
  }
  @media (max-width: 450px) {
    .printer {
        width: 92%;
    }
  }

  
  .category-btn {
    padding: 15px 46px;
    background: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    white-space: nowrap;
    flex-shrink: 0;
    color: #2c3e50;
  }

  .category-btn:hover, .category-btn.active {
    background: #1c2834;
    color: white;
    transform: translateY(-2px);
  }

  .section-title {
    text-align: center;
    margin: 40px 0 30px;
    font-size: 2rem;
    color: #2c3e50;
    position: relative;
  }

  .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #4ca1af;
    margin: 10px auto;
    border-radius: 2px;
  }

  .product-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
  }

  @media (max-width: 599px) {
      .printer {
          width: 75%;
          
      }
    }

  @media (min-width: 600px) {
    .product-container {
      grid-template-columns: repeat(2, 1fr);
      
    }

    .printer {
      width: 100%;
    }
  }

  @media (min-width: 900px) {
    .product-container {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (min-width: 1200px) {
    .product-container {
      grid-template-columns: repeat(4, 1fr);
    }
  }



  .printer {
     
    height: 376px;
    background: #333;
    border-radius: 20px 20px 5px 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    margin: auto;
    transition: transform 0.3s ease;
    overflow: hidden;
  }

  .printer:hover {
    transform: translateY(-10px);
  }

  .printer-top {
    background: #444;
    height: 40px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
  }

  .lights {
    display: flex;
    gap: 8px;
  }

  .light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: gray;
  }

  .light.green {
    background: #0f0;
    box-shadow: 0 0 8px #0f0;
    animation: pulse 2s infinite;
  }

  .light.red {
    background: #f00;
  }

  .printer-tray {
    position: absolute;
    bottom: 0;
    height: 30px;
    width: 100%;
    background: #222;
    border-radius: 0 0 10px 10px;
    z-index: 2;
  }

  .paper {
    width: 80%;
    height: 266px;
    background: #fff;
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: print-paper 3s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    z-index: 1;
    margin-top: -71px;
    transition: all 0.3s ease;
  }

  .printer:hover .paper {
    animation: print-paper-hover 3s forwards;
  }

  .paper img {
    width: 90%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .product-info {
    text-align: center;
    padding: 0 10px;
  }

  .product-name {
    font-weight: bold;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
  }

  .price {
    color: #e74c3c;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .description {
    color: #7f8c8d;
    font-size: 12px;
    margin-bottom: 10px;
  }

  .btn {
    display: inline-block;
    padding: 8px 15px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
  }

  .btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
  }

  .trending-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 3;
    animation: pulse 1.5s infinite;
  }

  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
  }

  .page-btn {
    padding: 8px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .page-btn:hover {
    background: #f0f0f0;
  }

  .page-btn.active {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
  }

  .page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }

  @keyframes print-paper {
    0% { top: -200px; }
    100% { top: 110px; }
  }

  @keyframes print-paper-hover {
    0% { top: -200px; }
    50% { top: 80px; }
    100% { top: 110px; }
  }

  footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    background: #2c3e50;
    color: white;
    border-radius: 10px;
  }

  .featured-category {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    padding: 30px;
    border-radius: 10px;
    color: white;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .featured-category h2 {
    margin-bottom: 20px;
  }

  .featured-category p {
    max-width: 700px;
    margin-bottom: 20px;
  }

  .featured-btn {
    background: white;
    color: #2c3e50;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }

  .featured-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }

  .no-products {
    text-align: center;
    grid-column: 1 / -1;
    padding: 40px;
    color: #7f8c8d;
  }
  .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 {
      padding: 30px 15px;
    }

    .footer-logo {
      flex-direction: column;
      font-size: 20px;
    }

    .footer-logo img {
      height: 40px;
    }

    .footer-links {
      margin: 20px 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-links a {
      margin: 0;
      font-size: 13px;
    }

    .social-icons {
      margin: 20px 0;
    }

    .social-icons a {
      font-size: 16px;
      margin: 0 8px;
    }

    .copyright {
      font-size: 11px;
      line-height: 1.4;
    }
  }

  