body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background: #f4f4f4;
}

nav {
    background-color: #1a1a40;
    padding: 5px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#topfixed-image {
    height: 45px;
    display: block;
}

/* Main Content Section */
.content {
    padding: 20px;
    background-color: white;
    margin: 20px auto;
    margin-top: 55px;
    max-width: 1000px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    padding: 40px 20px 10px;
    background: linear-gradient(135deg, #00695d, #009688, #00695d);
    color: #fff;
    border-radius: 0 0 15px 15px;
}

header h1 {
    margin: 0;
}


h2, h3 {
    color: #0286d3;
}

.container {
    text-align: left;
}

.modules button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #00695d, #009688, #00695d);
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.modules button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}
/* ================================================================ */
.quiz-container {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.quiz-container h2 {
    margin-top: 10px;
}

.quiz-container h3 {
    color: black;
    background-color: rgba(162, 224, 17, 0.11);
    margin-top: 10px;
}

.quiz-container .option {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Ensures text stays vertically aligned */
    padding: 10px;
    margin: 5px 0;
    border: 2px solid #ddd; /* Pehle se border fix */
    border-radius: 5px;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s, border-color 0.3s; /* Smooth transition */
    box-sizing: border-box; /* Ensures size remains same */
    min-height: 40px; /* Ensure uniform height */
    font-weight: bold; 
}

.quiz-container .option:hover {
    background: #f1f1f1;
}

.quiz-container .correct {
    background: #d4edda !important;
    border-color: #28a745 !important;
}

.quiz-container .incorrect {
    background: #f8d7da !important;
    border-color: #dc3545 !important;
}

.quiz-container .symbol {
    font-size: 13px;
    min-width: 20px;
    text-align: center;
    display: inline-block;
}


/* 🌟 Next Button */
#nextBtn,  #backBtn {
    background: #007BFF !important;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    margin-top: 15px;
}

#nextBtn.inactive {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ✅ Done Button */
#doneBtn {
    background: #17a2b8;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    transition: 0.3s;
    margin-top: 15px;
    cursor: pointer;
}

#doneBtn:hover {
    background: #138496;
}

#backBtn:hover {
    background: #545b62;
}



  
  .site-footer {
    background-color: #000; /* Pure Black */
    color: #ccc;
    padding: 30px 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .footer-links {
    margin-bottom: 15px;
  }

  .footer-links a {
    color: #aaa;
    margin: 0 12px;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-size: 16px;
  }

  .footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 5px #ffffffaa;
  }

  .footer-copy {
    font-size: 14px;
    color: #888;
  }

  /* Responsive tweak (optional) */
  @media (max-width: 600px) {
    .footer-links a {
      display: block;
      margin: 8px 0;
    }
  }
