    @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

    /* توکن‌ها هماهنگ با تم سراسری سایت (style.css) */
    :root {
      --bg: #0b1120;
      --bg2: #0e1628;
      --accent: #21f1a8;
      --accent2: #21f1a8;
      --white: #ffffff;
      --text: #f1f5f9;
      --text-muted: #eef2f9;
      --card-bg: rgba(255,255,255,0.06);
      --card-border: rgba(33, 241, 168,0.22);
      --radius: 18px;
      --radius-sm: 10px;
      --shadow: 0 8px 32px rgba(0,0,0,0.35);
    }

    html { scroll-behavior: smooth; }

    body {
      direction: rtl;
      text-align: right;
      /* پس‌زمینه شفاف تا ذرات سراسری (particles.js) دیده شوند */
      background: transparent;
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
      line-height: 1.7;
    }

    /* ===== CANVAS / BACKGROUND ===== */
    #bg-canvas {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }

    /* ===== WRAPPER ===== */
    .page-wrapper {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }

    /* ===== HERO / TABS SECTION ===== */
    .section-tabs {
      width: 90%;
      max-width: 1100px;
      margin: 60px auto 0;
    }

    .section-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .section-header h1 {
      font-size: clamp(28px, 5vw, 48px);
      font-weight: 900;
      color: var(--white);
      margin-bottom: 12px;
      line-height: 1.3;
    }

    .section-header p {
      font-size: 16px;
      color: var(--text-muted);
    }

    .tabs-list {
      display: flex;
      gap: 12px;
      margin-bottom: 32px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .tab-trigger {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: 50px;
      border: 1.5px solid var(--card-border);
      background: var(--card-bg);
      color: var(--text-muted);
      font-size: 14px;
      font-weight: 600;
      font-family: 'Samim', sans-serif;
      cursor: pointer;
      transition: all 0.3s;
      flex-shrink: 0;
    }

    .tab-trigger .icon {
      width: 18px; height: 18px;
      stroke-width: 2;
    }

    .tab-trigger:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .tab-trigger.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #0d1b2a;
    }

    .tab-content {
      display: none;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.4s, transform 0.4s;
    }

    .tab-content.active {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    .content-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 40px;
      backdrop-filter: blur(10px);
    }

    .content-text h3 {
      font-size: clamp(20px, 3vw, 28px);
      font-weight: 800;
      color: var(--white);
      margin-bottom: 16px;
      line-height: 1.4;
    }

    .content-text p {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 28px;
    }

    .btn-primary {
      background: var(--accent);
      color: #0d1b2a;
      border: none;
      padding: 13px 32px;
      border-radius: 50px;
      font-size: 15px;
      font-weight: 700;
      font-family: 'Samim', sans-serif;
      cursor: pointer;
      transition: transform 0.25s, box-shadow 0.25s;
    }
    .btn-primary:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 20px rgba(79,195,247,0.45);
    }

    .content-image {
      border-radius: var(--radius);
      overflow: hidden;
      aspect-ratio: 4/3;
    }

    .content-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: var(--radius);
    }

    /* ===== ABOUT SECTION ===== */
    .about-section {
      width: 90%;
      max-width: 1100px;
      margin: 80px auto 0;
    }

    .about-header {
      text-align: center;
      margin-bottom: 48px;
    }

    .tagline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 700;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 14px;
    }

    .tagline i { font-size: 14px; }

    .about-header h2 {
      font-size: clamp(28px, 4vw, 42px);
      font-weight: 900;
      color: var(--white);
      margin-bottom: 14px;
    }

    .underline {
      width: 60px;
      height: 3px;
      background: var(--accent);
      border-radius: 4px;
      margin: 0 auto;
    }

    .description {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 600px;
      margin: 20px auto 0;
      text-align: center;
    }

    /* Services grid */
    .services-grid {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 32px;
      align-items: start;
      margin-top: 50px;
    }

    .service-column {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .service-item {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-sm);
      padding: 20px;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s, transform 0.5s, border-color 0.3s;
    }

    .service-item.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .service-item:hover {
      border-color: var(--accent);
    }

    /* ===== دسکتاپ: کادرهای دو ستون «هم‌اندازه» و دقیقاً «روبه‌روی هم» =====
       هر ستون یک گرید ۳ردیفهٔ هم‌ارتفاع (1fr) می‌شود و دو ستون با stretch هم‌قد
       می‌شوند؛ نتیجه: هر کادرِ چپ دقیقاً مقابل کادرِ راست و همهٔ کادرها یک‌اندازه. */
    @media (min-width: 901px) {
      .services-grid { align-items: stretch; }
      .service-column {
        display: grid;
        grid-template-rows: repeat(3, 1fr);
        gap: 24px;
      }
      .service-item {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
      }
      /* تصویر مرکزی هم‌قدِ ستون‌ها کشیده شود (نه کوتاه‌تر) */
      .center-image { display: flex; }
      .center-image .image-wrapper { width: 100%; height: 100%; }
      .center-image .image-wrapper img {
        height: 100%;
        aspect-ratio: auto;   /* نسبت ثابت حذف؛ ارتفاع از ستون‌ها گرفته می‌شود */
      }
    }

    .service-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 8px;
    }

    .icon-wrapper {
      position: relative;
      width: 42px; height: 42px;
      background: rgba(79,195,247,0.12);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      flex-shrink: 0;
    }

    .secondary-icon {
      position: absolute;
      top: -4px; left: -4px;
      font-size: 10px !important;
      color: var(--accent2);
    }

    .service-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--white);
    }

    .service-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .learn-more {
      font-size: 12px;
      color: var(--accent);
      margin-top: 10px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 600;
    }

    /* Center image */
    .center-image {
      width: 280px;
      flex-shrink: 0;
    }

    .image-wrapper {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
    }

    .image-wrapper img {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      display: block;
    }

    .image-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 60%);
      display: flex;
      align-items: flex-end;
      padding: 20px;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .image-wrapper:hover .image-overlay { opacity: 1; }

    .portfolio-btn {
      background: var(--accent);
      color: #0d1b2a;
      border: none;
      padding: 10px 16px;
      border-radius: 50px;
      font-size: 13px;
      font-weight: 700;
      font-family: 'Samim', sans-serif;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      width: 100%;
      justify-content: center;
    }

    .image-border {
      position: absolute;
      inset: 0;
      border: 2px solid var(--accent);
      border-radius: var(--radius);
      pointer-events: none;
      opacity: 0.3;
    }

    /* Stats */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-top: 50px;
    }

    .stat-item {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-sm);
      padding: 24px 16px;
      text-align: center;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s, transform 0.5s;
    }

    .stat-item.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .stat-icon {
      color: var(--accent);
      margin-bottom: 10px;
    }

    .stat-value {
      font-size: 32px;
      font-weight: 900;
      color: var(--white);
      margin-bottom: 6px;
    }

    .stat-label {
      font-size: 13px;
      color: var(--text-muted);
    }

    .stat-bar {
      height: 3px;
      background: linear-gradient(to left, var(--accent), var(--accent2));
      border-radius: 4px;
      margin-top: 12px;
      width: 40%;
      margin-left: auto;
      margin-right: auto;
    }

    /* CTA */
    .cta-section {
      margin-top: 50px;
      background: linear-gradient(135deg, rgba(79,195,247,0.12), rgba(33, 241, 168,0.08));
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 36px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s, transform 0.5s;
    }

    .cta-section.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .cta-text h3 {
      font-size: 22px;
      font-weight: 800;
      color: var(--white);
      margin-bottom: 6px;
    }

    .cta-text p {
      font-size: 14px;
      color: var(--text-muted);
    }

    .cta-btn {
      background: var(--accent2);
      color: #fff;
      border: none;
      padding: 14px 32px;
      border-radius: 50px;
      font-size: 15px;
      font-weight: 700;
      font-family: 'Samim', sans-serif;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      transition: transform 0.25s, box-shadow 0.25s;
      flex-shrink: 0;
    }

    .cta-btn:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 20px rgba(33, 241, 168,0.4);
    }



    /* استایل هدر/منوی موبایل به‌صورت سراسری در style.css مدیریت می‌شود
       تا در همهٔ صفحات یکدست باشد؛ تعریف‌های قدیمی این فایل حذف شدند. */

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      .services-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
      }

      .center-image {
        display: none;
      }

      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      /* هدر و منوی موبایل از style.css سراسری می‌آید — اینجا فقط محتوای صفحه */

      .content-grid {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
      }

      .content-image { order: -1; }

      .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .cta-section {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
      }

      .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .footer-box { padding: 28px 24px; }
      .footer-bottom { padding: 16px 24px; }
    }

    @media (max-width: 500px) {
      .section-tabs { width: 95%; }
      .about-section { width: 95%; }
      .footer { width: 95%; }

      .tabs-list {
        gap: 8px;
      }

      .tab-trigger {
        padding: 10px 14px;
        font-size: 12px;
      }

      .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
      }

      .stat-value { font-size: 24px; }

      .section-header h1 { font-size: 26px; }
    }

    /* ============================================================
       هماهنگ‌سازی با تم سراسری + ریسپانسیو دقیق موبایل
       ============================================================ */

    /* دکمه‌ها حالا لینک هستند — رفتار لینک خنثی شود */
    .btn-primary,
    .cta-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
    }

    @media (max-width: 768px) {
      .section-tabs { margin-top: 28px; }
      .section-header h1 { font-size: clamp(24px, 6.4vw, 32px); }
      .section-header p { font-size: 15px; }

      .content-text h3 { font-size: 18px; line-height: 1.7; }
      .content-text p { font-size: 14.5px; line-height: 1.95; }
      .btn-primary { width: 100%; padding: 13px; font-size: 15px; }

      .about-header h2 { font-size: 24px; }
      .about-section .description { font-size: 14.5px; line-height: 2; }

      .service-title { font-size: 15.5px; }
      .service-desc { font-size: 13.5px; line-height: 1.9; }

      .cta-text h3 { font-size: 19px; }
      .cta-text p { font-size: 14.5px; }
      .cta-btn { width: 100%; padding: 14px; font-size: 15.5px; }
    }

