/* Generated theme — light */
:root {
  --primary-100: #FCFBF8;
  --primary-200: #F5F3EB;
  --primary-300: #EAE8D7;
  --primary-400: #E3DBA0;
  --primary-500: #D4C669;
  --primary-600: #C7B538;
  --primary-700: #9E912E;
  --primary-800: #766C23;
  --primary-900: #494213;
  --secondary-100: #FBFBF9;
  --secondary-200: #F2F2ED;
  --secondary-300: #E5E4DC;
  --secondary-400: #D1CEB2;
  --secondary-500: #B6B187;
  --secondary-600: #9E9761;
  --secondary-700: #7F794D;
  --secondary-800: #5F5B3A;
  --secondary-900: #3B3821;
  --tertiary-100: #F9FBF9;
  --tertiary-200: #EDF4EC;
  --tertiary-300: #DAE9D8;
  --tertiary-400: #ADDDA6;
  --tertiary-500: #7DCA72;
  --tertiary-600: #54B946;
  --tertiary-700: #439438;
  --tertiary-800: #326F2A;
  --tertiary-900: #1D4517;
  --neutral-100: #FAFAFA;
  --neutral-200: #F0F0EF;
  --neutral-300: #E1E1E0;
  --neutral-400: #C4C4BF;
  --neutral-500: #A2A19A;
  --neutral-600: #85847A;
  --neutral-700: #6A6962;
  --neutral-800: #504F49;
  --neutral-900: #31302B;
  --error-100: #FCF8F8;
  --error-200: #F6EAE9;
  --error-300: #EDD5D3;
  --error-400: #ED9B96;
  --error-500: #E36059;
  --error-600: #DA2E25;
  --error-700: #AF251D;
  --error-800: #831C16;
  --error-900: #510E0B;
  --bs-primary: #D4C669;
  --bs-primary-rgb: 212, 198, 105;
  --bs-secondary: #B6B187;
  --bs-secondary-rgb: 182, 177, 135;
  --bs-success: #198749;
  --bs-success-rgb: 25, 135, 73;
  --bs-info: #0EDEEF;
  --bs-info-rgb: 14, 222, 239;
  --bs-warning: #FEC208;
  --bs-warning-rgb: 254, 194, 8;
  --bs-danger: #E36059;
  --bs-danger-rgb: 227, 96, 89;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;

  --bs-link-color: #D4C669;
  --bs-link-color-rgb: 212, 198, 105;
  --bs-link-hover-color: #9E912E;
  --bs-link-decoration: none;
}

/* Core overrides mapping to CSS variables */
.btn-primary { background-color: var(--bs-primary) !important; border-color: var(--bs-primary) !important; color: white !important; }
.btn-primary:hover { background-color: var(--primary-700) !important; border-color: var(--primary-700) !important; }
.btn-secondary { background-color: var(--bs-secondary) !important; border-color: var(--bs-secondary) !important; color: white !important; }
.btn-secondary:hover { background-color: var(--secondary-700) !important; border-color: var(--secondary-700) !important; }
.btn-success { background-color: var(--bs-success) !important; border-color: var(--bs-success) !important; }
.btn-info { background-color: var(--bs-info) !important; border-color: var(--bs-info) !important; }
.btn-warning { background-color: var(--bs-warning) !important; border-color: var(--bs-warning) !important; }
.btn-danger { background-color: var(--bs-danger) !important; border-color: var(--bs-danger) !important; }

.btn-outline-primary { color: var(--bs-primary) !important; border-color: var(--bs-primary) !important; background-color: transparent !important; }
.btn-outline-primary:hover { color: white !important; background-color: var(--bs-primary) !important; border-color: var(--bs-primary) !important; }
.btn-outline-secondary { color: var(--bs-secondary) !important; border-color: var(--bs-secondary) !important; background-color: transparent !important; }
.btn-outline-secondary:hover { color: white !important; background-color: var(--bs-secondary) !important; border-color: var(--bs-secondary) !important; }

