:root {
  --primary: #12A19A;
  --primary-soft: #e6f6f5;
  --text: #2d3748;
  --color-primary-light: #4FC7C1;
  /* soft teal */
  --color-primary-dark: #0E6F6A;
  /* deep teal */
  --color-text-dark: #1F2D2D;
  --color-title-dark: #004444;
  /* main text */
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 6px 18px rgba(0, 0, 0, 0.10);
}

/* body {
        margin: 0;
        background: #f9fbfc;
    } */

.services {
  padding: 0 20px 100px 20px
}


.servs-con {
  max-width: 1200px;
  margin: auto
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-title-dark);
  margin: 70px 0 40px 0;
  line-height: 1.6
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding-bottom: 32px
}

.service-card {
  background: #ffffff;
  padding: 40px 25px;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all .35s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border: 1px solid #f0f3f5;
  position: relative;
  overflow: hidden
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border-color: var(--primary)
}

.hribon {
  position: absolute;
  background-color: darkgreen;
  color: #fefefe;
  top: 16px;
  left: -25px;
  padding: 2px 33px;
  font-size: 14px;
  transform: rotate(-45deg)
}

.icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--primary-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s
}

.service-card:hover .icon-wrap {
  background: var(--primary)
}

.icon-wrap img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 80px;
  transition: .3s
}

/* .service-card:hover img {
  filter: brightness(0) invert(1)
} */

.service-card h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0
}

.icon-wrap svg {
  width: 36px;
  height: 36px;
  color: #12A19A;
  transition: .3s
}

.service-card:hover .icon-wrap svg {
  color: #ffffff
}

.donation-section {
  width: 100%;
  padding: 20px;
  margin: auto;
  background: #fff;
  background-image: url('../img/bg.webp');
  background-size: contain
}

.donation-title {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 30px;
  font-weight: 700
}

.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.donation-item {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  border: 2px solid transparent;
  transition: 0.3s ease
}

.con-serv-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px)
}

/**/
/* .con-serv-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 0%, #F7C6D0 0%,
      #F9D9B4 30%,
      #12A19A 70%,
      transparent 100%);
  opacity: 0.25;
  z-index: -1;
} */

/**/
.donation-icon {
  font-size: 2.5rem;
  margin-bottom: 10px
}

.donation-item h3 {
  font-size: 1.3rem;
  margin-bottom: 8px
}

.donation-item p {
  font-size: 0.95rem;
  line-height: 1.6
}

.section-title .title-main {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-title-dark)
}

.section-title .title-sub {
  display: block;
  font-size: 22px;
  font-weight: 400;
  color: #555;
  margin-top: 4px
}

.serv-icon {
  /* background-color: #f0f7ff; */
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 16px;
  color: #12A19A;
  transition: all 0.3s ease
}

/* .con-serv-card:hover .serv-icon {
  background-color: #12A19A;
  color: #fff;
  transform: scale(1.05);
} */
.serv-icon img {
  width: 111px;
  height: 111px;
  margin-top: 8px;
  object-fit: cover
}

.con-serv-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.consultation-services {
  background-color: #fff;
  padding: 1px 20px 64px 20px;
}

.consultation-services .cns-con {
  max-width: 1200px;
  margin: 0 auto;
}

.con-serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Service Card Styling */
.con-serv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.con-serv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23)
}

.con-serv-card h3 {
  font-size: 1.2rem;
  color: var(--text, #2d3748);
  margin: 0
}

.con-serv-card p {
  font-size: 1rem;
  color: #7f8c8d;
  margin-bottom: 8px
}

.con-serv-card small {
  font-size: 0.85rem;
  color: #7f8c8d
}

.con-btn {
  background-color: var(--primary, #12A19A);
  color: white;
  font-size: 0.95rem;
  padding: 8px 18px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s ease
}

.con-btn:hover {
  background-color: #0f8e80
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(3, 280px
      /*1fr*/
    );
  gap: 20px;
  justify-content: center;
  direction: rtl;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto
}

.donation-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-soft);
  /* ایجاد مستطیل عمودی */
  aspect-ratio: 4 / 4.5;
}

