    :root {
      --brand: #0046c0;
      --brand2: #0060e6;
      --brand-light: #e6f0ff;
      --bg: #ffffff;
      --card: #f9fbff;
      --text: #07112a;
      --muted: #65708a;
      --success: #28a745;
      --warning: #ffc107;
      --shadow: rgba(9,30,66,0.08);
      --radius: 16px;
      --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
      --primary: #0046c0;
      --primary-dark: #003399;
      --text-light: #64748b;
      --text-lighterp: #414147;

      --border: #e2e8f0;
      --hover: #f8fafc;
      --primaryf: #0f172a;
      --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
              --accent: #00d2b8;
            --gradient: linear-gradient(135deg, #0046c0 0%, #0216f8cb 100%);
            --card-bg: rgba(255, 255, 255, 0.05);
            --text-light: #e2e8f0;
            --text-lighter: #94a3b8;

    }






        /* تعریف فونت Peyda */
        /* @font-face {
            font-family: 'Peyda';
            src: url('../../assets/fonts/peyda/400.woff2') format('woff2');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }
 */
        @font-face {
            font-family: 'Peyda';
            src: url('../../assets/fonts/peyda/500.woff2') format('woff2');
            font-weight: 500;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Peyda';
            src: url('../../assets/fonts/peyda/700.woff2') format('woff2');
            font-weight: 700;
            font-style: normal;
            font-display: swap;
        }

        /* تعریف فونت Peyda Num برای اعداد */
        /* @font-face {
            font-family: 'Peyda Num';
            src: url('../../assets/fonts/peyda-num/woff2/400.woff2') format('woff2');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        } */

        /* @font-face {
            font-family: 'Peyda Num';
            src: url('../../assets/fonts/peyda-num/woff2/500.woff2') format('woff2');
            font-weight: 500;
            font-style: normal;
            font-display: swap;
        } */

        /* @font-face {
            font-family: 'Peyda Num';
            src: url('../../assets/fonts/peyda-num/woff2/700.woff2') format('woff2');
            font-weight: 700;
            font-style: normal;
            font-display: swap;
        } */

        /* تعریف فونت آیکون */
        @font-face {
            font-family: 'Icomoon2';
            src: url('../../assets/fonts/icomoon2/woff/normal.woff') format('woff');
            font-weight: normal;
            font-style: normal;
            font-display: block;
        }

        /* استفاده از فونت‌ها در المان‌ها */
 
        /* برای اعداد */
        .numbers, .price, .stat {
            font-family: 'Peyda Num', 'Peyda', sans-serif;
        }

        /* برای عناوین و متن‌های ضخیم */
        h1, h2, h3, h4, h5, h6, .bold {
            font-family: 'Peyda', sans-serif;
            font-weight: 700;
        }

        /* برای متن‌های نیمه ضخیم */
        .medium-text {
            font-family: 'Peyda', sans-serif;
            font-weight: 500;
        }

        /* برای آیکون‌ها */
        .icon {
            font-family: 'Icomoon2';
            font-weight: normal;
            font-style: normal;
        }



.rtl-offer{
direction: ltr;

}

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body, html { font-family: 'Peyda', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6;
     direction: rtl
    }
    a { color: inherit; text-decoration: none; }
    img {  max-width: 100%; height: auto; }
    .wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

    /* Scroll Behavior */
    html { scroll-behavior: smooth; }

    /* منوی اصلی */
    .modern-nav {
      position: sticky;
      top: 0;
      background:#0046c0;
      /* border-bottom: 1px solid var(--border); */
      z-index: 1000;
      backdrop-filter: blur(10px);
    }

    .nav-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
    }

    /* لوگو */
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .nav-brand img {
      /* width: 150px; */
      height: 40px;
       
    }



.svg-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #166af289;
  pointer-events: none;
  mix-blend-mode: screen;
}





    .brand-text {
      display: flex;
      flex-direction: column;
    }

    .brand-name {
      font-weight: 700;
      font-size: 18px;
      color: var(--primary);
    }

    .brand-tag {
      font-size: 11px;
      color: var(--text-light);
    }






/* ========== مگامنیوی بزرگ محصولات ========== */
.mega-products .mega-menu.two-column-menu {
  min-width: 950px;
  width: 950px;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
}

.mega-two-column {
  display: flex;
  direction: rtl;
}

/* ستون راست - دسته‌بندی‌ها (بزرگتر) */
.mega-categories-side {
  width: 240px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-left: 1px solid var(--border);
  padding: 24px 0;
}

.category-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  position: relative;
}

.category-tab .category-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.category-tab:hover {
  background: rgba(0, 70, 192, 0.05);
  color: var(--primary);
}

.category-tab.active {
  background: white;
  color: var(--primary);
}

.category-tab i {
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease;
}

.category-tab:hover i,
.category-tab.active i {
  opacity: 1;
  transform: translateX(-5px);
}

/* ستون چپ - زیرشاخه‌ها (بزرگتر) */
.mega-submenu-side {
  flex: 1;
  padding: 24px;
  background: white;
  max-height: 600px;
  overflow-y: auto;
}

.submenu-panel {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.submenu-panel.active {
  display: grid;
}

.submenu-panel .service-card {
  padding: 16px;
  margin: 0;
  border-radius: 12px;
}

.submenu-panel .service-icon {
  width: 48px;
  height: 48px;
}

.submenu-panel .service-icon i {
  font-size: 24px;
}

.submenu-panel .service-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.submenu-panel .service-desc {
  font-size: 12px;
  line-height: 1.5;
}

/* ========== منوی ساده بزرگ (سایر خدمات و ...) ========== */
.simple-menu.large-menu {
  min-width: 320px;
  padding: 16px;
}

.simple-menu.large-menu a {
  padding: 14px 16px;
  gap: 14px;
}

.simple-menu.large-menu a i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 10px;
  font-size: 18px;
}

.menu-title {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 4px;
}

.menu-desc {
  font-size: 11px;
  color: #64748b;
}

.simple-menu.large-menu a:hover .menu-title {
  color: var(--primary);
}

/* منوی ساده معمولی (وبلاگ و تماس) */
.simple-menu {
  min-width: 240px;
  padding: 12px;
}

.simple-menu a {
  padding: 12px 16px;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.simple-menu a i {
  width: 28px;
  font-size: 16px;
}

/* ========== استایل hover مگامنیو ========== */
.nav-item:hover .mega-menu,
.nav-item:hover .simple-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  top: calc(100% + 5px);
}

/* ریسپانسیو */
@media (max-width: 1200px) {
  .mega-products .mega-menu.two-column-menu {
    min-width: 850px;
    width: 850px;
  }
}

@media (max-width: 992px) {
  .mega-products .mega-menu.two-column-menu {
    min-width: 90vw;
    width: 90vw;
    right: -20px;
  }
  
  .mega-two-column {
    flex-direction: column;
  }
  
  .mega-categories-side {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }
  
  .category-tab {
    flex: 1;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    background: white;
  }
  
  .category-tab i {
    display: none;
  }
  
  .category-tab.active {
    background: var(--primary);
    color: white;
  }
  
  .submenu-panel {
    grid-template-columns: 1fr;
  }
  
  .simple-menu.large-menu {
    min-width: 280px;
  }
}
/* ========== خدمات سازمانی - استایل حرفه‌ای ========== */
.nav-item:has(a[href="../corporate-services/"]) {
  margin: 0 5px;
}

.nav-item:has(a[href="../corporate-services/"]) .nav-link {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white !important;
  /* border-radius: 40px; */
  padding: 12px 24px;
  font-weight: 700;
  /* letter-spacing: 0.5px; */
  position: relative;
  overflow: hidden;
  /* transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); */
  /* box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25); */
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

.nav-item:has(a[href="../corporate-services/"]) .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  /* transform: translateX(-100%); */
  transition: transform 0.6s ease;
}

.nav-item:has(a[href="../corporate-services/"]) .nav-link:hover::before {
  transform: translateX(0);
}

