@font-face {
    font-family: Dirooz;
    src: url(../fonts/Dirooz.ttf);
}
*{
  font-family: Dirooz;
}
body { background-color: #f8f9fa; font-family: 'Dirooz', sans-serif; }
    .logo { font-size: 1.8rem; font-weight: bold; color: #198754; }
    .navbar { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
    .search-bar input { border-radius: 20px; }
    .banner { background-color: #ff9800; color: white; padding: 2rem; border-radius: 10px; text-align: center; }
    .section-title { font-size: 1.4rem; margin-bottom: 1rem; font-weight: bold; color: #333; }
    .item-box { background-color: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 1rem; text-align: center; transition: 0.3s; }
    .item-box:hover { box-shadow: 0 0 10px rgba(0,0,0,0.1); }
    .item-box i { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
    .green-icon { color: #28a745; }
    .orange-icon { color: #ff9800; }
    .blue-icon { color: #007bff; }
    .purple-icon { color: #6f42c1; }
    .user-panel { background-color: #e9ecef; padding: 1rem; border-radius: 10px; }
    footer { background-color: #343a40; color: white; text-align: center; padding: 1rem; margin-top: 2rem; }

    .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;
      }
    }
      .form-box {
      background-color: rgba(255, 255, 255, 0.1);
      padding: 2rem;
      border-radius: 16px;
      width: 100%;
      max-width: 600px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
      animation: fadeIn 0.8s ease-in-out;
    }

    .form-box h4 {
      text-align: center;
      margin-bottom: 1.5rem;
      color: #fff;
    }

    .form-label {
      font-weight: bold;
      color: #fff;
    }

    .form-control, .form-select {
      border-radius: 10px;
    }

    .btn-submit {
      background-color: #fff;
      color: #198754;
      font-weight: bold;
      border-radius: 30px;
      padding: 10px 24px;
      width: 100%;
    }

    .btn-submit:disabled {
      opacity: 0.6;
      pointer-events: none;
    }

    .btn-add-image {
      background-color: #fff;
      color: #198754;
      font-weight: bold;
      border-radius: 30px;
      padding: 8px 20px;
      margin-top: 10px;
      transition: all 0.3s ease;
    }

    .btn-add-image:hover {
      background-color: #e6ffe6;
      transform: scale(1.05);
    }

    .image-input-wrapper {
      position: relative;
      animation: slideIn 0.5s ease-in-out;
      margin-bottom: 12px;
    }

    .image-input-wrapper input[type="file"] {
      padding-right: 40px;
    }

    .remove-btn {
      position: absolute;
      top: 50%;
      left: 10px;
      transform: translateY(-50%);
      background-color: #dc3545;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 28px;
      height: 28px;
      font-size: 16px;
      line-height: 1;
      text-align: center;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .remove-btn:hover {
      background-color: #c82333;
    }

    .success-message {
      background-color: #d4edda;
      color: #155724;
      padding: 12px;
      border-radius: 12px;
      margin-top: 20px;
      display: none;
      text-align: center;
      animation: fadeIn 0.5s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    @media (max-width: 576px) {
      .form-box {
        padding: 1rem;
      }

      .form-box h4 {
        font-size: 1.2rem;
      }
    }

     /* دکمه همبرگری */
    .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;
      }
    }
      .ad-card {
      background-color: white;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .ad-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

    .ad-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .ad-body {
      padding: 16px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .ad-title {
      font-weight: bold;
      font-size: 1.1rem;
      margin-bottom: 8px;
    }

    .ad-price {
      font-size: 1rem;
      color: #198754;
      margin-bottom: 6px;
    }

    .ad-meta {
      font-size: 0.85rem;
      color: #6c757d;
    }

    .ad-icon {
      font-size: 1.4rem;
      margin-left: 6px;
    }

    .text-green { color: #198754; }
    .text-blue { color: #0d6efd; }
    .text-orange { color: #fd7e14; }
    .text-purple { color: #6f42c1; }

    .promo-box {
      background: linear-gradient(135deg, #198754, #145c32);
      color: white;
      border-radius: 20px;
      padding: 30px;
      text-align: center;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      margin: 40px 0;
    }

    .promo-box h3 {
      font-weight: bold;
      margin-bottom: 10px;
    }

    .promo-box p {
      font-size: 1rem;
      margin-bottom: 20px;
    }

    .promo-box .btn {
      font-weight: bold;
      padding: 10px 24px;
      border-radius: 30px;
      background-color: white;
      color: #145c32;
      transition: all 0.3s ease;
    }

    .promo-box .btn:hover {
      background-color: #fff3e0;
      color: #145c32;
    }

    .calendar-timer {
      width: 160px;
      margin: 0 auto 20px;
      perspective: 1000px;
    }

    .calendar-page {
      background-color: #fff;
      color: #145c32;
      border-radius: 12px;
      padding: 20px;
      text-align: center;
      font-weight: bold;
      font-size: 1.8rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      transform-style: preserve-3d;
      animation: pulse 1s infinite;
    }

    .calendar-time {
      font-size: 2.2rem;
      font-weight: bold;
      font-family: 'Courier New', monospace;
    }

    .calendar-label {
      font-size: 0.9rem;
      margin-top: 5px;
      color: #555;
    }

    @keyframes pulse {
      0% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.05); opacity: 0.85; }
      100% { transform: scale(1); opacity: 1; }
    }

    @media (max-width: 576px) {
      .ad-img { height: 140px; }
      .ad-title { font-size: 1rem; }
      .ad-price { font-size: 0.95rem; }
      .promo-box { padding: 20px; }
      .calendar-page { font-size: 1.4rem; }
    }

       .form-box {
      background-color: rgba(255, 255, 255, 0.1);
      padding: 2rem;
      border-radius: 15px;
      width: 100%;
      max-width: 400px;
      box-shadow: 0 0 20px rgba(0,0,0,0.2);
      animation: fadeIn 0.8s ease-in-out;
    }

    .form-box h3 {
      text-align: center;
      margin-bottom: 1.5rem;
      color: #fff;
    }

    .form-control {
      border-radius: 10px;
    }

    .btn-toggle {
      background-color: transparent;
      border: none;
      color: #fff;
      text-decoration: underline;
      cursor: pointer;
      margin-top: 1rem;
    }

    .btn:disabled {
      opacity: 0.6;
      pointer-events: none;
    }

    .error-text {
      color: #ffcdd2;
      font-size: 0.85rem;
      margin-top: 4px;
    }

    .success-message {
      background-color: #d4edda;
      color: #155724;
      padding: 12px;
      border-radius: 12px;
      margin-top: 20px;
      display: none;
      text-align: center;
    }

    .form-check {
      animation: fadeIn 0.6s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    
    .card {
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
      max-width: 500px;
      width: 100%;
      animation: fadeIn 0.8s ease-in-out;
    }

    .card-body {
      padding: 2rem;
    }

    h4 {
      text-align: center;
      margin-bottom: 1.5rem;
      color: #fff;
    }

    .form-label {
      font-weight: bold;
      color: #fff;
    }

    .form-control {
      border-radius: 10px;
    }

    .btn-primary {
      border-radius: 30px;
      padding: 10px 24px;
      font-weight: bold;
      background-color: #fff;
      color: #198754;
      border: none;
    }

    .btn-primary:hover {
      background-color: #e6ffe6;
      color: #157347;
    }

    .success-message {
      background-color: #d4edda;
      color: #155724;
      padding: 12px;
      border-radius: 12px;
      margin-top: 20px;
      display: none;
      text-align: center;
      animation: fadeIn 0.5s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 576px) {
      .card-body {
        padding: 1rem;
      }

      h4 {
        font-size: 1.2rem;
      }
    }
     /* دکمه حساب کاربری */
    .account-toggle {
      position: fixed;
      top: 15px;
      left: 15px;
      background-color: #fff;
      color: #198754;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      font-size: 1.6rem;
      z-index: 1002;
      box-shadow: 0 4px 12px rgba(0,0,0,0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }
    .account-toggle:hover {
      background-color: #e6ffe6;
      transform: scale(1.1);
    }

    /* لایه بلور پس‌زمینه */
    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      backdrop-filter: blur(6px);
      background-color: rgba(0,0,0,0.3);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease;
      z-index: 999;
    }
    .overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    /* بلوک حساب کاربری */
    .account-block {
      position: fixed;
      top: 80px;
      left: 15px;
      width: 85%;
      max-width: 300px;
      background-color: #fff;
      color: #333;
      border-radius: 16px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.25);
      padding: 1.2rem;
      opacity: 0;
      transform: translateY(-20px) scale(0.9);
      pointer-events: none;
      transition: all 0.4s ease;
      z-index: 1001;
    }
    .account-block.active {
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }

    .account-block h5 {
      margin-bottom: 1rem;
      font-size: 1.1rem;
      color: #198754;
      border-bottom: 1px solid #eee;
      padding-bottom: 0.5rem;
      text-align: center;
    }

    .account-block a {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: #333;
      margin-bottom: 1rem;
      font-size: 1rem;
      font-weight: 500;
      transition: all 0.3s ease;
    }
    .account-block a:hover {
      color: #198754;
      transform: translateX(5px);
    }

    .icon-circle {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-left: 10px;
      color: #fff;
      font-size: 1.2rem;
    }
    .profile-icon { background-color: #17a2b8; }
    .settings-icon { background-color: #ffc107; }
    .logout-icon { background-color: #dc3545; }

    /* فقط موبایل */
    @media (min-width: 768px) {
      .account-toggle,
      .account-block,
      .overlay {
        display: none;
      }
    }
        .category-card {
      background-color: white;
      border-radius: 16px;
      padding: 20px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .category-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    }

    .category-card i {
      font-size: 2rem;
      margin-bottom: 10px;
      display: block;
    }

    .category-title {
      font-weight: bold;
      font-size: 1.1rem;
    }

    .category-count {
      font-size: 0.9rem;
      color: #6c757d;
    }

    .text-green { color: #198754; }
    .text-blue { color: #0d6efd; }
    .text-orange { color: #fd7e14; }
    .text-purple { color: #6f42c1; }
    .text-red { color: #dc3545; }
    .text-info { color: #0dcaf0; }
    .text-secondary { color: #6c757d; }
    .text-pink { color: #e83e8c; }

    .idea-card {
      background-color: #fff;
      border-radius: 16px;
      padding: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      transition: transform 0.3s ease;
    }

    .idea-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    }

    .idea-icon {
      font-size: 1.5rem;
      margin-left: 8px;
    }

    .featured-ad {
      background: linear-gradient(135deg, #ffe082, #ffca28);
      border-radius: 16px;
      padding: 20px;
      box-shadow: 0 0 12px rgba(255, 193, 7, 0.5);
      text-align: center;
      animation: pulse 2s infinite;
    }

    .featured-ad i {
      font-size: 2rem;
      color: #ff9800;
      margin-bottom: 10px;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 12px rgba(255, 193, 7, 0.5); }
      50% { box-shadow: 0 0 24px rgba(255, 193, 7, 0.8); }
      100% { box-shadow: 0 0 12px rgba(255, 193, 7, 0.5); }
    }
   /* باکس بنر */

    :root {
      --green: #198754;
      --green-light: #28a745;
      --green-soft: #eaf7ef;
      --text: #2c2c2c;
      --bg: #ffffff;
      --hover-bg: linear-gradient(90deg, #eaf7ef, #d9efe2);
      --shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    body {
      margin: 0;
      font-family: 'Vazir', sans-serif;
      background: #f7f9fb;
      color: var(--text);
    }

    .header {
      position: sticky;
      top: 0;
      background: var(--bg);
      border-bottom: 1px solid #eee;
      z-index: 1000;
      transition: box-shadow 0.3s ease;
    }

    .header.scrolled {
      box-shadow: var(--shadow);
    }

    .nav {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.6rem 1rem;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--green);
      font-weight: 700;
      font-size: 1.1rem;
      text-decoration: none;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 1rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .menu > li {
      position: relative;
    }

    .menu > li > a {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.6rem 0.8rem;
      border-radius: 10px;
      color: var(--text);
      text-decoration: none;
      transition: all 0.25s ease;
    }

    .menu > li > a:hover,
    .menu > li > a:focus {
      background: var(--hover-bg);
      color: var(--green);
      outline: none;
    }

    .menu > li.active > a {
      background: var(--green-soft);
      color: var(--green);
      font-weight: 600;
    }

    .dropdown,
    .mega {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 220px;
      background: #fff;
      border: 1px solid #eee;
      border-radius: 12px;
      box-shadow: var(--shadow);
      padding: 0.6rem;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
    }

    .menu > li:hover > .dropdown,
    .menu > li:focus-within > .dropdown,
    .menu > li:hover > .mega,
    .menu > li:focus-within > .mega {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .dropdown a {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 0.6rem;
      border-radius: 8px;
      color: var(--text);
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .dropdown a:hover {
      background: #f5f9f6;
      color: var(--green);
    }

    .mega {
      width: 680px;
      padding: 1rem;
    }

    .mega-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 0.8rem;
    }

    .mega-col h6 {
      margin: 0 0 0.6rem 0;
      color: var(--green);
      font-size: 0.95rem;
    }

    .mega-col a {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.45rem 0.5rem;
      border-radius: 8px;
      color: var(--text);
      text-decoration: none;
    }

    .mega-col a:hover {
      background: #f5f9f6;
      color: var(--green);
    }

    .actions {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .action-btn {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.55rem 0.8rem;
      border: 1px solid #e6e6e6;
      border-radius: 10px;
      background: #fff;
      color: var(--green);
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .action-btn:hover {
      border-color: #d9efe2;
      background: var(--green-soft);
    }

    @media (max-width: 991.98px) {
      .header {
        display: none;
      }
    }
     .chat-btn {
      position: fixed;
      bottom: 20px;
      left: 20px;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: #198754;
      color: #fff;
      border: none;
      font-size: 1.8rem;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      transition: background 0.3s ease, transform 0.2s ease;
      z-index: 1000;
    }

    .chat-btn:hover {
      background: #157347;
      transform: scale(1.1);
    }

    /* بلوک منوی گفتگو */
    .chat-block {
      background: #fff;
      border-radius: 12px;
      padding: 1rem;
      width: 250px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      position: fixed;
      bottom: 90px; /* بالای دکمه */
      left: 20px;
      display: none; /* پیش‌فرض مخفی */
      z-index: 999;
      transform: translateY(30px);
      opacity: 0;
      transition: all 0.4s ease;
    }

    .chat-block.show {
      display: block;
      transform: translateY(0);
      opacity: 1;
    }

    .chat-block h5 {
      margin: 0 0 1rem 0;
      color: #198754;
      font-size: 1rem;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .chat-block a {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: #333;
      padding: 8px 0;
      transition: color 0.3s ease;
    }

    .chat-block a:hover {
      color: #198754;
    }

    .icon-circle {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: #eaf7ef;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #198754;
    }
        .header{
        border-radius: 12px;
        margin: -20px 0px 30px 0px;
    }
    