.donation-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(18, 161, 154, 0.15);
}

/* تصویر: دو سوم کارت */
.donation-image {
  flex: 2;
  width: 100%;
  overflow: hidden;
}

.donation-image img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

/* باکس عنوان: یک سوم باقی‌مانده */
.donation-title-box {
  flex: 1;
  background-color: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-top: 2px solid var(--primary);
}

.donation-title-box h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
  font-weight: bold;
  text-align: center;
}

.donation-item {
  position: relative;
  cursor: pointer;
}

.selection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 161, 154, 0.95);
  /* رنگ اصلی با کمی شفافیت */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 20px
}

/* وقتی کلاس active اضافه شود، پنل نمایش داده می‌شود */
.donation-item.active .selection-overlay {
  opacity: 1;
  visibility: visible
}

.select-btn {
  width: 80%;
  padding: 12px;
  border-radius: 30px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.select-btn:hover {
  background: #fff;
  color: var(--primary)
}

.select-btn.donor {
  background: #fff;
  color: var(--primary);
}

.select-btn.donor:hover {
  background: transparent;
  color: #fff
}

/* مودال موبایل */
.mobile-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999
}

.mobile-modal .modal-content {
  background: #12a19a;
  width: 90%;
  padding: 14px;
  border-radius: 15px;
  text-align: center;
  color: #fff
}

.mobile-modal .select-btn {
  display: block;
  width: 100%;
  margin: 10px 0
}

.close-modal {
  font-size: 2rem;
  cursor: pointer;
  float: left
}

#modalButtons {
  margin: 60px 18px 18px 18px
}

/* نسخه دسکتاپ */
.health-magazine {
  direction: rtl;
  padding: 40px;
  background-color: #fff;

}

.hm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.health-magazine .hm-header h2 {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin: auto;
  color: var(--color-primary-dark);
  width: 80%
}

.health-magazine .hm-header h2::before,
.health-magazine .hm-header h2::after {
  content: '';
  flex-grow: 1;
  border-top: 1px solid var(--primary);
  margin: 0 20px;
}


.view-all {
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  background-color: var(--primary);
  font-size: 16px;
  padding: 6px 16px;
}

.hm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hm-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  color: var(--color-text-dark);
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
  transition: 0.3s;
}

.hm-item:hover {
  transform: translateY(-5px);
}

.hm-item-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.hm-item h3 {
  font-size: 18px;
  margin: 12px;
}

.hm-item p {
  font-size: 14px;
  color: #666;
  margin: 0 12px 16px;
}

/* اطلاعات نویسنده */
.hm-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid #eee;
}

.author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  display: block;
}

.date {
  font-size: 12px;
  color: #777;
  display: block;
}

/* نسخه موبایل */
.health-mag-mobile {
  display: none;
}

/* ** product carousel ** */
.amazing-offers {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 95%;
  margin: 20px auto;
}

.offers-header {
  display: none;
  justify-content: space-between;
  align-items: center;
}

.view-all-des {
  color: var(--primary);
  font-size: 14px;
  padding: 6px 12px
}

.pview-all {
  background: none;
  border: none;
  color: var(--color-primary-dark);
  background-color: var(--primary-soft);
  border-radius: 26px;
  padding: 6px 12px;
  font-size: 15px;
  cursor: pointer;
}

.carousel-wrapper {
  position: relative;
  margin-top: 20px;
  /* background-color: #12A19A; */
  padding: 24px 8px;
  border-radius: 13px;
  /* background: linear-gradient(to left, #12A19A, #F9D9B4); */
}

.products-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 8px;
  padding-bottom: 10px
}

.products-carousel .product-card:nth-child(2) {
  border-radius: 0 10px 10px 0
}

.products-carousel .product-card:last-child {
  border-radius: 10px 0 0 10px
}

.products-carousel::-webkit-scrollbar {
  display: none
}

.product-card {
  min-width: 200px;
  background: var(--primary-soft);
  /* border-radius: 10px; */
  padding: 10px;
  border: 1px solid var(--primary)
}

