/* استایل‌های سفارشی برای اصلاح مشکلات */

/* اصلاح اندازه و استایل لوگوهای مشتریان */
img[alt="Client Logo"] {
  max-width: 180px !important;
  min-width: 150px !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 1.5rem !important;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
  display: inline-block !important;
}

img[alt="Client Logo"]:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* اصلاح استایل تصاویر پروژه‌ها */
.project-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

/* اصلاح استایل تصاویر نقل قول */
.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-right: 1rem;
}

/* اصلاح استایل لوگوی اصلی */
img[alt="EQSCi Logo"] {
  max-height: 40px;
  width: auto;
}

/* اصلاح مشکلات همپوشانی */
.z-10 {
  z-index: 10 !important;
}

.z-20 {
  z-index: 20 !important;
}

.z-30 {
  z-index: 30 !important;
}

/* اصلاح استایل منوی اصلی */
header {
  position: relative;
  z-index: 50 !important;
}

nav {
  position: relative;
  z-index: 40 !important;
}

/* اصلاح استایل بخش هدر */
section:first-of-type {
  position: relative;
  z-index: 5;
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

/* اصلاح استایل بخش‌های دیگر */
section {
  position: relative;
  z-index: 5;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  overflow: hidden;
}

/* اصلاح فاصله‌ها */
.mt-4 {
  margin-top: 1rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* اصلاح استایل کارت‌ها */
.card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* اصلاح استایل دکمه‌ها */
button {
  position: relative;
  z-index: 10;
}

/* اصلاح استایل فوتر */
footer {
  position: relative;
  z-index: 5;
}

/* استایل‌های فارسی */
.rtl {
  direction: rtl !important;
  text-align: right !important;
  font-family: 'Vazirmatn', 'Tahoma', sans-serif !important;
}

.rtl * {
  font-family: 'Vazirmatn', 'Tahoma', sans-serif !important;
}

/* اصلاح بخش لوگوی مشتریان */
.clients-section {
  text-align: center !important;
  padding: 3rem 0 !important;
}

.clients-container {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2rem !important;
  margin: 2rem auto !important;
  max-width: 1200px !important;
}

/* اضافه کردن فونت فارسی */
@font-face {
  font-family: 'Vazirmatn';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
