/* Google Font */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
  }
  
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 24px;
    font-weight: 700;
    color: #007BFF;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  
  .nav-links .btn {
    padding: 8px 16px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
  }
  
  .hero {
    text-align: center;
    padding: 100px 0;
  }
  
  .hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .btn {
    text-decoration: none;
    background-color: #007BFF;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: #0056b3;
  }
  





  .section-title {
    text-align: center;
    font-size: 32px;
    margin: 40px 0 20px;
  }
  
  .courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    padding-bottom: 50px;
  }
  
  .course-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    padding: 20px;
    text-align: left;
    transition: transform 0.2s ease;
  }
  
  .course-card:hover {
    transform: translateY(-5px);
  }
  
  .course-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #007BFF;
  }
  
  .course-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
  }
  
  .course-link {
    text-decoration: none;
    color: white;
    background-color: #007BFF;
    padding: 10px 16px;
    border-radius: 6px;
    display: inline-block;
  }
  









  .lessons-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 60px;
  }
  
  .lesson-item {
    background-color: #fff;
    padding: 16px 20px;
    border-left: 5px solid #007BFF;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  }
  
  .lesson-title {
    font-size: 18px;
    font-weight: 600;
    color: #007BFF;
  }
  
  .lesson-type {
    font-size: 14px;
    color: #777;
  }
  








  .quiz-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    margin-top: 20px;
  }
  
  .quiz-question {
    margin-bottom: 25px;
  }
  
  .quiz-question h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .quiz-option {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
  }
  













  .certificate-box {
    padding: 40px;
    border: 5px solid #007BFF;
    border-radius: 16px;
    background-color: #f8f8f8;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  }
  
  .certificate-box h2 {
    font-size: 28px;
    color: #007BFF;
    margin-bottom: 10px;
  }
  
  .certificate-box p {
    font-size: 18px;
    margin: 10px 0;
  }
  


  .form-input {
    width: 100%;
    padding: 12px 14px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
  }
  








  .user-info-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 500px;
    margin: 30px auto;
  }
  
  #progress-info {
    margin-top: 20px;
  }
  
  #logout-btn {
    margin-top: 30px;
  }
  




  .courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .course-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  }
  
  .course-item h3 {
    font-size: 20px;
    font-weight: 600;
  }
  
  .course-item p {
    font-size: 14px;
    margin: 10px 0;
  }
  
  .course-item a {
    margin-top: 10px;
    display: inline-block;
  }
  





  .btn-danger {
    background-color: #ff4d4f;
    color: white;
    margin-left: 10px;
  }
  
  .btn-danger:hover {
    background-color: #e04345;
  }
  






  .course-item p strong {
    display: inline-block;
    width: 70px;
  }
  
  .course-item p:nth-child(3) {
    font-weight: bold;
    color: green;
  }
  









  .course-item {
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 15px;
    transition: 0.3s ease;
    background-color: #fff;
  }
  
  .course-item:hover {
    transform: translateY(-5px);
  }
  



  #examList button {
    display: block;
    margin: 10px 0;
    padding: 10px;
  }
  
  #examForm div {
    margin-bottom: 20px;
  }
  
  #resultMsg {
    font-size: 20px;
    margin-top: 20px;
    color: green;
  }





  .btn {
    background-color: #2563eb;
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
  }
  