
    * {
      margin: 0; padding: 0; box-sizing: border-box;
    }
    body {
      font-family: 'Vazir', Tahoma, sans-serif;
      background: #f7f9fc;
      color: #333;
      line-height: 1.6;
      scroll-behavior: smooth;
    }

    a {
      text-decoration: none;
      color: inherit;
    }
    a:hover {
      color: #0a74da;
     
    }





    /* بخش ویژگی‌ها */
    .features {
      max-width: 1000px;
      margin: 60px auto;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      gap: 25px;
      flex-wrap: wrap;
      text-align: center;
    }
    .feature-item {
      flex: 1 1 280px;
      padding: 25px;
      border-radius: 15px;
      background: #f1f6fb;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      cursor: default;
      transition: transform 0.3s ease;
    }
    .feature-item:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }
    .feature-icon {
      font-size: 50px;
      margin-bottom: 15px;
      color: #0a74da;
    }
    .feature-title {
      font-weight: 700;
      font-size: 1.2rem;
      margin-bottom: 10px;
    }
    .feature-desc {
      font-size: 1rem;
      color: #555;
      line-height: 1.4;
    }

    /* بخش دوره‌ها */
    .courses {
      max-width: 1000px;
      margin: 50px auto 100px;
      padding: 0 20px;
      text-align: center;
    }
    .courses h2 {
      font-weight: 800;
      color: #0a74da;
      margin-bottom: 40px;
      font-size: 2.2rem;
    }
    .course-cards {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .course-card {
      background: white;
      border-radius: 15px;
      box-shadow: 0 3px 15px rgba(0,0,0,0.1);
      width: 300px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.3s ease;
      text-align: right;
      direction: rtl;
    }
    .course-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }
    .course-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .course-info {
      padding: 20px;
    }
    .course-title {
      font-weight: 700;
      font-size: 1.3rem;
      margin-bottom: 10px;
      color: #0a74da;
    }
    .course-desc {
      font-size: 1rem;
      color: #666;
      line-height: 1.4;
      margin-bottom: 15px;
    }
    .course-price {
      font-weight: 700;
      color: #0a74da;
      font-size: 1.1rem;
    }

    /* فوتر */
    footer {
      background: #0a74da;
      color: white;
      text-align: center;
      padding: 20px 10px;
      font-size: 0.95rem;
      user-select: none;
    }

   * { margin:0; padding:0; box-sizing:border-box; }
    body {
      font-family: 'Vazir', Tahoma, sans-serif;
      background: #f7f9fc; color:#333; line-height:1.6;
    }
    a { text-decoration:none; color:inherit; }
    a:hover { color:#0a74da; }

    header {
      position: fixed; top:0; right:0; left:0;
      background:#fff; box-shadow:0 2px 5px rgba(0,0,0,0.1);
      z-index:1000; padding:10px 40px;
      display:flex; align-items:center; justify-content:space-between;
    }
    header .logo-mobile { font-weight:700; font-size:1.5rem; color:#0a74da; }
    nav ul { list-style:none; display:flex; gap:25px; }
    nav ul li a {
      font-weight:600; font-size:1rem; color:#555;
      padding:5px 10px; border-radius:5px;
      transition:background-color .3s, color .3s;
    }
    nav ul li a:hover,
    nav ul li a.active { background:#0a74da; color:#fff; }

    footer {
      background:#0a74da; color:#fff; text-align:center;
      padding:20px 10px; font-size:.95rem; user-select:none;
    }

    /* ===== استایل اختصاصی صفحه درباره من ===== */
    .about-hero {
      background: #2a7ae2; /* مشابه بنر index */
      color: #fff;
      padding: 80px 20px 40px;
      text-align: center;
    }
    .about-hero h2 {
      font-size: 2.8rem;
      margin-bottom: 15px;
      font-weight: 800;
    }
    .about-hero p {
      font-size: 1.15rem;
      max-width: 800px;
      margin: 0 auto;
    }

    .about-content {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 40px;
      max-width: 1000px;
      margin: 60px auto 100px;
      padding: 0 20px;
    }
    .about-text {
      flex: 1 1 400px;
    }
    .about-text h3 {
      font-size: 1.8rem;
      color: #0a74da;
      margin-bottom: 12px;
      font-weight: 700;
    }
    .about-text p {
      font-size: 1rem;
      color: #555;
      line-height: 1.6;
      margin-bottom: 15px;
    }
    .about-image {
      flex: 0 0 250px;
      text-align: center;
    }
    .about-image img {
      width: 200px;
      height: 200px;
      object-fit: cover;
      border-radius: 50%;
      border: 5px solid #0a74da;
      background: #fff;
    }
      .detail-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
  }
  .detail-box {
    box-shadow: 7px 7px 20px rgba(94, 94, 94, 0.64);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: 16px;

    align-items: flex-start;
  }




  .media-section {
    flex: 1 1 50%;
    min-width: 300px;
    max-width: 600px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 2.4 / 1;
    border-radius: 12px;
  }
  .media-section iframe,
  .media-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    display: block;
  }
  .info-section {
    flex: 1 1 45%;
    min-width: 280px;
  }
  .info-section h2 {
    font-size: 1.5rem;
    color: #1343a3;
    margin-bottom: 10px;
  }
  .price-banner {
    background: #fffbdeff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #666;
    text-align: center;
  }
  .price-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .price-current {
    font-size: 1.099rem;
    font-weight: bold;
    color: #1343a3;
  }
  .badge-discount {
    background: #e74c3c;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
  }
  .actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  .btn {
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    margin-right: 10px;
    font-weight: bold;
    cursor: pointer;
  }
  .margin-left {
    margin-right: 15px;
  }
  .btn-enroll {
    background: #27ae60;
    color: #fff;
    margin-left: auto;
  }
  .btn-consult {
    background: transparent;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: none;
  }
  .btn-consult img {
    width: 18px;
    height: 18px;
  }


  .tabs {
    margin-top: 50px;
  }
  .tab-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
  }
  .tab-buttons button {
    background: #eee;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
  }
  .tab-buttons button.active {
    background: #1343a3;
    color: white;
  }
  .tab-content {
    display: none;
    background: #f8f8f8;
    padding: 25px;
    border-radius: 10px;
    min-height: 150px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd;
  }
  .tab-content.active {
    display: block;
  }
    .courses-page {
    padding: 100px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    background-color: #f7f9fc;
  }
  .courses-page h2 {
    font-size: 2.8rem;
    color: #0a74da;
    margin-bottom: 15px;
    font-weight: 800;
  }
  .courses-page p.lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 50px;
  }
  /* کانتینر کارت‌ها با پس‌زمینه متمایز */
  .courses-container {
    background: #ffffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(138, 136, 136, 0.6);
  }
  .course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  .course-card {
    background: #eff4fcff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 20px;
  }
  .course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  }
  .course-card img {
    width: 100%;
    height: auto;
    object-fit: fill;
    border: 4px solid #0a74da; /* قاب رنگی دور عکس */
    border-radius: 8px;
  }
  .course-info {
    padding: 15px 0 0;
    text-align: right;
    direction: rtl;
  }
  .course-info h3 {
    font-size: 1.4rem;
    color: #1343a3;
    margin-bottom: 10px;
    font-weight: 700;
  }
  .course-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  .course-info .btn-primary {
    display: inline-block;
    background: #0a74da;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  .course-info .btn-primary:hover {
    background: #084a9f;
  }


img, iframe, button {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}
