:root {
  --primary-color: #0066cc;
  --secondary-color: #2c3e50;
  --text-color: #333;
  --white: #fff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --accent-color: #ffd700;
  --light-text: #64748b;
  --background-light: #f8fafc;
  --background-dark: #1e293b;
  --success-color: #10b981;
  --header-bg: #0A2351;
  --catalog-btn-bg: #E0402F;
  --search-btn-bg: #0066CC;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  direction: rtl;
  overflow-x: hidden;
}

.container {
  width: 95%;
  margin: 0 auto;
  padding: 0;
}

a {
  text-decoration: none;
}

/* هدر */
.site-header {
  background-color: var(--header-bg);
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-container {
  background-color: var(--white);
  border-radius: 8px;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
  padding: 5px 0;
  white-space: nowrap;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-catalog {
  background-color: #E0402F;
  color: var(--white);
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-catalog:hover {
  background-color: #c53525;
}

.btn-search {
  background-color: var(--search-btn-bg);
  color: var(--white);
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-search:hover {
  background-color: #0052a3;
}

.dropdown-content {
  background-color: var(--white);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-content a {
  color: var(--text-color);
}

.dropdown-content a:hover {
  background-color: var(--gray-100);
  color: var(--primary-color);
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: block;
  width: 100%;
  height: 100%;
}

.logo img {
  height: 40px;
  margin-bottom: 0.5rem;
}

.logo .company-description {
  font-size: 0.85em;
  color: var(--light-text);
  margin-top: 0.5rem;
  line-height: 1.4;
  text-align: center;
}

.company-brand span {
  font-size: 1.3em;
  font-weight: 600;
}

@media (max-width: 768px) {
  .logo img {
    height: 35px;
  }
}

.logo-placeholder {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  display: none;
}

/* استایل‌های منوی همبرگری */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #000000;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  width: 40px;
  height: 40px;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: hsl(226, 95%, 31%);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-direction: column;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-container {
    position: relative;
  }

  .nav-buttons {
    /* display: flex;
        align-items: center;
        gap: 15px; */
    width: 100%;
    justify-content: space-between;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
    width: 100%;
    color: #000000 !important;
    font-size: 1rem;
  }

  /* وسط‌چین کردن لینک محصولات */
  .nav-links a[href="services.html"] {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* وسط‌چین کردن لینک آموزش */
  .nav-links a[href="#"] {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* قرمز کردن لینک سرویس CSR سامانه مودیان */
  .nav-links a[href*="webrahro.ir/Csr/GenerateCsr"] {
    color: #fd0505 !important;
    font-weight: 600;
  }

  .dropdown-content {
    background: #ffffff;
  }

  .dropdown-content a {
    color: #000000 !important;
  }
}

@media (max-width: 992px) and (orientation: landscape) {
  .nav-links {
    background: #ffffff;
  }
}

@media (max-width: 576px) {
  .nav-buttons {
    gap: 10px;
  }

  .btn-search,
  .btn-catalog {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .menu-toggle {
    font-size: 1.2rem;
    padding: 8px;
  }
}

/* استایل‌های اضافی برای بهبود نمایش منو */
@media (max-width: 576px) {
  .nav-buttons {
    gap: 10px;
  }

  .btn-search,
  .btn-catalog {
    padding: 8px 12px;
    font-size: 14px;
  }

  .menu-toggle {
    font-size: 20px;
    padding: 8px;
  }
}

/* بخش قهرمان */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: url('images/pattern.svg');
  opacity: 0.1;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.8fr 3fr;
  gap: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  border-radius: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-weight: 800;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--light-text);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-buttons a.btn {
  text-decoration: none !important;
}

.hero-buttons .btn i {
  margin-right: 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--light-text);
  font-size: 0.9rem;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-image-badge img {
  width: 80px;
  height: auto;
  box-shadow: none;
}

/* بخش شروع از اینجا */
.start-here {
  padding: 80px 0;
  background-color: var(--white);
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.start-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--background-light);
  border-radius: 1rem;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon i {
  font-size: 2rem;
  color: var(--white);
}

.start-card h3 {
  margin-bottom: 1rem;
  color: var(--text-color);
  font-size: 1.5rem;
}

.start-card p {
  margin-bottom: 1.5rem;
  color: var(--light-text);
}

.start-card .btn {
  margin-top: auto;
}

/* ویژگی‌ها */
.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--header-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* مزایا */
.benefits {
  padding: 80px 0;
  background-color: var(--background-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.benefit-item {
  text-align: center;
}

.benefit-item img {
  width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
}

/* فوتر */
.site-footer {
  background-color: var(--text-color);
  color: var(--white);
  padding: 60px 0 20px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 11rem;
  margin-bottom: 3rem;
}

.footer-about img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-about p {
  color: var(--white);
  margin-top: 16px;
}

.footer-links h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gray-200);
}

.footer-contact {
  color: var(--white);
}



.footer-contact h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-contact p {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--gray-200);
}

.footer-contact i {
  margin-left: 0.5rem;
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.footer-bottom p {
  color: var(--white);
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.active {
    display: block;
  }

  .nav-links a {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-image-badge {
    right: 50%;
    transform: translateX(50%);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* نوار بالایی */
.top-bar {
  background-color: var(--header-bg);
  padding: 0;
  color: var(--white);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  /* افزایش ارتفاع نوار بالایی */
}

.company-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 10px;
  margin-right: -47px;
}

.company-brand .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  /* اندازه مربعی برای لوگو */
  height: 80px;
  /* اندازه مربعی برای لوگو */
  filter: brightness(0) invert(1);
  /* این خط لوگو را سفید می‌کند */
  gap: 0;
  /* فاصله بین تصویر لوگو و متن توضیحات را حذف می‌کند */
}

.company-brand .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-bottom: 0;
  /* حذف فاصله زیر لوگو */
}

.company-brand span {
  font-size: 1.3em;
  /* کمی بزرگتر کردن متن نام شرکت */
  font-weight: 600;
}

.company-description {
  font-size: 0.9em;
  color: var(--light-text);
  margin-top: 0;
  /* حذف فاصله بالای متن توضیحات */
  line-height: 1.4;
  text-align: center;
}

.contact-info {
  display: none;
  /* اضافه شده برای حذف شماره در موبایل ویو عمودی */
  text-align: left;
  margin-top: 0;
}

.contact-info a {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1em;
  flex-direction: row-reverse;
  /* این باعث می‌شود آیکون در سمت چپ قرار گیرد */
  text-align: right;
}

.contact-info a i {
  font-size: 1.2em;
}

.free-consultation-link {
  font-size: 0.9em;
  font-weight: 400;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* منوی اصلی */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: var(--gray-100);
  color: var(--primary-color);
}

/* هدر */
.btn-outline {
  background-color: #ffffff;
  color: #0066cc;
  border: 1px solid #0066cc;
}

.btn-outline:hover {
  background-color: #f0f0f0;
  color: #004d99;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background-color: #ffffff;
  color: #0066cc;
  border: 1px solid #0066cc;
}

.btn-lg:hover {
  background-color: #f0f0f0;
  color: #004d99;
}

/* بخش قهرمان */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
}

.feature-tag i {
  color: var(--success-color);
}

.floating-cards {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 250px;
}

.trust-card {
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1rem;
  max-width: 250px;
  justify-content: center;
}

.trust-card img {
  width: 100%;
  height: auto;
  max-width: 175px;

}

.hero-brands {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--gray-200);
  background-color: var(--white);
}

.brands-title {
  text-align: center;
  color: var(--text-color);
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.brands-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 2px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
  padding: 2rem;
}

.brand-item {
  width: 100%;
  max-width: 250px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.brand-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%);
}

@media (max-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .brand-item {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .brands-grid {
    grid-template-columns: 1fr;
  }
}

/* بخش ویژگی‌ها */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  /* padding: 0.5rem 1rem; */
  /* background-color: rgba(37, 99, 235, 0.1); */
  color: var(--primary-color);
  font-size: 20px;
  /* border-radius: 2rem; */
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-subtitle {
  /* color: var(--light-text); */
  font-size: 1.2rem;
  margin-top: 1rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--white);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  margin-top: 1rem;
  font-weight: 500;
}

.feature-link:hover {
  text-decoration: underline;
}

/* بخش محصولات */
.products {
  padding: 80px 0;
  background-color: var(--gray-100);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: var(--white);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
  background-color: var(--white);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  color: var(--background-dark);
  z-index: 1;
}

.product-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.product-features {
  list-style: none;
  margin: 1.5rem 0;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: 1.1rem;
}

.product-features i {
  color: var(--accent-color);
}

.product-card .btn {
  /* width: 100%; */
  text-align: center;
  margin-top: auto;
  display: block;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.product-card .btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* بخش مشاوره */
.consultation {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
}

.consultation-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.consultation-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.consultation-form {
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.consultation-form input {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  font-family: inherit;
  text-align: right;
}

.consultation-form .btn {
  font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  background-color: var(--catalog-btn-bg);
  color: var(--background-light);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.consultation-form .btn:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(252, 252, 252, 0.2);
}

/* فوتر */
.footer-contact {
  margin-top: 1.5rem;
  margin-right: -2.2rem;
  max-width: 380px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  margin: 0 auto;
}

.footer-newsletter {
  background-color: var(--header-bg);
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 341px;
  position: relative;
  height: 285px;
  max-height: 300px;
}

.footer-newsletter h4 {
  color: rgb(242, 239, 239);
  margin-bottom: 1rem;
}

.footer-newsletter p {
  color: rgba(250, 248, 248, 0.9);
  margin-bottom: 1.5rem;
}

/* .newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
} */

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  /* max-width: 250px; */
  width: 100%;
  border: none;
  font-size: 16px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: rgb(246, 245, 245);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
  color: #6B46C1;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  margin: 0 auto;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  max-width: 83px;
  bottom: 40px;
  color: var(--header-bg);
}

.newsletter-form .btn:hover {
  background-color: #f0f0f0;
}

.footer-newsletter .trust-symbols {
  /* display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem; */
  position: absolute;
  right: -120px;
  top: 40px;
  bottom: 0;
}

.footer-newsletter .trust-symbols img {
  width: 150px;
  height: auto;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .top-bar {
    display: flex;
    /* Ensure top bar is visible on mobile */
    height: auto;
    padding: 0.5rem 0;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .main-nav {
    height: auto;
    padding: 1rem;
  }

  .nav-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn-catalog,
  .btn-search {
    width: 100%;
    text-align: center;
  }

  .site-header {
    /* position: fixed; */
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
  }

  .floating-cards {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-top: 20px;
    align-items: center;
  }

  .stat-card,
  .trust-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    justify-content: center;
  }

  .users-image {
    max-width: 100%;
    margin-top: 20px;
  }

  .users-image img {
    width: 100%;
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* اسلایدر برندها */
.brands-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  background-color: var(--white);
}

.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

.brand-slide {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-slide.active {
  opacity: 1;
  transform: scale(1);
}

.brand-slide img {
  height: 120px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray-200);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background-color: var(--primary-color);
}

.slider-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* صفحه محصولات */
.products-page {
  padding: 120px 0 80px;
  background-color: var(--background-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.top-products {
  margin-bottom: 4rem;
}

.bottom-products {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.product-card {
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--white);
}

.product-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.product-content p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.product-features {
  list-style: none;
  margin: 1.5rem 0;
  flex: 1;
}

.product-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.product-features li i {
  color: var(--primary-color);
  margin-left: 0.5rem;
}

.product-card .btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .products-grid,
  .bottom-products {
    grid-template-columns: 1fr;
  }
}

/* استایل‌های منوی کشویی */
.dropdown.active .nav-link {
  color: var(--primary-color);
}

.dropdown.active .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .container,
.features .container,
.products .container,
.consultation .container,
.site-footer .container,
.top-bar .container {
  padding: 0 2rem;
}

@media (max-width: 768px) {

  .main-nav,
  .hero .container,
  .features .container,
  .products .container,
  .consultation .container,
  .site-footer .container,
  .top-bar .container {
    padding: 0 1rem;
  }
}

/* صفحه خدمات */
.services-page {
  padding: 120px 0 80px;
  background-color: var(--background-light);
}

.top-services {
  margin-bottom: 4rem;
}

.bottom-section-header {
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.bottom-section-header .section-title {
  font-size: 2rem;
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.top-services {
  margin-bottom: 4rem;
}

.bottom-services {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 2rem;
  flex: 1;
  /* display: flex;
    flex-direction: column; */
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.service-content p {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  margin: 1.5rem 0;
  flex: 1;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.service-features i {
  color: var(--success-color);
}

.service-card .btn {
  display: block;
  width: 100%;
  text-align: center;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .services-grid,
  .bottom-services {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* صفحه درباره ما */
.about-page {
  padding: 120px 0 80px;
  background-color: var(--background-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}



.about-text h3 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--primary-color);
}

.about-text p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: justify;
}




.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-color);
  font-size: 1.1rem;
}

.team-section {
  margin-top: 6rem;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.team-member {
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-image {
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--primary-color);
}

.team-member p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* صفحه قوانین و مقررات */
.terms-page {
  padding: 120px 0 80px;
  background-color: var(--background-light);
}

.terms-content {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.terms-intro {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.terms-section {
  margin-bottom: 3rem;
}

.terms-section h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.terms-section p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.terms-section ol {
  padding-right: 1.5rem;
  margin: 1.5rem 0;
}

.terms-section li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.terms-notes {
  background-color: var(--gray-100);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.terms-notes p {
  margin-bottom: 1rem;
}

.terms-notes p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .terms-content {
    padding: 1.5rem;
  }
}

/* صفحه خدمات پس از فروش */
.after-sales-page {
  padding: 120px 0 80px;
  background-color: var(--background-light);
}

.after-sales-content {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.after-sales-content__container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.after-sales-content__right {
  flex-basis: 50%;
}

.after-sales-content__right img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.after-sales-content__left {
  flex-basis: 50%;

}

.after-sales-content__left img {
  width: 100%;
  border-radius: 20px;
}

.after-sales-intro {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.service-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.service-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-item h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-item p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.service-item ul {
  list-style-type: none;
  padding: 0;
  margin: 1rem 0;
}

.service-item li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.service-item li:before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--primary-color);
}

.service-note {
  background-color: var(--gray-100);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
}

.service-note p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .after-sales-content {
    padding: 1.5rem;
  }

  .service-item h3 {
    font-size: 1.2rem;
  }
}

/* صفحه ورود مشتریان */
.customer-login-page {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.login-box {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  max-width: 500px;
  margin: 0 auto;
  /* width: 100%; */
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.login-header p {
  color: var(--light-text);
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.login-form .input-group {
  position: relative;
}

.login-form .input-group i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text);
}

.login-form input {
  width: 100%;
  padding: 1rem 2.5rem 1rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.login-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.1);
  outline: none;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.remember-me input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.forgot-password:hover {
  text-decoration: underline;
}

.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
}

.login-footer {
  text-align: center;
  color: var(--light-text);
}

.login-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.login-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .login-box {
    padding: 2rem;
    margin: 0 1rem;
  }
}

.no-resize {
  resize: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* صفحه جزئیات محصول */
.product-details-page {
  padding: 120px 0 80px;
  background-color: var(--background-light);
}

.product-header {
  text-align: center;
  margin-bottom: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 5rem;
  color: var(--white);
}

.product-header h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.product-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.product-actions .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.product-content {
  background-color: var(--white);
  border-radius: 1rem;
  /* padding: 3rem; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* margin-top: 3rem;*/
}

.features-section {
  margin-bottom: 4rem;
}

.features-section h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--background-light);
  border-radius: 1rem;
  transition: transform 0.3s;
  cursor: pointer;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.feature-item p {
  color: var(--light-text);
  line-height: 1.6;
}

.detailed-features {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: 1rem;
}

.detailed-features h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.detailed-features ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  list-style: none;
}

.detailed-features li {
  position: relative;
  padding-right: 1.5rem;
  color: var(--text-color);
  line-height: 1.6;
}

.detailed-features li:before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--primary-color);
}

.technical-info {
  margin: 4rem 0;
  padding: 2rem;
  background-color: var(--background-light);
  border-radius: 1rem;
}

.technical-info h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.tech-item {
  text-align: center;
}

.tech-item h4 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.tech-item p {
  color: var(--light-text);
}

.support-info {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.support-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background-color: var(--background-light);
  border-radius: 2rem;
}

.support-badge i {
  font-size: 2rem;
  color: var(--primary-color);
}

.support-badge p {
  color: var(--text-color);
  font-weight: 500;
  margin: 0;
}

@media (max-width: 1024px) {

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

@media (max-width: 768px) {
  .product-content {
    padding: 1.5rem;
  }

  .features-grid,
  .tech-grid,
  .detailed-features ul {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }
}

/* استایل‌های بخش قیمت‌گذاری */
.pricing-section {
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
  margin-top: 1rem;
}

.pricing-buttons {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin: 5px 0;
  /* کاهش فاصله از بالا و پایین */
}

.pricing-type-btn {
  padding: 15px 60px;
  /* کاهش از 22px به 15px */
  font-size: 1.2rem;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  position: relative;
  overflow: hidden;
}

.pricing-type-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease-out;
  z-index: -1;
}

.pricing-type-btn:hover::before,
.pricing-type-btn.active::before {
  width: 300px;
  height: 300px;
}

.pricing-type-btn:hover,
.pricing-type-btn.active {
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 84, 166, 0.2);
}

.pricing-type-btn i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.pricing-type-btn:hover i,
.pricing-type-btn.active i {
  transform: scale(1.1);
  color: white !important;
}

.pricing-compare-btn {
  padding: 22px 60px;
  background-color: #fff;
  border: 2px solid #0066cc;
  border-radius: 50px;
  cursor: pointer;
  font-family: Vazirmatn, sans-serif;
  transition: all 0.3s ease;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.15);
  min-width: 280px;
  justify-content: center;
  height: 80px;
  white-space: nowrap;
  color: #0066cc;
  position: relative;
  overflow: hidden;
}

.pricing-compare-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #0066cc;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease-out;
  z-index: -1;
}

.pricing-compare-btn:hover::before {
  width: 300px;
  height: 300px;
}

.pricing-compare-btn:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 84, 166, 0.2);
}

.pricing-compare-btn i {
  font-size: 26px;
  color: #0066cc;
  transition: color 0.3s ease;
}

.pricing-compare-btn:hover i {
  color: white;
}

.pricing-content {
  display: none;
  margin: 30px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.pricing-content.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  /* کاهش فاصله بین کارت‌ها */
  margin-top: 5px;
  /* کاهش فاصله از بالا */
}

.pricing-card {
  background: #fff;
  border: 2px solid #0066cc;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.3s ease;
  width: 380px;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 102, 204, 0.15);
}