.bg-primary { background-color: var(--bs-primary) !important; }
.bg-secondary { background-color: var(--bs-secondary) !important; }
.bg-success { background-color: var(--bs-success) !important; }
.bg-info { background-color: var(--bs-info) !important; }
.bg-warning { background-color: var(--bs-warning) !important; }
.bg-danger { background-color: var(--bs-danger) !important; }

.bg-primary-subtle { background-color: var(--primary-100) !important; color: var(--primary-700) !important; }
.bg-secondary-subtle { background-color: var(--secondary-100) !important; color: var(--secondary-700) !important; }

.text-primary { color: var(--bs-primary) !important; }
.text-secondary { color: var(--bs-secondary) !important; }
.text-success { color: var(--bs-success) !important; }
.text-info { color: var(--bs-info) !important; }
.text-warning { color: var(--bs-warning) !important; }
.text-danger { color: var(--bs-danger) !important; }

.border-primary { border-color: var(--bs-primary) !important; }
.border-primary-subtle { border-color: var(--primary-200) !important; }
.border-secondary { border-color: var(--bs-secondary) !important; }
.border-success { border-color: var(--bs-success) !important; }
.border-info { border-color: var(--bs-info) !important; }
.border-warning { border-color: var(--bs-warning) !important; }
.border-danger { border-color: var(--bs-danger) !important; }

.shadow-primary { box-shadow: 0 0.5rem 1rem rgba(var(--bs-primary-rgb), 0.15) !important; }
.shadow-primary-sm { box-shadow: 0 0.125rem 0.25rem rgba(var(--bs-primary-rgb), 0.075) !important; }

a { color: var(--bs-primary); text-decoration: none !important; }
a:hover { color: var(--primary-700); text-decoration: none !important; }
a:focus { color: var(--primary-700); text-decoration: none !important; }
.btn-link { color: var(--bs-primary); text-decoration: none !important; }
.btn-link:hover { color: var(--primary-700); text-decoration: none !important; }
.btn-link:focus { color: var(--primary-700); text-decoration: none !important; }

.link-primary { color: var(--bs-primary) !important; }
.link-primary:hover { color: var(--primary-700) !important; }
.link-secondary { color: var(--bs-secondary) !important; }
.link-secondary:hover { color: var(--secondary-700) !important; }

.pagination .page-link { color: var(--primary-700); background-color: transparent; border-color: var(--primary-200); }
.pagination .page-link:hover { color: var(--primary-800); background-color: var(--primary-100); border-color: var(--primary-300); }
.pagination .page-item.active .page-link { color: white; background-color: var(--bs-primary); border-color: var(--bs-primary); }
.pagination .page-item.disabled .page-link { color: var(--primary-400); background-color: transparent; border-color: var(--primary-200); }

