
    body {
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #ffffff;
      direction: rtl;
    }

    /* ───────────── هدر ───────────── */
    header {
      position: fixed;
      top: 10px;
      left: 10px;
      right: 10px;
      height: 75px;
      padding: 0 25px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: rgba(255,255,255,0.55);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      border-bottom: 1px solid rgba(0,0,0,0.1);
      z-index: 1000;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .logo {
      height: clamp(40px, 5vw, 65px);
    }

    .hlogo {
      position: absolute;
      right: 25px;
      top: 50%;
      transform: translateY(-50%);
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: clamp(15px, 2vw, 25px);
      justify-content: center;
      align-items: center;
    }

    nav ul li a {
      text-decoration: none;
      font-size: clamp(16px, 1.2vw, 18px);
      font-weight: 600;
      padding: 6px 10px;
      border-radius: 8px;
      color: #232ed1;
      position: relative;
    }

    #menuList li a::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0%;
      height: 2px;
      background-color: #232ed1;
      transition: width 0.3s ease;
    }

    #menuList li a:hover::after {
      width: 100%;
    }

    .menu-btn {
    display: none;
    font-size: clamp(28px, 5vw, 34px);
    cursor: pointer;
    user-select: none;
    position: relative;
    z-index: 1100;
    }


/* ------------ موبایل ------------ */


@media (max-width: 830px) {

    header {
        justify-content: center;
    }

    .menu-btn {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        background: rgba(255,255,255,0.85);
        backdrop-filter: blur(12px);
        padding-top: 8px;
        padding-right: 7px;
        gap: 2.5rem;

        transform: translateY(+100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: transform 0.4s ease, opacity 0.3s ease;
        z-index: 1000;
            justify-content: center;
    align-items: center;
    }

      nav ul li {
    width: 80%;
    text-align: center;   /* متن دقیقاً وسط */
  }

    nav ul li a {
    display: block;
    text-align: center;
    font-size: 22px;      /* خواناتر در موبایل */
  }




    nav ul.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        text-align: center;
    }
}





    /* ───────────── عنوان صفحه ───────────── */
    .page-title {
      margin-top: 130px;
      text-align: center;
      font-size: 40px;
      font-weight: bold;
      color: #232ed1;
    }

    /* ───────────── کارت ها ───────────── */
    .container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      max-width: 1200px;
      margin: 30px auto;
      padding: 0 20px;
    }

    .card {
      background: #ffffff;
      border-radius: 20px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: 0.35s ease;
      display: flex;
      flex-direction: column;
    }

    .card:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 15px 35px rgba(35, 46, 209, 0.3);
    }

    .card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 16px 16px 0 0;
      transition: 0.35s ease;
    }

    .card:hover img {
      transform: scale(1.05);
    }

    .content {
      padding: 15px 20px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .title {
      font-size: 18px;
      font-weight: bold;
      color: #232ed1;
      margin-bottom: 10px;
    }

    .desc {
      font-size: 14px;
      line-height: 1.65;
      color: #444;
      flex-grow: 1;
      margin-bottom: 18px;
    }

    .read-more {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      color: #232ed1;
      font-weight: bold;
      text-decoration: none;
      width: fit-content;
      margin-left: auto;
      transition: 0.25s ease;
    }

    .read-more:hover {
      color: #000080;
      transform: translateX(-3px);
    }

    .arrow {
      font-size: 16px;
      margin-right: 4px;
    }

    /* ───────────── فوتر ───────────── */

    footer.footer {
      background: #ffffff;
      border-radius: 16px 16px 0 0;
      padding: 40px 20px;
      border-top: 6px solid #232ed1;
      max-width: 1500px;
      margin: 50px auto 0 auto;
    }

    .footer-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      text-align: center;
    }

    h3.footer-title {
      color: #232ed1;
      margin-bottom: 20px;
      font-size: 1.2rem;
    }

    .footer-links a.footer-link {
      display: block;
      margin-bottom: 10px;
      text-decoration: none;
      color: #333;
      font-size: 0.95rem;
      transition: 0.3s ease;
      padding: 3px;
      border-radius: 4px;
      width: fit-content;
      margin: 0 auto 10px;
    }

    .footer-links a.footer-link:hover {
      color: #232ed1;
      transform: scale(1.03);
    }

    .footer-contact-item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-bottom: 10px;
      font-size: 0.95rem;
      color: #333;
    }

    .footer-contact-item img {
      width: 22px;
      height: 22px;
    }

    





    