diff --git a/index.html b/index.html
index d3bdc1a..f2a71c3 100644
--- a/index.html
+++ b/index.html
@@ -1,88 +1,82 @@
-
-
-
-
-
- Quiz Game
-
- -->
-
-
-
-
-
-
-
-
-
-
-
-
Welcome to the Web Development Quiz
-
Choose a topic to start:
-
-
-
-
-
-
-
-
-🤖
-
- ×
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ Quiz Game
+
+ -->
+
+
+
+
+
+
+
+
+
+
+
+
Welcome to the Web Development Quiz
+
Choose a topic to start:
+
+
+
+
+🤖
+
+ ×
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/styles.css b/styles.css
index deecd5e..95e04cd 100644
--- a/styles.css
+++ b/styles.css
@@ -1,656 +1,657 @@
-/* Base Styling */
-body {
- font-family: 'Roboto', sans-serif;
- font-weight: 700;
- background-color: #e3e9ef;
- margin: 0;
- padding: 0;
- overflow-x: hidden;
- transition: background-image 2s ease-in-out;
- background: linear-gradient(45deg, var(--start-color, #000), var(--end-color, #333));
-}
-
-/* ==== Navbar Styling ==== */
-.mynavbar {
- position: sticky;
- top: 0;
- z-index: 1000;
- background: linear-gradient(to right, #1f1c2c, #928dab);
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
- padding: 10px 0;
- border-bottom-left-radius: 8px;
- border-bottom-right-radius: 8px;
- border: 2px solid #c5b4ff;
-
-}
-
-.navbar-container {
- max-width: 1200px;
- margin: 0 auto;
- padding: 0 20px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- flex-wrap: wrap;
-}
-
-.mynavbar strong {
- font-size: 22px;
- color: #ffffff;
- letter-spacing: 1px;
-}
-
-.nav-links {
- display: flex;
- gap: 12px;
-}
-
-.nav-links .link {
- color: white;
- background-color: rgba(255, 255, 255, 0.15);
- padding: 8px 16px;
- border-radius: 6px;
- text-decoration: none;
- font-weight: 500;
- transition: background 0.3s ease, transform 0.2s;
-}
-
-.nav-links .link:hover {
- background-color: rgba(255, 255, 255, 0.25);
- transform: translateY(-2px);
-}
-
-/* Responsive Navbar */
-@media (max-width: 768px) {
- .navbar-container {
- flex-direction: column;
- align-items: flex-start;
- gap: 10px;
- }
-
- .nav-links {
- flex-direction: column;
- width: 100%;
- }
-
- .nav-links .link {
- width: 100%;
- text-align: left;
- }
-}
-
-.quiz-container {
- text-align: center;
- max-width: 800px;
- margin: 40px auto;
-background: linear-gradient(to right, #1f1c2c, #928dab);
- padding: 20px;
- border-radius: 10px;
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
- border: 2px solid #c5b4ff;
-
-}
-
-.quiz-section {
- margin-bottom: 1000px;
-}
-
-h2 {
- color: #333;
- font-size: 24px;
-}
-
-.description {
- margin-bottom: 1rem;
- font-size: 1.25rem;
- color: #0f0404;
-}
-
-.quiz-list {
- list-style-type: none;
- padding: 0;
- margin-top: 1.5rem;
-}
-
-.quiz-list li {
- margin-bottom: 1rem;
-}
-
-.quiz-link {
- align-items: center;
- display: inline-block;
- padding: 12px 24px;
- background-color: #88B6F2;
- color: #022954;
- text-decoration: none;
- border-radius: 6px;
- width: 100%;
- max-width: 300px;
- transition: background-color 0.3s;
- font-size: 1rem;
- text-align: center;
-}
-
-.quiz-link:hover {
- background-color: #1a589a;
-}
-
-.question-container {
- margin-bottom: 15px;
- border-bottom: 1px solid #ddd;
- padding-bottom: 10px;
-}
-
-.question-container p {
- font-weight: bold;
- margin-bottom: 10px;
-}
-
-.option-container {
- margin-top: 10px;
- padding-left: 0;
- list-style-type: none;
- display: block;
- margin-bottom: 20px;
-}
-
-.option-container li {
- margin-bottom: 20px;
- display: flex;
- align-items: center;
-}
-
-input[type="radio"] {
- margin-right: 10px;
- cursor: pointer;
-}
-
-button {
- background-color: #4CAF50;
- color: white;
- padding: 10px 20px;
- border: none;
- cursor: pointer;
- border-radius: 5px;
- font-size: 16px;
- margin-top: 20px;
- display: block;
- width: 30%;
-}
-
-button:hover {
- background-color: #45a049;
-}
-
-
-/* Responsive footer */
-footer {
-background: linear-gradient(to right, #1f1c2c, #928dab);
- color: #ffffff;
- padding: 20px 30px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- flex-wrap: wrap;
- font-size: 14px;
- border-top-left-radius: 8px;
- border-top-right-radius: 8px;
- box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
- border: 2px solid #c5b4ff;
-
-}
-
-.footer-left {
- display: flex;
- align-items: center;
- gap: 6px;
- flex-wrap: wrap;
-}
-
-.footer-center a {
- color: #fff;
- text-decoration: underline;
- font-weight: 500;
- transition: color 0.3s ease;
-}
-
-.footer-center a:hover {
- color: #ffeb3b;
-}
-
-.footer-right {
- display: flex;
- gap: 15px;
-}
-
-.footer-right a {
- color: #fff;
- text-decoration: none;
- font-size: 18px;
- transition: transform 0.3s, color 0.3s;
-}
-
-.footer-right a:hover {
- color: #ffeb3b;
- transform: translateY(-2px);
-}
-
-/* Responsive Footer */
-@media (max-width: 768px) {
- footer {
- flex-direction: column;
- gap: 10px;
- text-align: center;
- }
-}
-
-
-
-.link {
- text-decoration: none;
- color: black;
- font-weight: 500;
- margin-right: 1rem;
- opacity: 0.75;
- display: flex;
- align-items: center;
-}
-
-.icon {
- padding: 0.5rem;
- opacity: 0.75;
- font-size: 1.1rem;
- transition: transform 0.3s ease, opacity 0.3s ease;
-}
-
-.link:hover {
- transform: scale(1.1);
- opacity: 1;
- color: white;
- transition: all 0.3s ease-in-out;
-}
-
-.icon:hover {
- transform: scale(1.1);
- color: #fff;
- opacity: 1;
-}
-
-/* Quiz Header (fixed top bar) */
-.quiz-header {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- background-color: white;
- z-index: 1000;
- padding: 10px 20px;
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 5px 10px;
- background-color: #f5f5f5;
- border-radius: 8px;
- margin-bottom: 20px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
-}
-
-
-.btnclass {
- display: flex;
- justify-content: space-between;
- align-items: center;
- text-align: center;
-
-}
-
-.timer-container,
-.score-display {
-
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 18px;
- font-weight: 500;
-}
-
-.timer-container {
- color: #d32f2f; /* Red color for timer to stand out */
- background-color: #ffebee;
- padding: 8px 12px;
- border-radius: 20px;
-}
-
-.score-display {
- color: #2e7d32; /* Green color for score */
- background-color: #e8f5e9;
- padding: 8px 12px;
- border-radius: 20px;
-}
-
-#timer {
- font-weight: bold;
- min-width: 25px;
- text-align: center;
-}
-
-#score {
- font-weight: bold;
- min-width: 25px;
- text-align: center;
-}
-
-.timer-warning {
- animation: pulse 1s infinite alternate;
-}
-
-/* Focus Style for Keyboard Navigation
- Visually highlights the currently focused quiz item
- when navigating with arrow keys */
-
-.quiz-item:focus {
- outline: none;
- background-color: #f0f8ff;
- border: 2px solid #007BFF;
- color: #000;
- box-shadow: 0 0 10px #007BFF;
- border-radius: 6px;
- transition: 0.2s ease;
-}
-
-.quiz-option:focus {
- outline: none;
- background-color: #e0f7fa; /* light blue highlight */
- padding: 8px 12px;
- border-radius: 6px;
- box-shadow: 0 0 0 2px #00bcd4; /* teal outline */
- transition: all 0.2s ease-in-out;
-}
-
-
-@keyframes pulse {
- from {
- transform: scale(1);
- }
- to {
- transform: scale(1.1);
- color: #b71c1c;
- }
-}
-
-#responseMessage {
- margin-top: 20px;
- color: green;
-}
-
-/* Added sticky progress header */
-.progress-header {
- position: sticky;
- top: 0;
- z-index: 10;
- background: white;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
- padding: 15px 20px;
- margin: -20px -20px 20px -20px;
-}
-
-/* Progress bar styling */
-.progress-container {
- margin-top: 10px;
-}
-
-.progress-info {
- display: flex;
- justify-content: space-between;
- font-size: 14px;
- color: #666;
- margin-bottom: 5px;
-}
-
-.progress-bar {
- width: 100%;
- height: 8px;
- background-color: #e0e0e0;
- border-radius: 4px;
- overflow: hidden;
-}
-
-.progress-fill {
- height: 100%;
- background-color: #007bff;
- transition: width 0.3s ease;
- border-radius: 4px;
-}
-
-/* Enhanced question styling for better visibility */
-.question-container {
- margin-bottom: 30px !important;
- padding: 20px;
- border: 2px solid #e0e0e0 !important;
- border-radius: 8px;
- background: white;
- transition: all 0.3s ease;
-}
-
-/* Highlight answered questions */
-.question-container.answered {
- background-color: #f0f8f0;
- border-color: #4caf50 !important;
-}
-
-/* Enhanced button styling */
-button.answered {
- background-color: #4caf50 !important;
- cursor: not-allowed;
-}
-
-button.answered:hover {
- background-color: #45a049 !important;
-}
-
-/* ----------------- Responsive Styling ----------------- */
-/* Mobile First */
-@media (max-width: 600px) {
- .quiz-container {
- padding: 15px;
- width: 90%;
- }
- .quiz-link {
- width: 100%;
- font-size: 0.95rem;
- }
- button {
- width: 100%;
- font-size: 1rem;
- padding: 12px;
- }
- .footer-container p {
- margin-left: 0;
- margin-bottom: 0.7rem;
- }
- .footer-container {
- flex-direction: column;
- text-align: center;
- padding: 1.2rem;
- }
- .footer-links {
- margin: 0;
- flex-wrap: wrap;
- justify-content: center;
- }
- /* Responsive progress header */
- .progress-header {
- padding: 10px 15px;
- margin: -15px -15px 15px -15px;
- }
- .progress-info {
- font-size: 12px;
- }
-}
-
-/* Tablet */
-@media (min-width: 601px) and (max-width: 1024px) {
- .quiz-container {
- width: 80%;
- }
- button {
- width: 50%;
- }
-}
-
-/* Desktop (Already Well Styled) */
-@media (min-width: 1025px) {
- .quiz-container {
- width: 50%;
- }
-}
-
-#contact-container {
- max-width: 800px;
- margin: 0 auto;
- background-color: white;
- padding: 20px;
- border-radius: 8px;
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
-}
-
-#contact-Form label {
- display: block;
- margin-top: 15px;
- font-weight: bold;
-
-}
-
-
-/*Scoreboard*/
-.scoreboard-main {
- display: flex;
- justify-content: center;
- padding: 2rem;
-}
-
-.scoreboard-card {
-background: linear-gradient(to right, #1f1c2c, #928dab); padding: 2rem;
- border-radius: 10px;
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
- max-width: 800px;
- width: 100%;
- border: 2px solid #c5b4ff;
-
-}
-
-.scoreboard-card h2 {
- margin-top: 0;
-}
-
-table {
- width: 100%;
- border-collapse: collapse;
- margin-top: 1rem;
-}
-
-th, td {
- text-align: left;
- padding: 0.8rem;
- border-bottom: 1px solid #ccc;
-}
-
-.back-button {
- display: inline-block;
- margin-top: 1.5rem;
- padding: 0.5rem 1rem;
- background-color: #007bff;
- color: white;
- text-decoration: none;
- font-weight: bold;
- border-radius: 5px;
-}
-
-.back-button:hover {
- background-color: #0056b3;
-}
-
-
-
-#chatButton {
- position: fixed;
- bottom: 20px;
- right: 20px;
- background: #D89FDA;
- color: white;
- font-size: 24px;
- padding: 14px;
- border-radius: 50%;
- cursor: pointer;
- z-index: 999;
- box-shadow: 0 4px 12px rgba(0,0,0,0.2);
- text-shadow: 0 0 5px #D89FDA, 0 0 10px #D89FDA, 0 0 15px #D89FDA;
- border: 2px solid #c9bdea;
-
-}
-
-
-
-#chatModal {
- display: none; /* hidden initially */
- position: fixed;
- bottom: 80px;
- right: 20px;
- width: 380px;
- height: 530px;
- border: none;
- z-index: 1000;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 8px 20px rgba(0,0,0,0.3);
-}
-
-#chatModal iframe {
- width: 100%;
- height: 100%;
- border: none;
- border-radius: 12px;
-}
-
-#themeToggle {
- position: absolute;
- top: 10px;
- right: 20px;
- font-size: 12px;
- padding: 5px 10px;
- z-index: 10;
-}
-
-#themeToggle:hover {
- background-color: #222;
- opacity: 1;
-}
-
-/* Default Close Icon (Light Mode) */
-#closeChatbot {
- position: absolute;
- top: 6px;
- right: 10px;
- font-size: 24px;
- font-weight: 600;
- color: #333; /* dark gray for light mode */
- cursor: pointer;
- z-index: 1001;
- transition: color 0.3s ease;
- padding: 2px 6px;
- line-height: 1;
-}
-
-#closeChatbot:hover {
- color: #ff4d4d;
-}
-
-
-
-
-
-
-
-
-
+/* Base Styling */
+body {
+ font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
+ font-weight: 700;
+ background-color:#0d0d0d;
+ margin: 0;
+ padding: 0;
+ overflow-x: hidden;
+ transition: background-image 2s ease-in-out;
+}
+
+/* ==== Navbar Styling ==== */
+.mynavbar {
+ position: sticky;
+ top: 0;
+ z-index: 1000;
+ background-color:#5a146c;
+ box-shadow: 0 2px 8px #cccccc;
+ padding: 10px 0;
+ border-bottom-left-radius: 8px;
+ border-bottom-right-radius: 8px;
+ border: 2px solid #cccccc;
+
+}
+
+.navbar-container {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 20px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ flex-wrap: wrap;
+}
+
+.mynavbar strong {
+ font-size: 30px;
+ font-family: cursive;
+ color: #cccccc;
+ letter-spacing: 1px;
+}
+
+.nav-links {
+ display: flex;
+ gap: 12px;
+}
+
+.nav-links .link {
+ color: #cccccc;
+ padding: 8px 16px;
+ border-radius: 6px;
+ text-decoration: none;
+ font-weight: 700;
+ transition: background 0.3s ease, transform 0.2s;
+}
+
+.nav-links .link:hover {
+ background-color: rgba(255, 255, 255, 0.183);
+ transform: translateY(-2px);
+ color:#cccccc;
+}
+
+/* Responsive Navbar */
+@media (max-width: 768px) {
+ .navbar-container {
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 10px;
+ }
+
+ .nav-links {
+ flex-direction: column;
+ width: 100%;
+ }
+
+ .nav-links .link {
+ width: 100%;
+ text-align: left;
+ }
+}
+
+.quiz-container {
+ text-align: center;
+ max-width: 800px;
+ margin: 40px auto;
+ background-color:#5a146c;
+ padding: 20px;
+ border-radius: 15px;
+ box-shadow: 0 0 20px #cccccc;
+ border: 1px solid #cccccc;
+
+}
+
+.quiz-section {
+ margin-bottom: 1000px;
+}
+
+h2 {
+ color: #333;
+ font-size: 24px;
+}
+
+.heading{
+ color:#cccccc;
+ font-size: 2.5rem;
+}
+
+.description {
+ margin-bottom: 1rem;
+ font-size: 1.6rem;
+ color: #cccccc;
+}
+
+.quiz-list {
+ list-style-type: none;
+ padding: 0;
+ margin-top: 1.5rem;
+}
+
+.quiz-list li {
+ margin-bottom: 1rem;
+}
+
+.quiz-link {
+ align-items: center;
+ display: inline-block;
+ padding: 12px 24px;
+ background-color: #cccccc;
+ color: #5a146c;
+ text-decoration: none;
+ border-radius: 6px;
+ width: 100%;
+ max-width: 300px;
+ transition: background-color 0.3s;
+ font-size: 1rem;
+ text-align: center;
+}
+
+.quiz-link:hover {
+ background-color: #cccccc68;
+ color:white;
+}
+
+.question-container {
+ margin-bottom: 15px;
+ border-bottom: 1px solid #ddd;
+ padding-bottom: 10px;
+}
+
+.question-container p {
+ font-weight: bold;
+ margin-bottom: 10px;
+}
+
+.option-container {
+ margin-top: 10px;
+ padding-left: 0;
+ list-style-type: none;
+ display: block;
+ margin-bottom: 20px;
+}
+
+.option-container li {
+ margin-bottom: 20px;
+ display: flex;
+ align-items: center;
+}
+
+input[type="radio"] {
+ margin-right: 10px;
+ cursor: pointer;
+}
+
+button {
+ background-color: #4CAF50;
+ color: white;
+ padding: 10px 20px;
+ border: none;
+ cursor: pointer;
+ border-radius: 5px;
+ font-size: 16px;
+ margin-top: 20px;
+ display: block;
+ width: 30%;
+}
+
+button:hover {
+ background-color: #45a049;
+}
+
+
+/* Responsive footer */
+footer {
+background-color: #5a146c;
+ color: #cccccc;
+ padding: 20px 30px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ flex-wrap: wrap;
+ font-size: 14px;
+ border-top-left-radius: 8px;
+ border-top-right-radius: 8px;
+ box-shadow: 0 -4px 8px #cccccc;
+ border: 2px solid #cccccc;
+
+}
+
+.footer-left {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ flex-wrap: wrap;
+ font-size: 1.2rem;
+}
+
+.footer-center a {
+ color: #cccccc;
+ text-decoration: none;
+ font-weight: 500;
+ transition: color 0.3s ease;
+ font-size: 1.2rem;
+}
+
+.footer-center a:hover {
+ color: black;
+}
+
+.footer-right {
+ display: flex;
+ gap: 15px;
+ font-size: 1.2rem;
+}
+
+.footer-right a {
+ color: #cccccc;
+ text-decoration: none;
+ font-size: 18px;
+ transition: transform 0.3s, color 0.3s;
+}
+
+.footer-right a:hover {
+ color: black;
+ transform: translateY(-2px);
+}
+
+/* Responsive Footer */
+@media (max-width: 768px) {
+ footer {
+ flex-direction: column;
+ gap: 10px;
+ text-align: center;
+ }
+}
+
+
+
+.link {
+ text-decoration: none;
+ color: black;
+ font-weight: 500;
+ font-size: 1.2rem;
+ margin-right: 1rem;
+ opacity: 0.90;
+ display: flex;
+ align-items: center;
+}
+
+.icon {
+ padding: 0.5rem;
+ opacity: 0.75;
+ font-size: 1.1rem;
+ transition: transform 0.3s ease, opacity 0.3s ease;
+}
+
+.link:hover {
+ transform: scale(1.1);
+ opacity: 1;
+ color: white;
+ transition: all 0.3s ease-in-out;
+}
+
+.icon:hover {
+ transform: scale(1.1);
+ color: #fff;
+ opacity: 1;
+}
+
+/* Quiz Header (fixed top bar) */
+.quiz-header {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ background-color: white;
+ z-index: 1000;
+ padding: 10px 20px;
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 5px 10px;
+ background-color: #f5f5f5;
+ border-radius: 8px;
+ margin-bottom: 20px;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
+}
+
+
+.btnclass {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ text-align: center;
+
+}
+
+.timer-container,
+.score-display {
+
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ font-size: 18px;
+ font-weight: 500;
+}
+
+.timer-container {
+ color: #d32f2f; /* Red color for timer to stand out */
+ background-color: #ffebee;
+ padding: 8px 12px;
+ border-radius: 20px;
+}
+
+.score-display {
+ color: #2e7d32; /* Green color for score */
+ background-color: #e8f5e9;
+ padding: 8px 12px;
+ border-radius: 20px;
+}
+
+#timer {
+ font-weight: bold;
+ min-width: 25px;
+ text-align: center;
+}
+
+#score {
+ font-weight: bold;
+ min-width: 25px;
+ text-align: center;
+}
+
+.timer-warning {
+ animation: pulse 1s infinite alternate;
+}
+
+/* Focus Style for Keyboard Navigation
+ Visually highlights the currently focused quiz item
+ when navigating with arrow keys */
+
+.quiz-item:focus {
+ outline: none;
+ background-color: #f0f8ff;
+ border: 2px solid #007BFF;
+ color: #000;
+ box-shadow: 0 0 10px #007BFF;
+ border-radius: 6px;
+ transition: 0.2s ease;
+}
+
+.quiz-option:focus {
+ outline: none;
+ background-color: #e0f7fa; /* light blue highlight */
+ padding: 8px 12px;
+ border-radius: 6px;
+ box-shadow: 0 0 0 2px #00bcd4; /* teal outline */
+ transition: all 0.2s ease-in-out;
+}
+
+
+@keyframes pulse {
+ from {
+ transform: scale(1);
+ }
+ to {
+ transform: scale(1.1);
+ color: #b71c1c;
+ }
+}
+
+#responseMessage {
+ margin-top: 20px;
+ color: green;
+}
+
+/* Added sticky progress header */
+.progress-header {
+ position: sticky;
+ top: 0;
+ z-index: 10;
+ background: white;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
+ padding: 15px 20px;
+ margin: -20px -20px 20px -20px;
+}
+
+/* Progress bar styling */
+.progress-container {
+ margin-top: 10px;
+}
+
+.progress-info {
+ display: flex;
+ justify-content: space-between;
+ font-size: 14px;
+ color: #666;
+ margin-bottom: 5px;
+}
+
+.progress-bar {
+ width: 100%;
+ height: 8px;
+ background-color: #e0e0e0;
+ border-radius: 4px;
+ overflow: hidden;
+}
+
+.progress-fill {
+ height: 100%;
+ background-color: #007bff;
+ transition: width 0.3s ease;
+ border-radius: 4px;
+}
+
+/* Enhanced question styling for better visibility */
+.question-container {
+ margin-bottom: 30px !important;
+ padding: 20px;
+ border: 2px solid #e0e0e0 !important;
+ border-radius: 8px;
+ background: white;
+ transition: all 0.3s ease;
+}
+
+/* Highlight answered questions */
+.question-container.answered {
+ background-color: #f0f8f0;
+ border-color: #4caf50 !important;
+}
+
+/* Enhanced button styling */
+button.answered {
+ background-color: #4caf50 !important;
+ cursor: not-allowed;
+}
+
+button.answered:hover {
+ background-color: #45a049 !important;
+}
+
+/* ----------------- Responsive Styling ----------------- */
+/* Mobile First */
+@media (max-width: 600px) {
+ .quiz-container {
+ padding: 15px;
+ width: 90%;
+ }
+ .quiz-link {
+ width: 100%;
+ font-size: 0.95rem;
+ }
+ button {
+ width: 100%;
+ font-size: 1rem;
+ padding: 12px;
+ }
+ .footer-container p {
+ margin-left: 0;
+ margin-bottom: 0.7rem;
+ }
+ .footer-container {
+ flex-direction: column;
+ text-align: center;
+ padding: 1.2rem;
+ }
+ .footer-links {
+ margin: 0;
+ flex-wrap: wrap;
+ justify-content: center;
+ }
+ /* Responsive progress header */
+ .progress-header {
+ padding: 10px 15px;
+ margin: -15px -15px 15px -15px;
+ }
+ .progress-info {
+ font-size: 12px;
+ }
+}
+
+/* Tablet */
+@media (min-width: 601px) and (max-width: 1024px) {
+ .quiz-container {
+ width: 80%;
+ }
+ button {
+ width: 50%;
+ }
+}
+
+/* Desktop (Already Well Styled) */
+@media (min-width: 1025px) {
+ .quiz-container {
+ width: 50%;
+ }
+}
+
+#contact-container {
+ max-width: 800px;
+ margin: 0 auto;
+ background-color: white;
+ padding: 20px;
+ border-radius: 8px;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
+}
+
+#contact-Form label {
+ display: block;
+ margin-top: 15px;
+ font-weight: bold;
+
+}
+
+
+/*Scoreboard*/
+.scoreboard-main {
+ display: flex;
+ justify-content: center;
+ padding: 2rem;
+}
+
+.scoreboard-card {
+background: linear-gradient(to right, #1f1c2c, #928dab); padding: 2rem;
+ border-radius: 10px;
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
+ max-width: 800px;
+ width: 100%;
+ border: 2px solid #c5b4ff;
+
+}
+
+.scoreboard-card h2 {
+ margin-top: 0;
+}
+
+table {
+ width: 100%;
+ border-collapse: collapse;
+ margin-top: 1rem;
+}
+
+th, td {
+ text-align: left;
+ padding: 0.8rem;
+ border-bottom: 1px solid #ccc;
+}
+
+.back-button {
+ display: inline-block;
+ margin-top: 1.5rem;
+ padding: 0.5rem 1rem;
+ background-color: #007bff;
+ color: white;
+ text-decoration: none;
+ font-weight: bold;
+ border-radius: 5px;
+}
+
+.back-button:hover {
+ background-color: #0056b3;
+}
+
+
+
+#chatButton {
+ position: fixed;
+ bottom: 20px;
+ right: 20px;
+ background: #D89FDA;
+ color: white;
+ font-size: 24px;
+ padding: 14px;
+ border-radius: 50%;
+ cursor: pointer;
+ z-index: 999;
+ box-shadow: 0 4px 12px rgba(0,0,0,0.2);
+ text-shadow: 0 0 5px #D89FDA, 0 0 10px #D89FDA, 0 0 15px #D89FDA;
+ border: 2px solid #c9bdea;
+
+}
+
+
+
+#chatModal {
+ display: none; /* hidden initially */
+ position: fixed;
+ bottom: 80px;
+ right: 20px;
+ width: 380px;
+ height: 530px;
+ border: none;
+ z-index: 1000;
+ border-radius: 12px;
+ overflow: hidden;
+ box-shadow: 0 8px 20px rgba(0,0,0,0.3);
+}
+
+#chatModal iframe {
+ width: 100%;
+ height: 100%;
+ border: none;
+ border-radius: 12px;
+}
+
+#themeToggle {
+ position: absolute;
+ top: 10px;
+ right: 20px;
+ font-size: 12px;
+ padding: 5px 10px;
+ z-index: 10;
+}
+
+#themeToggle:hover {
+ background-color: #222;
+ opacity: 1;
+}
+
+/* Default Close Icon (Light Mode) */
+#closeChatbot {
+ position: absolute;
+ top: 6px;
+ right: 10px;
+ font-size: 24px;
+ font-weight: 600;
+ color: #333; /* dark gray for light mode */
+ cursor: pointer;
+ z-index: 1001;
+ transition: color 0.3s ease;
+ padding: 2px 6px;
+ line-height: 1;
+}
+
+#closeChatbot:hover {
+ color: #ff4d4d;
+}
\ No newline at end of file