/* Generated theme — dark */
[data-bs-theme="dark"] {
  --primary-100: #312C0C;
  --primary-200: #4A4312;
  --primary-300: #685E1D;
  --primary-400: #908327;
  --primary-500: #C1AF34;
  --primary-600: #D4C45E;
  --primary-700: #DED387;
  --primary-800: #E9E1AF;
  --primary-900: #EEECDD;
  --secondary-100: #282515;
  --secondary-200: #3C3820;
  --secondary-300: #544F31;
  --secondary-400: #736D44;
  --secondary-500: #99915C;
  --secondary-600: #B3AC7F;
  --secondary-700: #C6C19F;
  --secondary-800: #D9D6BF;
  --secondary-900: #EAE9E1;
  --tertiary-100: #132E0F;
  --tertiary-200: #1C4616;
  --tertiary-300: #2B6223;
  --tertiary-400: #3C8731;
  --tertiary-500: #50B441;
  --tertiary-600: #76C969;
  --tertiary-700: #98D78E;
  --tertiary-800: #BAE4B4;
  --tertiary-900: #E0EDDE;
  --neutral-100: #21201C;
  --neutral-200: #31302B;
  --neutral-300: #45453F;
  --neutral-400: #605F58;
  --neutral-500: #807F75;
  --neutral-600: #9E9D94;
  --neutral-700: #B6B5AF;
  --neutral-800: #CECECA;
  --neutral-900: #E6E6E5;
  --error-100: #360A07;
  --error-200: #510E0B;
  --error-300: #721813;
  --error-400: #9D211A;
  --error-500: #D22D23;
  --error-600: #E25850;
  --error-700: #E9827C;
  --error-800: #F0ACA8;
  --error-900: #F0DCDB;
  --bs-primary: #C1AF34;
  --bs-primary-rgb: 193, 175, 52;
  --bs-secondary: #99915C;
  --bs-secondary-rgb: 153, 145, 92;
  --bs-success: #198749;
  --bs-success-rgb: 25, 135, 73;
  --bs-info: #0EDEEF;
  --bs-info-rgb: 14, 222, 239;
  --bs-warning: #FEC108;
  --bs-warning-rgb: 254, 193, 8;
  --bs-danger: #D22D23;
  --bs-danger-rgb: 210, 45, 35;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;

  --bs-link-color: #C1AF34;
  --bs-link-color-rgb: 193, 175, 52;
  --bs-link-hover-color: #908327;
}


/* Dynamic Font Face - Only Selected Font */
@font-face {
    font-family: 'IranSans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/iransans/IRANSansXFaNum-Regular.woff2') format('woff2'),
         url('/assets/fonts/iransans/IRANSansXFaNum-Regular.woff') format('woff');
}
@font-face {
    font-family: 'IranSans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/iransans/IRANSansXFaNum-Bold.woff2') format('woff2'),
         url('/assets/fonts/iransans/IRANSansXFaNum-Bold.woff') format('woff');
}

/* Dynamic Font Family */
body { font-family: 'IranSans', 'IRANSansX', sans-serif !important; }


/* Custom Global CSS */
/* استایل برای جابجایی المان‌های جستجو و سبد خرید به انتهای ردیف */
.d-flex.align-items-center.gap-3 {
    margin-left: auto !important;           /* مهم - هل دادن به راست */
    justify-content: flex-end !important;   /* برای RTL هم کار می‌کنه */
    gap: 8px !important;
    flex-wrap: nowrap;
}

/* تنظیم عرض و ظاهر دقیق مثل عکس */
.d-flex.align-items-center.gap-3 form {
    width: 300px !important;
}

/* اگر نیاز به تنظیم دکمه‌ها باشه */
.d-flex.align-items-center.gap-3 button {
    min-width: 45px;
    height: 45px;
    padding: 8px;
}

