/*
Theme Name: tw1404 (Perfect Center Alignment)
Author: Tabnak Web
Version: 21.0
*/

/* =========================================
   1. تنظیمات پایه و متغیرها
   ========================================= */
:root {
    --mp-primary: #6ac847;       
    --mp-primary-hover: #5cbd38; 
    --mp-accent: #ffb931;
    --font-main: 'VazirMatn', sans-serif;
    --font-main-farsi: 'VazirMatnFN', sans-serif;

    --mp-dark: #474b53;
    --mp-gray: #85878d;
    --mp-light-bg: #f8f9fa;
    --mp-white: #ffffff;
    --mp-shadow: 0 10px 40px rgba(106, 200, 71, 0.08);
    --mp-shadow-hover: 0 15px 50px rgba(106, 200, 71, 0.2);
    --radius-md: 15px;
    --radius-full: 50px;
    --radius-img: 20px;
}


/* font-face
-------------------------------------------------------------- */



@font-face {
    font-family: 'VazirMatn';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatn';
    src: url('assets/fonts/VazirMatn/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatn';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatn';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatn';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatn';
    src: url('assets/fonts/VazirMatn/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatn';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatn';
    src: url('assets/fonts/VazirMatn/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatn';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatnFN';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatnFN';
    src: url('assets/fonts/VazirMatn/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatnFN';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatnFN';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatnFN';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatnFN';
    src: url('assets/fonts/VazirMatn/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatnFN';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatnFN';
    src: url('assets/fonts/VazirMatn/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'VazirMatnFN';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}







* { margin: 0; padding: 0; box-sizing: border-box; outline: none;     font-family: var(--font-main); }

body { background-color: var(--mp-light-bg); color: var(--mp-dark); direction: rtl; line-height: 1.8; overflow-x: hidden; padding: 0 !important; margin: 0 !important; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* کانتینر اصلی (اصلاح شده برای وسط چین دقیق) */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 0 20px;
    position: relative;
}

/* =========================================
   2. هدر
   ========================================= */
header { background-color: var(--mp-white); box-shadow: 0 4px 20px rgba(0,0,0,0.03); height: 75px; display: flex; align-items: center; position: sticky; top: 0; z-index: 1000; }
body.admin-bar header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar header { top: 46px; } }

.header-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { z-index: 1002; }
.logo img { max-height: 50px; width: auto; }


/* =========================================
   استایل لوگو و نام سایت (Header Logo)
   ========================================= */

/* لینک نگهدارنده لوگو و متن */
.logo-link {
    display: flex;           /* چیدمان افقی */
    align-items: center;     /* تراز عمودی وسط */
    gap: 12px;               /* فاصله بین عکس و متن */
    text-decoration: none;
}

/* استایل تصویر لوگو */
.logo-img {
    max-height: 50px;       /* ارتفاع مناسب هدر */
    width: auto;            /* عرض خودکار */
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: rotate(-5deg); /* افکت چرخش ریز هنگام هاور */
}

/* باکس متن */
.logo-text-box {
    display: flex;
    flex-direction: column; /* اگر زیرعنوان اضافه کردید، زیر هم باشند */
    justify-content: center;
}

/* استایل اسم سایت */
.site-name {
    font-size: 20px;
    font-weight: 900;       /* ضخامت زیاد */
    color: var(--mp-dark);  /* رنگ تیره */
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px; /* کمی حروف فشرده‌تر */
}

/* رنگ بخشی از متن (اختیاری - اگر بخواهید دو رنگ باشد باید در PHP تغییر دهید) */
.logo-link:hover .site-name {
    color: var(--mp-primary); /* تغییر رنگ هنگام هاور */
}

/* استایل زیرعنوان (اگر فعال کردید) */
.site-desc {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 480px) {
    .site-name {
        font-size: 16px; /* در موبایل کمی کوچکتر شود */
    }
    .logo-img {
        max-height: 40px;
    }
}
.header-actions { display: flex; align-items: center; gap: 15px; }

.search-icon { cursor: pointer; font-size: 18px; color: var(--mp-gray); width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: #f5f5f5; border-radius: 50%; transition: 0.3s; }
.search-icon:hover { background: #eafbea; color: var(--mp-primary); }

.btn { background-color: var(--mp-primary); color: #fff !important; padding: 10px 30px; border-radius: var(--radius-full); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; box-shadow: 0 4px 12px rgba(106, 200, 71, 0.3); transition: 0.3s; }
.btn:hover { background-color: var(--mp-primary-hover); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(106, 200, 71, 0.5); }
.btn-outline { background-color: transparent; border: 2px solid var(--mp-primary); color: var(--mp-primary) !important; box-shadow: none; }
.btn-outline:hover { background-color: var(--mp-primary); color: #fff !important; }

/* =========================================
   3. منوها
   ========================================= */
.desktop-menu { display: none !important; }
.hamburger-menu { display: flex; font-size: 24px; cursor: pointer; color: var(--mp-dark); }
.mobile-menu { position: fixed; top: 75px; right: -300px; width: 280px; height: calc(100vh - 75px); background: #fff; box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.4s ease; padding: 20px; z-index: 9999; overflow-y: auto; display: flex; flex-direction: column; }
body.admin-bar .mobile-menu { top: 107px; height: calc(100vh - 107px); }
.mobile-menu.active { right: 0; }
.mobile-menu ul li { border-bottom: 1px solid #f5f5f5; }
.mobile-menu ul li a { display: block; padding: 15px 10px; color: var(--mp-dark); font-weight: 500; }
.mobile-menu ul li a:hover { color: var(--mp-primary); padding-right: 15px; background: #f0f9ed; }

@media (min-width: 992px) {
    .desktop-menu { display: block !important; }
    .desktop-menu ul { display: flex; gap: 35px; margin: 0; }
    .desktop-menu ul li a { font-weight: 500; font-size: 15px; color: var(--mp-dark); position: relative; padding-bottom: 5px; }
    .desktop-menu ul li a:hover { color: var(--mp-primary); }
    .desktop-menu ul li a::after { content: ''; position: absolute; width: 0; height: 2px; background: var(--mp-primary); bottom: 0; right: 0; transition: 0.3s; }
    .desktop-menu ul li a:hover::after { width: 100%; }
    .hamburger-menu, .mobile-menu { display: none !important; }
}

/* =========================================
   4. هیرو
   ========================================= */
section.hero-dual { padding: 60px 0; background: #fff; overflow: hidden; margin: 0 !important; }
.hero-dual-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; flex-direction: column-reverse; text-align: center; gap: 30px; }
@media (min-width: 992px) { section.hero-dual { padding: 80px 0; } .hero-dual-content { flex-direction: row; text-align: right; } .hero-text-col { width: 50%; padding-left: 60px; } .hero-image-col { width: 50%; text-align: left; } }
.hero-text-col h2 { font-size: 34px; font-weight: 900; color: var(--mp-dark); margin: 0 0 20px 0; line-height: 1.5; letter-spacing: -0.5px; }
.hero-text-col p { color: var(--mp-gray); font-size: 16px; margin: 0 0 35px 0; line-height: 1.9; }
.hero-image-col img { max-width: 100%; height: auto; max-height: 480px; animation: float 6s ease-in-out infinite; display: block; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

section.features-section { padding: 80px 0; background-color: var(--mp-light-bg); text-align: center; margin: 0 !important; }
.section-top-text span { color: var(--mp-gray); font-size: 14px; display: block; margin-bottom: 5px; }
.section-top-text h3 { color: var(--mp-dark); font-size: 26px; font-weight: 800; margin-bottom: 50px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto 40px; padding: 0 20px; }
.feature-card { background: #fff; padding: 40px 20px; border-radius: 20px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: 0.3s; height: 100%; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.feature-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: #eafbea; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--mp-primary); }
.feature-card h4 { font-size: 17px; font-weight: 700; color: var(--mp-dark); margin-bottom: 15px; }
.feature-card p { font-size: 13px; color: var(--mp-gray); line-height: 1.8; margin: 0; }
.features-btn-wrapper { margin-top: 40px; }
.btn-green-gradient { background: linear-gradient(90deg, #6ac847 0%, #5cbd38 100%); color: white !important; box-shadow: 0 5px 20px rgba(106, 200, 71, 0.4); }
.btn-green-gradient:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(106, 200, 71, 0.6); }
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* =========================================
   5. استایل مشترک کارت‌ها (Portfolio Grid)
   ========================================= */
section.portfolio, .main-archive-box { padding: 60px 0; background: #fff; margin: 0 !important; width: 100%; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 32px; font-weight: 900; color: var(--mp-dark); margin-bottom: 10px; }

.portfolio-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* رسپانسیو خودکار */
    gap: 30px; 
    width: 100%; /* پر کردن عرض */
    margin: 0 auto;
}

.portfolio-item { 
    background: #fff; 
    border-radius: var(--radius-md); 
    padding: 30px 25px; 
    text-align: center; 
    box-shadow: var(--mp-shadow); 
    border: 1px solid #f9f9f9; 
    transition: all 0.4s ease; 
}
.portfolio-item:hover { transform: translateY(-10px); box-shadow: var(--mp-shadow-hover); border-color: #eafbea; }

.portfolio-img { 
    width: 100px; 
    height: 100px; 
    margin: 0 auto 20px; 
    border-radius: var(--radius-img); 
    overflow: hidden; 
    background: #fff; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.portfolio-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: var(--radius-img); 
    transition: transform 0.5s ease; 
}
.portfolio-item:hover .portfolio-img img { transform: scale(1.1); }

.portfolio-info h3 { font-size: 18px; margin-bottom: 10px; font-weight: 700; color: var(--mp-dark); }
.portfolio-info h3 a:hover { color: var(--mp-primary); }
.portfolio-info p { font-size: 14px; color: var(--mp-gray); margin: 0; line-height: 1.7; }

/* =========================================
   6. قیمت گذاری
   ========================================= */
section.pricing-section { position: relative; padding: 100px 0 80px; background-color: var(--mp-light-bg); margin: 0 !important; overflow: hidden; }
.pricing-bg-strip { position: absolute; top: 55%; left: 0; width: 100%; height: 350px; background-color: var(--mp-primary); transform: translateY(-50%); z-index: 0; }
.pricing-section .container { position: relative; z-index: 1; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pricing-card { background: #fff; border-radius: 20px; padding: 30px 20px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.1); position: relative; transition: 0.3s; display: flex; flex-direction: column; height: 100%; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.pricing-card.featured { transform: scale(1.05); border: 2px solid var(--mp-primary); z-index: 2; }
.pricing-card .badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: #eafbea; color: #35661d; padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.pricing-header h3 { font-size: 20px; font-weight: 700; color: var(--mp-dark); margin-bottom: 10px; }
.pricing-header .price { color: var(--mp-primary); display: flex; justify-content: center; align-items: baseline; gap: 5px; }
.pricing-header .price .amount { font-size: 40px; font-weight: 800; line-height: 1; }
.pricing-header .price .unit { font-size: 14px; font-weight: 500; color: var(--mp-gray); }
.plan-icon { width: 70px; height: 70px; background: #f0f9ed; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 30px; color: var(--mp-primary); }
.pricing-card.featured .plan-icon { background: #eafbea; color: var(--mp-primary); }
.pricing-features li { font-size: 14px; color: var(--mp-gray); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.pricing-features li.has-feature i { color: var(--mp-primary); }
.pricing-features li.no-feature { color: #ccc; text-decoration: line-through; }
.pricing-footer .btn { width: 100%; padding: 12px 0; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } .pricing-card.featured { transform: scale(1); } .pricing-bg-strip { height: 100%; top: 0; transform: none; border-radius: 0; } } @media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }

section.cta-dark-section { background-color: #474b53; padding: 50px 0; margin: 0 !important; color: #fff; position: relative; overflow: hidden; }
.cta-dark-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; flex-wrap: wrap; gap: 20px; }
.cta-text-side h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; color: #fff; }
.cta-text-side p { color: #e0e0e0; font-size: 15px; margin: 0; }
.btn-blue { background-color: var(--mp-primary); color: #fff; padding: 12px 30px; border-radius: 50px; font-size: 15px; font-weight: 500; transition: 0.3s; display: inline-block; box-shadow: 0 5px 20px rgba(106, 200, 71, 0.3); }
.btn-blue:hover { background-color: var(--mp-primary-hover); transform: translateY(-3px); }

/* =========================================
   7. وبلاگ
   ========================================= */
section.blog, .main-archive-box { background-color: #fff; padding: 80px 0; margin: 0 !important; border-top: 1px solid #f0f0f0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.blog-item { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--mp-shadow); transition: all 0.4s ease; border: 1px solid #f5f5f5; display: flex; flex-direction: column; }
.blog-item:hover { transform: translateY(-8px); box-shadow: var(--mp-shadow-hover); border-color: #eafbea; }
.blog-img { height: 220px; margin: 15px 15px 0 15px; border-radius: 15px; overflow: hidden; position: relative; background-color: #f5f5f5; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-item:hover .blog-img img { transform: scale(1.08); }
.blog-img i.fas { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 50px; color: #ccc; }
.blog-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; line-height: 1.6; color: var(--mp-dark); }
.blog-info h3 a:hover { color: var(--mp-primary); }
.blog-meta { font-size: 12px; color: #999; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.blog-meta i { color: var(--mp-primary); }
.blog-info p { font-size: 14px; color: var(--mp-gray); margin-bottom: 20px; line-height: 1.8; }
.read-more { margin-top: auto; color: var(--mp-primary); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.read-more i { transition: 0.3s; }
.read-more:hover i { transform: translateX(-5px); }

.features-btn-wrapper {
    margin-top: 40px;
    display: flex;           /* فعال کردن فلکس باکس */
    justify-content: center; /* وسط چین کردن محتوا در محور افقی */
    width: 100%;             /* اطمینان از عرض کامل */
}



/* =========================================
   FAQ Section Styles (Portal Style)
   ========================================= */
section.faq-section {
    padding: 80px 0;
    background-color: var(--mp-light-bg); /* یا #f9f9f9 */
}

.faq-wrapper {
    max-width: 900px; /* عرض جمع و جورتر برای خوانایی بهتر */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); /* سایه بسیار ملایم */
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #eee;
}

/* بخش سوال (هدر) */
.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    user-select: none;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--mp-dark);
    margin: 0;
    line-height: 1.5;
}

.faq-icon {
    color: #ccc;
    font-size: 14px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

/* چرخش آیکون در حالت فعال */
.faq-item.active .faq-icon {
    transform: rotate(-90deg); /* چرخش فلش به پایین */
    color: var(--mp-primary);
}

.faq-item.active .faq-question h3 {
    color: var(--mp-primary); /* تغییر رنگ متن سوال */
}

/* بخش جواب (محتوا) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* ارتفاع حداکثری برای انیمیشن */
    border-top-color: #f5f5f5;
    transition: max-height 0.5s ease-in;
}

.faq-content-inner {
    padding: 20px 25px 30px;
    font-size: 15px;
    color: #666;
    line-height: 2;
    text-align: justify;
}

.faq-content-inner p {
    margin: 0 0 10px;
}
.faq-content-inner p:last-child {
    margin: 0;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 14px;
    }
    .faq-content-inner {
        padding: 15px 20px 20px;
        font-size: 14px;
    }
}

/* =========================================
   Special CTA Banner (Portal Style)
   ========================================= */

.cta-banner-section {
    padding: 20px 0 60px; /* فاصله از بالا و پایین */
    position: relative;
    z-index: 5;
}

.special-banner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 20px;
    padding: 15px 40px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
    
    /* حاشیه بسیار کمرنگ نارنجی */
    border: 1px solid rgba(255, 185, 49, 0.15);
    
    /* سایه نارنجی محو شده (درخواست شما) */
    box-shadow: 0 10px 40px rgba(255, 185, 49, 0.08);
}

.special-banner-card:hover {
    transform: translateY(-5px);
    /* در هاور سایه قوی‌تر می‌شود */
    box-shadow: 0 15px 50px rgba(255, 185, 49, 0.2);
    border-color: rgba(255, 185, 49, 0.4);
}

/* --- ستون تصویر (راست) --- */
.sb-image-col {
    position: relative;
    z-index: 2;
    width: 80px;
    display: flex;
    justify-content: center;
}
.sb-image-col img {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(255, 166, 0, 0.2)); /* سایه خود عکس */
}

/* --- ستون متن (وسط) --- */
.sb-text-col {
    flex-grow: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.sb-text-col h3 {
    font-size: 24px;
    font-weight: 800;
    color: #444;
    margin: 0;
}

/* --- ستون فلش (چپ) --- */
.sb-arrow-col {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.sb-arrow-col i {
    font-size: 30px;
    color: #ffb931; /* رنگ نارنجی فلش */
    transition: 0.3s;
}

/* انیمیشن فلش در هاور */
.special-banner-card:hover .sb-arrow-col i {
    transform: translateX(-10px); /* حرکت به چپ */
}

/* --- افکت‌های پس‌زمینه (جادوی طراحی) --- */

/* 1. هاله نورانی پشت تصویر (راست) */
.sb-glow-effect {
    position: absolute;
    top: -50%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 185, 49, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* 2. هاله نورانی پشت فلش (چپ) */
.sb-shape-bg {
    position: absolute;
    bottom: -50%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 241, 219, 0.6) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* --- ریسپانسیو --- */
@media (max-width: 768px) {
    .special-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .sb-text-col h3 {
        font-size: 18px;
    }
    
    .sb-arrow-col i {
        transform: rotate(-90deg); /* در موبایل فلش به پایین اشاره کند */
    }
    .special-banner-card:hover .sb-arrow-col i {
        transform: rotate(-90deg) translateY(5px);
    }
}



/* =========================================
   8. هدر صفحات آرشیو (Archive Styles)
   ========================================= */
.page-header-container { background: linear-gradient(135deg, #f9fdf8, #fff); padding: 50px 0; border-bottom: 1px solid #f0f0f0; margin-bottom: 50px; text-align: center; }
.page-title { font-size: 32px; font-weight: 900; color: var(--mp-dark); margin-bottom: 15px; }
.no-post-msg { text-align: center; color: var(--mp-gray); font-size: 16px; margin-top: 30px; }
.archive-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.filter-btn { background: #fff; border: 2px solid #f0f0f0; color: var(--mp-gray); padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 500; transition: 0.3s; }
.filter-btn:hover, .filter-btn.active { background: var(--mp-primary); color: #fff; border-color: var(--mp-primary); box-shadow: 0 5px 15px rgba(106, 200, 71, 0.3); }
.pagination-wrapper { margin-top: 50px; display: flex; justify-content: center; width: 100%; }
.pagenavi, .nav-links { display: flex; gap: 8px; align-items: center; justify-content: center; }
.pagenavi a, .pagenavi span, .nav-links a, .nav-links span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--mp-gray); border-radius: 10px; font-weight: 700; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.pagenavi a:hover, .pagenavi span.current, .nav-links a:hover, .nav-links .current { background: var(--mp-primary); color: #fff; box-shadow: 0 5px 15px rgba(106, 200, 71, 0.3); transform: translateY(-3px); }

/* =========================================
   9. جستجوی تمام صفحه
   ========================================= */
.fullscreen-search { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.98); z-index: 99999; opacity: 0; visibility: hidden; pointer-events: none; transition: 0.3s ease; display: flex; align-items: center; justify-content: center; }
.fullscreen-search.active { opacity: 1; visibility: visible; pointer-events: all; }
.search-close-btn { position: absolute; top: 40px; left: 40px; font-size: 40px; color: var(--mp-dark); cursor: pointer; transition: 0.3s; }
.search-close-btn:hover { transform: rotate(90deg); color: #ff5e5e; }
.search-container { width: 100%; max-width: 700px; padding: 20px; }
.search-form { display: flex; width: 100%; border-bottom: 3px solid var(--mp-gray); position: relative; padding-bottom: 10px; }
.search-field { width: 100%; border: none; font-size: 32px; padding: 10px; background: transparent; color: var(--mp-dark); font-weight: 700; }
.search-field::placeholder { color: #ccc; font-weight: 400; }
.search-submit { background: none; border: none; font-size: 35px; cursor: pointer; color: var(--mp-primary); position: absolute; left: 0; top: 10px; }




/* =========================================
   15. استایل صفحه آرشیو وبلاگ (Modern Blog Archive)
   ========================================= */

/* --- هدر صفحه وبلاگ --- */
.blog-page-header {
    text-align: center;
    padding: 140px 0 60px; /* فاصله زیاد از بالا برای حل مشکل منو */
    background: linear-gradient(180deg, rgba(249,253,248,1) 0%, rgba(255,255,255,0) 100%);
    margin-bottom: 40px;
}

.blog-main-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--mp-dark);
    margin-bottom: 15px;
}

.blog-subtitle {
    font-size: 16px;
    color: var(--mp-gray);
    max-width: 600px;
    margin: 0 auto;
}

.blog-container-wrapper {
    padding-bottom: 80px;
}

/* --- شبکه گرید وبلاگ --- */
.modern-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

/* --- کارت وبلاگ --- */
.modern-blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f5f5f5;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.modern-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: #eafbea;
}

/* تصویر کارت */
.mb-image-wrapper {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.mb-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-blog-card:hover .mb-image-wrapper img {
    transform: scale(1.1);
}

.no-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #ddd;
}

/* بج دسته‌بندی */
.mb-category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--mp-dark);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-decoration: none;
}

.mb-category-badge:hover {
    background: var(--mp-primary);
    color: #fff;
}

/* محتوای کارت */
.mb-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mb-meta-top {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mb-meta-top i { color: var(--mp-primary); }
.mb-meta-top .sep { width: 4px; height: 4px; background: #ddd; border-radius: 50%; }

.mb-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.5;
}

.mb-title a { color: var(--mp-dark); transition: 0.3s; }
.mb-title a:hover { color: var(--mp-primary); }

.mb-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* فوتر کارت */
.mb-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mb-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mb-author img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.mb-author span {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.mb-read-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--mp-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.modern-blog-card:hover .mb-read-btn {
    background: var(--mp-primary);
    color: #fff;
    transform: rotate(45deg); /* چرخش جذاب */
}

/* --- حالت خالی --- */
.no-content-box {
    text-align: center;
    padding: 100px 0;
    color: #aaa;
}
.no-content-box i { font-size: 60px; margin-bottom: 20px; }

/* --- استایل صفحه‌بندی مدرن --- */
.modern-pagination {
    margin-top: 60px;
}
.modern-pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px; height: 45px;
    margin: 0 5px;
    border-radius: 12px;
    background: #fff;
    color: var(--mp-dark);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}
.modern-pagination .page-numbers.current,
.modern-pagination .page-numbers:hover {
    background: var(--mp-primary);
    color: #fff;
    border-color: var(--mp-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 200, 71, 0.3);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .modern-blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-page-header {
        padding-top: 100px;
    }
}








/* =========================================
   16. استایل صفحه آرشیو نمونه‌کار (Portfolio Archive)
   ========================================= */

/* --- هدر صفحه --- */
.portfolio-archive-header {
    text-align: center;
    padding: 140px 0 50px; /* فاصله از بالا برای حل مشکل منو */
    background-color: #fff;
    margin-bottom: 30px;
    position: relative;
}

.pa-title {
    font-size: 40px;
    font-weight: 900;
    color: var(--mp-dark);
    margin-bottom: 10px;
}

.pa-subtitle {
    font-size: 16px;
    color: var(--mp-gray);
    margin-bottom: 25px;
}

.pa-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f9f9f9;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    color: #888;
}

.pa-breadcrumb a:hover { color: var(--mp-primary); }

.portfolio-container-wrapper {
    padding-bottom: 80px;
}

/* --- فیلترها --- */
.pa-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 60px;
}

.filter-pill {
    background: #fff;
    border: 1px solid #eee;
    color: #666;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.filter-pill:hover, .filter-pill.active {
    background: var(--mp-primary);
    color: #fff;
    border-color: var(--mp-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(106, 200, 71, 0.3);
}

/* --- شبکه نمونه‌کارها --- */
.pa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.pa-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f5f5f5;
    transition: 0.4s ease;
    position: relative;
}

.pa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #eafbea;
}

/* تصویر */
.pa-image-box {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.pa-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pa-card:hover .pa-image-box img {
    transform: scale(1.1);
}

.pa-no-image {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #ddd;
}

/* اورلی (لایه رویی) */
.pa-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    backdrop-filter: blur(2px);
}

.pa-card:hover .pa-overlay {
    opacity: 1;
}

.pa-view-btn {
    background: #fff;
    color: var(--mp-dark);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transform: translateY(20px);
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.pa-card:hover .pa-view-btn {
    transform: translateY(0);
}

/* اطلاعات */
.pa-info {
    padding: 25px;
}

.pa-cats {
    font-size: 12px;
    color: var(--mp-primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.pa-card-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
}

.pa-card-title a { color: var(--mp-dark); }
.pa-card-title a:hover { color: var(--mp-primary); }

.pa-arrow-link {
    font-size: 13px;
    color: #888;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.pa-card:hover .pa-arrow-link {
    color: var(--mp-primary);
    gap: 10px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .portfolio-archive-header {
        padding-top: 100px;
    }
    .pa-grid {
        grid-template-columns: 1fr;
    }
}










/* =========================================
   10. فوتر
   ========================================= */
/* =========================================
   10. استایل کامل و نهایی فوتر (Shape Right)
   ========================================= */

footer {
    background: #fff;
    padding-top: 60px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    border-top: 1px solid #f9f9f9;
}

.footer-top-area {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    /* نکته مهم: این خط جای دو ستون را عوض می‌کند (شیپ راست، متن چپ) */
    flex-direction: row-reverse; 
    align-items: stretch;
    position: relative;
    padding: 0 20px;
}

/* --- ستون توضیحات (که اکنون سمت چپ است) --- */
.footer-info-col {
    width: 40%;
    padding-top: 40px;
    padding-right: 50px; /* فاصله از شیپ سمت راست */
    padding-left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-brand h2 {
    font-size: 26px;
    color: var(--mp-dark);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.footer-desc {
    font-size: 15px;
    color: var(--mp-gray);
    line-height: 2.2;
    margin-bottom: 35px;
    text-align: justify;
}

.footer-contact-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
    background: #fcfcfc;
    padding: 15px;
    border-radius: 15px;
    border: 1px dashed #eee;
    width: fit-content;
}

.contact-btn-shop {
    background: linear-gradient(135deg, var(--mp-primary), var(--mp-primary-hover));
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(106, 200, 71, 0.3);
    transition: 0.3s;
}

.contact-btn-shop:hover {
    transform: translateY(-3px) rotate(10deg);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 2px;
}

.contact-number {
    font-size: 22px;
    font-weight: 800;
    color: var(--mp-dark);
    font-family: sans-serif;
    letter-spacing: 1px;
}

.footer-partners {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.partner-logo {
    font-size: 28px;
    color: #dcdcdc;
    transition: 0.3s;
    cursor: pointer;
}

.partner-logo:hover {
    color: var(--mp-primary);
    transform: scale(1.1);
}

/* --- ستون شیپ رنگی (که اکنون سمت راست است) --- */
.footer-shape-col {
    width: 60%;
    position: relative;
    min-height: 500px;
}

.footer-bg-shape {
    background-color: var(--mp-primary);
    background-image: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-primary-hover) 100%);
    position: absolute;
    top: 0;
    /* تنظیمات برای قرارگیری در سمت راست */
    right: -100px; 
    left: auto; 
    bottom: -80px;
    
    width: 110%; /* عرض بیشتر برای پر کردن */
    border-radius: 80px 0 0 0; /* گرد کردن گوشه بالا-چپ (سمت داخل) */
    transform: rotate(3deg);
    z-index: 1;
    box-shadow: -20px 20px 60px rgba(106, 200, 71, 0.3);
    padding: 70px 100px 50px 50px;
}

.footer-deco-square {
    position: absolute;
    top: -30px;
    /* تنظیم مربع دکوری در سمت چپِ شیپ */
    left: 60px;
    right: auto;
    
    width: 90px;
    height: 90px;
    background-color: #fff; /* سفید بهتر دیده می‌شود روی زمینه خاکستری بادی */
    border: 5px solid rgba(0,0,0,0.05);
    border-radius: 25px;
    transform: rotate(-10deg);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}



.footer-menu-content {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-start; /* چیدمان منوها از راست به چپ */
    gap: 50px;
    text-align: right;
    padding-top: 20px;
    /* خنثی کردن چرخش والد */
    transform: rotate(-3deg); 
    padding-right: 80px; /* فاصله از لبه راست */
}

.footer-menu-col h4 {
    color: #fff;
    font-size: 19px;
    margin-bottom: 30px;
    font-weight: 800;
    position: relative;
    padding-bottom: 10px;
}

.footer-menu-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 3px;
    background: rgba(255,255,255,0.4);
    border-radius: 10px;
}

.footer-menu-col ul li {
    margin-bottom: 15px;
}

.footer-menu-col ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: 0.3s;
    display: inline-block;
    position: relative;
}

.footer-menu-col ul li a:hover {
    color: #fff;
    transform: translateX(-5px); /* حرکت به سمت چپ در هاور */
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* --- کپی رایت پایین --- */
.footer-bottom {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 25px 20px;
    margin-top: 60px;
    position: relative;
    z-index: 5;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-text {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.trust-symbols {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: 0.3s;
}

.trust-symbols:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* =========================================
   ریسپانسیو (Responsive)
   ========================================= */
@media (max-width: 992px) {
    .footer-top-area {
        flex-direction: column; /* در تبلت و موبایل زیر هم */
        padding: 0;
    }
    
    .footer-info-col {
        width: 100%;
        padding: 40px 20px 0;
        text-align: center;
        align-items: center;
    }
    
    .footer-desc {
        text-align: center;
    }

    .footer-contact-box {
        margin: 0 auto 30px;
    }
    
    /* تنظیم مجدد شیپ برای موبایل */
    .footer-shape-col {
        width: 100%;
        min-height: auto;
        margin-top: 40px;
    }
    
    .footer-bg-shape {
        position: relative;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        border-radius: 30px 30px 0 0;
        transform: none;
        padding: 50px 20px;
        margin-bottom: -50px; /* برای مخفی کردن پایین */
    }
    
    .footer-deco-square {
        left: 50%;
        transform: translateX(-50%) rotate(317deg);
        top: -45px;
    }
    
    .footer-menu-content {
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding-right: 0;
        gap: 40px;
    }
    
    .footer-menu-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-bottom-container {
        justify-content: center;
        text-align: center;
        flex-direction: column-reverse;
    }
}

@media (max-width: 600px) {
    .footer-menu-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-number {
        font-size: 18px;
    }
}

.fixed-call-btn { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: var(--mp-accent); color: #fff; border-radius: 50%; box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4); z-index: 9999; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: all 0.3s ease; animation: pulse-yellow 2s infinite; }
.fixed-call-btn .tooltip-text { position: absolute; right: 70px; background: #fff; color: #85878d; padding: 8px 15px; border-radius: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 5px 20px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transition: 0.3s; transform: translateX(10px); }
.fixed-call-btn:hover .tooltip-text { opacity: 1; visibility: visible; transform: translateX(0); }
.fixed-call-btn:hover { transform: scale(1.1); }
@keyframes pulse-yellow { 0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(255, 193, 7, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); } }

.back-to-top { position: fixed; bottom: 30px; left: 30px; width: 45px; height: 45px; background: var(--mp-primary); color: #fff; border: none; border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 990; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(106, 200, 71, 0.4); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-5px); background: var(--mp-dark); }


/* =========================================
   20 Reasons Page Styling
   ========================================= */

/* --- Hero Section --- */
.reasons-hero {
    background: linear-gradient(135deg, var(--mp-primary) 0%, #4caf50 100%);
    padding: 100px 0 150px; /* فضای زیاد پایین برای اورلپ شدن کارت‌ها */
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: -80px; /* تکنیک منفی برای رفتن کارت‌ها روی هدر */
}

.reasons-main-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.reasons-subtitle {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* اشکال پس زمینه هدر */
.rh-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}
.shape-1 { width: 300px; height: 300px; top: -50px; left: -50px; }
.shape-2 { width: 200px; height: 200px; bottom: 20px; right: 10%; }

/* --- Intro Box --- */
.reasons-intro-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto 60px;
    border-bottom: 4px solid var(--mp-primary);
}

.reasons-intro-box p {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin: 0;
}

/* --- Grid System --- */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* --- Card Design --- */
.reason-card {
    background: #fff;
    border-radius: 25px;
    padding: 30px 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    overflow: hidden;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(106, 200, 71, 0.15);
    border-color: #eafbea;
}

/* هدر کارت (شماره و آیکون) */
.rc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.rc-number {
    font-size: 40px;
    font-weight: 900;
    color: #f0f0f0;
    line-height: 1;
    font-family: sans-serif;
    transition: 0.3s;
}

.reason-card:hover .rc-number {
    color: var(--mp-primary);
    transform: scale(1.1);
}

.rc-icon {
    width: 50px;
    height: 50px;
    background: #f9fdf8;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mp-primary);
    font-size: 20px;
    transition: 0.3s;
}

.reason-card:hover .rc-icon {
    background: var(--mp-primary);
    color: #fff;
    transform: rotate(15deg);
}

/* متن کارت */
.reason-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--mp-dark);
    margin-bottom: 15px;
}

.reason-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

/* --- Footer CTA --- */
.reasons-footer-section {
    padding: 0 0 80px;
}

.rf-box {
    background: var(--mp-dark);
    color: #fff;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* دکوراسیون پس زمینه باکس آخر */
.rf-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.rf-box h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
}

.rf-box p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.9;
}

.rf-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .reasons-hero { padding: 80px 0 120px; margin-bottom: -60px; }
    .reasons-main-title { font-size: 28px; }
    .reasons-grid { grid-template-columns: 1fr; gap: 20px; }
    .rf-box { padding: 40px 20px; }
    .rf-buttons .btn { width: 100%; }
}

/* =========================================
   20 Reasons Page Styling (Updated with Logo)
   ========================================= */

/* --- Hero Section & Watermark Logo --- */
.reasons-hero {
    background: linear-gradient(135deg, var(--mp-primary) 0%, #4caf50 100%);
    padding: 100px 0 150px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: -80px;
}

/* استایل لوگوی محو در پس‌زمینه */
.hero-watermark-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    opacity: 0.07; /* خیلی محو برای دیده شدن متن */
    pointer-events: none; /* غیرقابل کلیک */
    z-index: 1;
    filter: grayscale(100%) brightness(200%); /* سفید کردن لوگو */
}

.hero-watermark-logo img {
    width: 100%;
    height: auto;
}

/* --- Intro Logo Badge --- */
.reasons-intro-box {
    /* سایر استایل‌های قبلی بماند */
    position: relative;
    margin-top: 0;
    padding-top: 60px; /* فضای بیشتر برای لوگوی بالا */
}

.intro-logo-badge {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--mp-primary);
    padding: 10px;
}

.intro-logo-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Persian Number Styling --- */
.rc-number {
    font-size: 45px; /* کمی بزرگتر برای اعداد فارسی */
    font-weight: 900;
    color: #f0f0f0;
    line-height: 1;
    font-family: var(--font-main);
    transition: 0.3s;
}

/* بقیه استایل‌ها همانند قبل */






/* =========================================
   14. استایل صفحه خبر/مقاله (نسخه نهایی)
   ========================================= */

/* --- نوار پیشرفت --- */
#reading-progress-container {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
}
#reading-progress-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--mp-primary), #4caf50);
    width: 0%;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(106, 200, 71, 0.5);
}
body.admin-bar #reading-progress-container { top: 32px; }

/* --- ساختار کلی --- */
.single-page-wrapper {
    background-color: #fcfcfc;
    padding-bottom: 80px;
}
.row-layout {
    display: grid;
    grid-template-columns: 2.4fr 1fr; /* محتوا پهن‌تر از سایدبار */
    gap: 40px;
}
.main-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 1. هدر خبر (ساده شده) --- */
.news-header-section {
    background: transparent;
    padding: 40px 0 30px; /* کاهش فاصله */
    margin-bottom: 20px;
    text-align: center;
    border-bottom: none;
}
.news-header-content {
    max-width: 900px;
    margin: 0 auto;
        background: #fff;
}
.news-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--mp-dark);
    line-height: 1.4;
    margin: 0;
}

/* --- 2. باکس اصلی مقاله --- */
.modern-article {
    background: #fff;
    border-radius: 20px;
    padding: 0; /* پدینگ صفر برای اینکه متا به لبه‌ها بچسبد */
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    margin-bottom: 40px;
    border: 1px solid #f5f5f5;
}

/* --- استایل نوار متا (داخل باکس) --- */
.news-meta-bar.inside-box {
    background: #f9fdf8; /* رنگ زمینه متفاوت */
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.meta-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.meta-author span {
    font-weight: 700;
    color: var(--mp-dark);
    font-size: 14px;
}

.meta-details {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #888;
}
.meta-details i {
    color: var(--mp-primary);
    margin-left: 6px;
    font-size: 15px;
    vertical-align: middle;
}
.separator { color: #e0e0e0; }

/* --- تصویر شاخص --- */
.featured-image-box {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
}
.featured-image-box img {
    width: 100%;
    height: auto;
    display: block;
    /* تصویر به لبه‌های پایین نوار متا می‌چسبد */
}
.image-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 15px;
    font-size: 12px;
    border-radius: 10px 0 0 0;
}

/* --- تایپوگرافی و محتوا --- */
.entry-content {
    padding: 0 40px 40px;
    font-size: 17px;
    line-height: 2.2;
    color: #444;
    text-align: justify;
}
.news-lead-text {
    padding: 0 40px;
    font-size: 19px;
    font-weight: 500;
    color: #222;
    line-height: 1.8;
    margin-bottom: 30px;
}
.entry-content p { margin-bottom: 25px; }
.entry-content h2, .entry-content h3 {
    color: var(--mp-dark);
    font-weight: 800;
    margin: 40px 0 20px;
    position: relative;
    padding-right: 15px;
}
.entry-content h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--mp-primary);
    border-radius: 4px;
}
.entry-content blockquote {
    background: #fbfbfb;
    border-right: 5px solid var(--mp-primary);
    margin: 30px 0;
    padding: 20px 30px;
    font-style: italic;
    color: #555;
    font-size: 18px;
    border-radius: 8px;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.entry-footer {
    padding: 20px 40px 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.entry-tags a {
    background: #f5f5f5;
    color: #777;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-left: 5px;
    transition: 0.3s;
}
.entry-tags a:hover {
    background: var(--mp-primary);
    color: #fff;
}
.tags-label { font-weight: 700; margin-left: 10px; font-size: 14px; }

.share-circle-list { display: flex; gap: 10px; }
.sc-item {
    width: 35px; height: 35px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px; transition: 0.3s;
}
.sc-item:hover { transform: scale(1.1); }
.sc-item.telegram { background: #229ED9; }
.sc-item.whatsapp { background: #25D366; }
.sc-item.twitter { background: #1DA1F2; }

/* --- 3. باکس نویسنده --- */
.author-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    margin-bottom: 40px;
    border: 1px solid #f9f9f9;
}
.ac-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #eafbea;
    padding: 3px;
}
.ac-info { flex: 1; }
.ac-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ac-header h4 { font-size: 18px; font-weight: 800; margin: 0; }
.ac-role { font-size: 12px; background: #eee; padding: 2px 8px; border-radius: 4px; color: #666; }
.ac-info p { font-size: 14px; color: #777; margin-bottom: 15px; line-height: 1.6; }
.ac-links a { font-size: 13px; color: var(--mp-primary); font-weight: 700; }

/* --- 4. ناوبری پست‌ها --- */
.post-navigation-modern {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}
.nav-prev, .nav-next {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--mp-shadow);
    transition: 0.3s;
}
.nav-prev:hover, .nav-next:hover { transform: translateY(-5px); }
.nav-label { font-size: 12px; color: #aaa; display: block; margin-bottom: 5px; }
.nav-prev h4, .nav-next h4 { font-size: 15px; font-weight: 700; margin: 0; color: var(--mp-dark); }
.nav-next { text-align: left; }

/* --- 5. مطالب مرتبط --- */
.related-posts-section { margin-bottom: 40px; }
.related-head-title { font-size: 20px; font-weight: 800; margin-bottom: 25px; padding-right: 15px; border-right: 4px solid var(--mp-primary); }
.related-posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.related-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.rc-img { width: 80px; height: 80px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.rc-img img { width: 100%; height: 100%; object-fit: cover; }
.rc-content h5 { font-size: 15px; font-weight: 700; margin-bottom: 5px; line-height: 1.4; }
.rc-date { font-size: 12px; color: #aaa; }

/* --- 6. سایدبار (Widget Modern) --- */
.sidebar-col { position: relative; }
.sticky-sidebar-inner {
    position: sticky;
    top: 100px;
}
.sidebar-widget-modern {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid #f9f9f9;
}
.sw-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.sw-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--mp-primary);
}

/* ویجت جستجو */
.search-box form { display: flex; background: #f5f5f5; border-radius: 10px; padding: 5px; }
.search-box input { border: none; background: transparent; width: 100%; padding: 0 10px; font-size: 13px; }
.search-box button { background: var(--mp-primary); color: #fff; border: none; width: 35px; height: 35px; border-radius: 8px; cursor: pointer; }

/* ویجت پست‌های کوچک */
.mini-post {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: 0.3s;
}
.mini-post:last-child { border: none; padding-bottom: 0; }
.mini-post:hover { padding-right: 5px; }
.mp-count {
    font-size: 24px; font-weight: 900; color: #eee; line-height: 1;
    font-family: sans-serif; transition: 0.3s;
}
.mini-post:hover .mp-count { color: var(--mp-primary); }
.mp-info h6 { font-size: 14px; font-weight: 600; color: #444; margin: 0; line-height: 1.5; }

/* ویجت دسته‌بندی */
.cats-list-modern li { margin-bottom: 10px; }
.cats-list-modern a {
    display: flex; justify-content: space-between;
    background: #fbfbfb; padding: 10px 15px; border-radius: 10px;
    font-size: 14px; color: #666; transition: 0.3s;
}
.cats-list-modern a:hover { background: var(--mp-primary); color: #fff; }
.cats-list-modern .count { background: rgba(0,0,0,0.05); padding: 2px 8px; border-radius: 5px; font-size: 12px; }

/* بنر سایدبار */
.sidebar-banner {
    background: linear-gradient(135deg, #2d3436, #000);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.sb-content i { font-size: 40px; margin-bottom: 15px; color: #fdcb6e; }
.sb-content h4 { font-size: 18px; margin-bottom: 5px; }
.sb-content p { font-size: 13px; color: #aaa; margin-bottom: 20px; }
.btn-sb {
    display: inline-block;
    background: #fdcb6e; color: #000;
    padding: 8px 20px; border-radius: 50px;
    font-size: 13px; font-weight: 700;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .row-layout { grid-template-columns: 1fr; }
    .news-title { font-size: 26px; }
    .sticky-sidebar-inner { position: static; margin-top: 40px; }
    .entry-content { padding: 0 20px 20px; }
    .news-lead-text { padding: 0 20px; }
    
    .news-meta-bar.inside-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .meta-details {
        width: 100%;
        justify-content: space-between;
        font-size: 12px;
    }
}
/* =========================================
   12. استایل‌های صفحه درباره ما و تماس با ما
   ========================================= */
/* ==========================================================================
   21. استایل کامل و نهایی صفحه درباره ما (About Us)
   ========================================================================== */

/* --- هدر بالای صفحه --- */
.about-hero-section {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    padding: 100px 0 60px;
    text-align: center;
    border-bottom: 1px solid #f9f9f9;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* تایتل هدر */
.about-hero-section h1 {
    font-size: 42px;
    font-weight: 900;
    color: var(--mp-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

/* متن هدر */
.about-hero-section p {
    font-size: 18px;
    color: var(--mp-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* --- بخش داستان ما (چیدمان) --- */
.about-story-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px; /* فاصله بین عکس و متن */
    margin-bottom: 120px;
}

/* ستون تصویر */
.story-image-col {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.story-image-col img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(106, 200, 71, 0.2); /* سایه سبز ملایم */
    transform: rotate(-2deg); /* چرخش هنری */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 5px solid #fff;
}

.story-image-col:hover img {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(106, 200, 71, 0.3);
}

/* باکس جایگزین وقتی عکس نیست */
.placeholder-box {
    width: 100%;
    height: 350px;
    background: #f5f5f5;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #ddd;
    border: 2px dashed #ccc;
}

/* ستون متن */
.story-text-col {
    flex: 1;
    min-width: 300px;
}

.section-heading {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-right: 20px;
    color: var(--mp-dark);
}

/* خط رنگی کنار تیتر */
.section-heading::before {
    content: '';
    position: absolute;
    right: 0;
    top: 6px;
    bottom: 6px;
    width: 5px;
    background: var(--mp-primary);
    border-radius: 10px;
}

.content-body {
    font-size: 16px;
    line-height: 2.2; /* ارتفاع خط برای خوانایی */
    color: #555;
    margin-bottom: 35px;
    text-align: justify;
}

/* دکمه داخل متن */
.btn-green-gradient {
    background: linear-gradient(90deg, var(--mp-primary) 0%, #5cbd38 100%);
    color: #fff !important;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(106, 200, 71, 0.3);
    transition: 0.3s;
}

.btn-green-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(106, 200, 71, 0.5);
}

/* --- بخش آمار و ارقام --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 120px;
}

.stat-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #f9f9f9;
    border-bottom: 4px solid var(--mp-primary); /* خط رنگی پایین */
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.stat-num {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--mp-primary);
    margin-bottom: 10px;
    font-family: sans-serif; /* اعداد انگلیسی */
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    font-weight: 700;
    color: #444;
}

/* --- بخش تیم ما --- */
.team-wrapper {
    margin-bottom: 100px;
}

.center-title {
    text-align: center;
    margin-bottom: 60px;
}

.center-title h2 {
    font-size: 34px;
    font-weight: 900;
    color: var(--mp-dark);
    margin-bottom: 10px;
}

.center-title p {
    color: var(--mp-gray);
    font-size: 16px;
}

.team-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 ستون */
    gap: 35px;
}

.team-card {
    background: #fff;
    border-radius: 25px;
    padding: 45px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f5f5f5;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    border-color: #eafbea;
}

.member-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: #eafbea;
    color: var(--mp-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: 0.4s;
}

.team-card:hover .member-avatar {
    background: var(--mp-primary);
    color: #fff;
    transform: rotate(10deg) scale(1.1);
}

.team-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--mp-dark);
}

.team-card .role {
    font-size: 13px;
    color: var(--mp-primary);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.team-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin: 0;
}


/* ==========================================================================
   22. استایل کامل و نهایی صفحه تماس با ما (Contact Us)
   ========================================================================== */

/* --- هدر تماس --- */
.contact-hero {
    text-align: center;
    padding: 80px 0 60px;
}

.contact-hero h1 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--mp-dark);
}

.contact-hero p {
    color: var(--mp-gray);
    font-size: 16px;
    line-height: 1.8;
}

/* --- ساختار شبکه اصلی (فرم و اطلاعات) --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.6fr; /* ستون فرم بزرگتر */
    gap: 50px;
    margin-bottom: 100px;
    align-items: flex-start;
}

/* --- کارت‌های اطلاعات (آیکون و متن) --- */
.info-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #f9f9f9;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(-8px);
    border-color: #eafbea;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.ic-icon {
    width: 65px;
    height: 65px;
    background: #f0f9ed;
    color: var(--mp-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    transition: 0.3s;
}

.info-card:hover .ic-icon {
    background: var(--mp-primary);
    color: #fff;
    transform: rotate(-10deg);
}

.ic-details h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--mp-dark);
}

.ic-details p, .ic-details a {
    font-size: 14px;
    color: #666;
    margin: 0;
    display: block;
    line-height: 1.6;
    text-decoration: none;
    transition: 0.3s;
}

.ic-details a:hover {
    color: var(--mp-primary);
}

/* دکمه‌های شبکه اجتماعی */
.btn-social {
    transition: transform 0.3s ease;
}
.btn-social:hover {
    transform: scale(1.2);
}

/* --- باکس فرم تماس --- */
.contact-form-box {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    border-top: 6px solid var(--mp-primary);
    border-left: 1px solid #f9f9f9;
    border-right: 1px solid #f9f9f9;
    border-bottom: 1px solid #f9f9f9;
}

.form-header h3 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 35px;
    color: var(--mp-dark);
    position: relative;
    padding-bottom: 15px;
}

.form-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--mp-primary);
    border-radius: 10px;
}

/* ورودی‌های فرم */
.form-group {
    margin-bottom: 25px;
}

.contact-form-box label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #555;
}

.contact-form-box input, 
.contact-form-box textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    font-size: 14px;
    font-family: var(--font-main);
    background: #fbfbfb;
    transition: all 0.3s;
    outline: none;
    color: #333;
}

.contact-form-box input:focus, 
.contact-form-box textarea:focus {
    border-color: var(--mp-primary);
    background: #fff;
    box-shadow: 0 5px 20px rgba(106, 200, 71, 0.1);
}

.contact-form-box textarea {
    resize: vertical;
    min-height: 140px;
}

/* دکمه ارسال پیام */
.submit-btn {
    width: 100%;
    background: linear-gradient(90deg, var(--mp-primary) 0%, #5cbd38 100%);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(106, 200, 71, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(106, 200, 71, 0.5);
}

/* --- بخش نقشه --- */
.map-section {
    height: 450px;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 80px;
    filter: grayscale(100%); /* سیاه و سفید */
    transition: all 0.6s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 5px solid #fff;
}

.map-section:hover {
    filter: grayscale(0%); /* رنگی شدن در هاور */
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ==========================================================================
   23. ریسپانسیو (Responsive Rules)
   ========================================================================== */

/* تبلت (زیر 992 پیکسل) */
@media (max-width: 992px) {
    /* درباره ما */
    .about-story-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .story-text-col {
        text-align: center;
    }
    
    .section-heading {
        padding-right: 0;
        display: inline-block;
    }
    .section-heading::before {
        display: none;
    }
    
    .story-image-col img {
        transform: rotate(0deg);
        margin-bottom: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون */
    }
    
    .team-grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون */
    }

    /* تماس با ما */
    .contact-wrapper {
        grid-template-columns: 1fr; /* تک ستون */
        gap: 40px;
    }
    
    .contact-info-col {
        order: 2; /* در موبایل اطلاعات برود زیر فرم */
    }
    
    .contact-form-col {
        order: 1;
    }
    
    .contact-form-box {
        padding: 30px 20px;
    }
}

/* موبایل (زیر 600 پیکسل) */
@media (max-width: 600px) {
    /* درباره ما */
    .about-hero-section h1 {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr; /* تک ستون */
    }
    
    .team-grid-container {
        grid-template-columns: 1fr; /* تک ستون */
    }
    
    .ms-item, .team-card {
        padding: 30px 15px;
    }

    /* تماس با ما */
    .contact-hero h1 {
        font-size: 28px;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .map-section {
        height: 300px;
    }
}




/* =========================================
   13. استایل مدرن صفحه نمونه کار (Portfolio V2)
   ========================================= */

/* --- 1. هیرو سکشن (بنر بالا) --- */
.portfolio-hero-section {
    position: relative;
    height: 60vh; /* ارتفاع بنر */
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* افکت پارالاکس */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: -100px; /* برای اینکه باکس‌ها روی بنر بیایند */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    transform: translateY(-20px);
}

.hero-badges .hero-cat {
    background: var(--mp-primary);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin: 0 5px;
    box-shadow: 0 5px 15px rgba(106, 200, 71, 0.4);
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    margin: 20px 0;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.breadcrumb-hero {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}
.breadcrumb-hero a { color: #fff; border-bottom: 1px dashed rgba(255,255,255,0.5); }

/* --- 2. لی‌اوت شناور --- */
.portfolio-floating-wrapper {
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.portfolio-grid-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr; /* ستون محتوا بزرگتر */
    gap: 40px;
}

/* --- 3. کارت محتوا --- */
.content-card {
    background: #fff;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.card-header-title h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--mp-dark);
    margin-bottom: 15px;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--mp-primary);
    border-radius: 10px;
    margin-bottom: 30px;
}

.project-description {
    font-size: 16px;
    line-height: 2.1;
    color: #555;
    text-align: justify;
}
.project-description img {
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- 4. سایدبار چسبان و مدرن --- */
.portfolio-sidebar-col {
    position: relative;
}

.sticky-info-card {
    position: sticky;
    top: 100px; /* فاصله از بالای صفحه هنگام اسکرول */
    background: #fff;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.02);
}

/* --- 5. دکمه لینک فوق العاده (Banner & Link Focus) --- */
.action-area {
    margin-bottom: 30px;
}

.live-preview-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--mp-primary), #4caf50);
    padding: 15px 20px;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

.btn-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.btn-content span {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 2px;
}

.btn-content small {
    font-size: 11px;
    opacity: 0.8;
    font-family: sans-serif;
    letter-spacing: 1px;
}

.live-preview-btn .icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    backdrop-filter: blur(5px);
    z-index: 2;
    transition: 0.4s;
}

.btn-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: 0.5s;
}

.live-preview-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.5);
}

.live-preview-btn:hover .btn-glow {
    opacity: 1;
    transform: scale(1);
}

.live-preview-btn:hover .icon-box {
    background: #fff;
    color: var(--mp-primary);
    transform: rotate(-15deg);
}

/* --- 6. لیست اطلاعات --- */
.info-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list-modern li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.info-list-modern li:last-child {
    border: none;
    margin: 0;
    padding: 0;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: #f9f9f9;
    border-radius: 12px;
    color: var(--mp-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: 15px;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text .label {
    font-size: 12px;
    color: #aaa;
}

.info-text .value {
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-dark);
}

/* --- 7. باکس پشتیبانی --- */
.sidebar-support-box {
    background: #f8faff;
    border: 1px dashed #ced4da;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.bg-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 80px;
    color: rgba(0,0,0,0.03);
    transform: rotate(15deg);
}

.sidebar-support-box h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
}

.sidebar-support-box p {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

.support-link {
    display: inline-block;
    color: var(--mp-dark);
    font-weight: 900;
    font-size: 18px;
    border-bottom: 2px solid var(--mp-primary);
}

/* --- 8. دکمه‌های اشتراک گذاری --- */
.modern-share-box {
    margin-top: 50px;
    background: #fbfbfb;
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.modern-share-box span {
    font-weight: 700;
    font-size: 14px;
}

.share-links {
    display: flex;
    gap: 10px;
}

.sh-item {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}
.sh-item:hover { transform: translateY(-3px); }
.sh-item.tg { background: #229ED9; box-shadow: 0 5px 15px rgba(34, 158, 217, 0.3); }
.sh-item.wa { background: #25D366; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); }
.sh-item.tw { background: #1DA1F2; box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3); }
.sh-item.in { background: #0077b5; box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3); }

/* --- 9. پروژه‌های مرتبط --- */
.related-projects-modern {
    margin-top: 60px;
}
.related-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    padding-right: 15px;
}
.related-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 5px;
    height: 25px;
    width: 5px;
    background: var(--mp-primary);
    border-radius: 5px;
}
.related-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.rp-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.rp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.rp-image {
    height: 180px;
    position: relative;
}
.rp-image img {
    width: 100%; height: 100%; object-fit: cover;
}
.rp-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: 0.3s;
}
.rp-card:hover .rp-overlay { opacity: 1; }
.rp-details {
    padding: 15px;
    text-align: center;
}
.rp-details h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--mp-dark);
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .portfolio-grid-layout { grid-template-columns: 1fr; }
    .sticky-info-card { position: static; order: -1; margin-bottom: 30px; } /* سایدبار برود بالا */
    .portfolio-hero-section { height: 400px; margin-bottom: -50px; }
    .hero-title { font-size: 28px; }
    .related-grid-modern { grid-template-columns: 1fr; }
}








/* =========================================
   RTL Products Final Fixed Style
   ========================================= */
.rtl-products-section {
    padding: 70px 0;
    background: #fff;
    border-top: 1px solid #f9f9f9;
}

.rtl-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

/* --- کارت محصول --- */
.rtl-card {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.rtl-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #e0e0e0;
}

/* تصویر */
.rtl-card-img {
    height: 190px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.rtl-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rtl-card:hover .rtl-card-img img {
    transform: scale(1.1);
}

/* --- محتوای کارت --- */
.rtl-card-body {
    padding: 20px;
    flex-grow: 1;
}

.rtl-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.5;
    height: 48px; /* ارتفاع ثابت برای دو خط */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rtl-title a { color: #333; text-decoration: none; }
.rtl-title a:hover { color: #82b440; } /* سبز راست‌چین */

/* کد تخفیف */
/* =========================================
   RTL Coupon Box Style (Modern & Theme Matched)
   ========================================= */
.rtl-coupon-box {
    background: #fcfdfc; /* پس‌زمینه خیلی روشن */
    border: 1px dashed var(--mp-primary); /* خط چین سبز رنگ اصلی قالب */
    border-radius: 12px; /* گردی گوشه‌ها مطابق قالب */
    padding: 8px 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* هاور باکس */
.rtl-coupon-box:hover {
    background: #f0f9ed; /* سبز خیلی ملایم در هاور */
    box-shadow: 0 5px 15px rgba(106, 200, 71, 0.15); /* سایه سبز */
    transform: translateY(-2px);
    border-color: var(--mp-primary-hover);
}

.coupon-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-label {
    font-size: 11px;
    color: #999;
    font-weight: 500;
}

.coupon-code {
    font-size: 14px;
    font-weight: 800;
    color: var(--mp-dark);
    font-family: sans-serif; /* فونت انگلیسی برای خوانایی کد */
    letter-spacing: 1px;
    background: rgba(106, 200, 71, 0.1); /* هایلایت سبز پشت کد */
    padding: 2px 8px;
    border-radius: 6px;
    transition: 0.3s;
}

/* دکمه کپی زیبا */
.coupon-action {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%; /* دایره‌ای */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

/* افکت هاور روی باکس -> تغییر دکمه کپی */
.rtl-coupon-box:hover .coupon-action {
    background: var(--mp-primary); /* سبز شدن دکمه */
    color: #fff;
    border-color: var(--mp-primary);
    box-shadow: 0 4px 10px rgba(106, 200, 71, 0.3);
    transform: rotate(-10deg); /* چرخش ریز برای زیبایی */
}

/* آیکون داخل دکمه */
.coupon-action i {
    transition: transform 0.3s;
}
.rtl-coupon-box:active .coupon-action i {
    transform: scale(0.8);
}

/* تولتیپ "کپی شد" */
.tooltip-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: var(--mp-dark);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    z-index: 10;
}

/* وضعیت کپی شده */
.rtl-coupon-box.copied .coupon-action {
    background: var(--mp-dark);
    border-color: var(--mp-dark);
}
.rtl-coupon-box.copied .coupon-action i {
    opacity: 0; /* مخفی کردن آیکون کپی */
}
.rtl-coupon-box.copied .tooltip-copy {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); /* نمایش تولتیپ وسط دکمه */
}

/* --- آمار و قیمت --- */
.rtl-stats-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    margin-top: auto;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.sale-box {
    background: #f5f7fa;
    padding: 5px 10px;
    border-radius: 8px;
    min-width: 50px;
}

.stat-num {
    font-size: 14px;
    font-weight: 800; /* ضخیم */
    color: #444;
        font-family: var(--font-main)!important;
}

.stat-label {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

/* قیمت */
.price-box-end {
    margin-right: auto; /* هل دادن به چپ */
    align-items: flex-end;
    padding-left: 5px;
}

.price-val {
    font-size: 17px;
    font-weight: 900;
    color: #333;
       font-family: var(--font-main);
    letter-spacing: -0.5px;
}

.price-unit {
    font-size: 11px;
    color: #999;
}

/* --- فوتر دکمه‌ها (اصلاح شده) --- */
.rtl-card-footer {
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
}

/* استایل دکمه‌ها با اولویت بالا */
a.btn-rtl-preview, 
a.btn-rtl-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1; /* تقسیم عرض مساوی */
    height: 42px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* دکمه پیش‌نمایش (طوسی) */
a.btn-rtl-preview {
    background-color: #f0f2f5;
    color: #555 !important;
    border: 1px solid #f0f2f5;
}
a.btn-rtl-preview:hover {
    background-color: #e4e6e9;
    color: #333 !important;
}

/* دکمه خرید (سبز) */
a.btn-rtl-buy {
    background-color: #82b440;
    color: #fff !important;
    border: 1px solid #82b440;
    box-shadow: 0 4px 15px rgba(130, 180, 64, 0.3);
}
a.btn-rtl-buy:hover {
    background-color: #72a035;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(130, 180, 64, 0.4);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .rtl-products-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 20px;
    }
    .rtl-card {
        min-width: 280px; /* عرض ثابت در موبایل */
    }
}













/* =========================================
   Mobile Optimization (Added Request)
   ========================================= */

@media (max-width: 768px) {

    /* 1. مخفی کردن دکمه "ورود به پنل" در موبایل */
    .header-actions .btn {
        display: none !important;
    }

    /* 2. نمایش دو ستونه برای ویژگی‌ها و نمونه‌کارها */
    .features-grid,
    .portfolio-grid, 
    .pa-grid { /* کلاس صفحه آرشیو نمونه کار */
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* اجبار به دو ستون */
        gap: 10px !important; /* کاهش فاصله بین آیتم‌ها برای جا شدن */
    }

    /* کوچک کردن پدینگ و فونت‌ها در حالت دو ستونه تا دفرمه نشوند */
    .feature-card, 
    .portfolio-item,
    .pa-card {
        padding: 15px 10px !important;
    }
    .portfolio-img {
        width: 60px !important; /* کوچک کردن عکس نمونه کار در گرید ریز */
        height: 60px !important;
        margin-bottom: 10px !important;
    }
    .feature-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
    .feature-card h4, .portfolio-info h3 {
        font-size: 14px !important;
    }
    .feature-card p, .portfolio-info p {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }


    /* 3. تبدیل لیست قیمت و وبلاگ به حالت لغزنده (Slider) */
    .pricing-grid,
    .blog-grid {
        display: flex !important; /* تغییر از Grid به Flex */
        grid-template-columns: none !important;
        overflow-x: auto !important; /* فعال سازی اسکرول افقی */
        scroll-snap-type: x mandatory; /* حالت آهنربایی اسکرول */
        gap: 15px !important;
        padding-bottom: 30px !important; /* فضا برای سایه پایین کارت‌ها */
        padding-right: 20px !important; /* فاصله از راست صفحه */
        padding-left: 20px !important;  /* فاصله از چپ صفحه */
        -webkit-overflow-scrolling: touch; /* نرم کردن اسکرول در iOS */
        margin-right: -20px !important; /* خنثی کردن پدینگ کانتینر اصلی */
        margin-left: -20px !important;
    }

    /* استایل آیتم‌های داخل اسلایدر */
    .pricing-card,
    .blog-item {
        flex: 0 0 85% !important; /* عرض هر کارت 85 درصد صفحه باشد */
        width: 85% !important;
        scroll-snap-align: center; /* کارت در وسط صفحه قفل شود */
        margin-bottom: 0 !important;
    }
    
    /* تنظیم ارتفاع یکسان برای کارت‌های وبلاگ در حالت اسلایدر */
    .blog-item {
        height: auto;
    }

    /* مخفی کردن اسکرول بار زشت پیش‌فرض مرورگر */
    .pricing-grid::-webkit-scrollbar,
    .blog-grid::-webkit-scrollbar {
        display: none;
    }
    .pricing-grid,
    .blog-grid {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
}
/* =========================================
   24. اصلاحات موبایل صفحه نمونه‌کار (Mobile Fixes)
   ========================================= */

@media (max-width: 768px) {
    
    /* 1. اصلاح پدینگ کارت اصلی محتوا */
    .content-card {
        padding: 25px 20px !important; /* کاهش پدینگ زیاد دسکتاپ */
        border-radius: 20px !important;
    }

    /* 2. رفع مشکل گرید و ترتیب نمایش */
    .portfolio-grid-layout {
        display: flex !important; /* استفاده از فلکس به جای گرید برای کنترل بهتر */
        flex-direction: column;
        gap: 30px !important;
        width: 100% !important;
    }

    /* 3. جلوگیری از سرریز شدن ستون اصلی */
    .portfolio-main-col {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0; /* جلوگیری از باگ عرض در فلکس باکس */
        overflow-wrap: break-word; /* شکستن کلمات طولانی */
    }

    /* 4. تنظیم ارتفاع و فاصله بنر هیرو در موبایل */
    .portfolio-hero-section {
        height: 350px !important;
        margin-bottom: -60px !important; /* تنظیم فاصله اورلپ برای موبایل */
    }

    .hero-title {
        font-size: 26px !important;
        padding: 0 15px;
        line-height: 1.4;
    }
    
    /* 5. اصلاح سایز عکس‌های داخل متن */
    .project-description img {
        width: 100% !important;
        height: auto !important;
        margin: 15px 0 !important;
    }
    
    /* 6. اصلاح باکس اشتراک گذاری در موبایل */
    .modern-share-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    /* 7. اصلاح سایدبار (اگر می‌خواهید پایین بماند) */
    .portfolio-sidebar-col {
        order: 2; /* اطمینان از نمایش در پایین محتوا */
        width: 100%;
    }
    
    /* اگر سایدبار استیکی بود، در موبایل غیرفعال شود */
    .sticky-info-card {
        position: static !important;
    }
}