.pricing-card.featured {
  border: 2px solid #0066cc;
}

.card-header {
  text-align: center;
  margin-bottom: 25px;
}

.card-header h3 {
  color: #2c3e50;
  font-size: 22px;
  margin-bottom: 15px;
}

.price {
  font-size: 24px;
  color: #0066cc;
  font-weight: 600;
}

.price .currency {
  font-size: 16px;
  color: #666;
  margin-right: 5px;
}

.card-features {
  flex-grow: 1;
  margin-bottom: 25px;
}

.card-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #555;
  font-size: 15px;
  position: relative;
  padding-right: 25px;
}

.card-features li:before {
  content: "✓";
  color: #0066cc;
  position: absolute;
  right: 0;
  top: 10px;
}

.card-features li:last-child {
  border-bottom: none;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.specs-btn {
  background: linear-gradient(45deg, #2196F3, #03A9F4);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.specs-btn:hover {
  background: linear-gradient(45deg, #1976D2, #0288D1);
  transform: translateY(-2px);
}

.add-to-cart {
  background: linear-gradient(45deg, #4CAF50, #66BB6A);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.add-to-cart:hover {
  background: linear-gradient(45deg, #388E3C, #43A047);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .pricing-card {
    width: 100%;
  }
}

/* استایل مودال مشخصات */
.specs-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 2rem;
  overflow-y: auto;
}

.modal-content {
  background: white;
  border-radius: 15px;
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}


@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #333;
}

.specs-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-title {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 1.2rem;
  color: #666;
}

.specs-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.specs-section {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1.5rem;
}

.specs-section h3 {
  color: #333;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specs-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: #666;
}

.specs-list li i.fa-check {
  color: #4CAF50;
}

.specs-list li i.fa-times {
  color: #f44336;
}

@media (max-width: 768px) {
  .specs-modal {
    padding: 1rem;
  }

  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }

  .specs-body {
    grid-template-columns: 1fr;
  }
}

/* مربوط به مقایسه نسخه ها */
.comparison-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.comparison-overlay.hidden {
  display: none;
}

.overlay-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 1000px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #555;
}

