:root {
    --primary-color: #0077b6; /* آبی تیره */
    --secondary-color: #00b4d8; /* آبی روشن */
    --accent-color: #ee9b00; /* نارنجی/زرد جذاب */
    --text-dark: #2a2a2a;
    --text-light: #f5f5f5;
    --background-light: #ffffff;
    --background-dark: #0077b6;
}

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: "Vazirmatn", sans-serif;
      background-color: #fbfbfb;
      color: #222;
      line-height: 1.8;
    }

    .icon{
    width: 100px;
    justify-content: center;
    text-align: center;
    display: flex;
    height: 25px;
}

    header {
      background-color: #fff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      padding: 1rem 3rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    header .logo {
      font-weight: 800;
      font-size: 1.4rem;
      color: #007bff;
    }

    nav ul {
      display: flex;
      gap: 1.5rem;
      list-style: none;
    }
    nav a {
      text-decoration: none;
      color: #444;
      font-weight: 500;
      transition: color 0.2s ease;
    }
    nav a:hover {
      color: #007bff;
    }

    /* ===== محتوای اصلی ===== */
    main {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      padding: 3rem 2rem;
      justify-content: center;
      max-width: 1300px;
      margin: 0 auto;
    }

    .player-container {
      flex: 1 1 750px;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
      overflow: hidden;
      transition: box-shadow 0.3s ease;
    }

    .video-wrapper video {
      width: 100%;
      display: block;
      border-radius: 16px 16px 0 0;
      background: #000;
    }

    .video-details {
      padding: 1.5rem 2rem;
    }

    .video-details h2 {
      font-size: 1.5rem;
      color: #007bff;
      margin-bottom: 0.5rem;
    }

    .video-details p {
      color: #555;
      font-size: 1rem;
      text-align: justify;
    }

    /* ===== جلسات دیگر ===== */
    aside.related-videos {
      flex: 0 1 320px;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .related-videos h3 {
      font-size: 1.2rem;
      color: #007bff;
      border-bottom: 2px solid #007bff20;
      padding-bottom: 0.4rem;
    }

    .lesson-card {
      display: flex;
      gap: 0.8rem;
      align-items: center;
      background: #fff;
      border-radius: 12px;
      padding: 0.6rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .lesson-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 12px rgba(0, 123, 255, 0.15);
    }

    .lesson-card img {
      width: 80px;
      height: 50px;
      object-fit: cover;
      border-radius: 8px;
    }

    .lesson-info h4 {
      font-size: 0.95rem;
      color: #222;
      font-weight: 600;
    }

    .lesson-info span {
      font-size: 0.8rem;
      color: #888;
    }
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}
.main-footers {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 30px 20px;
    text-align: center;
    font-size: 0.95em;
}

.main-footer p {
    margin: 5px 0;
}

    /* ===== پاورقی ===== */
    footer {
      text-align: center;
      background: #fff;
      color: #555;
      padding: 1.5rem 0;
      margin-top: 3rem;
      border-top: 1px solid #eee;
      font-size: 0.9rem;
    }

    /* ===== واکنش‌گرا ===== */
    @media (max-width: 950px) {
      main {
        flex-direction: column;
        align-items: center;
      }
      aside.related-videos {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 1rem;
      }
      .lesson-card {
        min-width: 220px;
      }
    }