.tlt-card {
  background-color: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.ftlt-card span {
  display: block;
  line-height: 1.5;
  font-weight: bold;
  font-size: 24px;
  text-align: center;
  color: var(--color-primary-dark)
}

.endcard {
  display: flex;
  align-items: center;
  justify-content: center
}

.endcard a {
  color: #12A19A;
  text-align: center
}

.endcard a i {
  font-size: 46px
}

.product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px
}

.box-tlt {
  color: var(--color-primary-dark);
  font-size: 14px;
  height: 40px;
  overflow: hidden;
  font-weight: bold;
  margin: 8px 0
}

.price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.new-price {
  font-weight: bold;
  color: #000;
}

.discount {
  background: #ef394e;
  color: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12px;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 12px;
}

.arrow-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer
}

.arrow-btn.left {
  left: -16px
}

.arrow-btn.right {
  right: -16px
}

/* ** end product carousel ** */
.promo-section {
  background: #fff;
  padding: 16px;

  width: 100%;
  margin: 20px auto;
}

/* حالت دسکتاپ: گرید 4تایی */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1200px;
  justify-self: center
}

/* کارت تبلیغ */
.promo-card {
  /* width: 25%;
        min-width: 250px;
        height: 180px; */
  aspect-ratio: 99 / 70;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  flex: 0 0 80%
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

/* استایل مودال */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease
}

.modal-overlay.mactive {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: white;
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  width: 90%;
  max-width: 450px;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.mactive .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--primary)
}

.modal-title {
  font-size: 1.6em;
  color: var(--color-primary-dark);
  margin-bottom: 25px
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.modal-option {
  display: flex;
  align-items: center;
  background-color: var(--primary-soft);
  padding: 15px 20px;
  border-radius: 10px;
  color: var(--primary);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  font-weight: bold
}

.modal-option:hover {
  background-color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
  transform: scale(1.02)
}

.modal-option .micon-wrap {
  margin-left: 15px;
  /* برای فضای بین آیکون و متن */
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  /* جلوگیری از کوچک شدن آیکون */
}

.modal-option .micon-wrap img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
  /* سفید کردن آیکون */
}

.micon-wrap i {
  font-size: 30px
}

@media (max-width: 1024px) {
  .promo-card {
    max-height: 250px;
  }

  .con-serv-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .hm-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .doc-items {
    justify-content: unset !important
  }

  .offers-header {
    display: flex
  }

  .tlt-card {
    display: none
  }

  .arrow-btn {
    display: block;
  }

  .promo-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px
  }

  .promo-grid::-webkit-scrollbar {
    display: none
  }
}

@media(max-width:768px) {
  .section-title .title-main {
    font-size: 26px
  }

  .section-title .title-sub {
    font-size: 18px
  }

  .service-grid {
    gap: 8px
  }

  .services {
    padding: 0 20px
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 50px
  }

  .donation-section {
    width: 100%
  }

  .donation-grid {
    grid-template-columns: 1fr
  }

  .con-serv-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .con-serv-card {
    padding: 14px 8px;
    min-height: 150px;
  }

  .icon-mobile {
    display: block;
    margin-bottom: 8px
  }

  .con-serv-card h3 {
    font-size: 0.9rem;
    line-height: 1.3;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
  }

  .con-serv-card p {
    display: none
  }

  .con-btn {
    display: none
  }

  .donation-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .donation-item {
    flex-direction: row-reverse;
    aspect-ratio: auto;
    height: 100px;
    padding: 14px
  }

  .donation-item .selection-overlay {
    display: none !important;
  }

  .donation-image {
    flex: 0 0 35%;
    /* تصویر ۳۵ درصد عرض در سمت راست */
  }

  .donation-image img {
    border-top-left-radius: 13px;
    border-bottom-left-radius: 13px;
    object-fit: contain;
  }

  .donation-title-box {
    flex: 1;
    border-top: none;
    border-left: 3px solid var(--primary);
    justify-content: flex-start;
    padding-right: 20px;
    border-top-right-radius: 13px;
    border-bottom-right-radius: 13px;
  }

  .donation-title-box h3 {
    font-size: 1rem;
    text-align: right;
  }

  .selection-overlay {
    flex-direction: row;
    gap: 10px;
  }

  .select-btn {
    width: 45%;
    font-size: 0.75rem;
    padding: 8px 5px;
  }

  .health-magazine {
    display: none;
  }

  .health-mag-mobile {
    display: block;
    direction: rtl;
    margin: 20px 0;
  }

  .hm-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
  }

  .hm-scroll::-webkit-scrollbar {
    display: none;
  }

  .hm-card {
    min-width: 180px;
    background: #fff;
    border-radius: 14px;
    color: var(--color-text-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-shrink: 0;
  }

  .hm-card img {
    width: 100%;
    object-fit: cover
  }

  .hm-card h3 {
    font-size: 15px;
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 350px
  }

  .hm-meta-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
  }

  .hm-meta-mobile .author-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .hm-meta-mobile .author-name {
    font-size: 13px;
    font-weight: 600;
  }

  .hm-meta-mobile .date {
    font-size: 11px;
    color: #777;
  }

  .modal-title {
    margin-top: 30px;
    font-size: 1.3rem
  }

  .modal-content {
    padding: 30px
  }

  .modal-option {
    padding: 15px
  }
}