.comparison-table {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.comparison-column {
  flex: 1;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.comparison-column h3 {
  margin-top: 0;
  color: #333;
}

.comparison-column ul {
  padding-right: 1rem;
}

/* استایل‌های مودال مقایسه نسخه‌ها */
.compare-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  padding: 2rem;
}

.compare-modal .modal-content {
  background-color: var(--white);
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(8, 8, 8, 0.5);
  max-width: 1200px;
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
}

/* رفع مشکل رنگ متن جدول مقایسه نسخه‌ها در مودال */
.compare-modal .comparison-table th,
.compare-modal .comparison-table td {
  color: #111 !important;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.compare-column {
  background: var(--gray-100);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}

.compare-column h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.specs-section {
  margin-bottom: 1.5rem;
}

.specs-section h4 {
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.specs-section ul {
  list-style: none;
  padding: 0;
}

.specs-section li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-color);
}

.specs-section li i {
  margin-left: 0.5rem;
  color: var(--success-color);
}

.specs-section li i.fa-times {
  color: #dc3545;
}

@media (max-width: 992px) {
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .compare-modal .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }

  .company-brand {
    margin-right: 0;
  }
}

.compare-button-container {
  text-align: center;
  margin-top: 2rem;
}

.compare-btn {
  background: linear-gradient(45deg, #9C27B0, #673AB7);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.compare-btn:hover {
  background: linear-gradient(45deg, #7B1FA2, #512DA8);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .compare-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
  }
}

/* استایل‌های مربوط به صفحه travel-agency.html */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: Vazirmatn, sans-serif;
}

