/* --- وارد کردن فونت وزیرمتن از گوگل فونت --- */
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700;900&display=swap");

/* --- تنظیمات کلی بر اساس راهنمای استایل --- */
body {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0; /* خاکستری روشن */
  color: #333;
  text-align: center;
  direction: rtl; /* برای اطمینان از راست به چپ بودن */
}

header {
  background-color: #001f3f; /* آبی سرمه‌ای */
  color: white;
  padding: 20px 0;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

header .announcement {
  font-size: 1.1em;
  font-weight: 500;
  margin-bottom: 10px;
  color: #c0c0c0;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  font-weight: 900; /* Black */
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px; /* افزایش فاصله برای زیبایی بیشتر */
}

/* --- استایل‌های صفحه اصلی --- */
.home-page-content {
  flex-direction: row; /* کارت‌ها در دسکتاپ کنار هم */
  align-items: flex-start; /* شروع از بالا */
}

.course-section {
  width: 45%; /* تقسیم صفحه به دو بخش تقریباً مساوی */
  max-width: 500px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* توزیع فضا بین عناصر */
  min-height: 500px; /* حداقل ارتفاع برای یکنواختی */
  border-top: 5px solid #009688; /* خط فیروزه‌ای بالا */
}

.course-section-title {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 1.8em;
  color: #001f3f; /* آبی سرمه‌ای */
  margin-bottom: 25px;
}

.course-box {
  display: block; /* برای اینکه عکس عرض کامل بگیرد */
  width: 100%;
  margin-bottom: 25px;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.course-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.course-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px; /* لبه‌های گرد برای عکس */
}

.btn-more-info {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ffa500; /* نارنجی تأکیدی */
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 700;
  border-radius: 50px;
  transition: background-color 0.3s, transform 0.3s;
  border: none;
  cursor: pointer;
  margin-top: auto; /* برای چسباندن دکمه به پایین */
}

.btn-more-info:hover {
  background-color: #e69500;
  transform: scale(1.05);
}

/* --- استایل‌های صفحات جزئیات دوره‌ها (مثل course1.html و course2.html) --- */
.course-page-detail {
  flex-direction: column;
  align-items: center;
  padding-top: 30px; /* فاصله از هدر */
}

/* استایل برای محتوای خالی صفحه جوانه‌بزن */
.empty-course-content {
  background-color: white;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  border-top: 5px solid #009688;
}

.empty-course-content h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 2.2em;
  color: #001f3f;
  margin-bottom: 20px;
}

.empty-course-content p {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 500;
  font-size: 1.1em;
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
}

.btn-back {
  display: inline-block;
  padding: 15px 30px;
  background-color: #001f3f; /* آبی سرمه‌ای */
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 700;
  border-radius: 50px;
  transition: background-color 0.3s, transform 0.3s;
}

.btn-back:hover {
  background-color: #003366;
  transform: scale(1.05);
}

/* --- استایل‌های اینفوگرافیک نجات‌آفرینان (بدون تغییر نسبت به کد قبلی) --- */

.infographic-container {
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  border-top: 5px solid #001f3f; /* آبی سرمه‌ای */
  direction: rtl;
}

.infographic-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #009688; /* سبز فیروزه‌ای */
}

.infographic-header h1 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 2.8em;
  color: #001f3f; /* آبی سرمه‌ای */
  margin-bottom: 10px;
}

.infographic-header p {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  font-size: 1.4em;
  color: #ffa500; /* نارنجی تأکیدی */
}

/* بخش ویژگی‌ها */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.feature-card {
  background-color: #f8f8fa; /* پس‌زمینه کمی روشن‌تر */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #009688; /* نوار رنگی فیروزه‌ای */
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.feature-card .icon {
  font-size: 3.5em; /* سایز بزرگتر برای آیکون‌های ایموجی */
  display: block;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  font-size: 1.3em;
  color: #001f3f;
  margin-bottom: 10px;
}

.feature-card p {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 400;
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}

/* بخش دستاوردها */
.achievements-section {
  margin-bottom: 50px;
  padding-top: 30px;
  border-top: 2px dashed #009688;
}

.achievements-section h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 2.2em;
  color: #001f3f;
  margin-bottom: 30px;
}

