.hero {
      background: linear-gradient(to left, #198754, #157347);
      color: white;
      padding: 80px 20px;
      text-align: center;
      border-radius: 0 0 30px 30px;
    }
    .glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
  }

  .glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }

  .stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    animation: countUp 2s ease-out forwards;
  }

  .stat-label {
    font-size: 0.95rem;
    color: #f1f1f1;
  }

  @keyframes countUp {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
  }
     .navbar {
      background-color: #fff;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      transition: all 0.4s ease-in-out;
    }

    .navbar-brand {
      font-weight: bold;
      color: #198754;
      font-size: 1.6rem;
      transition: color 0.3s ease;
    }

    .navbar-brand:hover {
      color: #145c32;
    }

    .nav-link {
      font-weight: 500;
      padding: 0.5rem 1rem;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.3s ease;
    }

    .nav-link:hover {
      transform: translateY(-2px);
      color: #198754 !important;
    }

    .nav-link i {
      font-size: 1.3rem;
      transition: transform 0.3s ease;
    }

    .nav-link:hover i {
      transform: rotate(-10deg);
    }

    .nav-products i { color: #28a745; }
    .nav-services i { color: #007bff; }
    .nav-jobs i { color: #ff9800; }
    .nav-realestate i { color: #6f42c1; }

    .btn-login {
      border-radius: 20px;
      transition: background-color 0.3s ease;
    }

    .btn-login:hover {
      background-color: #145c32;
    }

    @media (max-width: 991px) {
      .navbar { display: none; }
    }
    .search-box {
    background-color: #fff;
    transition: box-shadow 0.3s ease;
  }

  .search-box:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  }

  .form-control:focus {
    box-shadow: none;
    border-color: #198754;
  }

  .btn-success:hover {
    background-color: #145c32;
  }
   .floating-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background-color: #198754;
      color: white;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      font-size: 24px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      cursor: pointer;
      z-index: 999;
    }

    .search-box {
      position: fixed;
      bottom: 100px;
      right: 30px;
      width: 360px;
      background-color: white;
      padding: 1rem;
      border-radius: 12px;
      box-shadow: 0 0 15px rgba(0,0,0,0.1);
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.4s ease;
      z-index: 998;
      display: none;
    }

    .search-box.show {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    .search-box input,
    .search-box select,
    .search-box button {
      border-radius: 10px;
    }

    .suggestions {
      margin-top: 10px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      gap: 10px;
    }

    .suggestion-item {
      padding: 10px 14px;
      border-radius: 12px;
      font-size: 0.95rem;
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      animation: fadeSlide 0.4s ease;
    }

    .suggestion-item:hover {
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transform: translateY(-2px);
    }

    .product { background-color: #198754; }
    .service { background-color: #0d6efd; }
    .job     { background-color: #fd7e14; }
    .home    { background-color: #6f42c1; }

    .suggestion-item i {
      font-size: 1.2rem;
    }

    @keyframes fadeSlide {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    /* دکمه همبرگری */
    .menu-toggle {
      position: fixed;
      top: 15px;
      right: 15px;
      background-color: #fff;
      color: #198754;
      border: none;
      border-radius: 8px;
      padding: 10px 12px;
      font-size: 1.4rem;
      z-index: 1001;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      transition: opacity 0.3s ease;
    }

    .menu-toggle.hidden {
      opacity: 0;
      pointer-events: none;
    }

    /* منوی موبایل */
    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      height: 100%;
      background: linear-gradient(135deg, #198754, #28a745);
      color: #fff;
      padding: 2rem 1.5rem;
      box-shadow: -4px 0 12px rgba(0,0,0,0.2);
      transition: right 0.4s ease-in-out;
      z-index: 1000;
    }

    .mobile-menu.active {
      right: 0;
    }

    .mobile-menu h4 {
      margin-bottom: 2rem;
      font-size: 1.2rem;
      border-bottom: 1px solid #fff;
      padding-bottom: 0.5rem;
    }

    .mobile-menu a {
      display: flex;
      align-items: center;
      color: #fff;
      text-decoration: none;
      margin-bottom: 1.2rem;
      font-size: 1rem;
      transition: all 0.3s ease;
    }

    .mobile-menu a:hover {
      color: #e6ffe6;
      transform: translateX(-5px);
    }

    .icon-circle {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-left: 10px;
      color: #fff;
      font-size: 1.2rem;
    }

    .home-icon { background-color: #28a745; }
    .ads-icon { background-color: #17a2b8; }
    .submit-icon { background-color: #ffc107; }
    .needs-icon { background-color: #fd7e14; }
    .contact-icon { background-color: #dc3545; }

    .close-btn {
      position: absolute;
      top: 15px;
      left: 15px;
      background-color: transparent;
      border: none;
      color: #fff;
      font-size: 1.5rem;
    }

    @media (min-width: 768px) {
      .menu-toggle,
      .mobile-menu {
        display: none;
      }
    }