/* Mobile */
@media(max-width:500px) {
  .serv-icon img {
    width: 85px;
    height: 85px
  }

  .product-card {
    min-width: 180px
  }

  .services {
    margin-top: -30px
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 32px
  }

  .service-card {
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    border-radius: 0;
    margin: 2px;
    padding: 0 0 12px 0
  }

  .service-card:hover {
    transform: none
  }

  .hribon {
    top: 8px;
    left: -33px;
    padding: 0px 32px;
    font-size: 11px
  }

  .service-card h2 {
    font-size: 0.75rem
  }

  .icon-wrap {
    margin: 12px auto 12px;
    width: 46px;
    height: 46px
  }

  .icon-wrap svg {
    width: 28px;
    height: 28px
  }

  .icon-wrap img {
    width: 64px;
    height: 64px;
  }

  .section-title {
    margin-bottom: 28px
  }
}

@media (max-width: 480px) {
  .con-serv-grid {
    gap: 1px;
    padding: 12px 3px
  }

  .con-serv-card h3 {
    font-size: 0.8rem
  }

  .con-serv-card {
    min-height: 120px;
    padding: 12px 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02)
  }

  .con-serv-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.15)
  }

  .serv-icon {
    width: 55px;
    height: 55px
  }

  .serv-icon svg {
    width: 35px;
    height: 35px
  }
}

@media(max-width:300px) {
  .service-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px
  }

  .service-card {
    display: flex;
    align-items: center;
    padding: 12px 20px;
  }

  .service-card h2 {
    margin: 4px 12px
  }

  .icon-wrap {
    margin: 0
  }
}

/* .container {
  margin-top: -86px;
}

nav {
  background-color: transparent;
  box-shadow: none;
} */
/** ********************************************* home-v2.css end ********** **/
#header.hide nav {
  height: 65px;
  background-color: #ffffff;
  /* box-shadow: 0 1px 25px rgba(0, 0, 0, .1); */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24)
}

/* nav .menu li a, nav .account ul li a, nav .lang {
  color: #fff
} */

.dehaze, .account ul li a {
  color: #12A19A !important;
}

nav .menu li a:hover, nav .account ul li a:hover {
  color: #12A19A;
}

#header.hide .dehaze, .selected-lang {
  color: #000 !important
}

#header.hide nav .menu li a, #header.hide nav .account ul li a, #header.hide nav .lang {
  color: #111;
}

#header.hide nav .menu li a:hover, #header.hide nav .account ul li a:hover {
  color: #12A19A;
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  top: 60px;
  right: 0;
  text-align: center
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dots {
  margin-top: -50px;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: .7
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: .7
  }

  to {
    opacity: 1
  }
}

@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px
  }
}

section {
  padding-right: 5%;
  padding-left: 5%;
}


.which_center {
  width: 100%;
}

.which_center ul {
  display: inline-block;
  width: 47%;
  list-style-type: disc;
  list-style-position: inside
}

.s-intro {
  padding: 0;
  max-width: 1000px;
  margin: auto;
  /* margin-top: 24px */
}