/* برای اطمینان بیشتر در حالت responsive */
@media (max-width: 992px) {
    .d-flex.align-items-center.gap-3 {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}

        /* تنظیمات کلی و ریست */
        :root {
            --primary-color: #1a3c5e; /* آبی تیره سازمانی */
            --secondary-color: #c5a059; /* طلایی برای تاکید */
            --text-color: #333;
            --bg-light: #f9f9f9;
            --white: #ffffff;
            --gray: #666;
        }
:root {
        --navy-dark: #0f172a;      /* سرمه‌ای بسیار تیره */
        --navy: #1e293b;           /* سرمه‌ای اصلی */
        --gold: #c5a059;           /* طلایی مات و شیک */
        --gold-light: #f4f0e6;     /* طلایی خیلی روشن برای پس‌زمینه */
        --text-main: #334155;      /* خاکستری تیره برای متن */
        --text-light: #64748b;     /* خاکستری روشن */
    }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
        }
        body {
            font-family: 'Vazirmatn', sans-serif;
            background-color: var(--white);
            color: var(--text-color);
            line-height: 1.8;
            overflow-x: hidden;
            font-size: 16px; /* سایز پایه برای موبایل */
        }
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .section-padding {
            padding: 60px 0; /* کاهش پدینگ در موبایل */
        }
        /* تایپوگرافی */
        h1, h2, h3, h4 {
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--primary-color);
            line-height: 1.4;
        }
        h2 {
            font-size: 1.8rem;
            text-align: center;
            position: relative;
            padding-bottom: 15px;
        }
        h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: var(--secondary-color);
        }
        p {
            margin-bottom: 15px;
            text-align: justify;
        }
        /* دکمه‌ها */
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--primary-color);
            color: var(--white);
            border-radius: 5px;
            transition: 0.3s;
            font-weight: 500;
            border: 2px solid var(--primary-color);
        }
        .btn:hover {
            background-color: transparent;
            color: var(--primary-color);
        }
        .btn-outline {
            background-color: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }
        .btn-outline:hover {
            background-color: var(--primary-color);
            color: var(--white);
        }
        
        /* =========================================
           استایل‌های Hero Section
           ========================================= */
        .hero-section {
            background-image: url('https://contents.mizekar.com/public/wk-425/b0e79697fea845a4be7527c215616950.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-blend-mode: overlay;
            background-color: rgba(15, 30, 50, 0.85);
            position: relative;
            color: var(--white);
            padding: 120px 0 80px 0;
            text-align: center;
            overflow: hidden;
        }
        .hero-section::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(to bottom, transparent, var(--white));
            pointer-events: none;
        }
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 900px;
            margin: 0 auto;
            padding: 0 15px;
        }
        .hero-content h1 {
            color: var(--white);
            font-size: 2.5rem;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
            line-height: 1.3;
            text-align: center;
        }
        .hero-content .slogan {
            font-size: 1.2rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
            font-weight: 600;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
            text-align: center; 
        }
        .hero-content .intro-text {
            font-size: 1.05rem;
            line-height: 1.8;
            opacity: 0.95;
            max-width: 700px;
            margin: 0 auto 40px auto;
            text-align: center;
        }
        /* استایل باکس‌های آمار در هیرو */
        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        .stat-item {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 15px 20px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            flex: 1 1 150px;
            min-width: 140px;
            transition: 0.3s;
        }
        .stat-item:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
        }
        .stat-item strong {
            display: block;
            font-size: 1.3rem;
            color: var(--secondary-color);
            margin-bottom: 5px;
        }
        .stat-item span {
            font-size: 0.85rem;
            color: #eee;
        }
        /* دکمه‌های هیرو */
        .hero-btns {
            margin-top: 40px;
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }
        .btn-hero-primary {
            background-color: var(--secondary-color);
            color: var(--white);
            border: 2px solid var(--secondary-color);
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 1rem;
            box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
        }
        .btn-hero-primary:hover {
            background-color: transparent;
            color: var(--secondary-color);
        }
        .btn-hero-outline {
            background-color: transparent;
            color: var(--white);
            border: 2px solid var(--white);
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 1rem;
        }
        .btn-hero-outline:hover {
            background-color: var(--white);
            color: var(--primary-color);
        }
        
        /* =========================================
           سکشن معرفی و درباره ما
           ========================================= */
        .about-section {
            background-color: var(--white);
        }
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }
        .manager-info {
            background: var(--bg-light);
            padding: 25px;
            border-right: 5px solid var(--primary-color);
            border-radius: 5px;
            margin-top: 20px;
        }
        .about-image img {
            width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        /* استایل‌ها بدون تغییر باقی مانده‌اند */
    .services-modern {
        background-color: #fff;
        padding: 100px 0;
    }
    .modern-header {
        text-align: center;
        margin-bottom: 70px;
    }
    .modern-header h2 {
        font-size: 2.2rem;
        color: #1a3c5e;
        margin-bottom: 15px;
        font-weight: 700;
    }
    .modern-header p {
        color: #666;
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto;
    }
    .modern-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
    }
    .service-block {
        background: #fff;
        border-radius: 16px;
        padding: 40px 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        border: 1px solid #f0f0f0;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .service-block:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    .block-icon {
        width: 70px;
        height: 70px;
        background: #f0f8ff;
        color: #1a3c5e;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
    }
    .block-icon svg {
        width: 35px;
        height: 35px;
    }
    .service-block h3 {
        font-size: 1.4rem;
        color: #1a3c5e;
        margin-bottom: 20px;
        font-weight: 700;
    }
    .block-content p.intro-text {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.8;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }
    .modern-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .modern-list li {
        position: relative;
        padding-right: 20px;
        margin-bottom: 12px;
        font-size: 0.95rem;
        color: #666;
        line-height: 1.6;
    }
    .modern-list li::before {
        content: '✓';
        position: absolute;
        right: 0;
        color: #c5a059;
        font-weight: bold;
    }
   .cta-box {
    text-align: center;
    margin-top: 80px;
    padding: 50px 30px;
    background: #fdfbf5; /* پس‌زمینه طلایی بسیار محو */
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.2); /* حاشیه طلایی نازک */
}