/* ============================================================
   درخواست کاربر: بزرگ‌تر شدن فونت‌های صفحه «درباره ما»
   (در انتهای فایل تا بر مقادیر قبلی غالب شود — دسکتاپ و موبایل)
   ============================================================ */
.section-header p { font-size: 18.5px; }
.content-text h3 { font-size: clamp(22px, 3.2vw, 30px); }
.content-text p { font-size: 17px; line-height: 2.05; }
.about-section .description { font-size: 18px; line-height: 2; }
.service-title { font-size: 17px; }
.service-desc { font-size: 14.5px; line-height: 1.9; }
.cta-text h3 { font-size: 25px; }
.cta-text p { font-size: 16px; }
.stat-label { font-size: 14.5px; }

@media (max-width: 768px) {
  .section-header p { font-size: 16.5px; }
  .content-text h3 { font-size: 20px; line-height: 1.75; }
  .content-text p { font-size: 16px; line-height: 2; }
  .about-section .description { font-size: 16px; line-height: 2; }
  .service-title { font-size: 16.5px; }
  .service-desc { font-size: 14.5px; line-height: 1.95; }
  .cta-text h3 { font-size: 21px; }
  .cta-text p { font-size: 15.5px; }
}

/* ============================================================
   آیکون‌های صفحه «درباره ما» با رنگ‌های لوگو (سبز/آبی/بنفش) — نه فقط سبز
   ============================================================ */