.intro {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #fff;
  height: 100vh;
  align-items: center;
  padding: 50px 5%
}

.intro-item {
  width: 48%;
  align-self: flex-start;
  border-radius: 13px;
  overflow: overlay;
  align-self: auto
}

.intro-item p {
  margin-top: 50px
}

.intro-item:nth-of-type(2) {
  background-attachment: fixed
}

.intro-item img {
  width: 100%;
  border-radius: 3px
}

.tab {
  display: table;
  width: 100%;
  height: 70vh;
  position: relative;
  padding: 0 5%
}

.tab-head {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  height: 100px;
  position: relative
}

.tab-head h2 {
  display: inline;
  color: #111;
  margin: 0 12px
}

.tab-head .tab-indicate {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  display: -webkit-flex;
  align-items: center
}

.tab-head .tab-indicate span {
  display: inline-block;
  width: 15%;
  height: 1px;
  background-color: #424242
}

.tab-btn {
  display: inline-block;
  position: absolute;
  user-select: none;
  direction: rtl;
  z-index: 3
}

.tab-btn span {
  background-color: transparent;
}

.tab-btn span i {
  font-size: 32px;
  color: #424242bb;
  padding: 5px;
  cursor: pointer
}

.tab-container {
  height: inherit;
  margin: 40px 0px;
  overflow: hidden;
  position: relative
}

.tab-item {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  float: left;
  overflow: visible;
  position: absolute;
  right: 106%;
  background-color: rgba(255, 255, 255, 0.3);
  background-size: 100px
}

.show-tab {
  width: 100%;
  right: 0%;
  border-radius: 70px;
  transition: all 0.5s linear
}

.tab-item img {
  width: 44%;
  height: 29vw;
  border-radius: 22%;
  padding: 10px;
  object-fit: cover
}

.tab-item div {
  width: 55%;
  display: inline;
  padding: 0 17px;
}

.tab-item div h2 {
  color: #111
}

.search-sec {
  height: 100vh;
  align-items: center;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  justify-content: center;
  background-attachment: fixed;
  /* background: linear-gradient(135deg, #E9F7F7 0%, #7CCECE 100%);
  background-image: url('../img/bg-search.png'); */
  background-color: #fff;
  position: relative;
  z-index: 1;
  background-size: contain
}

.search-them {
  width: 60%;
  max-width: 650px;
  background-color: #14aca4;
  border-radius: 77px;
  overflow: hidden;
  /* box-shadow: 0 0 15px rgb(0 0 0 / 20%),
    inset 0 0 15px #12A19A55,
    inset 0 0 13px #ffffff55 */
}

.search-sec::before {
  content: "";
  position: absolute;
  /* width: 76%;
  height: 100%; */
  width: 63%;
  height: 98%;
  background: radial-gradient(circle at center, #e6f6f5 40%, #12A19A 100%);
  border-radius: 50% 50% 45% 55% / 50% 60% 40% 50%;
  z-index: -1;
  opacity: 0.3;
}

.search-tlt {
  line-height: 72px;
  color: white;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600
}

.search-tlt span {
  float: right;
  margin-right: 40px;
  margin-left: -25px;
  font-weight: 100
}

.search-them p {
  text-align: center;
  color: #fff;
  font-size: 1rem;
  padding: 0 15px
}

.donation-sec {
  position: relative;
  padding: 0
}

.donation-sec h2 {
  color: var(--color-title-dark);
  display: inline-block;
  margin-top: 45px;
  width: 100%;
  text-align: center
}

.ctahamta {
  padding-bottom: 52px;
  text-align: center
}

.ctahamta a {
  background-color: #6C50D3;
  text-decoration: none;
  font-size: 20px
}

.cats {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  overflow: visible;
}

.cat-item {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  justify-content: center;
}

.cat-item a {
  display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42%;
  height: 130px;
  border-radius: 13px;
  text-decoration: none;
  line-height: 45px;
  background-color: #6C50D3;
  color: #ffffff;
  margin: 15px;
  padding: 7px;
  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  transition: all 0.25s
}

.cat-item a:hover {
  transform: scale(1.04);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.4)
}