.cta-box p {
    font-size: 1.3rem;
    color: var(--primary-color); /* سرمه‌ای */
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.btn-primary-glow {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--secondary-color); /* طلایی */
    color: #fff;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4); /* سایه طلایی درخشان */
    transition: all 0.3s ease;
}

.btn-primary-glow:hover {
    background-color: transparent;
    color: var(--secondary-color); /* متن طلایی */
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.6);
}
    @media (max-width: 768px) {
        .modern-grid {
            grid-template-columns: 1fr;
        }
    }

        /* =========================================
           سکشن گالری تصاویر (جدید)
           ========================================= */
        .gallery-section {
            background-color: var(--white);
        }
        .gallery-category {
            margin-bottom: 40px;
        }
        .gallery-category h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--primary-color);
            border-right: 4px solid var(--secondary-color);
            padding-right: 10px;
        }
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }
        .gallery-item {
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            background: #fff;
            transition: transform 0.3s;
        }
        .gallery-item:hover {
            transform: scale(1.02);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }
        .gallery-item figcaption {
            padding: 10px;
            font-size: 0.85rem;
            text-align: center;
            background: #f8f9fa;
            color: #555;
        }
        .tag-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            margin-right: 5px;
        }
        .tag-old { background: #e0e0e0; color: #555; }
        .tag-new { background: #d1e7dd; color: #0f5132; }

        /* =========================================
           سایر سکشن‌ها (حفظ شده)
           ========================================= */
        .values-section { background-color: var(--white); }
        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }
        .value-item {
            text-align: center;
            padding: 20px;
            border: 1px solid #eee;
            border-radius: 8px;
        }
        
        .projects-section { background-color: var(--bg-light); }
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        .project-card {
            background: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }
        .project-header {
            background: var(--primary-color);
            color: var(--white);
            padding: 15px;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px;
        }
        .project-header span:first-child { font-size: 1rem; }
        .project-header span:last-child { font-size: 0.85rem; opacity: 0.9; }
        
        .project-body { padding: 20px; }
        .project-body h4 { color: var(--text-color); margin-bottom: 8px; font-size: 1rem; }
        .project-body p { font-size: 0.9rem; color: var(--gray); margin-bottom: 5px; text-align: right; }
        .project-badge {
            display: inline-block;
            background: #eef2f7;
            color: var(--primary-color);
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-top: 10px;
        }

        .cases-section { background-color: var(--white); }
        .cases-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        .case-card {
            border: 1px solid #eee;
            padding: 30px;
            border-radius: 10px;
            position: relative;
        }
        .case-card::before {
            content: 'پرونده شاخص';
            position: absolute;
            top: -12px;
            right: 20px;
            background: var(--secondary-color);
            color: var(--white);
            padding: 5px 15px;
            font-size: 0.8rem;
            border-radius: 20px;
        }
        .case-details li {
            margin-bottom: 8px;
            list-style-type: none;
            padding-right: 15px;
            position: relative;
        }
        .case-details li::before {
            content: '•';
            color: var(--secondary-color);
            position: absolute;
            right: 0;
        }

        .process-section {
            background-color: var(--primary-color);
            color: var(--white);
        }
        .process-section h2 { color: var(--white); }
        .process-steps {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
        }
        .step {
            flex: 1 1 200px;
            background: rgba(255,255,255,0.1);
            padding: 20px;
            border-radius: 8px;
            text-align: center;
        }
        .step-number {
            width: 40px;
            height: 40px;
            background: var(--secondary-color);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            font-weight: bold;
        }

        /* =========================================
           ریسپانسیو (Mobile & Apple Specific)
           ========================================= */
        @media (max-width: 992px) {
            .hero-content h1 { font-size: 2.2rem; }
            .stat-item { flex: 1 1 45%; }
        }

        @media (max-width: 768px) {
            body { font-size: 15px; }
            .section-padding { padding: 40px 0; }
            
            .about-grid { grid-template-columns: 1fr; }
            .about-image { order: -1; margin-bottom: 20px; }
            
            .hero-content h1 { font-size: 1.8rem; }
            .hero-content .slogan { font-size: 1rem; }
            .hero-content .intro-text { font-size: 0.95rem; }
            .hero-stats { flex-direction: column; gap: 10px; }
            .stat-item { width: 100%; }
            
            .hero-btns { flex-direction: column; width: 100%; }
            .btn-hero-primary, .btn-hero-outline { width: 100%; text-align: center; }
            
            .services-grid { grid-template-columns: 1fr; }
            .service-card { padding: 20px; }
            
            .gallery-grid { grid-template-columns: 1fr 1fr; }
            
            .projects-grid { grid-template-columns: 1fr; }
            .cases-grid { grid-template-columns: 1fr; }
            
            .process-steps { flex-direction: column; }
            .step { width: 100%; }
            
            /* تنظیمات خاص برای iOS */
            .hero-section {
                padding-top: 80px;
                padding-bottom: 60px;
                -webkit-background-size: cover;
                -moz-background-size: cover;
                -o-background-size: cover;
                background-size: cover;
            }
        }
 /* متغیرهای رنگی (فرض بر این است که در فایل اصلی دارید، اینجا برای اطمینان تعریف می‌شوند) */
    :root {

        --accent-color: #3498db;  /* رنگ تاکید */
        --text-color: #555;
        --bg-light: #f8f9fa;
    }

.docs-showcase-minimal {
        background-color: #fff;
        padding: 80px 0;
        font-family: inherit;
    }

    .docs-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .docs-header h2 {
        font-size: 2.2rem;
        color: var(--primary-color);
        margin-bottom: 10px;
        font-weight: 700;
    }

    .docs-header p {
        color: #888;
        font-size: 1rem;
    }

    /* کانتینر اصلی */
    .docs-container {
        display: flex;
        flex-direction: column;
        gap: 70px;
    }

    .docs-block {
        position: relative;
    }

    .block-label {
        font-size: 0.9rem;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 25px;
        display: block;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 10px;
        width: fit-content;
    }

    /* گرید اصلی */
    .docs-grid {
        display: grid;
        gap: 20px;
    }

    /* استایل کارت‌ها (بدون متن اضافی) */
    .doc-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
        border: 1px solid #eee;
    }

    .doc-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    /* قاب تصویر */
    .doc-image-wrapper {
        position: relative;
        width: 100%;
        height: 250px; /* ارتفاع استاندارد */
        overflow: hidden;
        background: #f0f0f0;
    }

    .doc-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .doc-card:hover .doc-image-wrapper img {
        transform: scale(1.03);
    }

    /* برچسب روی تصویر */
    .image-tag {
        position: absolute;
        bottom: 12px;
        left: 12px;
        padding: 5px 10px;
        font-size: 0.75rem;
        color: #fff;
        border-radius: 4px;
        backdrop-filter: blur(4px);
        font-weight: 500;
    }

    .tag-old { background-color: var(--tag-old-bg); }
    .tag-new { background-color: var(--tag-new-bg); }
    .image-tag { background-color: var(--tag-default-bg); }

    /* تنظیمات گریدها */
    
    /* ۱. نقشه‌های شهرسازی (۲ ستون) */
    .docs-grid.simple-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ۲. مقایسه (۳ ستون) */
    .docs-grid.comparison-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* ۳. گالری هوایی جدید (۳ ستون) */
    .docs-grid.gallery-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    /* ریسپانسیو */
    @media (max-width: 992px) {
        .docs-grid.simple-grid,
        .docs-grid.comparison-grid,
        .docs-grid.gallery-strip {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .docs-grid.simple-grid,
        .docs-grid.comparison-grid,
        .docs-grid.gallery-strip {
            grid-template-columns: 1fr;
        }
        
        .doc-image-wrapper {
            height: 300px; /* ارتفاع بیشتر در موبایل برای وضوح */
        }
    }
 :root {
        --primary-color: #2c3e50;
        --accent-color: #3498db;
        --text-color: #666;
    }

    .process-section {
        background-color: #fff;
        padding: 100px 0;
    }

    .process-header {
        text-align: center;
        margin-bottom: 70px;
    }

    .process-header h2 {
        font-size: 2.2rem;
        color: var(--primary-color);
        margin-bottom: 10px;
        font-weight: 700;
    }

    .process-header p {
        color: #888;
        font-size: 1.1rem;
    }

    .process-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
        position: relative;
    }

    /* خط اتصال پس‌زمینه */
    .process-container::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(to left, var(--accent-color), #e0e0e0);
        z-index: 0;
        opacity: 0.3;
    }

    /* نکته کلیدی برای یکسان سازی اندازه */
    .process-step {
        flex: 1; /* باعث می‌شود هر ۴ مرحله فضای مساوی را اشغال کنند */
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        text-align: center; /* متن‌ها را وسط‌چین می‌کند */
        transition: transform 0.3s ease;
    }

    .process-step:hover {
        transform: translateY(-10px);
    }

    .step-content {
        background: #fff;
        padding: 30px 20px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        width: 100%; /* عرض کامل */
        height: 100%; /* ارتفاع کامل */
        border: 1px solid #f0f0f0;
        transition: all 0.3s ease;
        position: relative;
        box-sizing: border-box;
    }
    
    .process-step:hover .step-content {
        box-shadow: 0 15px 40px rgba(52, 152, 219, 0.15);
        border-color: #e1f0fa;
    }

    .icon-box {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
        color: var(--accent-color);
        margin-top: -55px;
        border: 4px solid #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }

    .icon-box svg {
        width: 32px;
        height: 32px;
    }

    .step-content h4 {
        font-size: 1.1rem;
        color: var(--primary-color);
        margin-bottom: 10px;
        font-weight: 700;
    }

    .step-content p {
        font-size: 0.9rem;
        color: #777;
        line-height: 1.6;
        margin: 0;
    }

    .step-indicator {
        margin-top: 20px;
        font-size: 0.8rem;
        font-weight: 700;
        color: #ccc;
        letter-spacing: 1px;
    }

    /* ریسپانسیو */
    @media (max-width: 992px) {
        .process-container {
            flex-wrap: wrap;
        }
        .process-step {
            flex: 0 0 calc(50% - 20px); /* دو تا در هر ردیف */
            margin-bottom: 40px;
        }
        .process-container::before {
            display: none;
        }
    }

    @media (max-width: 768px) {
        .process-container {
            flex-direction: column;
        }
        .process-step {
            flex: 100%;
            margin-bottom: 30px;
            flex-direction: row;
            text-align: right;
            align-items: center;
            gap: 20px;
        }
        .process-step:hover {
            transform: translateX(5px);
        }
        .step-content {
            margin-top: 0;
            padding: 20px;
        }
        .icon-box {
            margin-top: 0;
            margin-left: 0;
            width: 60px;
            height: 60px;
        }
        .icon-box svg {
            width: 24px;
            height: 24px;
        }
        .process-container::before {
            display: block;
            top: 0;
            bottom: 0;
            left: 30px;
            width: 2px;
            height: auto;
            background: #e0e0e0;
        }
        .step-indicator {
            display: none;
        }
    }
    .cases-minimal {
        background-color: #ffffff;
        padding: 120px 0;
        font-family: inherit;
    }

    .cases-header {
        text-align: center;
        margin-bottom: 80px;
    }

    .section-subtitle {
        display: block;
        font-size: 0.9rem;
        color: var(--gold);
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .cases-header h2 {
        font-size: 2.5rem;
        color: var(--navy);
        margin-bottom: 20px;
        font-weight: 700;
    }

    .section-desc {
        color: var(--text-light);
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.8;
    }

    /* کانتینر لیست */
    .cases-list {
        max-width: 900px;
        margin: 0 auto;
        position: relative;
    }

    /* آیتم پرونده */
    .case-item {
        display: flex;
        gap: 40px;
        margin-bottom: 60px;
        position: relative;
    }

    .case-item:last-child {
        margin-bottom: 0;
    }

    /* خط و نقطه سمت راست */
    .case-marker {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        flex-shrink: 0;
        width: 40px; /* فاصله از محتوا */
    }

    .marker-dot {
        width: 14px;
        height: 14px;
        background: #fff;
        border: 2px solid var(--gold);
        border-radius: 50%;
        z-index: 2;
        box-shadow: 0 0 0 4px var(--gold-light); /* هاله دور نقطه */
        transition: all 0.3s ease;
    }

    .case-item:hover .marker-dot {
        background: var(--gold);
        transform: scale(1.2);
    }

    .marker-line {
        flex-grow: 1;
        width: 2px;
        background: linear-gradient(to bottom, var(--gold), transparent);
        margin-top: 10px;
    }

    /* محتوای سمت چپ */
    .case-content {
        flex-grow: 1;
        padding-top: 5px; /* هم‌تراز با نقطه */
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 20px;
    }

    .case-item:last-child .case-content {
        border-bottom: none;
    }

    .case-title {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .case-cat {
        font-size: 0.75rem;
        color: var(--gold);
        background: var(--gold-light);
        padding: 4px 10px;
        border-radius: 4px;
        font-weight: 600;
    }

    .case-content h3 {
        font-size: 1.4rem;
        color: var(--navy);
        margin: 0;
        font-weight: 700;
    }

    .case-desc {
        color: var(--text-main);
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 20px;
        max-width: 90%;
    }

    /* تگ‌های پایین */
    .case-tags {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .case-tags li {
        font-size: 0.85rem;
        color: var(--text-light);
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .case-tags li::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--gold);
        border-radius: 50%;
        display: block;
    }

    /* ریسپانسیو */
    @media (max-width: 768px) {
        .cases-list {
            padding-right: 20px;
        }
        .case-item {
            flex-direction: column;
            gap: 15px;
            margin-bottom: 50px;
        }
        
        /* تغییر جهت خط برای موبایل */
        .case-marker {
            flex-direction: row;
            width: auto;
            height: 40px;
            margin-bottom: 10px;
        }
        
        .marker-line {
            width: 40px;
            height: 2px;
            margin-top: 0;
            margin-right: 10px;
            background: linear-gradient(to right, var(--gold), transparent);
        }

        .case-content h3 {
            font-size: 1.2rem;
        }
        
        .case-desc {
            max-width: 100%;
        }
    }