.comparison-table th,
.comparison-table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #e0e0e0;
  background-color: white;
}

.comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.comparison-table tr:nth-child(even),
.comparison-table tr:hover {
  background: white;
}

.feature-cell {
  text-align: right;
  font-weight: 500;
  white-space: nowrap;
  background-color: white !important;
}

.version-cell {
  min-width: 120px;
}

.check-mark {
  color: #28a745;
  font-size: 1.2em;
}

.cross-mark {
  color: #dc3545;
  font-size: 1.2em;
}

.modal-body {
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
}

.modal-header {
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 15px;
}

 .modal-header__link{
    font-size: 20px;
    display: none;
  }


.modal-footer {
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  padding: 15px;
}

/* استایل‌های جدید برای دکمه‌های قیمت‌گذاری */
.pricing-buttons {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin: 5px 0;
  /* کاهش فاصله از بالا و پایین */
}

.pricing-type-btn {
  padding: 22px 60px;
  background-color: #f8f9fa;
  border: 2px solid #0066cc;
  border-radius: 50px;
  cursor: pointer;
  font-family: Vazirmatn, sans-serif;
  transition: all 0.3s ease;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.15);
  min-width: 280px;
  justify-content: center;
  height: 80px;
  white-space: nowrap;
  color: #0066cc;
  background-color: #fff;
}

