/* --- تنظیمات کلی و متغیرهای رنگ --- */
:root {
    --primary-orange: #f36f21;
    --dark-bg: #2a2a2a;
    --text-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--dark-bg);
    overflow-x: hidden; /* جلوگیری از اسکرول افقی */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #d85c18;
}

/* --- استایل‌دهی به کانتینر اصلی --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('image/hero-section.webp');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

/* --- بخش 1: استایل‌دهی سربرگ (Header) --- */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 100;
    background: rgba(42, 42, 42, 0.5);
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-orange);
}

.nav-right-side {
    display: flex;
    align-items: center;
    gap: 25px;
}

.search-icon {
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.search-icon:hover {
    color: var(--primary-orange);
}

/* --- بخش 2: استایل‌دهی محتوای اصلی Hero --- */
.hero-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
    padding: 0 50px;
    padding-top: 100px; /* فاصله از هدر */
}

.text-container {
    max-width: 550px;
    text-align: right;
}

.small-title {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    font-size: 18px;
    font-weight: 700;
}

.small-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--primary-orange);
}

.main-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-orange);
    margin: 15px 0;
}

.description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* --- بخش 3: استایل‌دهی نوار نارنجی پایین --- */
.bottom-bar {
    width: 100%;
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 20px 0;
    /* این کد شکل مورب را ایجاد می‌کند */
    clip-path: polygon(0 0, 95% 0, 100% 100%, 0 100%);
}

.features-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding-right: 5%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.feature-item i {
    font-size: 24px;
}

/* -------------------------------------------- */
/* ================================== استایل بخش درباره ما / ویژگی‌ها ===================================== */
.about-section {
    background-color: var(--dark-bg);
    padding: 100px 0;
    color: var(--text-light);
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ستون سمت راست: گالری تصاویر --- */
.image-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    position: relative;
}

.main-image-wrapper {
    grid-column: 1 / -1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.experience-box {
    position: absolute;
    top: 30px;
    right: 30px;
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.experience-box i {
    font-size: 40px;
    margin-bottom: 10px;
}

.experience-box .experience-year {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.experience-box p {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.gallery-dots {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.gallery-dots .dot {
    width: 10px;
    height: 10px;
    background-color: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-dots .dot.active,
.gallery-dots .dot:hover {
    background-color: var(--primary-orange);
}

/* --- ستون سمت چپ: محتوای متنی --- */
.text-content {
    flex: 1;
    text-align: right;
}

.section-subtitle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--primary-orange);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.4;
}

.section-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #ccc;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.features-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    flex-direction: row-reverse;
}

.features-list i {
    color: var(--primary-orange);
    font-size: 22px;
}

/* -------------------------------------- */
/* ================================== استایل بخش آمار و ارقام (Stats) ===================================== */
.stats-section {
    padding: 80px 0;
    /* تصویر پس‌زمینه با افکت پارالاکس و لایه تیره */
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), 
                     url('https://images.unsplash.com/photo-1606128014353-577c59339274?q=80&w=1974&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* این خط افکت پارالاکس را ایجاد می‌کند */
    color: var(--text-light);
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around; /* آیتم‌ها را با فاصله یکسان پخش می‌کند */
    align-items: flex-start;
    text-align: center;
    flex-wrap: wrap; /* برای نمایش بهتر در موبایل */
    gap: 30px; /* فاصله بین آیتم‌ها در حالت موبایل */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* فاصله بین آیکون، عدد و متن */
    flex-basis: 200px; /* عرض پایه هر آیتم */
}

.stat-item i {
    font-size: 50px;
    color: var(--primary-orange);
}

.counter-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-orange);
}

.stat-item p {
    font-size: 16px;
    font-weight: 700;
}

/* -------------------------------------------- */
/* ================================== استایل بخش خدمات (Services) ===================================== */
.services-section {
    background-color: var(--dark-bg);
    padding: 100px 0;
    color: var(--text-light);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- استایل بخش عنوان --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* استفاده مجدد از استایل‌های عنوان که قبلاً تعریف شده */
.section-header .section-subtitle {
    justify-content: center; /* وسط‌چین کردن زیرعنوان */
}

.section-header .section-subtitle::after {
    display: none; /* مخفی کردن خط در این بخش چون در طراحی نیست */
}

.section-header .section-subtitle::before {
    /* اضافه کردن خط در سمت دیگر برای تقارن */
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--primary-orange);
}

/* --- استایل لیست کارت‌های خدمات --- */
.services-list {
    display: flex;
    flex-direction: column; /* کارت‌ها زیر هم قرار می‌گیرند */
    gap: 30px; /* فاصله بین کارت‌ها */
    margin-bottom: 40px;
}

.service-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden; /* برای اینکه لایه overlay از کارت بیرون نزند */
    height: 300px; /* ارتفاع ثابت برای همه کارت‌ها */
    display: flex;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: scale(1.02); /* کمی بزرگنمایی در هاور */
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, 
                rgba(0, 0, 0, 0.85) 0%, 
                rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 40px;
}

