:root{
  --brand-blue:#1d4ed8;
  --brand-orange:#fb923c;
  --blue-500: #1d4ed8;    /* آبی */
  --orange-500:#fb923c;   /* نارنجی */
  --bg: #f8fafc;
  --card: #ffffff;
  --muted: #6b7280;
  --radius: 12px;
}
html{scroll-behavior:smooth;}
/* Fix Swiper arrows direction in RTL */
.swiper-button-next, .swiper-button-prev{
  color: var(--brand-orange);
}

/* Logo badge shadow */
.shadow{ box-shadow: 0 6px 24px -8px rgba(0,0,0,.2);}

.icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-item {
  background: var(--card);
  width: 120px; /* دسکتاپ */
  min-width: 100px;
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(15,22,50,0.06);
  transition: transform .22s cubic-bezier(.2,.9,.3,1), box-shadow .22s, background .22s;
  cursor: pointer;
  border: 1px solid transparent;
  user-select: none;
}

/* حالت شناور */
.icon-item:hover,
.icon-item:focus {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(15,22,50,0.12);
  border-color: rgba(15,98,254,0.12);
  background: linear-gradient(180deg, rgba(255,106,0,0.06), rgba(15,98,254,0.03));
}

.icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  transition: background .22s, color .22s, box-shadow .22s;
  color: var(--blue-500);
  box-shadow: inset 0 -6px 14px rgba(15,98,254,0.03);
}

.icon-svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
  transition: transform .22s;
}

.title {
  font-size: 14px;
  font-weight: 600;
  margin: 6px 0 0;
  direction: rtl;
}

.subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  direction: ltr;
  unicode-bidi: embed;
}

/* دسترسی صفحه کلید */
.icon-item:focus {
  outline: 3px solid rgba(15,98,254,0.14);
  outline-offset: 4px;
}

@media (max-width: 520px) {
  .icon-item {
    flex: 0 0 calc(50% - 6px); /* دو ستون دقیق */
    margin-bottom: 12px;
  }
  .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }
  .icon-svg {
    width: 22px;
    height: 22px;
  }
}


/* واکنش‌گرایی موبایل: دو ستون دقیق */
@media (max-width: 768px){
  .icon-item {
    width: 48%; /* دو ستون */
    min-width: auto;
    padding: 10px;
  }
  .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }
  .icon-svg {
    width: 22px;
    height: 22px;
  }
  .title {
    font-size: 12px;
  }
  .subtitle {
    font-size: 11px;
  }
}
/* واکنش‌گرایی موبایل: دو ستون دقیق با فاصله از کناره‌ها */
@media (max-width: 768px){
  .icon-list {
    padding: 0 12px; /* فاصله از چپ و راست */
    gap: 12px;       /* فاصله بین ستون‌ها */
  }
  
  .icon-item {
    width: calc(50% - 6px); /* 2 ستون با توجه به gap */
    min-width: auto;
    padding: 10px;
    margin: 0;
  }
  
  .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }
  
  .icon-svg {
    width: 22px;
    height: 22px;
  }
  
  .title {
    font-size: 13px;
  }
  
  .subtitle {
    font-size: 11px;
  }
}


body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  background: linear-gradient(135deg, #1d4ed8, #1d4ed8); /* آبی */
  color: #fff;
}

.cta-content {
  flex: 1;
  padding: 10px;
  padding-right: 220px;
}

.cta-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.cta-btn {
  background: #e55b00; /* دکمه نارنجی */
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
}

.cta-btn:hover {
  background: #fb923c;
  transform: translateY(-3px);
}

.cta-image {
  flex: 1;
  padding: 10px;
}

.cta-image img {
  max-width: 100%;
  border-radius: 16px;
}

/* واکنش‌گرا برای موبایل */
@media (max-width: 768px) {
  .cta-section {
    flex-direction: column;
    text-align: center;
  }
  .cta-content {
    order: 2;
  }
  .cta-image {
    order: 1;
    margin-bottom: 20px;
  }
}


body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: #f9fafb;
}

.clients-section {
  padding: 50px 20px;
  text-align: center;
}

.clients-section h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
}

.clients-logos {
  display: flex;
  grid-template-columns: repeat(6, 1fr);
  gap: 50px;
  align-items: center;
  justify-items: center;
  padding-top: 20px;
  justify-content: center;  /* افقی وسط */
  flex-wrap: wrap;          /* برای ریسپانسیو */

}

.clients-logos img {
  max-width: 120px;
  filter: grayscale(100%);
  transition: 0.3s;
  opacity: 0.8;
	  align-items: center;
  justify-items: center;

}

.clients-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.08);
  border-radius: 8px;
}

/* واکنش‌گرا */
@media (max-width: 1024px) {
  .clients-logos {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

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