.nav-item:has(a[href="../corporate-services/"]) .nav-link:hover {
  background: linear-gradient(135deg, #059669, #047857);
  /* transform: translateY(-3px); */
  /* box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); */
}

.nav-item:has(a[href="../corporate-services/"]) .nav-link:active {
  transform: translateY(0);
}

.nav-item:has(a[href="../corporate-services/"]) .nav-link i {
  font-size: 16px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
/* ========== استایل‌های پیشرفته منوی موبایل ========== */

/* زیرگروه‌ها در منوی موبایل */
.mobile-subgroup {
  margin: 12px 0;
  padding: 0 8px;
}

.mobile-subgroup-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  padding: 8px 16px;
  margin: 8px 0;
  background: rgba(0, 70, 192, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-subgroup a {
  padding: 12px 16px 12px 40px !important;
  font-size: 13px !important;
}

.mobile-subgroup a::before {
  right: 20px !important;
}

/* استایل ویژه خدمات سازمانی در موبایل */
.corporate-item {
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 16px;
  margin: 8px 0;
  border: none !important;
}

.corporate-link {
  color: white !important;
  justify-content: center !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.corporate-link i {
  color: white !important;
}

/* .corporate-item:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
} */

/* شماره تماس در منوی موبایل */
.mobile-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  margin-top: 20px;
  background: linear-gradient(135deg, #f0f7ff, #e6f0ff);
  border-radius: 16px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  direction: ltr;
}

.mobile-contact i {
  font-size: 20px;
  animation: shake 0.5s ease infinite;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
}

/* بهبود اسکرول منوی موبایل */
.mobile-nav {
  padding-bottom: 30px;
}

/* انیمیشن برای زیرگروه‌ها */
.mobile-subgroup {
  animation: fadeInUp 0.3s ease backwards;
}

.mobile-subgroup:nth-child(1) { animation-delay: 0.05s; }
.mobile-subgroup:nth-child(2) { animation-delay: 0.1s; }
.mobile-subgroup:nth-child(3) { animation-delay: 0.15s; }
.mobile-subgroup:nth-child(4) { animation-delay: 0.2s; }
.mobile-subgroup:nth-child(5) { animation-delay: 0.25s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* حالت تاریک برای منوی موبایل */
@media (prefers-color-scheme: dark) {
  .mobile-subgroup-title {
    background: rgba(59, 130, 246, 0.15);
  }
  
  .mobile-contact {
    background: linear-gradient(135deg, #1e293b, #0f172a);
  }
}
    


    /* منوی دسکتاپ */
    .nav-menu {
      display: flex;
      gap: 4px;
      flex: 1;
      justify-content: center;
      margin: 0 40px;
    }

    .nav-item {
      position: relative;
    }

    .nav-link {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 18px;
      font-size: 14px;
      font-weight: 500;
      border-radius: var(--radius);
      transition: all 0.3s ease;
      color: #f0f7ff;
    }

    .nav-link:hover {
      background: var(--hover);
      color: var(--primary);
    }

    .nav-link i {
      font-size: 11px;
  transition: transform 0.2s ease; /* زمان کمتر و انیمیشن ساده‌تر */
    }

    .nav-item:hover .nav-link i {
      transform: rotate(180deg);
    }

    /* مگا منو */
    .mega-menu {
      font-family: 'Peyda', sans-serif;

      position: absolute;
      top: 100%;
      right: 0;
      background: var(--bg);
      min-width: 800px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow-lg);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s ease, visibility 0.2s ease; /* حذف transform */
      transform: none !important; /* حذف transform */
      z-index: 1000;
    }


    /* رفع مشکل زیرمنوهای موبایل */
.mobile-submenu {
  
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-nav-item.active .mobile-submenu {
  max-height: 800px;
}

.mobile-submenu[hidden] {
  display: none;
}

.mobile-nav-item.active .mobile-submenu[hidden] {
  display: block;
}

    .nav-item:hover .mega-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .mega-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .service-card {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 16px;
      border-radius: var(--radius);
      transition: all 0.3s ease;
      border: 1px solid transparent;
      position: relative;
      overflow: hidden;
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(0, 70, 192, 0.03) 0%, rgba(0, 70, 192, 0) 100%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .service-card:hover {
      background: var(--hover);
      border-color: var(--border);
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    }

    .service-card:hover::before {
      opacity: 1;
    }

    .service-icon {
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      flex-shrink: 0;
      transition: all 0.3s ease;
    }

    .service-card:hover .service-icon {
      transform: scale(1.1);
    }

    .service-icon img {
      width: 24px;
      height: 24px;
    }

    .service-icon i {
      font-size: 30px;
    }

    .service-content {
      flex: 1;
    }

    .service-title {
      font-weight: 1000;
      font-size: 16px;
      margin-bottom: 4px;
      color: var(--text);
    }

    .service-desc {
      font-size: 12px;
      color: var(--text-lighterp);
      line-height: 1.5;
     }

    /* رنگ‌بندی ایکون‌های مختلف */
    .service-card:nth-child(1) .service-icon {
      background: linear-gradient(135deg, #f0f7ff, #e6f0ff);
    }
    .service-card:nth-child(1) .service-icon i {
      color: #0046c0;
    }

    .service-card:nth-child(2) .service-icon {
      background: linear-gradient(135deg, #f0fff4, #e6ffed);
    }
    .service-card:nth-child(2) .service-icon i {
      color: #059669;
    }

    .service-card:nth-child(3) .service-icon {
      background: linear-gradient(135deg, #fff7ed, #ffedd5);
    }
    .service-card:nth-child(3) .service-icon i {
      color: #ea580c;
    }

    .service-card:nth-child(4) .service-icon {
      background: linear-gradient(135deg, #fef7ff, #f3e8ff);
    }
    .service-card:nth-child(4) .service-icon i {
      color: #9333ea;
    }

    .service-card:nth-child(5) .service-icon {
      background: linear-gradient(135deg, #eff6ff, #dbeafe);
    }
    .service-card:nth-child(5) .service-icon i {
      color: #2563eb;
    }

    .service-card:nth-child(6) .service-icon {
      background: linear-gradient(135deg, #fefce8, #fef9c3);
    }
    .service-card:nth-child(6) .service-icon i {
      color: #ca8a04;
    }

    /* زیرمنو ساده */
    .simple-menu {
      position: absolute;
      top: 100%;
      right: 0;
      background: var(--bg);
      min-width: 220px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 8px;
      box-shadow: var(--shadow-lg);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-15px);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .nav-item:hover .simple-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .simple-menu a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      font-size: 16px;
      border-radius: 6px;
      transition: all 0.3s ease;
    }

    .simple-menu a:hover {
      background: var(--hover);
      color: var(--primary);
      transform: translateX(-5px);
    }

    .simple-menu i {
      width: 16px;
      text-align: center;
    }

    /* بخش راست */
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .nav-contact {
      /* font-family: Peyda Num; */
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 7px;
      background: #f0f7ff;
      border-radius: var(--radius);
       font-weight: 600;
      color: var(--primary);
      transition: all 0.3s ease;
    }

    .nav-contact:hover {
      background: #e6f0ff;
      transform: translateY(-1px);
    }

    .nav-contact i {
      font-size: 16px;
    }

    .client-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      background: var(--primary);
      color: white;
      border-radius: var(--radius);
      font-size: 13px;
      font-weight: 600;
      transition: all 0.3s ease;
      background-color: #067d28;
    }

    .client-btn:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 70, 192, 0.3);
    }

    .lang-switcher {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 8px 12px;
      border-radius: var(--radius);
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .lang-switcher:hover {
      background: #2563eb;
      transform: translateY(-1px);
    }

    .lang-switcher img {
      width: 18px;
      height: 18px;
      border-radius: 2px;
    }

    .lang-switcher span {
      font-size: 13px;
      font-weight: 500;
      color: white;
    }

/* ========== منوی موبایل حرفه‌ای ========== */

/* دکمه همبرگر */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #ffffff 0%, #ded3f1 100%);
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

/* حالت فعال همبرگر */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* منوی موبایل */
/* ========== استایل‌های کامل منوی موبایل ========== */

/* پس‌زمینه و پایه منو */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

/* overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* هدر منو */
.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #64748b;
}

/* محتوای منو */
.mobile-nav {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

/* آیتم‌های منو */
.mobile-nav-item {
  border-radius: 12px;
  overflow: hidden;
  background: white;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.mobile-nav-link,
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  text-align: right;
  color: #1e293b;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Peyda', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mobile-nav-link span,
.mobile-dropdown-toggle span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-link i:first-child,
.mobile-dropdown-toggle i:first-child {
  width: 20px;
  text-align: center;
  color: #64748b;
  font-size: 1.1rem;
}

.mobile-toggle-sub {
  font-size: 12px;
  color: #94a3b8;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-nav-item.active .mobile-toggle-sub {
  transform: rotate(180deg);
  color: var(--primary);
}

/* زیرمنو */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  background: #f8fafc;
  transition: max-height 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-item.active .mobile-submenu {
  max-height: 800px;
}

.mobile-submenu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 40px;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-top: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.mobile-submenu a:hover {
  background: white;
  color: var(--primary);
  padding-right: 24px;
}

/* زیرگروه‌ها */
.mobile-subgroup {
  margin: 8px 0;
}

.mobile-subgroup-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  padding: 10px 16px;
  margin: 4px 0;
  background: rgba(0, 70, 192, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-subgroup a {
  padding: 10px 16px 10px 35px !important;
  font-size: 13px !important;
}

/* ========== استایل خدمات سازمانی در موبایل (تصحیح شده) ========== */
.corporate-item {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none !important;
  margin: 4px 0;
}

.corporate-link {
  color: white !important;
  justify-content: center !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.corporate-link span {
  color: white !important;
}

.corporate-link i {
  color: white !important;
}

.corporate-item:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* لینک تکی (پنل کاربری) */
.single-link {
  margin-top: 16px;
  background: linear-gradient(135deg, #067d28, #059669);
  color: white !important;
  border-radius: 12px;
  text-align: center;
  justify-content: center !important;
  border: none !important;
}

.single-link span {
  color: white !important;
}

.single-link i {
  color: white !important;
}

/* شماره تماس */
.mobile-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  margin-top: 20px;
  background: linear-gradient(135deg, #f0f7ff, #e6f0ff);
  border-radius: 16px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  direction: ltr;
}

/* حالت تاریک */
@media (prefers-color-scheme: dark) {
  .mobile-menu {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  }
  
  .mobile-header {
    background: #1e293b;
    border-bottom-color: #334155;
  }
  
  .mobile-nav-item {
    background: #1e293b;
    border-color: #334155;
  }
  
  .mobile-nav-link,
  .mobile-dropdown-toggle {
    color: #e2e8f0;
  }
  
  .mobile-submenu {
    background: #0f172a;
  }
  
  .mobile-submenu a {
    color: #cbd5e1;
    border-top-color: #334155;
  }
  
  .mobile-contact {
    background: linear-gradient(135deg, #334155, #1e293b);
    color: #60a5fa;
  }
}
/* لینک تکی */
.single-link {
  margin-top: 16px;
  background: linear-gradient(135deg, #01d043 0%, #02a76d 100%);
  color: white !important;
  border-radius: 12px;
  text-align: center;
  justify-content: center !important;
  border: none !important;
}

.single-link:hover {
  background: linear-gradient(135deg, #02af39 0%, #16c588 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.single-link i {
  color: white !important;
}

/* اسکرول بار سفارشی */
.mobile-nav::-webkit-scrollbar {
  width: 4px;
}

.mobile-nav::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.mobile-nav::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border-radius: 10px;
}

/* انیمیشن‌های ورود */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-item {
  animation: slideInUp 0.4s ease backwards;
}

.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-item:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav-item:nth-child(6) { animation-delay: 0.35s; }
.single-link { animation-delay: 0.4s; }

/* حالت تاریک */
@media (prefers-color-scheme: dark) {
  .mobile-menu {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  }
  
  .mobile-header {
    background: #1e293b;
    border-bottom-color: #334155;
  }
  
  .mobile-nav-item {
    background: #1e293b;
    border-color: #334155;
  }
  
  .mobile-nav-link,
  .mobile-dropdown-toggle {
    color: #e2e8f0;
  }
  
  .mobile-submenu {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  }
  
  .mobile-submenu a {
    color: #cbd5e1;
    border-top-color: #334155;
  }
  
  .mobile-nav-link:hover,
  .mobile-dropdown-toggle:hover {
    background: #2d3748;
  }
  
  .mobile-close {
    background: #334155;
    color: #cbd5e1;
  }
}

/* ریسپانسیو */
@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    max-width: 100%;
  }
  
  .mobile-nav {
    padding: 20px 16px;
  }
  
  .mobile-header {
    padding: 16px;
  }
}   








/* Topbar */
    .topbar {
      background: linear-gradient(90deg, rgba(0,70,192,0.08), rgba(0,96,230,0.04));
      padding: 8px 20px;
      text-align: center;
      font-size: 14px;
      color: #0b2a66;
      position: relative;
      z-index: 40;
    }
    .topbar .pill {
      background: #fff;
      padding: 7px 16px;
      border-radius: 999px;
      border: 1px solid rgba(6,34,102,0.08);
      display: inline-block;
      font-weight: 600;
      box-shadow: 0 4px 12px var(--shadow);
      animation: pulse 2s infinite;
    }
    @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

    /* Header قدیمی - حذف شده */
    /* header {
      display: none;
    } */

    /* Hero */
.hero {
  display: grid; 
  grid-template-columns: 1fr 420px; 
  gap: 32px; 
  margin: 32px auto;
  max-width: 1240px; 
  background: transparent; /* بک‌گراند اصلی را حذف می‌کنیم */
  border-radius: var(--radius); 
  padding: 36px; 
  /* border و box-shadow حذف شدند */
  position: relative; 
  overflow: visible; /* تغییر به visible */
  z-index: 1;
    direction: ltr;

}
.hero-left{

 text-align: right; 
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw; /* عرض تمام صفحه */
  height: 100%;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  z-index: -1;
  border-radius: var(--radius);
}
    .hero-left h1 {
      font-size: 38px; line-height: 1.25; margin: 0; color: var(--text); font-weight: 800;
        margin-top: 36px;
    }
    .hero-left .lead {
      margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7;
     
    }

    .tagline {
      display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap;
    }
    .tagline span {
      background: #f0f5ff; padding: 8px 16px; border-radius: 999px; font-weight: 600;
      border: 1px solid #dfe8ff; color: var(--brand); font-size: 14px;
    }

    /* Slogan Rotator */
    .slogan-wrap {
      height: 36px; overflow: hidden; margin-top: 24px; position: relative;
    }
    .slogan {
      position: absolute; right: 0; left: 0; opacity: 0; transform: translateY(12px);
      transition: opacity 0.5s, transform 0.5s; color: var(--brand); font-weight: 600; font-size: 17px;
    }
    .slogan.active { opacity: 1; transform: translateY(0); }

    /* Features */
    .feature-bar {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 14px; margin-top: 28px;
    }
    .feature-item {
      display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff;
      border-radius: 12px; border: 1px solid #edf6ff; box-shadow: 0 6px 20px rgba(4,20,78,0.04);
      font-size: 15px; transition: var(--transition);
    }
    .feature-item:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(4,20,78,0.08); }
    .feature-item .icon { font-size: 22px; }

    /* CTA */
    .hero-cta {
      display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap;direction: rtl;;
    }

    .btn {
      padding: 11px 18px; border-radius: 12px; font-weight: 700; cursor: pointer; border: none;
      display: inline-flex; align-items: center; gap: 8px; font-size: 15px; transition: var(--transition);
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--brand), var(--brand2));
      color: #fff; box-shadow: 0 12px 32px rgba(0,70,192,0.18);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,70,192,0.24); }
    .btn-outline {
      background: #f0f5ff; border: 1.5px solid #d0e0ff; color: var(--brand);
    }
    .btn-outline:hover { background: var(--brand-light); border-color: var(--brand); }

    /* Offer Box */
    .offer-box {
      margin-top: 28px; background: linear-gradient(135deg, #f0f5ff, #fff0f0);
      border-radius: 14px; padding: 16px 20px; border: 1.5px dashed #02020242; color: #080908;
      font-weight: 700; display: flex; justify-content: center; align-items: center; gap: 12px;
      font-size: 15px; 
      color: #c41313;
    }
 
    /* Trust Section - با افکت fade رندوم */
.trust-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.trust-container {
  display: flex;
  gap: 16px;
  position: relative;
  min-height: 70px;
  align-items: center;
}

.trust-slot {
  width: 90px;
  height: 50px;
  position: relative;
}

.trust-item {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: scale(1);
  position: absolute;
  top: 0;
  left: 0;
}

.trust-item img {
  height: auto;
  width: auto;
  max-width: 80px;
  opacity: 1;
  filter: grayscale(0) !important;
  transition: all 0.3s ease;
}

 
.trust-item.fading-out {
  opacity: 0;
  transform: scale(0.7) rotate(10deg);
  pointer-events: none;
}

.trust-item.fading-in {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.trust-item.fading-in::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
   z-index: -1;
  opacity: 0;
  animation: glowPop 0.6s ease-out;
}

@keyframes glowPop {
  0% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.1); }
}

.trust-stats {
  display: flex;
  gap: 16px;
}

.trust-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #edf6ff;
  box-shadow: 0 6px 18px rgba(4,20,78,0.03);
  min-width: 100px;
}

.trust-stat-item .counter {
  font-weight: 800;
  color: var(--brand);
  font-size: 22px;
  direction: ltr;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.trust-stat-item small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Counter Animation */
@keyframes countUp {
  from { 
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.counter.animated {
  animation: countUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* New Hero Panel */
/* New Hero Panel - Improved */
.new-info {
  background: url(../img/images/ak3o.jpg);
  background-size: cover;
  background-position: top;
  border-radius: 18px;
  border: 1px solid #e6eeff;
  box-shadow: 0 18px 36px rgba(8, 32, 140, 0.07);
  width: 450px;
  height: 630px; /* ارتفاع ثابت برای consistency */
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.new-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(8, 32, 140, 0.15);
}

/* Overlay برای خوانایی بهتر متن */
.info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, 
    rgba(0, 51, 153, 0.9) 0%, 
    rgba(0, 51, 153, 0.7) 30%, 
    rgba(0, 51, 153, 0.3) 70%, 
    transparent 100%);
  padding: 30px 25px;
  border-radius: 0 0 18px 18px;
  transition: all 0.4s ease;
}

.new-info:hover .info-overlay {
  background: linear-gradient(0deg, 
    rgba(0, 51, 153, 0.95) 0%, 
    rgba(0, 51, 153, 0.8) 30%, 
    rgba(0, 51, 153, 0.4) 70%, 
    transparent 100%);
  padding: 35px 25px;
}

/* Title Styles */
.info-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.title-icon {
  font-size: 32px;
  color: #ffedd5;
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.new-info:hover .title-icon {
  transform: scale(1.1) rotate(10deg);
  background: rgba(255, 255, 255, 0.3);
}

.info-title h1 {
  color: #fff;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.new-info:hover .info-title h1 {
  transform: translateY(-2px);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* افکت‌های اضافی برای جذابیت بیشتر */
.new-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent);
  transition: left 0.6s ease;
}

.new-info:hover::before {
  left: 100%;
}

/* دکمه CTA اختیاری */
.info-cta {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #003399;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.new-info:hover .info-cta {
  opacity: 1;
  transform: translateY(0);
}

.info-cta:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* رسپانسیو */
@media (max-width: 768px) {
  .new-info {
    width: 100%;
    height: 250px;
  }
  
  .info-title h1 {
    font-size: 18px;
  }
  
  .info-overlay {
    padding: 20px 15px;
  }
}
 
    /* Why Us Section */
 
    /* Testimonials */
    .testimonials {
      margin: 80px auto; background: #f8faff; padding: 60px 20px; border-radius: var(--radius);
    }

     .testimonialstop {
        background:#0f2031; padding: 60px 20px;
    }
    .testimonials h2 { text-align: center; font-size: 30px; margin-bottom: 40px; }
    .testimonial-slider {
      display: flex; overflow: hidden; border-radius: 16px; position: relative;
    }
    .testimonial {
      min-width: 100%; padding: 32px; background: #fff; border: 1px solid #e6f0ff;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.5s;
    }
    .testimonial p {
      font-size: 16px; line-height: 1.8; color: var(--text); margin-bottom: 20px; font-style: italic;
    }
    .testimonial .author {
      display: flex; align-items: center; gap: 12px;
    }
    .testimonial .author img {
      width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
    }
    .testimonial .name { font-weight: 700; }
    .testimonial .role { font-size: 13px; color: var(--muted); }

    /* Responsive */
    @media (max-width: 1080px) {
      .hero { grid-template-columns: 1fr; padding: 28px; }
      .hero-right { order: -1; }
      .trust-container { flex-wrap: wrap; justify-content: center; }
    }
    @media (max-width: 820px) {
      .hero h1 { font-size: 32px; }
      .hero-cta { flex-direction: column; align-items: stretch; }
      .btn { justify-content: center; }
      .trust-row { flex-direction: column; }
    }
    @media (max-width: 480px) {
      .hero-stats { grid-template-columns: 1fr; }
      .feature-bar { grid-template-columns: 1fr; }
      .trust-container { gap: 12px; }
      .trust-item { width: 80px; height: 45px; }
      .trust-item img { height: 25px; }
      .trust-stat-item { min-width: 80px; padding: 8px 12px; }
      .trust-stat-item .counter { font-size: 18px; }
    }


 .full-list-section {
    text-align: center;
    margin-bottom: 20px;
}

.full-list-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Peyda', sans-serif;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.full-list-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
    text-decoration: none;
}

.full-list-link i:first-child {
    font-size: 16px;
}

.full-list-link i:last-child {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.full-list-link:hover i:last-child {
    transform: translateX(-3px);
}



.domain-pattern-overlay {
    position: relative;
}

.domain-pattern-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(../img/images/bg-png-5.png);
    background-position: center;
    background-size: 700px auto;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}


.back-domain {
    background: linear-gradient(135deg, #8ac1f8 0%, #f1f5f9 100%);
    padding: 40px 0;
    margin: 30px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.domain-section-compact {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.domain-header {
    text-align: center;
    margin-bottom: 30px;
}

.domain-header h2 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 700;
    font-family: 'Peyda', sans-serif;
}

.domain-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-family: 'Peyda', sans-serif;
}

/* شبکه TLD ها - فشرده */
.popular-tlds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.tld-card-compact {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tld-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.tld-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tld-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    font-family: 'Peyda', sans-serif;
}

.tld-price {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    /* font-family: 'Peyda Num', sans-serif; */
}

.tld-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tld-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    font-family: 'Peyda', sans-serif;
}

.tld-select-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Peyda', sans-serif;
}

.tld-select-btn:hover {
    background: #2563eb;
    transform: none;
}

/* فرم جستجوی فشرده */
.domain-search-compact {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.domain-search-compact.hidden {
    display: none;
}

.search-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.search-header-compact h3 {
    font-size: 16px;
    color: #1e293b;
    font-weight: 600;
    margin: 0;
    font-family: 'Peyda', sans-serif;
}

.close-search {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-search:hover {
    background: #f1f5f9;
    color: #475569;
}

.input-group-compact {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.domain-input-compact {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Peyda', sans-serif;
    transition: all 0.2s ease;
}

.domain-input-compact:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.search-btn-compact {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-family: 'Peyda', sans-serif;
}

.search-btn-compact:hover {
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.search-hint-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    font-family: 'Peyda', sans-serif;
}

.search-hint-compact i {
    color: #f59e0b;
    font-size: 14px;
}

/* اطلاعیه فشرده */
.domain-notice-compact {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #0aa674;
    font-size: 12px;
    font-family: 'Peyda', sans-serif;
}

.domain-notice-compact i {
    color: #3b82f6;
    font-size: 14px;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .back-domain {
        padding: 30px 0;
    }
    
    .domain-header h2 {
        font-size: 20px;
    }
    
    .domain-header p {
        font-size: 13px;
    }
    
    .popular-tlds-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .tld-card-compact {
        padding: 12px;
    }
    
    .tld-name {
        font-size: 16px;
    }
    
    .tld-price {
        font-size: 13px;
    }
    
    .domain-search-compact {
        padding: 16px;
    }
    
    .input-group-compact {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .popular-tlds-grid {
        grid-template-columns: 1fr;
    }
    
    .tld-main {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .tld-footer {
        flex-direction: column;
        gap: 8px;
    }
    
    .tld-select-btn {
        width: 100%;
    }
}







:root {
    --bg: #ffffff;
    --card: #f9f9f9;
    --accent: #4facfe;
    --text: #042233;
    --text-muted: rgba(0, 34, 51, 0.6);
}

/* پایه */
html {
    height: 100%;
    margin: 0;
    font-family: "Peyda", Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}
.section-wide {
  width: 100%;
  margin: 30px 0;
  padding: 30px 0;
  position: relative;
}

/* پس‌زمینه‌های رنگی */
#offers.section-wide {
  background: linear-gradient(135deg, #0B3D91 0%, #0ea5e9 100%);
}

#games.section-wide {
  background: linear-gradient(135deg, #f6fbff 0%, #e6f3ff 100%);
}

.world-map-section.section-wide {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.testimonials-section.section-wide {
  background: linear-gradient(135deg, #f8fdff 0%, #e6f3fb 100%);
}

#design.section-wide {
  background: linear-gradient(135deg, #ffffff 0%, #f6fbff 100%);
}

#mikrotik.section-wide {
  background: linear-gradient(135deg, #f0f9ff 0%, #e1f5fe 100%);
}

/* محتوای داخلی در اندازه اصلی باقی می‌ماند */
.section-wide > .wrap-content {
  max-width: var(--maxwidth);
  margin: 0 auto;
  padding: 0 40px;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 18px;
 }
.back{

background-color: #f8faff;

}


.back-domain{

background-color: #dde4f7;

}



h2 {
    margin: 8px 0 18px;
    font-size: 20px;
}

/* نقشه */


.map {
    position: relative;
    width: 100%;
    height: 640px;
    border-radius: 12px;
    overflow: hidden;

    backface-visibility: hidden;
    transform: translateZ(0);
    image-rendering: crisp-edges;
    will-change: transform;
}




.map .connections {
    transform: scale(0.99);
    transform-origin: center;
}


.map-background object,
.map-background img,
.map-background svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.map-background{
background-color: #f8faff;
    width: 100%;
    height: 100%;

}
 

/* پین‌ها */
.datacenters-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.pin {
    cursor: pointer;
    pointer-events: all;
}

.pin-circle {
    r: 1;
    fill: #ff800095;}

.pulse {
    fill: #949392;
     r: 1;
    opacity: 1.10;
    animation: pulseA 2.5s infinite;
}

@keyframes pulseA {
    0% { opacity: 0.6; transform: scale(1); }
    70% { opacity: 0.2; transform: scale(1.8); }
    100% { opacity: 0; transform: scale(2); }
}

/* کارت تولتیپ */
.label-card {
    position: absolute;
    z-index: 4;
    pointer-events: none;
    background: var(--card);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(79,172,254,0.2);
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform-origin: left top;
    opacity: 0;
    transition: transform .12s ease, opacity .12s ease;
    font-size: 13px;
}

.label-card.show {
    opacity: 1;
    transform: translate(0px, -6px);
}

.label-title { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.label-sub { font-size: 11px; color: var(--text-muted); }
.label-meta { margin-top: 4px; font-size: 10px; color: var(--text-muted); display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 2px 6px; border-radius: 999px; font-size: 10px; background: rgba(79,172,254,0.1); border: 1px solid rgba(79,172,254,0.2); }
.pin-icon { width: 12px; height: 12px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 9px; margin-left: 4px; }

/* لیست کنار نقشه */
.side {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.legend {
    background: var(--card);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(79,172,254,0.2);
    min-width: 220px;
}

.legend h3 {
    margin: 0 0 6px;
    font-size: 13px;
}

.legend ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.legend .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 2px 6px rgba(79,172,254,0.25);
}

@media(max-width:720px) {
    .label-card { min-width: 140px; font-size: 12px; }
    .chip { font-size: 9px; padding: 1px 5px; }
    .pin-icon { width: 10px; height: 10px; font-size: 8px; }
    .legend li { font-size: 11px; }
}
/* CSS */
.svg-wrap {
  position: relative;
  width: 100%;
  display: inline-block;
}

.svg-wrap object {
  display: block;
  width: 100%;
  height: auto;
}

.svg-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #023fa9;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* اتصالات متحرک جدید */
.connections {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.connection {
    stroke: #00d5ff;
    stroke-width: 0.1;
    stroke-dasharray: 2;
    animation: flow 2.5s linear infinite;
    filter: drop-shadow(0 0 2px #016bff66);
}

.connection-main {
    stroke: #ff4800;
    stroke-width: 0.2;
    stroke-dasharray: 1;
    animation: flowMain 2s linear infinite;
    filter: drop-shadow(0 0 4px rgba(79,172,254,0.4));
}

@keyframes flow {
    0% { stroke-dashoffset: 8; opacity: .8; }
    50% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: .8; }
}

@keyframes flowMain {
    0% { stroke-dashoffset: 10; opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 1; }
}




.connection.forward {
  stroke: #00d5ff;
  stroke-width: 0.1;
  stroke-dasharray: 2;
  animation: flow 2.5s linear infinite;
  filter: drop-shadow(0 0 2px #016bff66);
}

.connection.backward {
  stroke: #00ff77;
  stroke-width: 0.2;
  stroke-dasharray: 2;
  animation: flowReverse 2.5s linear infinite;
  filter: drop-shadow(0 0 2px #016bff66);
}

.connection-main.forward {
  stroke: #ff4800;
  stroke-width: 0.3;
  stroke-dasharray: 1;
  animation: flow 2s linear infinite;
  filter: drop-shadow(0 0 4px rgba(79,172,254,0.4));
}

.connection-main.backward {
  stroke: #ff8400;
  stroke-width: 0.3;
  stroke-dasharray: 1;
  animation: flowReverse 2s linear infinite;
  filter: drop-shadow(0 0 4px rgba(79,172,254,0.4));
}

/* انیمیشن‌ها */
@keyframes flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -10; }
}

@keyframes flowReverse {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 10; }
}




/* جلوه سه بعدی */
.connection-3d:nth-child(odd) {
    stroke: rgba(120, 200, 255, 0.6);
}

.connection-3d:nth-child(even) {
    stroke: rgba(79, 172, 254, 0.6);
}










         .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        h1 {
            text-align: right;
            margin-bottom: 30px;
            color: #2c3e50;
            font-size: 28px;
        }
        
        .section-title {
            text-align: center;
            margin: 40px 0 20px;
            color: #2c3e50;
            font-size: 24px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: #3498db;
            margin: 10px auto;
            border-radius: 2px;
        }
        
        /* استایل بخش استوری */
.stories-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 10px;
    margin-bottom: 40px;
    scrollbar-width: none;
    display: flex;
    justify-content: center;
}        
        .stories-container::-webkit-scrollbar {
            display: none; /* برای کروم و سافاری */
        }
        
        .stories-wrapper {
    display: flex;
    gap: 20px;
    padding: 0 10px;        }
        
        .story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 90px; /* عرض ثابت */
    transition: transform 0.3s ease;
    flex-shrink: 0; /* جلوگیری از فشرده شدن */
  
  }
        
        .story-item:hover {
            transform: scale(1.05);
        }
        
        .story-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            padding: 3px;
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
        }
        
        .story-avatar.viewed {
            background: #c0c0c0;
        }
        
        .story-avatar img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid white;
        }
        
        .story-title {
    font-size: 13px;
    color: #2c3e50;
    text-align: center;
    font-weight: 600;
    width: 100%; /* عرض کامل */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 5px;
          }
        
        /* استایل بخش نمایش استوری */
        .story-viewer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
        }
        
        .story-viewer.active {
            display: flex;
        }
        
        .story-content {
            width: 90%;
            max-width: 400px;
            height: 80%;
            background: white;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }
        
        .story-header {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            padding: 15px;
            background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 100%);
            z-index: 10;
            display: flex;
            align-items: center;
        }
        
        .story-progress {
            display: flex;
            gap: 5px;
            width: 100%;
            margin-bottom: 10px;
        }
        
        .progress-bar {
            height: 3px;
            background: rgba(255, 255, 255, 0.4);
            border-radius: 2px;
            flex: 1;
            overflow: hidden;
        }
        
        .progress-fill {
            height: 100%;
            width: 0%;
            background: white;
            border-radius: 2px;
            transition: width 0.1s linear;
        }
        
        .story-user {
            display: flex;
            align-items: center;
            color: white;
        }
        
        .story-user-avatar {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            margin-left: 10px;
            border: 2px solid white;
        }
        
        .story-user-name {
            font-weight: 600;
            font-size: 15px;
        }
        
        .story-body {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f0f2f5;
        }
        
        .story-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .story-text {
            padding: 20px;
            text-align: center;
            font-size: 18px;
            color: #2c3e50;
            line-height: 1.6;
        }
        
        .story-close {
            position: absolute;
            top: 15px;
            left: 15px;
            color: white;
            font-size: 24px;
            cursor: pointer;
            z-index: 11;
            background: rgba(0, 0, 0, 0.5);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .story-nav {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 30%;
            cursor: pointer;
            z-index: 10;
        }
        
        .story-prev {
            right: 0;
        }
        
        .story-next {
            left: 0;
        }
        
        .demo-note {
            text-align: center;
            margin-top: 30px;
            color: #7f8c8d;
            font-size: 14px;
            padding: 10px;
            background-color: #e8f4fc;
            border-radius: 8px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ریسپانسیو */
        @media (max-width: 768px) {
            h1 {
                font-size: 24px;
            }
            
            .story-item {
                width: 70px;
            }
            
            .story-avatar {
                width: 60px;
                height: 60px;
            }
            
            .story-title {
                font-size: 12px;
                max-width: 70px;
            }
        }











            .games-section {
      width: 100vw;
      min-height: 100vh;
      background: linear-gradient(135deg, #0B3D91 0%, #0ea5e9 100%);
      padding: 0;
      margin: 0;
      position: relative;
    }

    .games-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 40px 20px;
    }

    .games-header {
      text-align: center;
      margin-bottom: 50px;
    }

    .games-header h2 {
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 15px;
      text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .games-header p {
      font-size: 1.1rem;
      opacity: 0.9;
      max-width: 600px;
      margin: 0 auto;
    }

    .games {
      background: rgba(204, 193, 193, 0.201);
      padding: 50px;
      border-radius: 16px;
       margin-top: 20px;
       
    }
    .games-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 25px;
    }

    .games-header h3 {
      font-size: 1.8rem;
      color: var(--brand-blue);
      margin: 0;
      font-weight: 700;
    }

    .games-header p {
      color: var(--card);
      margin: 8px 0 0 0;
      font-size: 18px;
    }

    .tabs {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .tab {
        padding: 12px 20px;
        border-radius: 17px;
        border: 1px solid rgba(2, 12, 26, 0.37);
        background: #0259ff;
        cursor: pointer;
        font-weight: 800;
        display: flex;
        gap: 8px;
        align-items: center;
        transition: all 0.3s ease;
        color: #fff;

    }

    .tab svg {
      width: 18px;
      height: 18px;
    }

    .tab.active {
      background: #f2f2f2;
      color: #012827;
      box-shadow: 0 10px 30px rgba(56,211,255,0.15);
      border-color: transparent;
    }

    .tab:hover:not(.active) {
      background: rgba(56,211,255,0.05);
      border-color: var(--accent);
    }

    .game-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 20px;
    }

    .plan-card {
      background:#1b2838;
      padding: 24px;
      border-radius: 12px;
      border: 1px solid rgba(2,12,26,0.06);
      box-shadow: 0 10px 30px rgba(2,18,40,0.04);
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .plan-card::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 4px;
      height: 0;
      background: var(--accent);
      transition: height 0.3s ease;
    }

    .plan-card:hover::before {
      height: 100%;
    }

    .plan-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(2,18,40,0.08);
    }

    .plan-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .tag {
      font-weight: 800;
      color: var(--success);
      font-size: 1.1rem;
    }

    .price {
      font-weight: 900;
      color: var(--accent);
      font-size: 1.2rem;
      text-shadow: 0 0 20px #0725ce;
    }

    .plan-feat {
      font-size: 0.9rem;
      color: var(--brand-light);
      line-height: 1.6;
    }

    .plan-cta {
      margin-top: auto;
      display: flex;
      gap: 10px;
    }

 
 
    @media (max-width: 768px) {
      .wrap {
        padding: 15px;
      }
      
      .games {
        padding: 20px;
      }
      
      .games-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
      }
      
      .tabs {
        overflow-x: auto;
        padding-bottom: 8px;
        width: 100%;
      }
      
      .game-list {
        grid-template-columns: 1fr;
      }
      
      .plan-cta {
        flex-direction: column;
      }
    }


/* کلاس‌های جدید برای لایه‌بندی و تصویر */
.games-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
}

.games-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.games-image {
  width: 100%;
  height: auto;
  max-width: 350px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.games-content {
  flex: 1;
}

/* برای موبایل */
@media (max-width: 1024px) {
  .games-layout {
    grid-template-columns: 300px 1fr;
    gap: 30px;
  }
  
  .games-visual {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .games-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .games-visual {
    height: 300px;
    order: -1;
  }
  
  .games-image {
    max-width: 250px;
  }
}









 
 

.special-offers {
  max-width: 1200px;
  margin: 40px auto;
  
  padding: 0 15px;
  position: relative;
   
 }

.offers-heading {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
   
}

.offers-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: flex-start;
  transition: transform 0.5s ease;
  margin-bottom: 20px;
   font-family: 'Peyda Num', inherit;
}

.card-offer {
  flex: 0 0 calc(25% - 15px);
  min-width: 280px;
  background: linear-gradient(135deg, #fefefe, #f7f7f7);
  border-radius: 12px;
  padding: 15px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #eee;
  
   font-family: 'Peyda Num', inherit;
}

.card-offer:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(45deg, #e60023, #ff3c3c);
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: bold;
   font-family: 'Peyda Num', inherit;
}

.card-img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
  padding: 10px;
}

.card-title {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
  height: 40px;
  display: flex;
  align-items: center;
  
}

.card-old-price {
  text-decoration: line-through;
  color: #777;
  font-size: 12px;
  margin-bottom: 4px;
  font-family: 'Peyda Num', inherit;
}

.card-new-price {
  color: #e60023;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  font-family: 'Peyda Num', inherit;
}

.card-discount {
  background: linear-gradient(45deg, #ff3c3c, #ff6b6b);
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 10px;
  font-weight: bold;
  font-family: inherit;
}

.card-timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
  color: #555;
  font-family: Peyda Num;
  margin-left: 10px;
}
.order-offer{
    margin-left: 10px;

}
.card-progress-container {
  flex: 1;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-left: 8px;
  overflow: hidden;
  position: relative;
}

.card-progress-bar {
  height: 100%;
  background: linear-gradient(45deg, #e60023, #ff6b6b);
  border-radius: 4px;
  transition: width 0.5s ease;
  position: absolute;
  top: 0;
  right: 0;
}

/* تایمر معکوس با ثانیه */
.countdown-timer {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  justify-content: center;
}

.timer-item {
  text-align: center;
  background: rgba(230, 0, 35, 0.1);
  padding: 6px 3px;
  border-radius: 6px;
  min-width: 35px;
  border: 1px solid rgba(230, 0, 35, 0.2);
}

.timer-number {
  font-size: 13px;
  font-weight: bold;
  color: #e60023;
  display: block;
  font-family: 'Peyda Num', inherit;
}

.timer-label {
  font-size: 9px;
  color: #777;
  display: block;
  margin-top: 2px;
  font-family: inherit;
}

/* دکمه‌های جدید با کلاس btn */
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.15s ease-in-out;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(45deg, #007bff, #0056b3);
  border-color: #007bff;
}



.btn-primary-new {
  color: #fff;
  background:#304764;
  border-color: #cecfd0;
}


.btn-primary-new:hover {
  background: linear-gradient(45deg, #0056b3, #004085);
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}





.btn-primary:hover {
  background: linear-gradient(45deg, #0056b3, #004085);
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-danger {
  color: #fff;
  background: linear-gradient(45deg, #e60023, #c4001d);
  border-color: #e60023;
}

.btn-danger:hover {
  background: linear-gradient(45deg, #c4001d, #a30018);
  border-color: #c4001d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 0, 35, 0.3);
}

.buy-btn {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border-radius: 8px;
  margin-top: 5px;
   justify-content: center;
}

/* کنترل‌های کاروسل */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.control-btn {
  background: linear-gradient(45deg, #e60023, #ff3c3c);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.control-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(230, 0, 35, 0.3);
}

.slide-indicators {
  display: flex;
  gap: 8px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #e60023;
  transform: scale(1.2);
}

/* رسپانسیو */
@media(max-width: 1200px) {
  .card-offer {
    flex: 0 0 calc(33.333% - 15px);
  }
}

@media(max-width: 992px) {
  .card-offer {
    flex: 0 0 calc(50% - 15px);
  }
  
  .countdown-timer {
    gap: 4px;
  }
  
  .timer-item {
    min-width: 32px;
    padding: 5px 2px;
  }
  
  .timer-number {
    font-size: 12px;
  }
}

@media(max-width: 768px) {
  .card-offer {
    flex: 0 0 100%;
    max-width: 400px;
  }
  
  .offers-row {
    justify-content: center;
  }
  
  .countdown-timer {
    gap: 3px;
  }
  
  .timer-item {
    min-width: 30px;
    padding: 4px 1px;
  }
  
  .timer-number {
    font-size: 11px;
  }
  
  .timer-label {
    font-size: 8px;
  }
}











        .main-content {
            flex: 1;
            /* padding: 40px 20px; */
            text-align: center;
        }
        
        .logo {
            font-size: 2.5rem;
            font-weight: 800;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 10px;
        }
        
        .tagline {
            color: var(--text-lighter);
            font-size: 1.1rem;
            margin-bottom: 40px;
            direction: rtl;
        }
        
        /* استایل فوتر */
        .modern-footer {
            background: var(--primaryf);
            position: relative;
            overflow: hidden;
        }
        
        .footer-background {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 210, 184, 0.1) 0%, transparent 50%);
            z-index: 1;
        }
        
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px 30px;
            position: relative;
            z-index: 2;
        }
        
        /* بخش CTA */
        .footer-cta {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
            
        }
        
        .cta-card {
            background: #1b2838 ;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(253, 253, 253, 0.1);
            border-radius: 16px;
            padding: 30px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
              

        }
        
        .cta-card:hover {
             box-shadow: 0 20px 40px rgba(255, 255, 255, 0.007);
        }
        
        .cta-card h3 {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: white;
             /* font-family: 'Peyda Num' ; */
        }
        
        .cta-card p {
            color: var(--text-lighter);
            margin-bottom: 20px;
            line-height: 1.6;
        }
        
        .cta-buttons {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        
        .btn {
            display: inline-flex;
            align-items: center;
            padding: 12px 24px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        
        .btn-primary {
            background: var(--gradient);
            color: white;
         }
        
        .btn-primary:hover {
            transform: translateY(-2px);
         }
        
        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
             /* font-family: 'Peyda Num' */

        }
        
        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }
        
        /* بخش اصلی فوتر */
        .footer-main {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 50px;
            margin-bottom: 50px;
        }
        
        .footer-brand {
            display: flex;
            flex-direction: column;
        }
        
        .brand-logo {
            margin-bottom: 20px;
        }
        
        .brand-logo img {
            max-width: 180px;
            /* filter: brightness(0) invert(1); */
        }
        
        .brand-description {
            color: #ffffff;
            line-height: 1.7;
            margin-bottom: 25px;
            /* font-family: 'Peyda Num' */
        }
        
        .trust-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: auto;
             /* font-family: 'Peyda Num' */
        }
        
        .trust-badge {
            background: rgb(27, 40, 56);
            border-radius: 8px;
            padding: 8px 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.8rem;
            color: var(--text-lighter);
        }
        
        .trust-badge i {
            color: var(--accent);
        }
        
        /* بخش لینک‌ها */
        .footer-links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 30px;
        }
        
        .link-group h4 {
            font-size: 1.1rem;
            margin-bottom: 20px;
            color: white;
            position: relative;
            padding-bottom: 10px;
        }
        
        .link-group h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 30px;
            height: 2px;
            background: var(--gradient);
        }
        
        .link-list {
            list-style: none;
        }
        
        .link-list li {
            margin-bottom: 12px;
        }
        
        .link-list a {
            color: var(--text-lighter);
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
              color: #ffffff;
        }
        
        .link-list a:hover {
            color: #ffffff;
            transform: translateX(-5px);
        }
        
        .link-list i {
            margin-left: 8px;
            font-size: 0.8rem;
            color: var(--accent);
        }
        
        /* بخش شبکه‌های اجتماعی */
        .footer-social {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
        }
        
        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            color: var(--text-light);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            background: var(--gradient);
            transform: translateY(-3px);
            color: white;
        }
        
        .copyright {
            color: #ffffff;
            font-size: 0.9rem;
              /* font-family: 'Peyda Num' */
        }
        
        .copyright a {
            color: var(--accent);
            text-decoration: none;
        }
        
        /* انیمیشن‌ها */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .floating {
            animation: float 5s ease-in-out infinite;
        }
        
        /* ریسپانسیو */
        @media (max-width: 992px) {
            .footer-main {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .footer-links-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .footer-cta {
                grid-template-columns: 1fr;
            }
            
            .cta-buttons {
                flex-direction: column;
            }
            
            .footer-links-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-social {
                flex-direction: column;
                gap: 20px;
                text-align: center;
                color: #ffffff;
            }
        }
        
        @media (max-width: 480px) {
            .footer-container {
                padding: 40px 15px 20px;
            }
            
            .cta-card {
                padding: 20px;
            }
        }

.footer-bg {
    position: absolute;
    left: 0px;
    bottom: 00px;
    width: 800px;
    height: 800px;
    background-image: url('../img/images/footerr.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    filter: brightness(1) invert(1); /* این خط عکس رو سفید میکنه */
    opacity: 0.05; /* شفافیت رو تنظیم کن */
    z-index: 0;
    pointer-events: none;
  }






.datacentermap-section {
  font-family: Peyda Num;
    padding: 40px 0;
  }

.datacentermap-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

.datacentermap-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    color: #2d3748;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-height: 120px;
}

.datacentermap-item:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    transform: translateY(-3px);
}

.datacentermap-icon {
    font-size: 2.5rem;
    margin-left: 20px;
    color: #667eea;
    min-width: 50px;
    text-align: center;
}

.datacentermap-content {
    text-align: right;
    flex: 1;
}

.datacentermap-number {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.datacentermap-text {
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 600;
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .datacentermap-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .datacentermap-container {
        grid-template-columns: 1fr;
    }
    
    .datacentermap-item {
        padding: 25px 20px;
        min-height: 100px;
    }
    
    .datacentermap-icon {
        font-size: 2rem;
        margin-left: 15px;
    }
    
    .datacentermap-number {
        font-size: 1.8rem;
    }
    
    .datacentermap-text {
        font-size: 1rem;
    }
}




/* =====================================================
   بخش چرا ایرانیکا - نسخه نهایی با 6 کارت
   ===================================================== */

.why-us {
  position: relative;
  padding: 80px 0;
  direction: rtl;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f1f5f9 100%);
}

/* افکت گرید نقطه‌چین */
.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, #cbd5e1 1px, transparent 1px),
    linear-gradient(to bottom, #cbd5e1 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0, 0 0;
  -webkit-mask-image: 
    repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 10px),
    repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 10px);
  mask-image: 
    repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 10px),
    repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 10px);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  opacity: 0.3;
}

/* دایره تزئینی */
.why-us::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* محتوا - دو ستونه */
.why-us .wrap {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.why-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* ========== ستون راست (عنوان) ========== */
.why-header {
  flex: 1;
  text-align: right;
  max-width: 380px;
}

.why-badge {
  display: inline-block;
  margin-bottom: 20px;
}

.badge-text {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-block;
}

.why-header h2 {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 16px 0;
  color: #0f172a;
}

.why-header h2 .highlight {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-header .subtitle {
  font-size: 16px;
  color: #475569;
  margin: 0 0 30px 0;
  line-height: 1.7;
}

/* آمارهای سریع */
.why-stats {
  display: flex;
  gap: 25px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat {
  text-align: right;
}

.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #3b82f6;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

/* ========== ستون چپ (کارت‌ها) ========== */
.why-grid {
  flex: 1.8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* کارت */
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 18px 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.why-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
}

/* آیکون */
.why-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.1);
}

.why-card-icon i {
  font-size: 24px;
}

/* رنگ آیکون‌ها */
.why-card:nth-child(1) .why-card-icon i { color: #3b82f6; }
.why-card:nth-child(2) .why-card-icon i { color: #ef4444; }
.why-card:nth-child(3) .why-card-icon i { color: #10b981; }
.why-card:nth-child(4) .why-card-icon i { color: #8b5cf6; }
.why-card:nth-child(5) .why-card-icon i { color: #f59e0b; }
.why-card:nth-child(6) .why-card-icon i { color: #06b6d4; }

/* محتوای کارت */
.why-card-content {
  flex: 1;
}

.why-card-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #0f172a;
}

.why-card-content p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

/* ========== ریسپانسیو ========== */
@media (max-width: 1000px) {
  .why-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .why-header {
    text-align: center;
    max-width: 100%;
  }
  
  .why-header h2 {
    text-align: center;
  }
  
  .why-stats {
    justify-content: center;
  }
  
  .why-grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-us {
    padding: 50px 0;
  }
  
  .why-header h2 {
    font-size: 28px;
  }
  
  .why-header .subtitle {
    font-size: 14px;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .why-card {
    padding: 14px;
    gap: 12px;
  }
  
  .why-card-icon {
    width: 38px;
    height: 38px;
  }
  
  .why-card-icon i {
    font-size: 20px;
  }
  
  .why-card-content h3 {
    font-size: 14px;
  }
  
  .why-card-content p {
    font-size: 11px;
  }
  
  .stat-number {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 11px;
  }
}

/* حالت تاریک */
@media (prefers-color-scheme: dark) {
  .why-us {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  }
  
  .why-us::before {
    background-image: 
      linear-gradient(to right, #334155 1px, transparent 1px),
      linear-gradient(to bottom, #334155 1px, transparent 1px);
  }
  
  .why-card {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
  }
  
  .why-card:hover {
    background: rgba(30, 41, 59, 0.95);
  }
  
  .why-header h2 {
    color: #f1f5f9;
  }
  
  .why-header .subtitle {
    color: #94a3b8;
  }
  
  .why-card-content h3 {
    color: #f1f5f9;
  }
  
  .why-card-content p {
    color: #94a3b8;
  }
  
  .why-stats {
    border-top-color: rgba(255, 255, 255, 0.1);
  }
  
  .stat-label {
    color: #94a3b8;
  }
}

/* ============================================ */
/* گیم زون - طراحی کاملاً جدید */
/* ============================================ */

/* ========== اضافه کردن عکس پترن ========== */
.game-zone {
    position: relative;
    padding: 10px 0;
    background: linear-gradient(145deg, #fefefe, #f9fafb);
    direction: rtl;
    overflow: hidden;
}

/* عکس پترن */
.game-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
     background-image: url('../img/images/Online-Game.jpg');

    background-repeat: repeat;
    background-size: 200px;  /* اندازه تایل شدن پترن - میتونی کم و زیاد کنی */
    background-position: center;
    opacity: 0.08;  /* شفافیت - میتونی کم و زیاد کنی */
}

/* دایره تزئینی (اختیاری) */
.game-zone::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* محتوا بالاتر از پترن */
.game-zone-box {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 45px;
    align-items: center;
}
/* ========== عکس ========== */
.game-zone-img {
    flex: 0 0 340px;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 30px -10px rgba(0, 0, 0, 0.1);
}

.game-zone-img img {
    width: 100%;
    height: auto;
    display: block;
}

.game-zone-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.11), rgba(0, 0, 0, 0));
    
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: height 0.3s ease;
    /* border-radius: 0 0 32px 32px; */
}

.game-zone-img:hover .game-zone-img-overlay {
    height: 22%;
}

.game-zone-img-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #2563eb;
    text-decoration: none;
    padding: 7px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease 0.05s;
}

.game-zone-img:hover .game-zone-img-link {
    opacity: 1;
    transform: translateY(0);
}

.game-zone-img-link i {
    font-size: 16px;
}

/* ========== محتوا ========== */
.game-zone-info {
    flex: 1;
}

.game-zone-tag {
    display: inline-block;
    background: #e0e7ff;
    color: #3b82f6;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.game-zone-info h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0b1120;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.game-zone-info h2 span {
    background: linear-gradient(120deg, #2563eb, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.game-zone-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 85%;
}

.game-zone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 40px;
    margin-bottom: 28px;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.game-zone-btn:hover {
    background: #1d4ed8;
    transform: scale(1.02);
}

/* ========== کارت‌ها - جمع‌وجور و شیک ========== */
/* ========== کارت‌ها - رنگی و جذاب ========== */

/* گرید کارت‌ها - 3 ستونه */
.game-zone-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* استایل کارت با رنگ‌های مختلف */
.game-zone-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.game-zone-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* آیکون و رنگ‌های مختلف هر کارت */
.card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.card-icon i {
    font-size: 24px;
}

/* رنگ کارت اول - ماین‌کرافت (سبز) */
.game-zone-card:nth-child(1) .card-icon {
    background: rgba(34, 197, 94, 0.15);
}
.game-zone-card:nth-child(1) .card-icon i {
    color: #22c55e;
}

/* رنگ کارت دوم - کال‌آف (قرمز) */
.game-zone-card:nth-child(2) .card-icon {
    background: rgba(239, 68, 68, 0.15);
}
.game-zone-card:nth-child(2) .card-icon i {
    color: #ef4444;
}

/* رنگ کارت سوم - ولورنت (آبی) */
.game-zone-card:nth-child(3) .card-icon {
    background: rgba(59, 130, 246, 0.15);
}
.game-zone-card:nth-child(3) .card-icon i {
    color: #3b82f6;
}

/* رنگ کارت چهارم - پشتیبانی (بنفش) */
.game-zone-card:nth-child(4) .card-icon {
    background: rgba(139, 92, 246, 0.15);
}
.game-zone-card:nth-child(4) .card-icon i {
    color: #8b5cf6;
}

/* رنگ کارت پنجم - امنیت (نارنجی) */
.game-zone-card:nth-child(5) .card-icon {
    background: rgba(245, 158, 11, 0.15);
}
.game-zone-card:nth-child(5) .card-icon i {
    color: #f59e0b;
}

/* رنگ کارت ششم - پلاگین (فیروزه‌ای) */
.game-zone-card:nth-child(6) .card-icon {
    background: rgba(6, 182, 212, 0.15);
}
.game-zone-card:nth-child(6) .card-icon i {
    color: #06b6d4;
}

/* محتوای کارت */
.card-text {
    flex: 1;
    text-align: right;
}

.card-text strong {
    font-size: 16px;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
}

.card-text span {
    font-size: 12px;
    color: #64748b;
    line-height: 1.55;
}

/* ========== ریسپانسیو ========== */
@media (max-width: 1000px) {
    .game-zone-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .game-zone-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .game-zone-card {
        padding: 14px;
        gap: 12px;
    }
    
    .card-icon {
        width: 38px;
        height: 38px;
    }
    
    .card-icon i {
        font-size: 20px;
    }
    
    .card-text strong {
        font-size: 14px;
    }
    
    .card-text span {
        font-size: 11px;
    }
}
/* =====================================================
   بخش نظرات مشتریان - با بک‌گراند رادیال گرادیان
   ===================================================== */

.testimonials-section {
  position: relative;
  padding: 80px 0;
  direction: rtl;
  overflow: hidden;
  background: #ffffff;
}

/* بک‌گراند رادیال گرادیان (Teal Glow) */
.testimonials-section .radial-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(125% 125% at 50% 90%, #ffffff 40%, #14b8a6 100%);
  background-size: 100% 100%;
  opacity: 0.6;
}

/* افکت گرید نقطه‌چین */
.testimonials-section .grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, #cbd5e1 0.5px, transparent 0.5px),
    linear-gradient(to bottom, #cbd5e1 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  background-position: 0 0, 0 0;
  -webkit-mask-image: 
    repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 10px),
    repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 10px);
  mask-image: 
    repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 10px),
    repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 10px);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  opacity: 0.25;
}

.testimonials-section .wrap {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonials-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* ========== ستون راست (عنوان) ========== */
.testimonials-header {
  flex: 1;
  text-align: right;
  max-width: 350px;
}

.testimonials-badge {
  display: inline-block;
  margin-bottom: 20px;
}

.testimonials-badge .badge-text {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-block;
}

.testimonials-header h2 {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 16px 0;
  color: #0f172a;
}

.testimonials-header h2 .highlight {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonials-header .subtitle {
  font-size: 15px;
  color: #475569;
  margin: 0 0 30px 0;
  line-height: 1.6;
}

/* امتیازها */
.testimonials-stats {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonials-stats .stat {
  text-align: right;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.stars i {
  font-size: 14px;
  color: #f59e0b;
}

.testimonials-stats .stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #14b8a6;
  line-height: 1.2;
}

.testimonials-stats .stat-label {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

/* ========== ستون چپ (کارت‌های نظرات) ========== */
.testimonials-grid {
  flex: 1.8;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* کارت نظر */
.testimonial-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 24px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 15px 30px rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.3);
}

/* آیکون نقل قول */
.quote-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  opacity: 0.12;
}

.quote-icon i {
  font-size: 32px;
  color: #14b8a6;
}

/* متن نظر */
.testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 20px 0;
  padding-left: 20px;
}

/* اطلاعات نویسنده */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(20, 184, 166, 0.3);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #0f172a;
}

.author-info p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* ========== ریسپانسیو ========== */
@media (max-width: 1000px) {
  .testimonials-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .testimonials-header {
    text-align: center;
    max-width: 100%;
  }
  
  .testimonials-header h2 {
    text-align: center;
  }
  
  .testimonials-stats {
    justify-content: center;
  }
  
  .stars {
    justify-content: center;
  }
  
  .testimonials-grid {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .testimonials-header h2 {
    font-size: 28px;
  }
  
  .testimonials-header .subtitle {
    font-size: 14px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .testimonial-text {
    font-size: 13px;
  }
  
  .quote-icon i {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 50px 0;
  }
  
  .testimonials-stats {
    gap: 20px;
  }
  
  .testimonials-stats .stat-number {
    font-size: 22px;
  }
  
  .author-avatar {
    width: 40px;
    height: 40px;
  }
  
  .author-info h4 {
    font-size: 14px;
  }
  
  .author-info p {
    font-size: 11px;
  }
}











 




 






#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #2563eb;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#scrollTopBtn i {
  font-size: 22px;
}

#scrollTopBtn:hover {
  background: #1e40af;
  transform: translateY(-4px);
}


 /* ----------------------------------------------
   1. منوی اصلی دسکتاپ (نوار بالایی) - رنگ سفید
   ---------------------------------------------- */
.modern-nav .nav-link img,
.modern-nav .nav-link .nav-icon,
.modern-nav .nav-link .nav-icon-chevron,
.nav-contact img,
.client-btn img {
    filter: brightness(0) invert(1);  /* سفید */
    transition: all 0.3s ease;
}

.modern-nav .nav-link:hover img {
    filter: brightness(0) invert(0.85);  /* سفید ملایم در هاور */
}

/* ----------------------------------------------
   2. سرویس کارت‌های مگامنیو - رنگ‌های اختصاصی هر دسته
   ---------------------------------------------- */

/* دسته اول: دامین - آبی (#0046c0) */
.service-card:nth-child(1) .service-icon img {
    filter: invert(21%) sepia(91%) saturate(3124%) hue-rotate(207deg) brightness(92%) contrast(101%);
}

/* دسته دوم: هاست - سبز (#059669) */
.service-card:nth-child(2) .service-icon img {
    filter: invert(40%) sepia(87%) saturate(1252%) hue-rotate(122deg) brightness(92%) contrast(89%);
}

/* دسته سوم: سرور مجازی - نارنجی (#ea580c) */
.service-card:nth-child(3) .service-icon img {
    filter: invert(48%) sepia(89%) saturate(2079%) hue-rotate(350deg) brightness(97%) contrast(94%);
}

/* دسته چهارم: سرور اختصاصی - بنفش (#9333ea) */
.service-card:nth-child(4) .service-icon img {
    filter: invert(28%) sepia(84%) saturate(3081%) hue-rotate(249deg) brightness(91%) contrast(94%);
}

/* دسته پنجم: گیم سرور - آبی روشن (#2563eb) */
.service-card:nth-child(5) .service-icon img {
    filter: invert(35%) sepia(91%) saturate(1834%) hue-rotate(208deg) brightness(95%) contrast(94%);
}

/* دسته ششم: میکروتیک - طلایی (#ca8a04) */
.service-card:nth-child(6) .service-icon img {
    filter: invert(66%) sepia(49%) saturate(1322%) hue-rotate(358deg) brightness(96%) contrast(87%);
}

/* ----------------------------------------------
   3. هاور سرویس کارت‌ها - تبدیل به سفید
   ---------------------------------------------- */
.service-card:hover .service-icon img {
    filter: brightness(0) invert(1) !important;
    transition: all 0.3s ease;
}

/* ----------------------------------------------
   4. تب‌های دسته‌بندی در مگامنیو
   ---------------------------------------------- */
.category-tab img {
    filter: invert(40%) sepia(0%) saturate(0%) brightness(60%) contrast(90%);
    transition: all 0.3s ease;
}

.category-tab:hover img,
.category-tab.active img {
    filter: brightness(0) invert(1);
}

/* ----------------------------------------------
   5. منوی ساده (خدمات تخصصی، وبلاگ، تماس با ما)
   ---------------------------------------------- */
.simple-menu a img {
    filter: invert(40%) sepia(0%) saturate(0%) brightness(60%) contrast(90%);
    transition: all 0.3s ease;
}

.simple-menu a:hover img {
    filter: invert(35%) sepia(91%) saturate(1834%) hue-rotate(208deg) brightness(95%) contrast(94%);  /* آبی روشن */
}

/* ----------------------------------------------
   6. منوی موبایل
   ---------------------------------------------- */
.mobile-nav-link img,
.mobile-toggle-sub,
.mobile-contact img,
.mobile-close img {
    filter: brightness(0) invert(1);  /* سفید */
}

.mobile-submenu a img {
    filter: invert(40%) sepia(0%) saturate(0%) brightness(60%) contrast(90%);
    transition: all 0.3s ease;
}

.mobile-submenu a:hover img {
    filter: invert(35%) sepia(91%) saturate(1834%) hue-rotate(208deg) brightness(95%) contrast(94%);  /* آبی روشن */
}

/* ----------------------------------------------
   7. دکمه همبرگر (سه خط منو)
   ---------------------------------------------- */
.mobile-toggle span {
    background-color: white;
}

/* ----------------------------------------------
   8. آیکون‌های داخل زیرشاخه‌های مگامنیو
   ---------------------------------------------- */
.mega-submenu-side .service-card .service-icon img {
    filter: invert(35%) sepia(91%) saturate(1834%) hue-rotate(208deg) brightness(95%) contrast(94%);
    transition: all 0.3s ease;
}

.mega-submenu-side .service-card:hover .service-icon img {
    filter: brightness(0) invert(1);
}

/* ----------------------------------------------
   9. رنگ‌های مخصوص برای سرویس کارت‌ها (حالت معمولی)
   ---------------------------------------------- */
.service-icon img {
    transition: all 0.3s ease;
}

/* اطمینان از اینکه آیکون‌های SVG در کارت‌ها به درستی رنگ می‌گیرند */
.service-card .service-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}