.card-content {
    color: var(--text-light);
    max-width: 50%;
    text-align: right;
}

.card-content i {
    font-size: 45px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.card-content h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #ddd;
}

/* --- استایل لینک "مشاهده همه" --- */
.view-all-services {
    text-align: center;
    margin-top: 50px;
}

.view-all-services a {
    color: var(--text-light);
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s;
}

.view-all-services a:hover {
    color: var(--primary-orange);
}

.view-all-services a i {
    margin-right: 8px; /* فاصله آیکون از متن */
    transition: transform 0.3s;
}

.view-all-services a:hover i {
    transform: translateX(-5px); /* حرکت آیکون در هاور */
}

/* ------------------------------------------- */
/* ================================== استایل بخش قیمت‌گذاری (Pricing) ===================================== */
.pricing-section {
    background-color: #121212; /* پس‌زمینه خیلی تیره */
    padding: 100px 0;
    color: var(--text-light);
}

.pricing-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: center; /* برای هم‌تراز کردن کارت‌ها با ارتفاع متفاوت */
    gap: 30px;
    flex-wrap: wrap; /* برای نمایش بهتر در موبایل */
}

.pricing-card {
    background-color: transparent; /* کارت‌های استاندارد پس‌زمینه ندارند */
    border: 2px solid #333;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: right;
    flex: 1;
    min-width: 280px; /* حداقل عرض برای هر کارت */
    max-width: 300px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
}

/* استایل کارت ویژه */
.pricing-card.featured {
    background-color: var(--dark-bg); /* رنگ پس‌زمینه متفاوت */
    transform: scale(1.05); /* کمی بزرگتر از بقیه */
    border-color: var(--primary-orange);
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px); /* افکت هاور قوی‌تر */
}

.pricing-card h4 {
    font-size: 18px;
    font-weight: 700;
}

.pricing-card .price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-orange);
    margin: 15px 0 30px 0;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: normal;
    color: var(--text-light);
    margin-right: 5px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    flex-grow: 1; /* باعث می‌شود لیست بزرگ شده و دکمه‌ها در یک خط قرار گیرند */
}

.plan-features li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row-reverse; /* تیک در سمت راست قرار می‌گیرد */
    gap: 10px;
    margin-bottom: 15px;
    font-size: 16px;
}

.plan-features li i {
    color: var(--primary-orange);
    font-size: 20px;
}

/* استایل ویژگی‌های غیرفعال */
.plan-features li.disabled {
    color: #666;
    text-decoration: line-through; /* خط روی متن */
}

.plan-features li.disabled i {
    color: #666;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    padding: 15px 0; /* پدینگ بزرگتر برای دکمه‌ها */
}

