*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


body{
    direction: rtl;
    font-family: 'iran';
    
  
}

@font-face {
    font-family: 'iran';
    src: url(font/IRAN.ttf);
}

.img-header{
    width: 95%;
    border-radius: 24px;
    margin-left: 2.5%;
    margin-right: 2.5%;
    cursor: pointer;
}


 /* ===== نوار بالایی ===== */

 .top-bar {
  background: #fff;
  padding: 0 2rem;
  position:inherit;
  top: 0;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  

}

/* ===== منوی دسکتاپ ===== */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  font-size: 0.75rem;
  border-radius: 8px;
  transition: 0.2s;
}
.nav-menu > li > a:hover { background: #f0f0f0; }

/* ===== منوی کشویی (مگا منو) ===== */
.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 700px;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.nav-menu > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown h4 {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.dropdown a {
  display: block;
  color: #333;
  text-decoration: none;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  transition: 0.2s;
}
.dropdown a:hover {
  color: #01579b;
  padding-right: 5px;
}
.dropdown .col { display: flex; flex-direction: column; }

/* ===== دکمه همبرگری ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== منوی موبایل ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  padding: 2rem 1.5rem;
  transition: 0.35s ease;
  z-index: 999;
  overflow-y: auto;
  list-style: none;
}
.mobile-menu.open { right: 0; }
.mobile-menu > li { margin-bottom: 0.5rem; }
.mobile-menu > li > a {
  display: block;
  padding: 0.7rem 0;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-menu > li > a i {
  margin-left: 10px;
  color: #28a745;
}

/* زیرمنو در موبایل */
.mobile-dropdown {
  list-style: none;
  padding-right: 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}
.mobile-dropdown.open { max-height: 500px; }
.mobile-dropdown a {
  display: block;
  padding: 0.5rem 0;
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid #f8f8f8;
}
.mobile-toggle {
  background: none;
  border: none;
  color: #28a745;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 0;
  width: 100%;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-toggle i { transition: 0.3s; }
.mobile-toggle.active i { transform: rotate(180deg); }

/* ===== اوورلی ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 998;
}
.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 670px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .top-bar { padding: 0 1rem; }

}

@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
  .overlay { display: none !important; }
}
 


  .dastebandi-mobile-menu{
    margin-bottom: 3%;
    color: #555;
    font-family: 'iran';
    
  }

  .mobile-menu li a:hover{
   color: #01579b ;
  }

.dastebandi-mobile-sabadkharid{
  width:100% ;
  height: 100%;
  background-color: #f48fb1;
}



        /* ===== دکمه‌های ورود و سبد خرید ===== */
        .btn-login {
          background:#fff;
          color: #01579b;
          font-weight: 500;
          font-size: 0.75rem;
          padding: 0.5rem 1rem;
          border-style: solid;
          border-color: #01579b;
          border-width: 1px;
          border-radius: 20px;
          cursor: pointer;
          transition: background 0.25s, transform 0.15s;
          box-shadow: 0 4px 8px rgba(11, 30, 51, 0.08);
          white-space: nowrap;
          font-family: 'iran';
        }
        .btn-login:hover {

          transform: scale(1.02);
        }
      

      /* آیکن ارسال تیکت*/

   .btn-message {
          background:#01579b;
          color: #fff;
          font-weight: 500;
          font-size: 0.75rem;
          padding: 0.5rem 1rem;
          border-style: solid;
          border-color: #01579b;
          border-width: 1px;
          border-radius: 20px;
          cursor: pointer;
          transition: background 0.25s, transform 0.15s;
          box-shadow: 0 4px 8px rgba(11, 30, 51, 0.08);
          white-space: nowrap;
          font-family: 'iran';
        }
        .btn-login:hover {

          transform: scale(1.02);
        }
    h3{
      text-align: center;
      color:#212529;
      margin-top: 3%;
    }


    .products-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      max-width: 1000px;
      margin-left: 2.5%;
      margin-right: 2.5%;    
      margin-top: 3%;  

  }

  .product-card {
      background: transparent;
      border-radius: 20px;
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      padding: 16px 16px 20px;
  }

  .product-card:hover {
      box-shadow: 0 20px 40px rgba(0,0,0,0.04);
      transform: translateY(-2px);
  }

  .product-image {
      width: 100%;
      background: #f8f8f8;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 14px;
      position: relative;
      overflow: hidden;
  }

  .product-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      border-radius: 16px;
  }

  .product-card:hover .product-image img {
      transform: scale(1.06);
  }

  .fav-btn {
      position: absolute;
      top: 10px;
      left: 10px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(255,255,255,0.9);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #aaa;
      font-size: 0.85rem;
      transition: all 0.3s;
      backdrop-filter: blur(4px);
      opacity: 0;
  }

  .product-card:hover .fav-btn {
      opacity: 1;
  }

  .fav-btn:hover {
      color: #01589b;
      background: white;
  }

  .product-title {
      font-size: 0.82rem;
      font-weight: 400;
      color: #444;
      line-height: 1.6;
      margin-bottom: 10px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      height: 3em;
  }

  .product-price {
      display: flex;
      align-items: baseline;
      gap: 6px;
      margin-bottom: 14px;
  }

  .price {
      font-size: 0.75rem;
      font-weight: 500;
      color: #1a1a1a;
      letter-spacing: -0.3px;
  }

  .old-price {
      font-size: 0.75rem;
      color: #ccc;
      text-decoration: line-through;
  }

  .discount {
      font-size: 0.7rem;
      color: #e94560;
      font-weight: 600;
      background: #fef0f0;
      padding: 1px 6px;
      border-radius: 4px;
  }

  .add-btn {
      width: 100%;
      padding: 10px;
      background: transparent;
      border: 1px solid #eee;
      border-radius: 12px;
      color: #333;
      font-size: 0.8rem;
      font-weight: 400;
      cursor: pointer;
      transition: all 0.3s ease;
      font-family: 'Vazirmatn', sans-serif;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      letter-spacing: 0.3px;
      font-family: 'iran';
  }

  .add-btn:hover {
      background: #01589b17;
      color: rgb(0, 0, 0);
  }

  .add-btn i {
      font-size: 0.8rem;
      opacity: 0.6;
  }

  .add-btn:hover i {
      opacity: 1;
  }

  @media (max-width: 900px) {
      .products-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 10px;
      }
      body {
          padding: 1.5rem;
      }
   
  }

  @media (max-width: 500px) {
      .products-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 8px;
      }
      .product-card {
          padding: 10px 10px 14px;
          border-radius: 14px;
      }
      .product-image {
          padding: 0;
          border-radius: 12px;
          margin-bottom: 10px;
      }
      .product-title {
          font-size: 0.75rem;
      }
      .price {
          font-size: 0.85rem;
      }
      .add-btn {
          padding: 8px;
          font-size: 0.75rem;
          border-radius: 10px;
      }

 

  }


 /*سوالات متداول*/

  .faq-container {
    width: 90%;
    background: #ffffff;
    border-radius: 24px;
    padding: 1rem 1rem;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 5%;
    margin-bottom: 5%;
    background-color: #01589b17;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 20px 60px rgba(0, 0, 0, 0.06);
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    text-align: center;
}

