* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
  }

  /* Top Navbar */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .nav-left, .nav-center, .nav-right {
    display: flex;
    align-items: center;
  }

  .nav-left {
    flex: 1;
  }

  .nav-center {
    flex: 2;
    justify-content: center;
  }

  .nav-right {
    flex: 1;
    justify-content: flex-end;
  }

  .nav-left i,
  .nav-right i {
    font-size: 22px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    transition: background 0.2s ease;
  }

  .nav-left i:hover,
  .nav-right i:hover {
    background-color: #f0f0f0;
    border-radius: 50%;
  }

  .nav-center form {
    width: 100%;
    max-width: 500px;
  }

  .nav-center input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: #f1f1f1;
    font-size: 14px;
    transition: 0.3s ease;
  }

  .nav-center input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px #007bff30;
    border-color: #007bff80;
  }

  /* Bottom Bar for Mobile */
  .bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 999;
  }

  .bottom-bar div {
    text-align: center;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: color 0.2s;
  }

  .bottom-bar div:hover {
    color: #007bff;
  }

  .bottom-bar i {
    font-size: 20px;
    margin-bottom: 2px;
    display: block;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .nav-center {
      flex: 3;
    }

    .bottom-bar {
      display: flex;
    }
  }


  /* Slider start */
  .infinite-slider {
    overflow: hidden;
    background: #f5f5f5;
    padding: 10px 0;
  }
  
  .slider-track {
    display: flex;
    width: calc(400px * 8); /* Adjust based on image width * total slides */
    animation: scrollSlider 30s linear infinite;
  }
  
  .slide-item {
    flex: 0 0 auto;
    width: 400px;
    margin: 0 10px;
  }
  
  .slide-item img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  @keyframes scrollSlider {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  @media (max-width: 768px) {
    .slide-item {
      width: 300px;
    }
  
    .slider-track {
      width: calc(300px * 8);
      animation: scrollSlider 25s linear infinite;
    }
  }
  
  /*categories start*/
  .categories {
    padding: 30px 20px;
    background: #fff;
    text-align: center;
    text-decoration: none;
  }
  
  .categories h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
  }
  
  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;

  }
  
  .category-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px 10px;
    transition: 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .category-card a{
    text-decoration: none;
  }
  .category-card:hover {
    background: #007bff10;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .category-card i {
    font-size: 28px;
    color: #007bff;
    margin-bottom: 10px;
  }
  
  .category-card span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
  }
  /*products start*/
  .products {
    padding: 40px 20px;
    background: #f8f9fa;
    text-align: center;
  }
  
  .products h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .product-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
  }
  
  .product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-4px);
  }
  
  .product-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  .product-card h3 {
    font-size: 16px;
    margin: 12px 0 5px;
    color: #333;
  }
  
  .product-card p {
    font-size: 14px;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  .product-card button {
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
  }
  
  .product-card button:hover {
    background: #0056b3;
  }
  

