  @font-face {
      font-family: 'IRANSansX';
      src: url('font/IRANSansXFaNum-light.ttf') format('truetype');
      font-weight: 300;
      font-style: normal;
    }

    @font-face {
      font-family: 'IRANSansX';
      src: url('font/IRANSansXFaNum-regular.ttf') format('truetype');
      font-weight: 400;
      font-style: normal;
    }

    @font-face {
      font-family: 'IRANSansX';
      src: url('font/IRANSansXFaNum-medium.ttf') format('truetype');
      font-weight: 500;
      font-style: normal;
    }

    @font-face {
      font-family: 'IRANSansX';
      src: url('font/IRANSansXFaNum-bold.ttf') format('truetype');
      font-weight: 700;
      font-style: normal;
    }

    /* Reset و تنظیمات عمومی */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'IRANSansX', Tahoma, sans-serif;
    }

    body {
      background-color: #f5f7fa;
      color: #000;
      line-height: 1.6;
      direction: rtl;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    /* هدر */
    header {
      background-color: #3F51B5;
      color: white;
      padding: 20px 10%;
      text-align: center;
    }

    header h1 {
      font-size: 2.5rem;
      font-weight: 700; /* bold */
      margin-bottom: 10px;
    }

    header p {
      font-size: 1.1rem;
      font-weight: 400; /* regular */
    }

    /* دکمه */
    .btn {
      display: inline-block;
      background-color: #5C6BC0;
      color: white;
      padding: 12px 30px;
      border-radius: 8px;
      font-weight: 500; /* medium */
      margin-top: 15px;
      transition: 0.3s;
    }

    .btn:hover {
      background-color: #3F51B5;
      cursor: pointer;
    }

    /* بخش معرفی */
    .intro {
      max-width: 900px;
      margin: 30px auto;
      text-align: right;
      padding: 0 20px;
    }

    .intro h2 {
      font-size: 1.4rem;
      font-weight: 700; /* bold */
      margin-bottom: 20px;
      color: #000;
    }

    .intro p {
      font-size: 1.1rem;
      font-weight: 400; /* regular */
      color: #000; text-align:justify
    }

    /* دسته‌بندی خدمات */
  .categories {
  
  background-color: #f5f7fa;
  margin:10px
}

.categories-container {
  max-width: 900px; /* محدود کردن عرض کل carousel */
  margin: 0 auto; /* وسط چین کردن carousel */
}

.swiper {
  width: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.category-card {
  width: 180px;
  background-color: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;border:1px solid #ccc
}

/* فاصله کارت‌ها از چپ و راست در موبایل */
@media (max-width: 599px) {
  .categories-container {
    padding: 0 25px;
  }
}

.category-card img {
  width: 120px;
  margin-bottom: 10px;
}

.category-card h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #1e293b;
  margin: 0;
  text-align: center;
}


    /* ویژگی‌ها */
    .features {
      background-color: #e8eaf6;
      padding: 50px 10%;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      text-align: right;
    }

    .feature-card {
      background-color: white;
      border-radius: 12px;
      padding: 30px 20px;
    text-align: center;
      transition: 0.3s;border:1px solid #ccc
    }

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

    .feature-card h4 {
      font-size: 1.3rem;
      font-weight: 900; /* bold */
      margin-bottom: 10px;margin-top: 10px;
      color: #000; text-align:center
    }

    .feature-card p {
	text-align:justify;
      font-weight: 400; /* regular */
    }

    /* CTA */
    .cta {
      background-color: #3F51B5;
      color: white;
      text-align: center;
      padding: 50px 10%;
    }

    .cta h2 {
      font-size: 2rem;
      font-weight: 700; /* bold */
      margin-bottom: 20px;
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 20px 10%;
     
      font-weight: 400; /* regular */
   
    }