 body {
      background-color: #eef4fa;
      font-family: "Vazirmatn", sans-serif;
      background: #ffffff;
    }


  /* navbar */
  
    .navbar {
      background-color: #ffffffdd;
      backdrop-filter: blur(5px);
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .navbar-nav .nav-link {
      color: #333;
      margin: 0 10px;
      font-weight: 500;
      transition: 0.3s;
    }

    .navbar-nav .nav-link:hover {
      color: #007bff;
      transform: scale(1.05);
    }

    .main-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 1rem;
        max-width: 1300px;
        margin: 0 auto;
    }

    .hero {
      background: url('https://cdn.pixabay.com/photo/2021/07/23/12/02/electronics-6486931_1280.jpg') no-repeat center center / cover;
      height: 350px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: white;
      text-shadow: 0 2px 5px rgba(0,0,0,0.6);
    }

    .hero h1 {
      margin-bottom: 2rem;
      font-size: 3rem;
    }

    .container-logo{
      display: flex;
      align-items: center;
      justify-content: space-around;
    }

    footer {
      background-color: #f8f9fa;
      padding: 40px 0 20px;
      font-size: 0.9rem;
    }

    .social-icons a {
      margin-left: 10px;
      font-size: 1.2rem;
    }

 .product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.product-card img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.product-card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.product-img {
  transition: all 0.3s ease-in-out;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}
.card-title {
  font-weight: bold;
  
}


  .nav-link {
    position: relative;
    color: #000;
    transition: color 0.3s ease;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #0d6efd;
    transition: width 0.3s ease;
  }

  .nav-link:hover {
    color: #0d6efd;
  }

  .nav-link:hover::after {
    width: 100%;
    left: 0;
    right: auto;
  }

  /* استایل فیلد جستجو */
  .search-input {
    background-color: #fff;
    border: 1px solid #ced4da;
    color: #0d6efd;
  }

  .search-input::placeholder {
    color: #0d6efd;
  }

  .search-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  }

  /* دکمه جستجو */
  .search-button {
    background-color: #fff;
    border: 1px solid #0d6efd;
    color: #0d6efd;
    margin-right: 0.5rem;
    transition: 0.3s;
  }

  .search-button:hover {
    background-color: #0d6efd;
    color: #fff;
  }

  /* استایل برند جهان سیستم */
  .navbar-brand {
    color: #0d6efd !important;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
  }

  .navbar-brand::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #0d6efd;
    transition: width 0.3s ease;
  }

  .navbar-brand:hover::after {
    width: 100%;
    left: 0;
    right: auto;
  }
    .product-card {
      background-color: #fff;
      border-radius: 16px;
      padding: 1.5rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      text-align: center;
      transition: all 0.2s ease;
    }
    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }
    .product-card img {
      max-height: 180px;
      object-fit: contain;
      margin-bottom: 1rem;
    }
    .price {
      color: #0f8a3f;
      font-weight: bold;
    }

    .product-card {
      background-color: #fafafa; /* سفید روشن برای باکس */
      border: none;
      border-radius: 1rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      overflow: hidden;
    }

    .product-card:hover {
      transform: translateY(-8px) scale(1.03);
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    .product-card .card-img-top {
      object-fit: cover;
      height: 180px;
    }


    /* ---------- کارت محصول ---------- */
    .product-card {
      position: relative;
      background-color: #fafafa; /* سفید روشن برای باکس */
      border: none;
      border-radius: 1rem;
      overflow: hidden;
      transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.45s ease;
      transform-style: preserve-3d;
      will-change: transform;
    }

    /* شعاع نور آبی هنگام هاور */
    .product-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(
        circle at 30% 20%,
        rgba(13, 110, 253, 0.18) 0%,
        rgba(13, 110, 253, 0) 70%
      );
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
    }

    .product-card:hover {
      transform: perspective(800px) rotateX(4deg) rotateY(-6deg) scale(1.06);
      box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.25);
    }
    .product-card:hover::before {
      opacity: 1;
    }

    /* زوم و چرخش عکس */
    .product-card .card-img-top {
      object-fit: cover;
      height: 180px;
      transition: transform 0.6s ease;
    }
    .product-card:hover .card-img-top {
      transform: scale(1.15) rotate(-2deg);
    }

    /* رنگ متون کارت */
    .product-card .card-title,
    .product-card .card-text,
    .product-card .card-subtitle,
    .add-to-cart {
      color: #222;
    }

    .add-to-cart {
      color: #0d6efd;
      position: relative;
      overflow: hidden;
      z-index: 1;
      transition: color 0.3s ease;
    }
    .add-to-cart::after {
      content: "";
      position: absolute;
      inset: 0;
      background: #0d6efd;
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: -1;
    }
    .add-to-cart:hover,
    .add-to-cart:focus {
      color: #fff;
    }
    .add-to-cart:hover::after,
    .add-to-cart:focus::after {
      opacity: 1;
    }

  .social-icons a {
    font-size: 20px;
    margin-left: 10px;
    color: #343a40;
    transition: color 0.3s;
  }

  .social-icons a:hover {
    color: #0d6efd;
  }


  body {
    font-family: 'Vazir', sans-serif;
    background-color: #f1f3f5;
  }

  .sidebar {
    width: 280px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    padding: 20px;
    height: 100vh;
    overflow-y: auto; 
    border-radius: 8px;
  }

  .sidebar {
    max-height: 600px;
    overflow-y: auto;
  }
  
  
  .sidebar h5 {
    margin-bottom: 20px;
    font-weight: bold;
    color: #343a40;
  }

  .menu-item {
    padding: 10px 15px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid transparent;
  }

  .menu-item:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
  }

  .content-area {
    padding: 20px;
  }

  .product-box {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
  }

  .product-box h6 {
    font-weight: bold;
  }

  .product-box p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
  }

  @media only screen and (max-width: 1100px) {
    .hero {
        flex-basis: 700px;
        
    }
    .sidebar{
        width: 205px;
    }
    .hero h1 {
    font-size: 2.5rem;
   }
}

@media only screen and (max-width: 820px) {
    .hero {
        flex-basis: 700px;
        
    }
    .sidebar{
        width: 200px;
    }
    .hero h1 {
    font-size: 2rem;
   }
   
   .container-logo p{
    font-size: 0.8rem;
   }

   .container-logo img{
    width: 130px;
   }
}


@media (max-width: 768px) {

  .nav-link {
    font-size: 14px !important; 
    padding: 8px 12px !important;
  }

  .navbar-brand {
    font-size: 18px !important;
  }

  .sidebar {
    width: 100% !important;
    max-height: none !important;
    height: auto !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 10px !important;
  }

  .content-area {
    padding: 10px !important;
  }

  .product-card {
    margin-bottom: 20px;
    width: 100% !important;
  }
}

.hover-zoom img {
  transition: transform 0.4s ease;
  }
  .hover-zoom:hover img {
  transform: scale(1.05);
  }

  @media (max-width: 767.98px) {
  .team_people_text h2 {
    font-size: 1.6rem !important;
  }
  .team_img_item img {
    height: 220px !important;
  }
  }