.cat-item a img {
  width: 54px;
  height: 54px
}

.cat-item a span {
  font-size: 1.2em;
  text-transform: uppercase;
  margin-top: 5px
}

.filter-form {
  padding: 12px 42px 36px 42px
}

.filter-item {
  height: 40px;
  padding: 7px;
  margin-bottom: 7px;
  margin-top: 7px;
  outline: none;
  border-radius: 19px;
  border: 1px solid #E0F2F1;
  width: 100%;
  background-color: #E0F2F1;
  -webkit-appearance: none;
  -moz-appearance: none
}

.filter-item option {
  padding: 2px
}

.filter-btn {
  display: block;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  background-color: #12A19A;
  border: 2px solid #E0F2F1;
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
  outline: none;
  color: white;
  border-radius: 60px;
  cursor: pointer;
  width: 140px;
}

.filter-btn:hover {
  background: #0e857f
}

.filter-item input[type=text] {
  padding: 12px;
  border: 1px solid #E0F2F1;
  width: 100%;
  border-radius: 3px;
  outline: none;
  background-color: #E0F2F1
}

.star {
  color: #FECF23
}

.fert-title {
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 28px
}

.fert-title h2 {
  margin: auto
}

.fert-title div {
  width: 49%;
  align-self: center;
}

.fert-title div img {
  width: 100%;
  border-radius: 17px;
}

.fertilities {
  display: flex;
  display: -webkit-flex;
  align-self: flex-start;
  flex-wrap: wrap;
  width: 100%
}

.fertility-cats {
  width: 50%;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background-color: #12A19A;
  color: #ffffff;
  padding: 8px 17px;
  border-radius: 25px;
  line-height: 30px;
  width: fit-content;
  margin-top: 15px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
  transition: all 0.3s
}

.fertility-cats .btn {
  margin: 27px;
}

.btn:hover {
  transform: translate(0, -3px);
  box-shadow: 0px 5px 15px rgb(0 0 0 / 20%)
}

.cats-img {
  width: 49%;
  margin-bottom: -7px
}

.cats-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 17px;
  /*width: 80%;
   padding: 50px; */
}

.best-fert {
  padding-top: 50px;
  padding-bottom: 70px;
  height: 100%;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  flex-direction: column;
  background-color: var(--primary-soft)
}

.best-fert h2 {
  color: var(--color-title-dark);
  text-align: center
}

.best-fert p {
  color: #111;
  padding: 15px;
  border-radius: 5px
}

a {
  text-decoration: none
}

.shall {
  display: flex;
  align-items: center;
  width: fit-content;
  padding: 6px 16px;
  color: #ffff !important;
  border-radius: 22px;
  margin-right: auto;
  margin-left: 15px;
  margin-bottom: 12px;
  background-color: var(--primary);
  font-size: 15px;
  color: #111
}

.shall i {
  margin-right: 6px;
  font-size: 22px
}

.fertility-item {
  border-radius: 13px;
  width: 20%;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px 0px, rgba(0, 0, 0, 0.24) 0px 1px 2px 0px;
  transition: all 0.2s;
  background-color: #ffffffee;
  margin: 6px
}

.fertility-item:hover {
  box-shadow: 0px 5px 15px rgba(0 0 0 / 20%)
}

.fertility-item div {
  display: flex;
  display: -webkit-flex;
  padding: 8px;
  text-decoration: none;
  flex-direction: column
}

.fertility-item div .info h4 {
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 14px;
  margin-bottom: 16px
}

.fertility-item div .info a {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  margin-top: 17px;
  text-decoration: none;
  background-color: var(--primary);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 22px;
  border: 2px solid var(--primary);
  transition: all 0.2s
}

.fertility-item div .info a:hover {
  background-color: #E0F2F1;
  border: 2px solid var(--primary);
  color: #111
}

.sucrate {
  color: green;
  font-size: 18px
}

.info h3, .info table td {
  color: var(--color-title-dark);
  direction: ltr
}

.info table th {
  color: #222;
  font-weight: bold;
  padding: 7px;
  font-size: 12px
}

.info table {
  border-collapse: collapse;
  display: table;
  width: 100%;
  text-align: right
}