.pricing-type-btn i {
  font-size: 26px;
  color: #0066cc;
}

.pricing-type-btn[data-type="single"],
.pricing-type-btn[data-type="network"] {
  border: 2px solid #0066cc;
  background-color: #fff;
  color: #0066cc;
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.15);
}

.pricing-type-btn[data-type="single"] i,
.pricing-type-btn[data-type="network"] i {
  color: #0066cc;
}

.pricing-type-btn.active {
  background-color: #0066cc;
  color: white;
  border-color: #0066cc;
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.pricing-type-btn.active i {
  color: white;
}

.pricing-type-btn:hover:not(.active) {
  background-color: #f8f9fa;
  border-color: #0066cc;
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.pricing-compare-btn {
  padding: 22px 60px;
  background-color: #f8f9fa;
  border: 2px solid #0066cc;
  border-radius: 50px;
  cursor: pointer;
  font-family: Vazirmatn, sans-serif;
  transition: all 0.3s ease;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.15);
  min-width: 280px;
  justify-content: center;
  height: 80px;
  white-space: nowrap;
  color: #0066cc;
}

.pricing-compare-btn i {
  font-size: 26px;
  color: #0066cc;
}

.pricing-compare-btn:hover {
  background-color: #f8f9fa;
  border-color: #0066cc;
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.pricing-content {
  display: none;
  margin: 30px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.pricing-content.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 380px;
  text-align: center;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  border: 2px solid #007bff;
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-header {
  margin-bottom: 20px;
}

.version-badge {
  padding: 8px 20px;
  font-size: 16px;
}

.price {
  font-size: 28px;
  margin: 20px 0;
}

.currency {
  font-size: 18px;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.specs-btn,
.add-to-cart {
  padding: 15px 25px;
  font-size: 16px;
  width: 100%;
  border-radius: 8px;
}

/* استایل‌های Select2 */
.select2-container {
  width: 100% !important;
}

.select2-selection {
  height: auto !important;
  border-radius: 8px !important;
  padding: 12px 40px 12px 45px;
  border: 1px solid #e0e0e0;
}

.select2-selection__rendered {
  font-family: 'Vazirmatn', sans-serif;
  color: #333;
}

.select2-selection__arrow {
  right: 10px;
}

/* استایل دکمه‌های بیضی */
.btn-oval {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.btn-oval i {
  margin-left: 8px;
}

.btn-oval:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-oval.btn-primary {
  background: white;
  color: #0066cc;
  border: 2px solid #0066cc;
}

.btn-oval.btn-primary:hover {
  background: #f0f0f0;
  color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-oval.btn-outline {
  background: white;
  color: #0066cc;
  border: 2px solid #0066cc;
}

.btn-oval.btn-outline:hover {
  background: #f0f0f0;
  color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* استایل‌های صفحه ثبت‌نام */
.register-page {
  padding: 4rem 0;
  background-color: #f8f9fa;
  min-height: calc(100vh - 200px);
}

.register-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.register-header {
  text-align: center;
  margin-bottom: 2rem;
}

.register-header h2 {
  color: var(--primary-color);
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.register-header p {
  color: #666;
}

.register-form .form-group {
  margin-bottom: 1.5rem;
}

.register-form .input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.register-form .input-group i {
  position: absolute;
  right: 15px;
  color: #666;
  font-size: 1.1rem;
}

.register-form input,
.register-form select {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.register-form input:focus,
.register-form select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
  outline: none;
}

.register-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.register-form .terms-agreement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.register-form .terms-agreement input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.register-form .terms-agreement a {
  color: #007bff;
  text-decoration: none;
}

.register-form .terms-agreement a:hover {
  text-decoration: underline;
}

.register-form button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.register-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* انیمیشن‌های فرم */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.register-box {
  animation: fadeIn 0.3s ease forwards;
}

@media (max-width: 768px) {
  .main-nav {
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    padding: 1rem;
    position: relative;
  }

   .modal-header__link{
    font-size: 14px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin: 0;
  }

  .nav-links.active {
    display: flex;
  }


  .nav-link {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    width: 100%;
    text-align: right;
    font-size: 1rem;
    color: var(--text-color);
  }

  .nav-link:hover {
    background-color: #f8f9fa;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    width: 50px;
    height: 50px;
  }

  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background-color: #f8f9fa;
    padding: 0;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 0.8rem 2rem;
    border-bottom: 1px solid #eee;
  }

  .dropdown-content a:last-child {
    border-bottom: none;
  }

  .nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    width: 100%;
  }

  .nav-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    font-size: 1rem;
  }

  .logo img {
    height: 35px;
  }

  .site-header {
    /* position: fixed; */
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
  }
}

.pricing-content>div:first-child {
  margin: 5px 0;
  /* کاهش فاصله متن مالیات */
}

@media (max-width: 768px) {
  .pricing-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    margin: 10px 0;
  }

  .pricing-type-btn {
    flex: 0 0 auto;
    min-width: 200px;
    height: 50px;
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
    margin: 0 auto;
  }

  .pricing-compare-btn {
    order: 3;
    /* قرار دادن دکمه مقایسه در انتها */
    margin-top: 10px;
    min-width: 200px;
    height: 50px;
    padding: 10px 20px;
    font-size: 14px;
    margin: 0 auto;
  }

  .pricing-type-btn i,
  .pricing-compare-btn i {
    font-size: 20px;
  }

  .pricing-content {
    margin: 10px 0;
    padding: 0 10px;
  }

  .pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .pricing-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .product-actions {
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
  }

  .product-actions .btn {
    width: 100%;
    margin: 0;
  }

  .version-badge {
    margin-bottom: 5px;
  }

  .price {
    margin: 10px 0;
  }

  .card-actions {
    gap: 10px;
  }

  .specs-btn,
  .add-to-cart {
    padding: 12px;
    font-size: 14px;
  }
}

/* بخش 1000 کاربر */
.users-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.users-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.users-text {
  flex: 1;
}

.users-text h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

.users-text p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
}

.users-image {
  flex: 1;
  text-align: center;
}

.users-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* بخش اعتماد */
.trust-section {
  padding: 60px 0;
  background-color: #fff;
}

.trust-content {
  text-align: center;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;

}

.trust-badge {
  max-width: 150px;
}

.trust-badge a {
  display: block;
  text-decoration: none;
}

.trust-badge img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .users-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .users-text h2 {
    font-size: 2rem;
  }

  .users-text p {
    font-size: 1.1rem;
  }

  .users-image {
    width: 100%;
    max-width: 100%;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .trust-badge {
    max-width: 120px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    justify-content: flex-end;
  }

  .menu-toggle {
    margin-left: auto;
    margin-right: auto;
  }
}

.nav-link[href="https://webrahro.ir/Csr/GenerateCsr"] {
  color: #ff0000;
  font-weight: 600;
}

.nav-link[href="https://webrahro.ir/Csr/GenerateCsr"]:hover {
  color: #cc0000;
}

/* استایل برای حذف خط زیرین */
.no-underline {
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .compare-modal .modal-content {
    margin: 0;
    padding: 1rem;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 8px;
    font-size: 14px;
  }

  .modal-header h2 {
    font-size: 1.2rem;
    text-align: center;
  }

 

  .close-modal {
    font-size: 24px;
    padding: 8px;
  }

  .version-cell {
    min-width: 100px;
  }

  .feature-cell {
    min-width: 150px;
  }

  .modal-body {
    padding: 10px;
  }

  /* استایل برای اسکرول افقی */
  .modal-body::-webkit-scrollbar {
    height: 6px;
  }

  .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
  }

  .modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

/* استایل‌های مخصوص حالت افقی در موبایل */
@media (max-width: 768px) and (orientation: landscape) {
  .compare-modal {
    padding: 0;
  }

  .compare-modal .modal-content {
    margin: 0;
    padding: 0.5rem;
    width: 100%;
    height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
  }

  
  .modal-body {
    flex: 1;
    overflow: auto;
    padding: 0.5rem;
    position: relative;
  }

  .comparison-table {
    display: table;
    width: 100%;
    min-width: 1000px;
    /* افزایش حداقل عرض برای نمایش بهتر */
    table-layout: fixed;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 8px;
    font-size: 13px;
    white-space: normal;
    word-wrap: break-word;
  }

  .version-cell {
    width: 120px;
    min-width: 120px;
  }

  .feature-cell {
    width: 200px;
    min-width: 200px;
  }

  /* استایل برای اسکرول افقی */
  .modal-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
  }

  .modal-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }

  .modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

  .modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  /* اضافه کردن نشانگر اسکرول */
  .modal-body::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
    pointer-events: none;
  }

  .modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
    pointer-events: none;
  }
}