.faq-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    font-weight: 400;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.25rem 0;
    transition: border-color 0.2s;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    text-align: right;
    line-height: 1.3;
    gap: 1rem;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #2563eb;
}

.faq-question .icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: #94a3b8;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
    color: #2563eb;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 0 0 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 0 1.25rem 0;
}

.faq-answer p {
    color: #475569;
    font-size: 0.925rem;
    line-height: 1.8;
    font-weight: 400;
}

/* responsive */
@media (max-width: 480px) {
    .faq-container {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    .faq-header h1 {
        font-size: 1.35rem;
    }

    .faq-question {
        font-size: 0.925rem;
        padding: 1rem 0;
    }

    .faq-answer p {
        font-size: 0.875rem;
    }
}



.features {
  display: flex;
  justify-content:space-evenly;
  align-items: center;
  flex-wrap: wrap;
  background-color: #01589b17;
  padding-top: 0.5%;
  padding-bottom:0.5%;
  margin-left: 5%;
  margin-right: 5%;
  border-radius: 24px;
  margin-bottom: 3%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 20px 60px rgba(0, 0, 0, 0.06);

}

.feature-item {
  text-align: center;
  max-width: 250px;
  margin: 10px;
}

.feature-item img {
  width: 50px;
  height: auto;
  margin-bottom: 10px;
}

.feature-item h3 {
  font-size: 15px;
  margin: 5px 0;
  color: #333;
}

.feature-item p {
  font-size: 13px;
  color: #666;
  margin: 5px 0;
}


/* صفحه ی انتخاب خدمت*/


.card {
  background: #01589b28;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  width: 90%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.144);
  text-align: center;
  justify-content: center;
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 5%;
}



.card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 3%;
}

.card p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 5%;
}

.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.option:hover {
  border-color:#01589b17;
  background: #f0f4ff;
  transform: translateY(-1px);
}

.option-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.option-left .emoji {
  font-size: 1.5rem;
}

.option-left .text {
  text-align: right;
}

.option-left .text .title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
}

.option-left .text .sub {
  font-size: 0.78rem;
  color: #9ca3af;
}

.arrow {
  color: #9ca3af;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.option:hover .arrow {
  color: #2563eb;
}

.option:active {
  transform: scale(0.98);
}

@media (max-width: 400px) {
  .card {
      padding: 1.75rem 1.25rem;
  }
}


.add-btn a{
  color: #333;
  text-decoration: none;
}