.pic {
  text-align: center
}

.pic img {
  width: 100%;
  height: 80px;
  margin: auto;
  object-fit: scale-down
}

/* تنظیمات مخصوص گوشی */
@media (max-width: 540px) {
  .search-sec::before {
    width: 100%;
    height: 91%
  }

  .fertilities {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    gap: 0;
    padding: 10px 0;
    width: 100%
  }

  .fertility-item {
    width: 80% !important;
    flex: 0 0 70%;
    /* عرض آیتم‌ها تنظیم می‌شود که از حد مشخصی کمتر نشوند */
    margin: 0 10px;
    /* فاصله بین آیتم‌ها */
    min-width: 250px;
    /* عرض حداقلی برای هر آیتم */
  }

  .fertilities::-webkit-scrollbar {
    height: 0
  }
}


.doc-sec {
  padding: 0 5%;
  background-color: #fff
}

.doc-content {
  display: flex;
  display: -webkit-flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 50px 0
}

.doc-content .doc-text {
  text-align: center;
  width: 100%
}

.doc-text h2 {
  color: var(--color-title-dark);
  margin-top: 0
}

.doc-content .doc-text a {
  display: block;
  margin: auto;
  width: fit-content;
  text-decoration: none;
  background-color: #E0F2F1;
  padding: 0 13px;
  line-height: 38px;
  border-radius: 25px;
  color: var(--primary);
  float: left;
  font-size: 14px;
  transition: all 0.2s
}

.doc-content .doc-text a:hover {
  box-shadow: 0px 5px 15px rgb(0 0 0 / 20%);
  transform: translate(0, -3px);
}

.doc-items {
  display: grid;
  grid-template-columns: repeat(3, 360px);
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  justify-content: center;
  padding: 20px 2px
}

.doc-items::-webkit-scrollbar {
  display: none
}

.doc-per {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap
}

.doc-per img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #12A19A;
  object-fit: cover
}

.doc-per>span {
  padding: 0 13px;
  display: inline-block;
  width: calc(100% - 60px);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap
}

.doc-item {
  display: block;
  padding: 20px;
  border-radius: 9px;
  background-color: #ffffffee;
  text-decoration: none;
  color: #111;
  border: 1px solid #eaecec
}

.doc-item:hover {
  box-shadow: 0 2px 20px rgb(0 0 0 / 20%)
}

.doc-item .doc-info {
  display: flex;
  display: -webkit-flex;
  justify-content: space-between
}

.doc-item .doc-info div {
  align-self: flex-end
}

.percent {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 60px
}

.percent svg {
  position: relative;
  width: 60px;
  height: 60px
}

.percent svg circle {
  width: 60px;
  height: 60px;
  fill: none;
  stroke-width: 6;
  stroke: #000;
  transform: translate(5px, 5px);
  stroke-dasharray: 152;
  stroke-dashoffset: 152;
  stroke-linecap: square
}

.percent svg circle:nth-child(1) {
  stroke-dashoffset: 0;
  stroke: #E0F2F1
}

.percent svg circle:nth-child(2) {
  stroke: #12A19A
}

.percent .number {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  align-items: center;
  color: #111
}

.percent .number h2 {
  font-size: 14px
}

.percent .number h2 span {
  font-size: 12px
}

.info h4, .info table td i {
  color: orange
}

.info h4, .info table h4 {
  color: var(--color-title-dark)
}

.muai {
  padding: 20px
}


@keyframes call {
  0% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0)
  }

  100% {
    transform: scale(2.0);
    -webkit-transform: scale(1.05)
  }
}

@media (max-width:600px) {
  .search input[type=text] {
    width: 80%
  }

  .satis-item i {
    font-size: 22px
  }

  .search button {
    width: 20%
  }

  .cat-item a {
    width: 160px;
    margin: 6px
  }

  .cat-item a span {
    font-size: 1.1em
  }

  .doc-content .doc-text a {
    margin-top: 0;
    margin-bottom: 15px
  }
}

@keyframes zoom-effect {
  from {
    transform: scale(1)
  }

  to {
    transform: scale(1.02)
  }
}