/* left:32px;z-index:1002;background:#fff;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,0.18);width:340px;padding:24px 20px 16px 20px; */
#search-popup {
  display: none;
  position: fixed;
  top: 158px;
  left: 32px;
  z-index: 1002;
  background-color: var(--background-light);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  width: 415px;
  padding: 24px 20px 16px 20px;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }

}

@media (max-width: 992px) {

  /* هدر و نوار بالایی */
  .top-bar {
    padding: 10px 0;
  }

  .modal-header h2 {
    display: none;
  }

  .modal-body {
    display: none;
  }

  .compare-modal .modal-content {
    height: 100px;
  }

  .modal-header__link{
    display: block;
  }


  .company-brand .logo {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
  }

  .company-brand span {
    font-size: 1.1em;
    display: block;
    color: var(--white);
  }

  .contact-info {
    display: none !important;
  }

  /* منوی اصلی */
  .main-nav {
    padding: 10px 0;
  }

  .nav-container {
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-link {
    padding: 10px;
    text-align: center;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
  }

  /* بخش قهرمان */
  .hero {
    padding: 40px 0;
  }

  .hero-content {
    text-align: center;
    padding: 0 20px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-image {
    margin-top: 30px;
  }

  /* بخش ویژگی‌ها */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* بخش قیمت‌گذاری */
  .pricing-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .pricing-type-btn {
    width: 100%;
    padding: 15px;
  }

  /* بخش مشاوره */
  .consultation-content {
    padding: 30px 20px;
  }

  .consultation-form .form-row {
    flex-direction: column;
    gap: 15px;
  }

  /* بخش کاربران */
  .users-content {
    flex-direction: column;
    text-align: center;
  }

  .users-image {
    margin-top: 30px;
  }

  /* فوتر */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-about {
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-newsletter {
    text-align: center;
  }
}

@media (max-width: 768px) {

  /* تنظیمات عمومی */
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  /* بخش قهرمان */
  .hero-badge {
    font-size: 12px;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
  }

  .feature-tag {
    width: 100%;
    text-align: center;
  }

  /* بخش ویژگی‌ها */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 20px;
  }

  /* بخش قیمت‌گذاری */
  .pricing-card {
    margin: 10px 0;
  }

  /* بخش مشاوره */
  .consultation-form input {
    width: 100%;
  }

  /* بخش کاربران */
  .users-image img {
    width: 100%;
    height: auto;
  }

  /* بخش اعتماد */
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }

  .trust-badge {
    margin: 10px 0;
  }

  #search-popup {
    /* width: 340px; */
    top: 150px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: auto;
  }
}

