/* ======================= General Styles ======================= */
:root {
    --primary-color: #d9534f; /* رنگ اصلی (قرمز-نارنجی) */
    --dark-blue: #2c3e50;     /* رنگ آبی تیره بخش محتوا */
    --light-gray: #f7f7f7;    /* رنگ پس زمینه نوار بالا */
    --text-color: #333;       /* رنگ متن اصلی */
    --white-color: #fff;      /* رنگ سفید */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #c9302c;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: #c9302c;
}

/* ======================= Header Styles ======================= */

/* Top Bar */
.top-bar {
    background-color: var(--light-gray);
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #e7e7e7;
}

.top-bar-right a,
.top-bar-left a {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.top-bar i {
    margin-left: 8px;
    color: var(--primary-color);
}

.top-bar-right {
    display: flex;
}

/* Main Navigation */
.main-nav {
    background-color: var(--white-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
}

.logo img {
    height: 40px; /* اندازه لوگو */
    margin-left: 10px;
    border-radius: 50px;
}

.nav-menu {
    display: flex;
}

.nav-menu li a {
    padding: 10px 15px;
    display: block;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu i {
    font-size: 12px;
    margin-right: 5px;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.search-icon {
    font-size: 18px;
    margin-left: 20px;
    padding: 10px;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: var(--primary-color);
}

/* ======================= Hero Section Styles ======================= */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* محتوا را به سمت راست می برد */
    min-height: 75vh; /* ارتفاع بخش هیرو */
    background-image: url('image/herosection.webp'); /* عکس پس زمینه خود را اینجا قرار دهید */
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white-color);
}

.hero-content {
    background-color: rgba(44, 62, 80, 0.95); /* پس زمینه تیره نیمه شفاف */
    width: 50%;
    padding: 60px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.hero-content .subtitle {
    font-size: 18px;
    position: relative;
    padding-right: 50px; /* فاصله برای خط کنار متن */
    margin-bottom: 15px;
}

/* خط کنار "من یک مشاور زندگی هستم" */
.hero-content .subtitle::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content .description {
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    align-items: center;
}

.hero-cta .contact-info {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.hero-cta .contact-info i {
    font-size: 36px;
    color: var(--primary-color);
    margin-left: 15px;
}

.hero-cta .contact-info div {
    display: flex;
    flex-direction: column;
}

.hero-cta .contact-info span {
    font-size: 14px;
}

.hero-cta .contact-info strong {
    font-size: 18px;
    font-weight: bold;
}

/* ======================= Services Section Styles ======================= */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* رنگ پس زمینه خیلی روشن */
}

/* از یک کانتینر متفاوت (fluid) برای این بخش استفاده می‌کنیم تا کارت‌ها بتوانند به لبه‌های صفحه نزدیک‌تر شوند. */
.container-fluid {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #6c757d;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* برای واکنش‌گرایی در صفحات کوچک‌تر */
}

.service-card {
    position: relative; /* برای لایه رویی (overlay) */
    flex: 1; /* باعث می‌شود کارت‌ها فضای موجود را پر کنند */
    min-width: 280px; /* حداقل عرض کارت */
    height: 400px;
    border-radius: 10px;
    overflow: hidden; /* برای گرد شدن گوشه‌های تصویر */
    color: var(--white-color);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end; /* محتوا را به پایین کارت می‌چسباند */
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px); /* افکت بالا آمدن کارت در هاور */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* لایه نیمه شفاف روی تصویر برای خوانایی بهتر متن */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
}

.service-card-content {
    position: relative;
    z-index: 2; /* محتوا را روی لایه overlay قرار می‌دهد */
    width: 100%;
}

.service-card .card-category {
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    opacity: 0.8;
}

.service-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.service-card i {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: translateX(-8px); /* افکت حرکت فلش در هاور */
}

/* ======================= About Section Styles ======================= */
.about-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.about-section .container {
    align-items: flex-start; /* آیتم ها را از بالا تراز می کند */
    gap: 60px;
}

/* ستون محتوای متنی */
.about-content {
    flex-basis: 50%;
}

.about-content .section-title {
    text-align: right;
    font-size: 38px;
}

.about-content .section-subtitle {
    text-align: right;
}

.about-content > p {
    color: #6c757d;
    margin-bottom: 40px;
}

.features-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 32px;
    color: var(--primary-color);
    flex-shrink: 0; /* جلوگیری از کوچک شدن آیکون */
}

.feature-text h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.feature-text p {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.7;
}

/* ستون تصویر */
.about-image-wrapper {
    flex-basis: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px; /* برای حفظ فضا */
}

/* الگوی نقطه ای در پس زمینه */
.dots-pattern {
    position: absolute;
    top: -40px;
    right: -40px; /* در RTL به سمت راست می رود */
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #ddd 1px, transparent 1px);
    background-size: 15px 15px;
    z-index: 1;
}

.image-container {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 15px solid var(--white-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* تصویر را به صورت کامل و بدون تغییر نسبت، قاب را پر می کند */
}

.experience-box {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-align: center;
    width: 120px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.experience-box span {
    display: block;
    font-size: 14px;
}

.experience-box strong {
    font-size: 32px;
    font-weight: 800;
}

/* ======================= CTA Section Styles ======================= */
.cta-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* همان رنگ پس زمینه بخش خدمات */
}

.cta-section .container {
    align-items: center;
    gap: 50px;
}

/* ستون محتوای متنی */
.cta-content {
    flex: 1;
    text-align: right; /* محتوا در راستای خودش راست چین است */
}

.cta-content .section-subtitle {
    text-align: right;
}

.cta-content .section-title {
    text-align: right;
    font-size: 38px;
    margin-bottom: 20px;
}

.cta-content p {
    color: #6c757d;
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.curved-arrow {
    width: 100px; /* اندازه فلش */
    height: auto;
    /* این فلش در RTL به سمت راست دکمه می رود. موقعیت آن درست است */
}

/* ستون تصویر */
.cta-image {
    flex-basis: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* ترتیب نمایش در حالت دسکتاپ (چپ یا راست بودن) */
    /* در RTL، این ستون در سمت چپ قرار می گیرد که صحیح است */
}

.cta-image img {
    max-width: 300px;
    height: auto;
    /* سایه ملایم برای ایجاد عمق */
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.cta-image img:hover {
    transform: translateY(-10px) rotate(3deg); /* افکت هاور جذاب برای کتاب */
}

/* ======================= Process Section Styles ======================= */
.process-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.process-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* for responsive */
}

.process-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.process-image {
    width: 100%;
    height: 300px; /* ثابت کردن ارتفاع تصویر */
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-content-box {
    background-color: var(--white-color);
    padding: 25px;
    margin: 0 20px -50px 20px; /* حاشیه منفی برای بالا آمدن جعبه روی تصویر */
    position: relative;
    z-index: 2;
    border-radius: 8px;
    text-align: right;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}

.process-content-box h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.process-content-box p {
    font-size: 15px;
    color: #6c757d;
}

/* استایل برای جعبه رنگی کارت وسط */
.process-content-box.colored {
    background-color: var(--primary-color);
}

.process-content-box.colored h3,
.process-content-box.colored p {
    color: var(--white-color);
}

/* ======================= Stats Section Styles ======================= */
.stats-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* رنگ پس زمینه روشن */
}

.stats-section .container {
    display: flex;
    justify-content: space-around; /* آیتم ها با فاصله مساوی پخش می شوند */
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    flex: 1;
    min-width: 200px; /* حداقل عرض برای هر آیتم */
    text-align: center;
    padding: 0 15px;
    position: relative;
}

/* خط جداکننده عمودی */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0; /* در RTL در سمت چپ قرار میگیرد */
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 1px;
    background-color: #ddd;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: #6c757d;
    font-size: 15px;
}

/* ======================= Steps Section Styles ======================= */
.steps-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.steps-section .container {
    align-items: center;
    gap: 60px;
}

.steps-content {
    flex-basis: 50%;
    text-align: right;
}

.steps-content .section-subtitle {
    text-align: right;
}

.steps-content .section-title {
    text-align: right;
    font-size: 38px;
}

.steps-content p {
    color: #6c757d;
    max-width: 500px;
}

.steps-image-wrapper {
    flex-basis: 50%;
    position: relative;
}

.steps-main-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.steps-overlay-box {
    position: absolute;
    bottom: -30px;
    right: -30px; /* در RTL به سمت راست بیرون می زند */
    background-color: rgba(217, 83, 79, 0.9); /* رنگ اصلی با کمی شفافیت */
    color: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    width: 220px;
    text-align: center;
    backdrop-filter: blur(5px); /* افکت شیشه ای مات */
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.overlay-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
}

.steps-overlay-box p {
    font-size: 16px;
    line-height: 1.5;
}

/* ======================= Testimonials Section Styles ======================= */
.testimonials-section {
  padding: 80px 0 120px; /* پدینگ پایین بیشتر برای فضای کارت‌ها */
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden; /* جلوگیری از نمایش المان‌های بیرون‌زده */
}

/* الگوی تزئینی در پس‌زمینه */
.testimonials-section::before {
  content: '';
  position: absolute;
  top: 50px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(circle, #ddd 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: 0.5;
  z-index: 0;
}

.testimonials-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* کارت‌ها از بالا تراز می‌شوند */
  gap: 30px;
  flex-wrap: wrap;
  position: relative; /* برای z-index */
  z-index: 1;
}

.testimonial-card {
  background-color: var(--white-color);
  border-radius: 10px;
  padding: 60px 30px 30px 30px; /* پدینگ بالا بیشتر برای جای عکس */
  flex: 1;
  min-width: 300px;
  max-width: 360px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-author-img {
  position: absolute;
  top: -40px; /* عکس را به بالای کارت منتقل می‌کند */
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--white-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content h4 {
  font-size: 20px;
  font-weight: bold;
  color: var(--dark-blue);
  margin-bottom: 15px;
}

.author-title {
  font-size: 14px;
  font-weight: normal;
  color: #6c757d;
}

.testimonial-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* استایل برای کارت برجسته (وسطی) */
.testimonial-card.featured {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-20px); /* کارت را کمی بالاتر می‌برد */
  box-shadow: 0 15px 50px rgba(217, 83, 79, 0.3);
}

.testimonial-card.featured:hover {
  transform: translateY(-30px); /* افکت هاور قوی‌تر */
}

.testimonial-card.featured .testimonial-content h4,
.testimonial-card.featured .author-title,
.testimonial-card.featured .testimonial-content p {
  color: var(--white-color);
}

.testimonial-card.featured .testimonial-author-img {
  border-color: var(--primary-color);
}

/* ======================= FAQ Section Styles ======================= */
.faq-section {
  padding: 100px 0;
  background-color: var(--white-color);
}

.faq-section .container {
  align-items: flex-start;
  gap: 50px;
}

/* ستون آکاردئون */
.faq-accordion-column {
  flex-basis: 55%;
}

.faq-accordion-column .section-title {
  text-align: right;
}

.faq-accordion-column .section-subtitle {
  text-align: right;
}

.accordion {
  border-top: 1px solid #eee;
  margin-top: 30px;
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: right;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--dark-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: var(--primary-color);
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-right: 15px;
}

/* آیکون + و - */
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: #555;
  transition: transform 0.3s ease-in-out;
}

.accordion-icon::before { /* خط عمودی */
  width: 2px;
  height: 14px;
  top: 3px;
  left: 9px;
}

.accordion-icon::after { /* خط افقی */
  width: 14px;
  height: 2px;
  left: 3px;
  top: 9px;
}

.accordion-item.active .accordion-header {
  color: var(--primary-color);
}

.accordion-item.active .accordion-icon::before {
  transform: rotate(90deg); /* خط عمودی می‌چرخد */
}

.accordion-item.active .accordion-icon::after {
  transform: rotate(180deg); /* خط افقی می‌چرخد تا روی خط عمودی بیفتد */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion-content p {
  padding: 0 10px 20px 10px;
  font-size: 16px;
  line-height: 1.8;
  color: #6c757d;
}

/* ستون تصویر */
.faq-image-column {
  flex-basis: 45%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.faq-image-column img {
  width: 100%;
  display: block;
}

.faq-image-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 25px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-image-overlay h3 {
  font-size: 18px;
  color: var(--dark-blue);
}

.faq-nav-arrows {
  display: flex;
  gap: 10px;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.arrow-btn:hover {
  background-color: #c9302c;
}

/* ======================= Footer Styles ======================= */
.site-footer {
  color: #a9b3c1; /* رنگ متن روشن برای فوتر */
}

/* Newsletter Section */
.newsletter-section {
  background-color: #4a2f2f; /* یک رنگ قهوه‌ای تیره مایل به قرمز */
  padding: 50px 0;
  color: var(--white-color);
  background-color: #2c3e50; /* الگوی تزئینی پس‌زمینه */
  background-repeat: no-repeat;
  background-position: center left;
  background-size: contain;
}

.newsletter-section .container {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.newsletter-content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 5px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: 'Vazirmatn', sans-serif;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
  padding: 15px 30px;
  border: none;
  background-color: #f0ad4e; /* رنگ زرد */
  color: #333;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: #eea236;
}

/* Main Footer */
.main-footer {
  background-color: #f1f6f8; /* یک رنگ آبی بسیار روشن */
  color: #555;
  padding: 80px 0;
}

.main-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-widget {
  flex: 1;
  min-width: 220px;
}

.footer-widget h4 {
  font-size: 18px;
  font-weight: bold;
  color: var(--dark-blue);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after { /* خط زیر عنوان‌ها */
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 12px;
}

.footer-widget ul li a {
  color: #555;
  transition: color 0.3s, padding-right 0.3s;
}

.footer-widget ul li a:hover {
  color: var(--primary-color);
  padding-right: 5px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 20px;
}

.footer-logo img {
  height: 35px;
  margin-left: 10px;
  border-radius: 50px;
}

.footer-widget p {
  line-height: 1.8;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #555;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-list i {
  color: var(--primary-color);
  margin-top: 5px;
}

/* Footer Bottom Bar */
.footer-bottom {
  background-color: #e3e9ec;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #6c757d;
}

.footer-bottom .container {
  justify-content: center;
}

/* ======================= Mobile Menu Styles ======================= */

/* --- استایل دکمه همبرگری --- */
.mobile-menu-toggle {
    display: none; /* در حالت دسکتاپ مخفی است */
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-blue);
    cursor: pointer;
    z-index: 1001; /* بالاتر از بقیه المان ها باشد */
}

/* --- استایل منو در حالت موبایل (وقتی باز می‌شود) --- */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block; /* در موبایل و تبلت نمایش داده شود */
    }

    /* استایل اصلی منو در موبایل (قبل از باز شدن) */
    .nav-menu {
        position: fixed; /* موقعیت ثابت تا با اسکرول حرکت نکند */
        top: 0;
        right: -100%; /* در ابتدا خارج از صفحه باشد */
        width: 280px; /* عرض منو */
        height: 100%;
        background-color: var(--white-color);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        flex-direction: column; /* آیتم ها زیر هم قرار بگیرند */
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px;
        transition: right 0.4s ease-in-out; /* انیمیشن نرم برای باز و بسته شدن */
        z-index: 1000;
        display: flex; /* این مهم است که display: none نباشد */
    }

    /* کلاسی که با جاوااسکریپت اضافه می‌شود تا منو نمایش داده شود */
    .nav-menu.nav-menu-open {
        right: 0; /* منو از سمت راست وارد صفحه می‌شود */
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li a {
        padding: 15px 0;
        width: 100%;
        font-size: 16px;
    }

    .nav-menu i {
        display: none; /* حذف فلش‌های کنار آیتم‌های منو در موبایل */
    }
}

/* =================================================================== */
/* ======================= Media Queries for Responsiveness ======================= */
/* =================================================================== */

/* --- For Tablets and Smaller Desktops (max-width: 992px) --- */
@media (max-width: 992px) {
    .container, .container-fluid {
        max-width: 90%;
    }
    
    /* --- Header --- */
 
  
    /* نکته: برای نمایش منو در موبایل به دکمه همبرگری و کمی جاوااسکریپت نیاز دارید */

    /* --- Hero Section --- */
    .hero-content {
        width: 70%;
        padding: 40px;
    }
    .hero-content h1 {
        font-size: 38px;
    }

    /* --- About & CTA & Steps & FAQ Sections --- */
    .about-section .container,
    .cta-section .container,
    .steps-section .container,
    .faq-section .container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .about-content, .cta-content, .steps-content, .faq-accordion-column,
    .about-image-wrapper, .cta-image, .steps-image-wrapper, .faq-image-column {
        flex-basis: 100%;
    }
    .about-content .section-title, .about-content .section-subtitle,
    .cta-content .section-title, .cta-content .section-subtitle,
    .steps-content .section-title, .steps-content .section-subtitle,
    .faq-accordion-column .section-title, .faq-accordion-column .section-subtitle,
    .process-content-box, .features-grid {
        text-align: center;
    }
    .features-grid {
        justify-content: center;
    }
    .cta-action {
        justify-content: center;
    }
    .dots-pattern {
        right: -20px;
        top: -20px;
    }

    /* --- Testimonials --- */
    .testimonial-card.featured {
        transform: translateY(0); /* در تبلت کارت وسط بالاتر نباشد */
    }
    .testimonials-grid {
        align-items: stretch;
    }

    /* --- Footer --- */
    .main-footer .container {
        gap: 30px;
    }
}


/* --- For Mobile Devices (max-width: 768px) --- */
@media (max-width: 768px) {
    /* --- General Styles --- */
    .section-title {
        font-size: 32px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* --- Header --- */
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    .main-nav .container {
        padding: 10px 15px;
    }
    .logo {
        font-size: 20px;
    }
    .logo img {
        height: 35px;
    }

    /* --- Hero Section --- */
    .hero-section {
        min-height: 80vh;
        justify-content: center; /* محتوا را در مرکز قرار می‌دهد */
    }
    .hero-content {
        width: 95%;
        padding: 30px;
        border-radius: 10px; /* در موبایل همه گوشه‌ها گرد باشد */
        text-align: center;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content .subtitle {
        padding-right: 0;
        justify-content: center;
    }
    .hero-content .subtitle::before {
        display: none; /* خط کنار عنوان حذف شود */
    }
    .hero-cta {
        flex-direction: column;
        gap: 25px;
    }
    .hero-cta .contact-info {
        margin-right: 0;
    }

    /* --- Services Section --- */
    .services-grid, .process-grid {
        gap: 20px;
    }

    /* --- About Section --- */
    .image-container {
        width: 300px;
        height: 300px;
        border-width: 10px;
    }
    .experience-box {
        bottom: 10px;
    }
    .features-grid {
        flex-direction: column;
    }

    /* --- Stats Section --- */
    .stats-section .container {
        flex-direction: column;
        gap: 40px;
    }
    .stat-item:not(:last-child)::after {
        display: none; /* حذف خط جداکننده عمودی */
    }
    .stat-item:not(:last-child) {
        padding-bottom: 30px;
        border-bottom: 1px solid #ddd; /* جایگزینی با خط افقی */
    }

    /* --- Steps Section --- */
    .steps-overlay-box {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: -50px;
        border-radius: 0 0 8px 8px;
    }

    /* --- Testimonials Section --- */
    .testimonials-section {
        padding-bottom: 80px;
    }

    /* --- FAQ Section --- */
    .accordion-header {
        font-size: 16px;
    }

    /* --- Footer --- */
    .newsletter-section .container, .newsletter-form {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form input {
        width: 100%;
        text-align: center;
    }

    .main-footer .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-widget h4::after {
        left: 50%;
        transform: translateX(50%); /* خط زیر عنوان را وسط‌چین می‌کند */
    }
    .social-icons {
        justify-content: center;
    }
    .contact-list li {
        justify-content: center;
        text-align: right; /* متن اطلاعات تماس راست‌چین بماند */
    }
    .top-bar-left {
      display: none;
    }
    .nav-actions{
      display: none;
    }
}