.achievement-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: #e6f7f5; /* پس‌زمینه سبز فیروزه‌ای روشن */
  border-radius: 10px;
  padding: 18px 25px;
  margin: 15px auto;
  max-width: 500px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.achievement-card .icon {
  font-size: 2.5em;
  color: #009688; /* رنگ آیکون‌ها */
}

.achievement-card p {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  font-size: 1.1em;
  color: #001f3f;
  margin: 0;
}

/* بخش هزینه */
.pricing-section {
  margin-bottom: 50px;
  padding-top: 30px;
  border-top: 2px dashed #ffa500;
}

.pricing-section h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 2.2em;
  color: #001f3f;
  margin-bottom: 20px;
}

.pricing-section .price {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 3em;
  color: #ffa500; /* نارنجی تأکیدی */
  margin-bottom: 10px;
}

.pricing-section .installment {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  color: #009688; /* سبز فیروزه‌ای */
}

/* بخش تماس */
.contact-section {
  margin-bottom: 50px;
  padding-top: 30px;
  border-top: 2px dashed #001f3f;
}

.contact-section h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 2.2em;
  color: #001f3f;
  margin-bottom: 20px;
}

.contact-section p {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 500;
  font-size: 1.1em;
  color: #333;
  margin: 8px 0;
}

/* دکمه CTA پایانی */
.cta-button {
  display: inline-block;
  padding: 20px 45px;
  background-color: #ffa500; /* نارنجی تأکیدی */
  color: white;
  text-decoration: none;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 1.8em;
  border-radius: 60px;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  margin-top: 30px;
  box-shadow: 0 6px 15px rgba(255, 165, 0, 0.4);
  animation: pulse 2s infinite; /* انیمیشن چشمک‌زن برای جلب توجه */
}

.cta-button:hover {
  background-color: #e69500;
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(255, 165, 0, 0.6);
}

/* انیمیشن برای دکمه CTA */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 15px rgba(255, 165, 0, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 15px rgba(255, 165, 0, 0.4);
  }
}

/* --- ریسپانسیو کلی --- */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8em;
  }
  header .announcement {
    font-size: 0.9em;
  }

  .home-page-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .course-section {
    width: 90%;
    max-width: 450px;
    padding: 25px;
    min-height: auto; /* حذف حداقل ارتفاع در موبایل */
  }

  .course-section-title {
    font-size: 1.5em;
  }

  .btn-more-info {
    font-size: 1em;
    padding: 12px 25px;
  }

  /* استایل‌های اینفوگرافیک نجات‌آفرینان در موبایل */
  .infographic-container {
    padding: 20px;
    margin: 20px auto;
  }

  .infographic-header h1 {
    font-size: 2.2em;
  }

  .infographic-header p {
    font-size: 1.1em;
  }

  .features-section {
    grid-template-columns: 1fr; /* در موبایل کارت‌ها زیر هم قرار می‌گیرند */
    gap: 20px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card .icon {
    font-size: 3em;
  }

  .feature-card h3 {
    font-size: 1.2em;
  }

  .achievements-section h2,
  .pricing-section h2,
  .contact-section h2,
  .empty-course-content h2 {
    font-size: 1.8em;
  }

  .pricing-section .price {
    font-size: 2.5em;
  }

  .cta-button,
  .btn-back {
    font-size: 1.4em;
    padding: 15px 30px;
    border-radius: 50px;
  }
}
/* --- استایل‌های اختصاصی اینفوگرافیک دوره جوانه‌بزن --- */

/* بخش هدف دوره (About Course) */
.about-course-section {
  margin-bottom: 50px;
  padding-top: 30px;
  border-top: 2px dashed #009688;
}

.about-course-section h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 2.2em;
  color: #001f3f;
  margin-bottom: 30px;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.about-card {
  background-color: #f8f8fa;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  border-bottom: 4px solid #ffa500; /* نارنجی */
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card .icon {
  font-size: 3em;
  display: block;
  margin-bottom: 15px;
}

.about-card h3 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  color: #001f3f;
  margin: 0;
}

