
@font-face {
  font-family: 'IranYekan';
  src: url('/assets/iranyekan/ttf/iranyekanwebregular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'IranYekan';
  src: url('/assets/iranyekan/ttf/iranyekanwebbold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'IranYekan';
  src: url('/assets/iranyekan/ttf/iranyekanweblight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'IranYekan';
  src: url('/assets/iranyekan/ttf/iranyekanwebmedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'IranYekan';
  src: url('/assets/iranyekan/ttf/iranyekanwebblack.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'IranYekan';
  src: url('/assets/iranyekan/ttf/iranyekanwebextrabold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'IranYekan';
  src: url('/assets/iranyekan/ttf/iranyekanwebextrablack.ttf') format('truetype');
  font-weight: 950;
  font-style: normal;
}

@font-face {
  font-family: 'IranYekan';
  src: url('/assets/iranyekan/ttf/iranyekanwebthin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

body {
    font-family: 'IranYekan', sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  direction: rtl;
  background: #fff;
  color: #333;
  line-height: 1.8;
}

header {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 100px 20px 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden; /* برای قطع شدن ویدیو در لبه‌ها */
}

/* ویدیو بک‌گراند */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* لایه تیره بالا ویدیو */
header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* تنظیم تیرگی */
  z-index: -1;
}

header h1, header p, header a, header .guarantee {
  position: relative;
  z-index: 2;
}

header h1 {
  font-size: 28px;
  margin-bottom: 15px;
}

header p {
  max-width: 500px;
  margin: 0 auto 20px;
  font-size: 16px;
}

header .btn {
  padding: 10px 22px;
  font-size: 14px;
  background: #E26AB2;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: block;      /* اضافه شده برای وسط‌چین */
  margin: 0 auto;      /* اضافه شده برای وسط‌چین */
  width: auto;
  max-width: 240px;
}


.hero-bg-image {
  background-image: url('assets/image/mother-midwife-newborn.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 20px; /* برای اطمینان از نمایش مناسب محتوا */
  text-align: center; /* برای تراز کردن محتوا */
}

.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  font-size: 10px;
}

header .guarantee {
  color: #fff;
}

.guide-section .guarantee,
.guarantee.bottom {
  color: #666;
}

.guarantee img {
  width: 16px;
  margin-left: 6px;
}

.section-catalog{
  background: #E3EAEE;
  padding: 40px 20px;
  text-align: center;
  margin: auto;
}


.catalog-container{
   max-width: 800px;
  margin: 0 auto;
  /* padding: 0 20px; */
  box-sizing: border-box;
}


.section-catalog h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 30px;
}

.section {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

.section h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 30px;
}

.lessons {
  background: #f2f4f8;
  padding: 10px;
  border-radius: 8px;
}

.lesson-item {
  background: #e1e6ed;
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: right;
  cursor: pointer;
  transition: background-color 0.3s;
  direction: rtl;
}

.lesson-item:hover {
  background-color: #d9dde5;
}

.lesson-item img {
  width: 20px;
}

.lesson-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

/* لیبل رایگان */
.label-free {
  background-color: #f06292;
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 8px;
}


.about {
 
  padding: 40px 20px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: right;
}

.about-text, .about-video {
  flex: 1 1 400px;
  max-width: 450px; /* 👈 تا اندازه مناسبی داشته باشن */
}


.about-text, .about-video {
  flex: 1 1 400px;
  max-width: 450px; /* 👈 تا اندازه مناسبی داشته باشن */
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column-reverse;
  }
}



.about-text {
  flex: 1 1 45%;
  max-width: 420px;
  margin: auto;
}

.about-text h2 {
  margin-bottom: 15px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.about .btn-group {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.about .btn-group .btn {
  padding: 10px 22px;
  font-weight: bold;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
}

.about .btn-group .solid {
  background-color: #E26AB2;
  color: white;
  border: none;
}

.about .btn-group .outline {
  background: transparent;
  border: 2px solid #E26AB2;
  color: #E26AB2;
}

.about-video {
  flex: 1 1 45%;
}

.comments {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.comments img {
  width: 180px;
  border-radius: 10px;
}

.comments .wiki-btn {
  background: #E26AB2;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  margin-top: 30px;
  text-align: center;
}

.guide-section {
  background: #E3EAEE;
  text-align: center;
  padding: 40px 20px;
}

.guide-section p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 600px;
  margin: auto;
}

.guide-section .btn {
  padding: 12px 30px;
  font-size: 15px;
  background: #E26AB2;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 15px;
}

.faq h3 {
  font-size: 18px;
  margin-top: 25px;
}

.faq p {
  font-size: 14px;
  line-height: 1.7;
}

footer {
  background: #E3EAEE;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  gap: 20px;
}

.footer-logo {
  flex: 1 1 30%;
  text-align: right;
}

.footer-logo img {
  width: 90px;
}

.footer-logo p {
  font-size: 13px;
  margin-top: 10px;
  line-height: 1.6;
  max-width: 280px;
  text-align: right;
}

.footer-social, .footer-trust {
  flex: 1 1 30%;
}

.footer-trust img {
  height: 70px;
  margin: 10px;
}

.footer-social img {
  width: 30px;
  margin: 0 8px;
  vertical-align: middle;
}

.footer-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.copyright {
  font-size: 10px;
  margin-top: 30px;
}

.h_iframe-aparat_embed_frame {
  position: relative;
}

.h_iframe-aparat_embed_frame .ratio {
  display: block;
  width: 100%;
  height: auto;
}

.h_iframe-aparat_embed_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .about {
    flex-direction: column-reverse;
  }

  .lesson-item {
    font-size: 14px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo, .footer-trust, .footer-social {
    flex: 1 1 100%;
    text-align: center !important;
  }

  .footer-logo p {
    text-align: center;
  }
}

.package-video {
  text-align: center;
  margin-bottom: 30px;
}

.package-video video {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.footer-container {
  max-width: 800px; /* همانند .section که max-width: 800px داره */
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}


.footer-trust img {
  height: 70px;
  margin: 10px;
}

a.btn {
  padding: 12px 30px;
  font-size: 15px;
  background: #E26AB2;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 15px;
}

.cta-wrapper {
  text-align: center;
  margin-top: 25px;
}

.cta-wrapper .btn {
  display: inline-block;
}

.cta-wrapper .guarantee {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-wrapper .guarantee img {
  width: 16px;
  margin-left: 6px;
}


.comments .wiki-btn {
  padding: 12px 24px;
  border: 2px solid #E26AB2;
  background-color: white;
  color: #E26AB2;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 30px;
  text-align: center;
  transition: 0.3s ease;
}

.comments .wiki-btn:hover {
  background-color: #E26AB2;
  color: white;
}

.section-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}


.wiki-btn {
  padding: 12px 24px;
  border: 2px solid #E26AB2;
  background-color: #fff;
  color: #E26AB2;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: 0.3s ease;
  margin: 30px auto 0;
}

.wiki-btn:hover {
  background-color: #E26AB2;
  color: #fff;
}


.modal {
  display: none; /* مخفی پیش‌فرض */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 30px 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.modal-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

.modal-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: #E26AB2;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.close {
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 24px;
  cursor: pointer;
}


.btn-whatsapp {
    display: block;
    position: fixed;
    text-decoration: none;
    z-index: 2147483647;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgb(0 0 0 / 30%);
    transform: scale(1);
    bottom: 24px;
    right: 24px;
    background: url(whatsapp.png);
}

  .label-free {
    background-color: #f06292;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 8px;
    margin-right: 8px;
    vertical-align: middle;
  }


.image-modal {
  display: none; /* در ابتدا مخفی */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);

  /* اضافه‌شده برای وسط‌چین کردن تصویر */
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex; /* برای وسط‌چینی لازم است، ولی در ابتدا باید توسط JS فعال شود */
}


.modal-content {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
  margin: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.close-btn {
  position: absolute;
  top: 25px;
  left: 25px;
  color: #333;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;

  background-color: rgba(200, 200, 200, 0.6); /* دایره‌ی طوسی نیمه‌شفاف */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  transition: background-color 0.3s;
}

.close-btn:hover {
  background-color: rgba(150, 150, 150, 0.8);
}

.comment-img {
  cursor: pointer;
  border-radius: 5px;
  max-width: 150px;
  margin: 10px;
  transition: transform 0.2s;
}

.comment-img:hover {
  transform: scale(1.03);
}





/* ========== Hero Section New ========== */
.hero-new {
  position: relative;
  padding: clamp(24px, 6vw, 10px) 0 clamp(56px, 8vw, 50px);
  background: linear-gradient(180deg, #fff 0%, #fff 60%, #FFF8FD 100%);
  overflow: hidden;
}

.hero-new .container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* لوگو */
.hero-new .brand {
  display: block;
  margin-bottom: 48px; /* فاصله بیشتر لوگو تا نوشته‌ها */
}
.hero-new .brand__logo {
  width: 120px;
}

@media (max-width: 768px) {
  .hero-new .brand {
    text-align: center; /* وسط‌چین کردن لوگو */
    margin-bottom: 32px; /* فاصله کمتر برای موبایل */
  }

  .hero-new .brand__logo {
    margin: 0 auto; /* باعث می‌شود لوگو در مرکز قرار گیرد */
  }
}

.hero-new__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px); /* فاصله بیشتر متن و عکس */
}

/* فیگور */
.hero-new__figure {
  position: relative;
  margin: 0;
  order: 2;
  display: flex; /* فعال کردن Flexbox */
  justify-content: center; /* وسط‌چین افقی */
  align-items: center; /* وسط‌چین عمودی */
  height: 100%; /* اطمینان از اینکه فضای کامل در دسترس است */
}
.hero-new__img {
  width: 78%;
  height: auto;
  object-fit: contain;
  z-index: 1;
  translate: 0 6%;
}

@media (max-width: 768px) {
  .hero-new__img {
    width: 60%; /* عرض را برای موبایل کوچکتر می‌کنیم */
    translate: 0 4%; /* تنظیم جایگاه برای موبایل */
  }
}

/* متن */
.hero-new__content {
  text-align: center;
  order: 1;
}
.hero-new__title {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.25;
  color: #331B74;
  font-weight: 800;
  position: relative; /* موقعیت‌دهی نسبی به تایتل */
  display: inline-block;
  text-align: center; /* برای وسط‌چین کردن محتوای h1 */
}


.hero-new__title .title-shape {
  position: absolute; /* قرار دادن تصویر زیر تایتل */
  bottom: -8px; /* فاصله کمی از پایین تایتل */
  left: 0; /* شروع از سمت چپ */
  width: 100%; /* عرض تصویر به اندازه 100% از تگ h1 */
  max-width: 500px; /* حداکثر عرض تصویر */
  height: 10px; /* ارتفاع برای شبیه‌سازی خط */
  margin: 0 auto; /* وسط‌چین کردن */
}

.hero-new__subtext {
  margin: 12px 0 20px;
  color: #513B8D;
  line-height: 1.9;
  text-align: center; /* وسط چین کردن متن */
}

/* موبایل (تا 768px) */
@media (max-width: 768px) {
  .hero-new__subtext {
    font-size: 12px; /* کوچکتر بشه */
    
    margin-left: auto;
    margin-right: auto; /* وسط چین نگه داشتن */
  }
}

/* دسکتاپ (بیشتر از 768px) */
@media (min-width: 769px) {
  .hero-new__subtext {
    font-size: 16px;
    max-width: 100%; /* بدون محدودیت در دسکتاپ */
  }
}

/* CTA */
.hero-new__cta {
  display: flex;
  gap: 32px;
  align-items: center;
  grid-template-columns: auto 1fr;
  justify-content: center;
}


.hero-new .btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px 14px 32px; /* تغییرات پدینگ */
  border-radius: 14px;
  background: #E26AB2;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(226,106,178,.32);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

/* موبایل (تا 768px) */
@media (max-width: 768px) {
  .hero-new .btn-buy {
    font-size: 14px;
     padding: 14px 30px 14px 30px; /* تغییرات پدینگ */
    
  }
}

/* دسکتاپ (بیشتر از 768px) */
@media (min-width: 769px) {
  .hero-new .btn-buy {
    font-size: 18px;
  }
}


.hero-new .btn-buy:hover { transform: translateY(-2px); filter: brightness(1.03); }
.hero-new .btn-buy .btn-icon {
  width: 20px;
  height: 20px;
  margin-left: 10px;
}

/* قیمت */
.hero-new .price { display: grid; gap: 0px; justify-items: start; }
.hero-new .price__row { display: flex; align-items: center; gap: 10px; color: #6B5BA7; }


.hero-new .price__label {
  font-weight: 600;
  color: #513B8D;
}

/* برای موبایل (تا عرض 768px) */
@media (max-width: 768px) {
  .hero-new .price__label {
    font-size: 12px;
  }
}

/* برای دسکتاپ (بیشتر از 768px) */
@media (min-width: 769px) {
  .hero-new .price__label {
    font-size: 14px;
  }
}


.hero-new .price__old {
  text-decoration: line-through;
  color: #9a89d1;
}

/* موبایل (تا 768px) */
@media (max-width: 768px) {
  .hero-new .price__old {
    font-size: 14px;
  }
}

/* دسکتاپ (بیشتر از 768px) */
@media (min-width: 769px) {
  .hero-new .price__old {
    font-size: 16px;
  }
}



.hero-new .badge-off {
  background: #F45B5D;
  color: #fff;
  padding: 2px 4px; /* کاهش پدینگ */
  border-radius: 7px; /* گردی ۷px */
}

/* موبایل (تا 768px) */
@media (max-width: 768px) {
  .hero-new .badge-off {
    font-size: 10px;
  }
}

/* دسکتاپ (بیشتر از 768px) */
@media (min-width: 769px) {
  .hero-new .badge-off {
    font-size: 12px;
  }
}


.hero-new .price__now {
  font-weight: 900;
  color: #331B74;
}

/* موبایل (تا 768px) */
@media (max-width: 768px) {
  .hero-new .price__now {
    font-size: 16px;
  }
}

/* دسکتاپ (بیشتر از 768px) */
@media (min-width: 769px) {
  .hero-new .price__now {
    font-size: 18px;
  }
}


.hero-new .price__now .toman {
  font-size: 12px;
  font-weight: normal; /* تغییر به استایل رگولار */
}


/* Scroll Down */
.hero-new .scroll-down {
  display: flex;
  justify-content: center; /* افقی وسط */
  align-items: center;     /* عمودی وسط در ارتفاع خودش */
  width: 100%;             /* فول عرض */
  padding-top: 70px;       /* فاصله از بالا */
  gap: 8px;
  text-decoration: none;
  color: #45317e;
  font-weight: 600;
  opacity: .9;
}

.hero-new .scroll-down img { width: 22px; }
.hero-new .scroll-down span {
  border-bottom: 2px solid #513B8D;
  padding-bottom: 2px;
}



.hero-new .decor-star {
  position: absolute;
  bottom: -18px;
  right: max(8px, 4vw); /* تغییر از left به right */
  width: clamp(60px, 9vw, 110px);
  pointer-events: none;
  opacity: .7;
}


/* ریسپانسیو */
@media (max-width: 900px){
  .hero-new__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-new__figure { order: 1; }
  .hero-new__content { order: 2; }
  .hero-new__cta {
    grid-template-columns: auto auto; /* دکمه کنار قیمت */
    justify-content: center;
    gap: 22px;
  }
  


