.lesson-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    background: #f5f5f5;
  }
  
  .video-container {
    width: 100vw;  /* Full viewport width */
    height: 80vh;  /* 80% of the viewport height */
    display: flex;
    justify-content: center; /* Horizontally center the video */
    align-items: center;     /* Vertically center the video */
    background-color: black;
    position: relative;
    overflow: hidden;
  }
  
  .video-container .video-player {
    max-width: 100%;    /* Ensure the video is responsive */
    max-height: 100%;   /* Keep the video within the container's height */
    object-fit: contain; /* Scale the video proportionally within the container */
    border: none;
  }
  
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .video-container {
      height: 50vh; /* Make it smaller on smaller screens */
    }
  }
  /* Enroll Button */
  .enroll-section {
    margin-top: 20px;
    text-align: center;
  }
  
  .enroll-btn {
    background: #ff5722;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
  }
  
  .enroll-btn:hover {
    background: #e64a19;
  }
  
  /* PDF Section */
  .pdf-container {
    width: 90%;
    max-width: 900px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
  }
  .quiz-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    width: 50%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    z-index: 1000;
}

.quiz-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    text-align: center;
}

.close-modal {
    margin-top: 20px;
    background: red;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

  
  .pdf-viewer {
    width: 100%;
    height: 600px;
    border: none;
  }
  
  /* 📌 Responsive Design */
  @media (max-width: 1024px) {
    .video-player {
      height: 400px;
    }
  }
  
  @media (max-width: 768px) {
    .video-player {
      height: 300px;
    }
    .pdf-viewer {
      height: 500px;
    }
    .enroll-btn {
      padding: 12px 25px;
      font-size: 16px;
    }
  }
  
  @media (max-width: 480px) {
    .video-player {
      height: 250px;
    }
    .pdf-viewer {
      height: 400px;
    }
    .enroll-btn {
      padding: 10px 20px;
      font-size: 14px;
    }
  }
  