/* بخش مخاطبان (Features Section بازتعریف شده برای جوانه‌بزن) */
/* از همین کلاس feature-card قبلی استفاده می‌شود اما با چینش متفاوت */
.features-section h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 2.2em;
  color: #001f3f;
  margin-bottom: 30px;
}

/* بخش زمان‌بندی (Timeline) */
.timeline-section {
  padding-top: 30px;
  border-top: 2px dashed #001f3f;
  margin-bottom: 50px;
}

.timeline-section h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 2.2em;
  color: #001f3f;
  margin-bottom: 30px;
}

.timeline-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: #e0f7fa; /* آبی روشن‌تر */
  border-radius: 10px;
  padding: 15px 25px;
  margin: 10px auto;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-item .icon {
  font-size: 2em;
  color: #009688;
}

.timeline-item p {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  color: #001f3f;
  margin: 0;
}

/* بخش شیوه آموزشی (Methodology) */
.methodology-section {
  margin-bottom: 50px;
  padding-top: 30px;
  border-top: 2px dashed #ffa500;
}

.methodology-section h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 2.2em;
  color: #001f3f;
  margin-bottom: 30px;
}

.method-card {
  background-color: #fff9ed; /* نارنجی روشن‌تر */
  border-radius: 12px;
  padding: 20px;
  margin: 15px auto;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  border-left: 4px solid #ffa500;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: right;
}

.method-card .icon {
  font-size: 2.5em;
  color: #ffa500;
  flex-shrink: 0; /* جلوگیری از کوچک شدن آیکون */
}

.method-card p {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  color: #333;
  margin: 0;
}

/* بخش سرفصل‌ها (Syllabus) */
.syllabus-section {
  margin-bottom: 50px;
  padding-top: 30px;
  border-top: 2px dashed #001f3f;
}

.syllabus-section h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 2.2em;
  color: #001f3f;
  margin-bottom: 30px;
}

.syllabus-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  text-align: right;
}

.syllabus-list li {
  background-color: #f0f0f0;
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 10px;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 500;
  font-size: 1.05em;
  color: #333;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.syllabus-list li::before {
  content: "📚"; /* آیکون برای لیست */
  margin-left: 10px;
  font-size: 1.2em;
  color: #009688;
}

/* بخش دستاوردها (برای کارفرما/جامعه) - با استایل‌های achievement-card قبلی */
/* این بخش از کلاس achievements-section و achievement-card قبلی استفاده می‌کند */

/* بخش مجری (Implementer) */
.implementer-section {
  margin-bottom: 50px;
  padding-top: 30px;
  border-top: 2px dashed #009688;
}

.implementer-section h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
  font-size: 2.2em;
  color: #001f3f;
  margin-bottom: 25px;
}

.implementer-section ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto 30px auto;
  text-align: right;
}

.implementer-section li {
  background-color: #f8fdfd; /* فیروزه‌ای خیلی روشن */
  border-radius: 8px;
  padding: 10px 20px;
  margin-bottom: 8px;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 500;
  font-size: 1em;
  color: #333;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.implementer-section li::before {
  content: "✅";
  margin-left: 10px;
  font-size: 1.1em;
  color: #009688;
}

.implementer-logo {
  max-width: 200px;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* دکمه CTA برای جوانه‌بزن */
/* استفاده از همان cta-button قبلی با تغییر متن */

/* ریسپانسیو برای بخش‌های جدید جوانه‌بزن */
@media (max-width: 768px) {
  .about-cards-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item,
  .method-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 15px;
  }

  .method-card .icon {
    margin-left: 0;
  }

  .syllabus-list,
  .implementer-section ul {
    text-align: center;
  }

  .syllabus-list li,
  .implementer-section li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
  }

  .syllabus-list li::before,
  .implementer-section li::before {
    margin-left: 0;
    margin-bottom: 5px;
  }

  .implementer-logo {
    max-width: 150px;
  }
}