.service-item:nth-child(3n+1) .icon-wrapper { color: #21f1a8; background: rgba(33, 241, 168, 0.14); }
.service-item:nth-child(3n+2) .icon-wrapper { color: #38bdf8; background: rgba(56, 189, 248, 0.14); }
.service-item:nth-child(3n+3) .icon-wrapper { color: #a855f7; background: rgba(168, 85, 247, 0.16); }
.service-item:nth-child(3n+1) .secondary-icon { color: #21f1a8; }
.service-item:nth-child(3n+2) .secondary-icon { color: #0ea5e9; }
.service-item:nth-child(3n+3) .secondary-icon { color: #9333ea; }

.stat-item:nth-child(4n+1) .stat-icon { color: #21f1a8; }
.stat-item:nth-child(4n+2) .stat-icon { color: #38bdf8; }
.stat-item:nth-child(4n+3) .stat-icon { color: #a855f7; }
.stat-item:nth-child(4n+4) .stat-icon { color: #ec4899; }

/* ============================================================
   حالت روز (Light): متن‌های سفیدِ این صفحه مشکی/تیره شوند تا خوانا باشند
   ============================================================ */
:root[data-theme="light"] {
  --white: #0f172a;                       /* عنوان‌ها: مشکی */
  --text: #0f172a;
  --text-muted: #1f2937;                  /* متن‌های فرعی: خاکستری بسیار تیره */
  --card-bg: rgba(15, 23, 42, 0.04);
  --card-border: rgba(0, 0, 0, 0.38);     /* رنگ دور کادرها: طوسی تیره */
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
}
:root[data-theme="light"] .content-grid { backdrop-filter: blur(10px); }
:root[data-theme="light"] .tab-trigger { color: #1f2937; }
:root[data-theme="light"] .image-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78) 0%, transparent 60%);
}

/* «داستان ما را بشناسید» → مشکی */
:root[data-theme="light"] .tagline { color: #0f172a; }
:root[data-theme="light"] .tagline i { color: #0f172a; }

/* «بیشتر بدانید» به‌طور کامل از همهٔ کادرها حذف شود (هر دو حالت) */
.learn-more { display: none !important; }

/* کارت‌های «دربارهٔ چندیار» در حالت روز: سفید و تو‌چشم با مرز بنفش و سایه */
:root[data-theme="light"] .service-item {
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.30);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10);
}
:root[data-theme="light"] .service-item:hover {
  border-color: #7c3aed;
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.18);
}

/* کادرهای آمار و کادر «آماده‌اید…» → سفید با متن مشکی */
:root[data-theme="light"] .cta-section,
:root[data-theme="light"] .stat-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
}
:root[data-theme="light"] .cta-text h3,
:root[data-theme="light"] .stat-value { color: #0f172a; }
:root[data-theme="light"] .cta-text p,
:root[data-theme="light"] .stat-label { color: #1f2937; }