@media (max-width: 576px) {

  /* تنظیمات اضافی برای موبایل‌های کوچک */
  .container {
    padding: 0 15px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .feature-card {
    margin: 10px 0;
  }

  .consultation-form button {
    width: 100%;
  }

  .footer-contact .contact-item {
    flex-direction: column;
    text-align: center;
  }
}

/* استایل‌های مخصوص حالت افقی در موبایل */
@media (max-width: 992px) and (orientation: landscape) {
  .top-bar {
    position: relative !important;
  }

  .site-header {
    position: relative !important;
    top: auto !important;
  }

  .hero {
    min-height: auto;
    padding: 30px 0;
  }

  .hero-content {
    padding: 0;

  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

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

  .pricing-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-type-btn {
    width: auto;
    min-width: 200px;
  }
}

/* استایل‌های جدید برای دکمه‌های قیمت‌گذاری */
/* // ... existing code ... */





/* درست کردن فوتر مصطفایی */
@media (max-width: 1200px) {
  .footer-grid {
    gap: 0;
  }
}

@media (max-width: 1024px) {}

@media (max-width: 992px) {
  .footer-grid {
    /* grid-template-columns: 1fr; */
    /* gap: 30px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    gap: 3rem;
  }

  .footer-contact {
    margin-top: 1.5rem;
    margin-right: 0.8rem;
    max-width: 380px;
  }
}

@media (max-width:768px) {}

@media (max-width:576px) {}
/* =========================================
   FIX: Large Screens & Hero Image Scaling
   ========================================= */
@media (min-width: 1400px) {
    
    /* 1. باز کردن قفس کانتینر در مانیتورهای بزرگ */
    .container, 
    .hero .container {
        width: 95% !important;
        max-width: 1850px !important; /* اجازه گسترش تا 1850 پیکسل */
        padding-left: 40px;
        padding-right: 40px;
    }

    /* 2. برداشتن محدودیت 600 پیکسلی عکس */
    .hero-image {
        max-width: 100% !important; /* اجازه می‌دهد عکس کل فضای ستون خود را پر کند */
        width: 100%;
    }

    /* 3. تنظیم تناسب تصویر و متن در مانیتورهای عریض */
    .hero .container {
        /* تغییر نسبت ستون‌ها برای تعادل بهتر */
        /* متن 40 درصد و عکس 60 درصد فضا را بگیرد */
        grid-template-columns: 0.8fr 1.2fr !important; 
        gap: 4rem; /* فاصله بین متن و عکس بیشتر شود */
    }

    /* 4. بزرگتر کردن فونت‌ها تا در صفحه بزرگ گم نشوند */
    .hero-content h1 {
        font-size: 4.5rem !important; /* تیتر بزرگتر */
    }
    
    .hero-content p {
        font-size: 1.4rem !important; /* متن توضیحات بزرگتر */
        max-width: 800px; /* اجازه به متن برای عریض‌تر شدن */
    }
}