/* --------------------------------------- */
/* ================================== استایل بخش معرفی تیم (Team) ===================================== */
.team-section {
    padding: 100px 0;
    color: var(--text-light);
    /* پس‌زمینه پترن‌دار نقطه‌ای */
    background-color: #2a2a2a;
    background-image: radial-gradient(circle, #383838 1px, transparent 1px);
    background-size: 20px 20px;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

/* --- ستون سمت راست: متن توضیحات --- */
.team-text-content {
    flex: 1;
    max-width: 500px;
    text-align: right;
}

/* استفاده مجدد از کلاس‌های قبلی برای عنوان و توضیحات */
.team-text-content .section-subtitle {
    justify-content: flex-end;
}

.team-text-content .btn {
    margin-top: 20px;
}

/* --- ستون سمت چپ: کارت‌های تیم --- */
.team-members {
    flex: 1;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.team-card {
    background-color: var(--dark-bg);
    border-radius: 10px;
    overflow: hidden;
    width: 280px;
    text-align: right;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.member-image-wrapper {
    position: relative;
    height: 350px;
}

.member-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.member-image-wrapper:hover .social-overlay {
    opacity: 1;
}

.social-icon {
    background-color: var(--primary-orange);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transform: translateY(20px);
    transition: background-color 0.3s, transform 0.4s ease;
}

.social-icon:hover {
    background-color: #d85c18;
}

/* انیمیشن برای آیکون‌ها در هنگام هاور */
.member-image-wrapper:hover .social-icon {
    transform: translateY(0);
}

/* تاخیر در انیمیشن آیکون دوم برای زیبایی بیشتر */
.member-image-wrapper:hover .social-icon:nth-child(2) {
    transition-delay: 0.1s;
}

.member-info {
    padding: 20px;
}

.member-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.member-info p {
    font-size: 16px;
    color: #ccc;
}

/* ================================== استایل بخش CTA و ویدیو ===================================== */
.cta-video-section {
    background-color: #121212;
    padding: 100px 0;
    color: var(--text-light);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.play-button {
    background-color: var(--primary-orange);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    z-index: 5;
    box-shadow: 0 0 0 0 rgba(243, 111, 33, 0.7);
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

/* انیمیشن ضربان برای دکمه پخش */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(243, 111, 33, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(243, 111, 33, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(243, 111, 33, 0);
    }
}

.play-button i {
    margin-left: 5px; /* برای وسط‌چین دقیق‌تر آیکون play */
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 20px;
    line-height: 1.5;
}

.cta-description {
    font-size: 16px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 40px;
}

/* ================================== استایل پاپ‌آپ ویدیو (Lightbox) ===================================== */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-lightbox:hover {
    transform: scale(1.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* نسبت تصویر 16:9 */
    height: 0;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------------------------------------- */
/* ================================== استایل فوتر (Footer) ===================================== */
.site-footer {
    color: var(--text-light);
}

.footer-main {
    padding: 80px 0;
    /* پس‌زمینه مشابه هدر */
    background-image: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), 
                     url('https://images.unsplash.com/photo-1542362567-b07e54358753?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* برای نمایش بهتر در موبایل */
}

.footer-column {
    flex: 1;
    min-width: 250px; /* حداقل عرض برای هر ستون */
    text-align: right;
}

/* --- ستون ۱: درباره ما --- */
.footer-column.about-us {
    flex-basis: 30%; /* این ستون کمی پهن‌تر باشد */
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 25px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-social-icons a {
    background-color: var(--primary-orange);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s;
}

.footer-social-icons a:hover {
    background-color: #d85c18;
    transform: scale(1.1);
}

/* --- استایل عمومی ستون‌ها --- */
.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* خط زیر عنوان‌ها */
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-orange);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

/* --- ستون ۲ و ۳: لینک‌ها --- */
.quick-links a,
.support-links a {
    color: #ccc;
    transition: color 0.3s, padding-right 0.3s;
}

.quick-links a:hover,
.support-links a:hover {
    color: var(--primary-orange);
    padding-right: 8px;
}

/* --- ستون ۴: اطلاعات تماس --- */
.contact-info ul li {
    display: flex;
    flex-direction: row-reverse; /* آیکون در سمت راست قرار گیرد */
    align-items: flex-start;
    gap: 15px;
}

.contact-info i {
    color: var(--primary-orange);
    font-size: 20px;
    margin-top: 5px;
}

.contact-info div span {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-info div a,
.contact-info div p {
    color: #ccc;
    font-size: 15px;
}

.contact-info div a {
    transition: color 0.3s;
}

.contact-info div a:hover {
    color: var(--primary-orange);
}

/* --- فوتر پایینی (کپی‌رایت) --- */
.footer-bottom {
    background-color: #121212;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 14px;
    color: #888;
}

/* --- استایل دکمه منوی همبرگری --- */
.menu-toggle {
    display: none; /* در حالت دسکتاپ مخفی است */
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    z-index: 101; /* بالاتر از هدر قرار گیرد */
}

/* ==========================================================================
   ======================== بخش رسپانسیوسازی (Media Queries) ========================
   ========================================================================== */

/* ------------------------------------------- */
/* === استایل برای تبلت‌ها (حداکثر عرض 992 پیکسل) === */
/* ------------------------------------------- */
@media (max-width: 992px) {
    /* --- هدر و نویگیشن --- */


        .menu-toggle {
        display: block; /* دکمه همبرگری نمایش داده می‌شود */
    }

    nav ul {
        /* استایل منوی باز شونده */
        display: none; /* در حالت عادی مخفی است */
        position: absolute;
        top: 80px; /* فاصله از بالای صفحه (متناسب با ارتفاع هدر) */
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    
    nav ul.show-menu {
        display: flex; /* با این کلاس، منو نمایش داده می‌شود */
    }

    nav ul li {
        margin: 15px 0; /* فاصله بین آیتم‌های منو */
    }

    .nav-right-side {
        /* ممکن است بخواهید دکمه در حالت موبایل مخفی شود */
        /* .nav-right-side .btn { display: none; } */
    }

    header {
        padding: 20px 30px;
    }
    
    nav ul {
        gap: 20px;
    }

    /* --- محتوای Hero --- */
    .hero-content {
        padding: 0 30px;
        padding-top: 100px;
    }

    .main-title {
        font-size: 40px;
    }

    /* --- بخش درباره ما --- */
    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .text-content {
        text-align: center;
    }
    
    .section-subtitle {
        justify-content: center;
    }
    
    .features-list li {
        justify-content: center;
    }

    /* --- بخش خدمات --- */
    .card-content {
        max-width: 70%;
    }

    /* --- بخش تیم --- */
    .team-container {
        flex-direction: column;
        gap: 50px;
    }
    
    .team-text-content {
        text-align: center;
        max-width: 700px;
    }

    .team-text-content .section-subtitle {
        justify-content: center;
    }
    
    .team-members {
        flex-wrap: wrap; /* اجازه می‌دهد کارت‌ها در صورت کمبود جا زیر هم بروند */
        width: 100%;
    }

    /* --- فوتر --- */
    .footer-container {
        justify-content: center;
        gap: 50px 30px;
    }

    .footer-column {
        flex-basis: 45%; /* هر ستون حدود نصف عرض را بگیرد */
        min-width: unset;
    }
}


/* ------------------------------------------- */
/* === استایل برای موبایل (حداکثر عرض 768 پیکسل) === */
/* ------------------------------------------- */
@media (max-width: 768px) {
    /* --- تنظیمات عمومی برای موبایل --- */
    .section-title {
        font-size: 30px;
    }

    .nav-right-side{
        display: none;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* --- هدر و نویگیشن --- */
    header {
        padding: 15px 20px;
        flex-wrap: wrap; /* برای جلوگیری از به هم ریختگی در صورت بزرگ بودن لوگو */
    }

    /* 
        نکته مهم: در اینجا ما منو را مخفی می‌کنیم.
        شما باید یک دکمه منوی همبرگری (hamburger menu) در HTML اضافه کنید
        و با جاوااسکریپت کلاس 'show-menu' را به nav ul اضافه کنید تا نمایش داده شود.
    */

    .nav-right-side {
        gap: 20px;
    }

    /* --- بخش Hero --- */
    .hero-content {
        justify-content: center; /* محتوا در مرکز قرار گیرد */
        text-align: center;
        padding-top: 120px;
    }

    .text-container {
        text-align: center;
    }

    .small-title {
        justify-content: center;
    }

    .small-title::after {
        display: none; /* خط کنار عنوان کوچک حذف شود */
    }
    
    .main-title {
        font-size: 32px;
    }

    .description {
        font-size: 15px;
    }
    
    /* نوار نارنجی پایین */
    .bottom-bar {
        clip-path: none; /* حذف حالت مورب */
        padding: 20px;
    }
    
    .features-container {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start; /* آیتم‌ها از راست چین شوند */
        padding-right: 20px;
    }

    /* --- بخش آمار و ارقام --- */
    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .stat-item i {
        font-size: 40px;
    }

    .counter-number {
        font-size: 36px;
    }

    /* --- بخش خدمات --- */
    .service-card {
        height: 250px;
    }

    .card-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.1) 100%);
        justify-content: center;
        align-items: flex-end; /* محتوا در پایین کارت قرار گیرد */
        padding: 25px;
    }

    .card-content {
        max-width: 100%;
        text-align: center;
    }

    .card-content h4 {
        font-size: 20px;
    }

    .card-content p {
        font-size: 14px;
    }

    /* --- بخش قیمت‌گذاری --- */
    .pricing-card.featured {
        transform: scale(1); /* بزرگنمایی کارت ویژه در موبایل حذف شود */
    }

    /* --- بخش تیم --- */
    .team-members {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    /* --- بخش CTA و ویدیو --- */
    .cta-title {
        font-size: 24px;
    }

    /* --- فوتر --- */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        flex-basis: 100%;
        width: 100%;
        max-width: 350px;
    }

    .footer-title::after {
        right: 50%;
        transform: translateX(50%); /* خط زیر عنوان در مرکز قرار گیرد */
    }

    .about-us p, .contact-info div {
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .features-list li,
    .plan-features li,
    .contact-info ul li {
        flex-direction: row-reverse; /* برای حفظ چیدمان در حالت وسط‌چین */
        justify-content: center;
    }
}