body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background-color: #f4f4f4;
  color: #333;
  overflow-x: hidden;
}
section {
  background-color: #ffffff;
  padding: 10px 20px;
  border-bottom: 2px solid #ef0e64;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -50px;
}

/*H1 Styles*/
h1 {
  font-size: 1px; /* Tiny text */
  color: transparent; /* Invisible to users */
  text-indent: -9999px; /* Moves it out of view */
  line-height: 0; /* Avoid extra space */
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

/*End H1 Styles*/
/* Search Bar Styles */
.searching {
  margin-top: 2%;
  margin-left: 45%;
  justify-content: center;
  align-items: center;
}
.search-bar {
  border-radius: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  margin-left: auto; /* Pushes the search bar to the right */
}

.search-bar input[type="text"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 8px;
  width: 200px;
}

.search-bar button {
  padding: 8px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.search-bar button:hover {
  background-color: #0056b3;
}

.blur {
  filter: blur(5px);
  user-select: none;
  pointer-events: none; /* Prevent interaction with blurred content */
}
.bar-container {
  width: 100%;
  background-color: #f4f4f4;
  height: 13px;
  position: relative;
  font-size: 15px;
}

.bar {
  height: 100%;
  text-align: left;
  line-height: 15px;
  color: black;
  white-space: nowrap;
  padding: 2px;
}

.bar.high {
  background-color: #4caf50;
}

.bar.medium {
  background-color: #ffc107;
}

.bar.low {
  background-color: #f44336;
}

.table {
  width: 100%;
}
.table .thead-dark th {
  background-color: #0f5484;
  color: #fff;
  border-color: #0f5484;
}
.table-bordered thead td,
.table-bordered thead th {
  border-bottom-width: 2px;
}
.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}
.table-bordered td,
.table-bordered th {
  border: 1px solid #dee2e6;
}
.table td,
.table th {
  padding: 0.75rem;
}
th {
  display: table-cell;
  vertical-align: inherit;
  font-weight: bold;
  text-align: inherit;
  unicode-bidi: isolate;
}

.options .correct {
  padding: 5px;
  border-radius: 10px;
  border: 2px solid #0aa72e;
  font-weight: bold;
}
.options .wrong {
  padding: 5px;
  border-radius: 10px;
  border: 2px solid #ff2727;
}
.attempted1 {
  color: #670c07;
  margin-bottom: -8px;
  margin-left: 2%;
}
.attempted2 {
  color: #ffc30b;
  margin-bottom: -8px;
  margin-left: 2%;
}

@media (max-width: 768px) {
  .table thead th,
  .table tbody td {
    font-size: 12px; /* Adjust font size for better readability */
  }
  .mobile-hidden {
    display: none;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .table thead th,
  .table tbody td {
    font-size: 14px; /* Adjust font size for readability */
  }
}

@media (max-width: 768px) {
  .blur {
    filter: blur(5px); /* Ensure blur is applied on mobile */
  }
}

.suggestions {
  position: absolute;
  background: white;
  /*border: 1px solid #ccc;*/
  width: 100%;
  max-height: 150px;
  overflow-y: auto;
  z-index: 1000;
}
.suggestions div {
  padding: 8px;
  cursor: pointer;
}
.suggestions div:hover {
  background: #f0f0f0;
}

/* Logo Section */
.sidebar .logo {
  border-radius: 5px; /* Optional, for rounded corners */
  background-color: #095388; /* Background color for the logo */
  color: white; /* Text color for the logo */
  align-items: center; /* Center items vertically */
  justify-content: start; /* Align items to the start horizontally */
  padding: 10px; /* Padding for the logo section */
  height: 40px; /* Adjust the height as needed */
  width: 100dvw; /* Make the logo take the full width of the sidebar */
  box-sizing: border-box; /* Include padding and border in the width calculation */
  margin-top: -20px;
  margin-left: -22px;
}

/* Logo Image */
.sidebar .logo img {
  max-height: 100%; /* Ensure the logo image fits within the height */
  margin-right: 10px; /* Space between the image and the text */
}

/* Logo Text */
.sidebar .logo h2 {
  font-size: 1rem; /* Adjust font size */
  margin: 0; /* Remove default margin */
  line-height: 1; /* Ensure vertical alignment with the image */
}

/* Logo styling */
.logo {
  height: 40px;
  margin-right: 20px;
}
.logo a {
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.logo h2 {
  margin: 0;
}
.modes {
  width: 100%;
  padding: 8px;
}
.modes button {
  background-color: #095388;
  padding: 2px;
  width: 150px;
  color: #fff;
  border-radius: 6px;
}

.modes button:hover {
  background-color: #09acbe;
  cursor: pointer;
}

.modes button.active-mode {
  background-color: #09acbe; /* Change this to your desired active color */
  color: white;
}

.modes button:disabled {
  background-color: #09acbe; /* Change this to your desired active color */
  color: white;
  cursor: not-allowed;
}

/* Navigation styling */
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
nav a {
  color: #04aeef;
  text-decoration: none;
  font-weight: 500;
}
nav a:hover {
  color: #09acbe;
}

/* Login button styling */
.login-button {
  background-color: #04aeef;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}
.login-button:hover {
  background-color: #09acbe;
}
.login-container {
  margin-top: 5%;
  border-top: 1px solid #21304d;
  border-bottom: 1px solid #21304d;
  width: 30%;
  text-align: center;
  margin-left: 35%;
}
.login-form {
  width: 100%;
  text-align: left;
}
.login-form h1 {
  text-align: center;
}
.login-form input,
label {
  width: 90%;
  padding: 8px;
  margin: 10px;
}
.login-form button,
select {
  width: 94%;
  padding: 8px;
  margin-left: 10px;
  margin-bottom: 10px;
}
.login-title {
  text-align: center;
  background-color: #f4f4f4;
  margin-top: -30px;
  width: 60%;
  margin-left: 20%;
}
a {
  text-decoration: none;
}
a .title {
  background-color: #21304d;
  color: white;
  padding: 8px;
  width: 30%;
  margin-left: 35%;
  border-radius: 8px;
  text-decoration: none;
}
.error-message {
  color: red;
  background-color: cadetblue;
  padding: 8px;
  border-radius: 6px;
}

.hero-section {
  background-color: #0093e9;
  background-image: url("../assets/images/nurselytic1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  color: #fff;
  padding: 60px;
  margin-bottom: 20px;
  text-align: center;
}
.action-button {
  padding: 10px;
  margin-top: 20px;
}

/* Responsive Design */
/* For Tablets */
@media only screen and (max-width: 1024px) {
  .login-container {
    width: 50%;
    margin-left: 25%;
    margin-top: 15%;
  }
}

/* General styling */
.courses {
  padding: 20px;
}
.courses h3 {
  text-align: center;
  margin-bottom: 20px;
}
.course-category {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  background-color: #f9f9f9;
}
.course-category h4 {
  text-align: center;
  margin-bottom: 10px;
}
.courses {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.course-cards-container1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.course-cards-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.entry-card-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  margin-top: 10px;
  /* background-color: red; */
}
.course-card1 {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  padding: 15px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #444;
}
.course-card {
  width: 70%;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  margin: auto;
}
.course-card img,
.course-card1 img {
  max-width: 30%;
  border-radius: 5px;
  margin-bottom: 5px;
}
.course-card1 a,
.course-card a {
  font-weight: 600;
  color: #444;
  text-decoration: none;
  margin-top: 10%;
  margin-right: 25%;
  float: right;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.entry-card {
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  /* background-color: #db1a1a; */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.entry-inner-card {
  display: flex;
  align-items: center;
  justify-content: center;
}
.entry-inner-card a {
  font-weight: 700;
  color: #585656;
}

.entry-card img {
  max-width: 25%;
  border-radius: 5px;
  margin-bottom: 5px;
}

.cat-btn {
  display: flex;
  justify-content: space-around;
}

@media (max-width: 768px) {
  .cat-btn {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .cat-btn a {
    margin-bottom: 10px;
    width: 80%;
  }
}
.cat-btn a {
  border: 1px solid;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 400;
  cursor: pointer;
  color: #302f2f;
}

.cat-btn a:hover {
  background-color: #007a8b;
  color: white;
}

/* Popup overlay styling */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}
.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  max-width: 90%;
}
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
.popup-content h2 {
  text-align: center;
  color: #008080;
}
.testbanks {
  border-radius: 12px;
  padding: 8px;
  width: 48%;
  margin-left: 1%;
  margin-bottom: 10px;
}
.testbanks:hover {
  background-color: #007a8b;
}

/*popup overlay styling  for exam pages*/

.popup-overlay1 {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */

  z-index: 999; /* Ensure it appears above other content */
}

/* Popup Content */
.popup-content1 {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 1000px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto; /* Enable scrolling if content is too long */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Close Button */
.close-button1 {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.close-button1:hover {
  color: #000;
}

/* Popup Heading */
.popup-content1 h2 {
  margin-top: 0;
  font-size: 16px;
  color: #007bff;
}

/* Container for the buttons */
.button-container1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three columns of equal width */
  gap: 10px; /* Space between buttons */
  margin-top: 20px; /* Adjust as needed */
}
.button-container1 button {
  padding: 5px;
  font-size: 12px;
}
/* Adjust button width to fit the grid */
.testbanks1 {
  width: 100%; /* Full width of the grid cell */
  text-align: center; /* Center text */
  padding: 10px; /* Add padding for better spacing */
  background-color: #007bff; /* Button background color */
  color: #fff; /* Button text color */
  border: none; /* Remove border */
  border-radius: 5px; /* Add rounded corners */
  font-size: 16px; /* Adjust font size */
  cursor: pointer; /* Add pointer cursor */
}

.testbanks1:hover {
  background-color: #0056b3;
}
.classification {
  margin-top: 20%;
  margin-left: 10%;
  color: #004680;
}

/* Responsive Styles for Screens with Max Width 768px */
@media screen and (max-width: 768px) {
  .popup-content1 {
    max-width: 90%; /* Reduce max-width for smaller screens */
    padding: 15px; /* Reduce padding for smaller screens */
  }

  .button-container1 {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Change to 2 columns for smaller screens */
  }

  .testbanks1 {
    font-size: 14px; /* Reduce font size for smaller screens */
    padding: 8px; /* Adjust padding for smaller screens */
  }

  .popup-content1 h2 {
    font-size: 14px; /* Reduce heading font size for smaller screens */
  }

  .close-button1 {
    font-size: 20px; /* Reduce close button size for smaller screens */
  }
}

/* Responsive Styles for Screens with Max Width 480px */
@media screen and (max-width: 480px) {
  .button-container1 {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Change to 1 column for very small screens */
  }

  .testbanks1 {
    font-size: 12px; /* Further reduce font size for very small screens */
    padding: 6px; /* Further adjust padding for very small screens */
  }

  .popup-content1 h2 {
    font-size: 12px; /* Further reduce heading font size for very small screens */
  }

  .close-button1 {
    font-size: 18px; /* Further reduce close button size for very small screens */
  }
}
/* Benefits Section */
.benefits {
  display: flex;
  justify-content: space-around;
  padding: 30px;
  background-color: #f5f5f5;
}
.benefit {
  text-align: center;
}
.benefit img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

/*---------------testbanks page------*/
.hamburger-menu {
  display: none;
  position: fixed;
  top: 25px;
  left: 20px;
  font-size: 24px;
  z-index: 1000;
  cursor: pointer;
}
.hamburger-menu i {
  color: #008080;
}
.sidebar {
  transform: translateX(0);
  transition: transform 0.3s ease-in-out;
}
.title i,
.coursetitle i {
  transform: none;
}

/* General Styling for Sidebar */
.sidebar {
  width: 13%;
  background-color: #01121f;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  padding-right: 20px;
  margin-top: 0;
}
.sidebar .nav {
  flex-grow: 1;
  padding-bottom: 20px;
  padding-top: 0;
}
.sidebar .nav .category,
.sidebar .nav .exam-set {
  padding: 10px 0;
}
.sidebar .exam-sets,
.sidebar .exam-names {
  padding-left: 20px;
}
.sidebar .category-title {
  font-weight: bold;
  color: white;
  cursor: pointer;
}
.category-title a {
  text-decoration: none;
  color: #fff;
}
.sidebar .exam-set-title {
  font-size: 14px;
}
.sidebar .exam-set a {
  color: white;
  text-decoration: none;
  font-weight: normal;
}
.sidebar .exam-set a:hover {
  color: #09acbe;
}
.sidebar .nav li.active {
  color: #09acbe;
}
.sidebar .nav li:last-child {
  margin-bottom: 20px;
}
.sidebar .coursetitle {
  margin-top: -20px;
  margin-bottom: -10px;
  padding: 10px;
}

/* Logo styling */
.logo {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.logo img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
.logo h2 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
}

/* Navigation and sections styling */
.nav .title {
  margin-left: 5%;
}
.title i {
  padding-right: 10px;
}
.nav .title a {
  text-decoration: none;
  color: white;
}
.nav,
.instructor {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.nav li,
.instructor li {
  font-size: 14px;
  padding: 5px 0;
  cursor: pointer;
}
.nav li.active {
  color: #09acbe;
}
.nav .sections {
  padding-bottom: 10%;
}
.nav .sections.active {
  color: white;
}
.sidebar .nav li.active {
  color: #09acbe;
}
ul {
  padding-left: 0;
}
.sidebar .sectionlist {
  font-size: 12px;
  list-style: none;
  padding-left: 20px;
}
.sidebar .nav .sections.active {
  color: white;
}

.main {
  float: right;
  width: 80%;
  flex-grow: 1;
  background-color: #f5f7fa;
  padding: 20px;
}
.header {
  margin-top: -60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.experience {
  font-weight: bold;
  color: #666;
}
.points {
  color: #09acbe;
}
.user-controls {
  display: flex;
  gap: 15px;
}
.icon {
  font-size: 18px;
}
.content h2 {
  color: #333;
}
.breadcrumb {
  color: #666;
  margin-bottom: 20px;
}
.icon1 {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ef0e64;
}
.highlighted-course {
  background-color: #0093e9;
  background-image: url("images/coursespage.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  color: #fff;
  padding: 1px;
  border-radius: 8px;
  margin-bottom: 20px;
  margin-top: 20px;
  height: 10vh;
  transition: all 0.3s ease-in-out;
}

.highlighted-course.fixed {
  width: 80%;
  position: fixed;
  margin-top: 0;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 20px;
  margin-left: 17%;
}
.highlighted-course .backto {
  border: solid #0093e9;
  border-radius: 10px;
  margin-top: 10px;
}
.highlighted-course a {
  color: #444;
  text-decoration: none;
}
.highlighted-course .course-title1 {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}
.learning-paths {
  max-width: 1800px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.learning-paths h2 {
  margin: 0 0 20px;
  font-size: 1.5em;
  color: #333;
}
.path-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -10px;
}
.path {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.path-icon {
  margin-top: -25px;
  font-size: 1.5rem;
  color: #333;
}
.path-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}
.path-info {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 10px;
}
.resume-button {
  align-self: flex-start;
  padding: 5px 10px;
  background-color: #f3f4f6;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #555;
  font-weight: bold;
  cursor: pointer;
}
.resume-button a {
  text-decoration: none;
  color: #444;
}
.sections {
  padding: 10px;
  font-size: 1.1em;
  cursor: pointer;
  position: relative;
}
.sections ul {
  list-style: none;
  padding-left: 20px;
  display: none;
}
.toggle-icon {
  position: absolute;
  right: 10px;
  font-size: 1.2em;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.sections.active > ul {
  color: white;
  display: block;
}
.sections.active i {
  color: white;
}
.sections.active .toggle-icon,
i {
  color: white;
  transform: rotate(180deg);
}

/*---------------tabs ---------------*/
.test-container {
  max-width: 1200px;
  margin: -15px 0 0 0;
  padding: 20px;
}
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.tab-button {
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background-color: #fff;
  margin: 0 5px;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.tab-button.active {
  background-color: #00538c;
  color: white;
}
.tab-button:hover {
  background-color: #0093e9;
  color: white;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/*-----------------similar questions-----------*/
.similarquestions {
  color: #0b92b0;
  font-size: 18px;
  margin-left: 45%;
}

/*-------exams page--------------------------*/
.coursetitle {
  margin-left: -70px;
  text-align: center;
}
.coursetitle i {
  padding: 10px;
  color: #ef0e64;
  text-align: center;
}
.button-container {
  display: grid;
  margin-top: 5px;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 1800px;
  padding: 15px;
  border: 1px solid #b0c4de;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.button-container button {
  background-color: #004680;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s;
}
.button-container button:hover {
  background-color: #0dadbe;
}
.button-container button:active {
  background-color: #004680;
}
.highlighted {
  background-color: #008080;
}

/*----------------------questions page---------------------*/
.content {
  border-radius: 12px;
  height: 15vh;
}
.content .course-title1 {
  margin-top: 20px;
}
.content h3 {
  margin-top: 10px;
}
.quiz-section {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
}
.quiz-header {
  text-align: center;
  margin-bottom: 10px;
}
.back-link {
  color: #444;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
}
.question-container {
  background-color: white;
  margin-top: 50px;
  color: black;
  padding: 20px;
  border-radius: 8px;
  width: 97%;
  max-width: 1800px;
}
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffffff;
  margin: 0 10px;
}
.completed {
  background-color: #4caf50;
}
.progress-bar .active {
  background-color: #ffeb3b;
}
.line {
  width: 30px;
  height: 2px;
  background-color: #ffffff;
}
.question-header {
  padding-left: 10px;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.question-header h2 {
  font-size: 1.5em;
}
.timer {
  font-size: 1.2em;
  font-weight: bold;
}
.question-extract {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px;
  background-color: #f9f9f9;
  border-bottom: 2px solid #ddd;
}
.content-container {
  padding: 5px;
}
.questionare {
  margin-right: 1px;
  margin-left: -10px;
  float: left;
  width: 48%;
  padding: 8px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.rationale {
  margin-right: -10px;
  float: right;
  width: 48%;
  padding: 8px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  color: #007cba;
  border-left: 2px solid #09acbe;
}
.question-item {
  width: 98%;
  background-color: #f9f9f9;
  border: 1px solid #d1d1d1;
  box-shadow: 0px 4px 6px #0f5484;
  margin-bottom: 15px;
  border-radius: 8px;
  padding: 20px;
  overflow: hidden;
}
.question-text {
  padding-left: 10px;
  color: black;
  font-size: 1em;
  margin-top: -20px;
  width: 100%;
}
.options label {
  color: black;
  display: block;
  margin: 5px 0;
  padding: 1px;
}
.options {
  padding-left: 10px;
}
.note {
  font-size: 0.8em;
  margin-top: 10px;
}
.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.skip,
.next {
  padding: 10px 20px;
  font-size: 1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.skip {
  background-color: #888;
  color: white;
}
.next {
  background-color: #ff5722;
  color: white;
}
.content h3 {
  margin-top: 10px;
  align-items: center;
}

/*--------------------------subscribe page------------------*/
.courses2 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  background-color: #f9f9f9;
}

.course-category2 {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-category2:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.course-category2 h3 {
  font-size: 1.5rem;
  color: #007cba;
  margin-bottom: 10px;
}

.course-category2 h4 {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 15px;
}

.course-category2 ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  color: #777;
  text-align: left;
}

.course-category2 ul li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .courses2 {
    flex-direction: column;
    align-items: center;
  }

  .course-category2 {
    width: 90%;
  }
}

@media (max-width: 960px) {
  .question-item {
    width: 95%;
    margin-left: -20px;
    margin-right: 10px;
  }
}
/* For Mobile Devices */
@media only screen and (max-width: 1024px) {
  .content-container {
    padding: 0px;
    width: 100%;
  }
  .questionare {
    margin-left: 2%;
    float: left;
    width: 100%;
    padding: 5px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .rationale {
    margin-left: 2%;
    float: left;
    width: 100%;
    padding: 5px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .login-container {
    width: 90%;
    margin-left: 2%;
    margin-top: 10%;
  }
  .login-form input,
  label {
    width: 98%;
    padding: 10px;
  }
  .login-form button {
    width: 100%;
    padding: 10px;
    margin-left: 0;
  }
  .login-title {
    width: 80%;
    margin-left: 10%;
  }
  a .title {
    width: 80%;
    margin-left: 10%;
  }
}
/*---------------------------------------------------------aditional styles--------------------------------------*/
.exam-sets {
  display: none;
}
.exam-names .expanded {
  margin-bottom: -20px;
}
.exam-set .exam-names {
  display: none;
  padding-left: 10px;
  font-size: 0.9em;
}
.exam-set {
  margin-left: 12%;
  cursor: pointer;
  color: #fff;
  font-size: 0.9em;
  padding-left: 20px;
}
.exam-set a {
  line-height: 1rem;
  padding: 1px 10px;
  font-size: 12px;
  margin-left: -15px;
}
.exam-set a:hover {
  color: #09acbe;
  text-decoration: none;
}
.exam-set .toggle-icon {
  color: #fff;
  font-size: 8px;
  float: right;
  margin-left: 10px;
}
.exam-set .exam-names {
  margin-bottom: -30px;
  display: none;
  padding-left: 40px;
  font-size: 0.9em;
}
.exam-set.expanded .exam-names {
  display: block;
}
.exam-set.expanded .toggle-icon {
  transform: rotate(180deg);
}
.exam-names {
  margin-left: -20px;
}
.exam-names a {
  padding: 5px 10px;
  color: #fff;
  font-size: 10px;
  line-height: 1rem;
}
.exam-names strong {
  margin-top: -16px;
  margin-left: -7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #09acbe;
}

/*cta-section on questions page*/
.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: #0f5484;
  padding: 5px 10px;
  box-sizing: border-box;
  border-radius: 10px;
  margin-bottom: 2%;
  position: relative;
  z-index: 1000;
  transition: all 0.3s ease;
}
.cta-section.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 1000;
  background-color: #0f5484;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.cta-content {
  flex: 1;
  max-width: 100%;
}
.cta-content h2 {
  margin-top: -5px;
  margin-bottom: 2px;
  font-size: 1.3rem;
  color: #fff;
  margin-left: 40%;
}
.cta-content p {
  font-size: 1rem;
  color: #fff;
  margin: 10px 0;
}
.cta-section .login-button1 {
  background-color: #0093e9;
  color: white;
  border-radius: 10px;
  margin-left: 20%;
  padding: 10px 5px;
}

/* Responsive styles for screens with max-width: 768px */
@media (max-width: 768px) {
  .cta-section {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  .cta-content {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .cta-content h2 {
    font-size: 1.5rem;
    margin-left: -1px;
  }
  .cta-content p {
    font-size: 0.9rem;
  }
  .cta-image {
    display: none;
  }
  .cta-section .login-button1 {
    margin-top: 2%;
    margin-left: 0;
  }
}

/*media query for responsivenes */
/*small screens:iphones and androind phones responsivenes*/
/* Display hamburger menu on small screens */
/* For screens smaller than 480px (iphones/android phones) */

@media (max-width: 375px) {
  .sidebar {
    padding: 5px;
  }
  .logo img {
    width: 40px;
    height: 40px;
  }
  .logo h2 {
    font-size: 14px;
  }
  .nav li {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .modes button {
    background-color: #095388;
    padding: 2px;
    width: 100px;
    color: #fff;
    border-radius: 6px;
  }
}
@media (max-width: 480px) {
  .path-icon {
    font-size: 1.2rem;
  }
  .path-title {
    font-size: 0.8em;
  }
  .path-info {
    font-size: 0.8em;
  }
  .path {
    padding: 15px;
  }
}
/* For screens smaller than 1200px (minilaptops/tablets) */
@media (max-width: 1199px) {
  .path-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For screens smaller than 768px (tablets/landscape phones) */
@media (max-width: 767px) {
  .path-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .path {
    padding: 20px;
    margin-left: -15px;
  }
  .path-icon {
    font-size: 1.5rem;
    margin-top: -15px;
  }
  .path-title {
    font-size: 1em;
  }
}

/* Further adjustments for smaller phones */
@media (max-width: 480px) {
  .sidebar {
    width: 60%;
    padding: 10px;
  }
  .logo h2 {
    margin-top: 10%;
    font-size: 12px;
  }
  .nav .title {
    font-size: 12px;
  }
  .nav li {
    font-size: 14px;
  }
  .nav .sections ul {
    display: none;
  }
  .nav .sections.active ul {
    display: block;
  }
}

@media (max-width: 768px) {
  .courses {
    flex-direction: column;
  }
  .course-cards-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .login-button {
    margin-left: -100px;
  }
  .header {
    position: fixed;
    top: 0;
    left: 1;
    width: 90%;
    /* justify-content: space-between; */
    align-items: center;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 5px;
  }
}
@media (max-width: 768px) {
  .notice {
    display: none;
  }
  .experience {
    font-size: 12px;
  }
  .question-container {
    margin-left: -40px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
  }
  .sections {
    padding: 8px;
    font-size: 0.8em;
    cursor: pointer;
    position: relative;
  }
  .sections ul {
    list-style: none;
    padding-left: 20px;
    display: none;
  }
  nav ul {
    margin-top: -15px;
    font-size: 5px;
    display: flex;
    gap: 20px;
    list-style: none;
  }
  .login-button {
    background-color: #04aeef;
    color: #fff;
    border: none;
    padding: 3px 6px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-top: -1px;
  }
  .benefit img {
    width: 35px;
    height: 35px;
    margin-bottom: 2px;
  }
  .benefit p {
    text-align: center;
    font-size: 12px;
  }
  .course-card {
    width: auto;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-left: 5%;
  }
  .course-card img {
    max-width: 25%;
    border-radius: 5px;
    margin-bottom: 5px;
    width: 20%;
  }
  .course-card1 img {
    max-width: 35%;
    border-radius: 5px;
    margin-bottom: 5px;
    width: 50%;
  }
  .course-card1 {
    width: auto;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .highlighted-course {
    background-color: #0093e9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    height: 5vh;
    width: 100%;
    margin-left: -40px;
    margin-top: -100px;
  }

  .highlighted-course .backto {
    border: solid #0093e9;
    border-radius: 10px;
    margin-top: 10px;
    margin-left: -25px;
  }
  .content .selectedcourse {
    display: none;
  }
  .content .breadcrumb {
    display: none;
  }
  .content .course-title1 {
    font-size: 18px;
    margin-top: -30px;
  }
  .learning-paths {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-left: -40px;
  }
  .path-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .learning-paths h2 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #333;
  }
  .header {
    z-index: 100;
    display: flex;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 95%;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .header {
    padding: 10px;
  }
  body {
    padding-top: 60px;
  }
  .tab-button {
    box-shadow: 0 4px 8px rgba(0, 9, 39, 0.1);
    padding: 5px 10px;
    cursor: pointer;
    border: none;
    background-color: #fff;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  .profile {
    margin-left: 55px;
    font-size: 10px;
    margin-top: -20px;
  }
  .profile a {
    font-size: 10px;
  }
  .icon {
    margin-left: 55px;
    font-size: 10px;
    margin-top: -10px;
  }
  .icon a {
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .nav .sections {
    padding-bottom: 0;
  }
  .hamburger-menu {
    margin-top: 0;
    display: block;
    margin-left: 50%;
  }
  .sidebar {
    width: 60%;
    height: auto;
    position: relative;
    margin-bottom: 10px;
  }
  .sidebar .logo {
    margin-left: -80px;
    justify-content: center;
    margin-bottom: -10px;
  }
  .sidebar ul {
    padding-left: 20px;
  }
  .sidebar .nav li {
    font-size: 12px;
  }
  .sidebar .nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10%;
  }
  .sidebar .nav .sections ul {
    padding-left: 20px;
  }
  .sidebar .nav li.active {
    color: #09acbe;
  }
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
    position: fixed;
    top: 8px;
    left: 20px;
    font-size: 24px;
    z-index: 1000;
  }
  .breadcrumb {
    color: #666;
    margin-bottom: 10px;
    margin-top: -25px;
  }
  .sidebar {
    position: fixed;
    height: 100vh;
    z-index: 999;
  }
}
@media (max-width: 356px) {
  .modes button {
    background-color: #095388;
    padding: 2px;
    width: 70px;
    color: #fff;
    border-radius: 6px;
  }
}

/* Sidebar hidden state on mobile */
@media (max-width: 768px) {
  .header-container {
    margin-top: -100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar {
    transform: translateX(-100%);
    position: fixed;
    height: 100vh;
    z-index: 999;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .hamburger-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  .sidebar .category-title {
    margin-left: -20px;
    font-weight: bold;
    color: white;
    cursor: pointer;
  }
  .sidebar .exam-set {
    margin-bottom: -10px;
    margin-left: -10px;
    color: white;
    text-decoration: none;
    font-weight: normal;
  }
  .exam-names {
    margin-left: 20px;
  }
  .button-container {
    display: grid;
    margin-left: -40px;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 1300px;
    padding: 10px;
    border: 1px solid #b0c4de;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  .content h3 {
    font-size: 14px;
    margin-top: 5px;
    float: none;
    justify-content: center;
  }
  .exam-set .exam-names {
    display: none;
    padding-left: 10px;
    font-size: 0.9em;
  }
  .exam-names a {
    margin-left: -18px;
    font-size: 10px;
    color: #fff;
  }
}

/* Responsive styles for tablet devices */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .course-cards-container,
  .course-cards-container1 {
    justify-content: space-between;
  }

  .course-card {
    width: calc(50% - 20px);
  }

  .course-card1 {
    width: calc(80% - 20px); /* 2 cards per row */
  }
  .content.similarquestions {
    margin-left: 35%;
  }
}
/*tablet responsiveness*/
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  html,
  body {
    height: 100%;
    margin: 0;
    font-family: "Arial", sans-serif;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden;
    overflow-y: scroll;
  }
  body::after {
    content: "";
    display: block;
    height: 100px;
  }
  .main {
    float: left;
    width: 95%;
    flex-grow: 1;
    background-color: #f5f7fa;
    padding: 20px;
    margin-top: -80px;
  }
  .hamburger-menu {
    display: block;
    margin-left: 50%;
    position: fixed;
    top: 8px;
    left: 20px;
    font-size: 24px;
    z-index: 1000;
  }
  .highlighted-course {
    background-color: #0093e9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    height: 8vh;
  }
  .content h3 {
    margin-top: 10px;
    align-items: center;
  }
  .highlighted-course .backto {
    border: solid #0093e9;
    border-radius: 10px;
    margin-top: 0;
  }
  .content .course-title1 {
    margin-top: 0;
  }
  .breadcrumb {
    display: none;
  }
  .sidebar {
    position: fixed;
    height: 100vh;
    z-index: 999;
    transform: translateX(-100%);
  }
  .sidebar.open {
    width: 30%;
    transform: translateX(0);
  }
  .header {
    z-index: 100;
    display: flex;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 96%;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px;
  }
  .body {
    padding-top: 60px;
  }
  .content {
    margin-top: 50px;
    border-radius: 12px;
    height: 15vh;
  }
}
/*minilaptops and macbook responsiveness*/
@media only screen and (min-width: 1025px) and (max-width: 1440px) {
  html,
  body {
    height: 100%;
    margin: 0;
    font-family: "Arial", sans-serif;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden;
    overflow-y: scroll;
  }
  body::after {
    content: "";
    display: block;
    height: 100px;
  }
  .path-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
  }
  .path {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .path-icon {
    margin-top: -20px;
    font-size: 1rem;
    color: #333;
  }
  .main {
    width: 75%; /* Adjust width based on the sidebar width */
  }
  .sidebar {
    width: 20%;
    background-color: #01121f;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: scroll;
    padding-right: 20px;
    margin-top: 0;
  }
  .highlighted-placeholder {
    display: none;
    height: 15vh;
  }
  .highlighted-course.fixed + .highlighted-placeholder {
    display: block;
  }
  .highlighted-course.fixed {
    top: 0;
    width: 70%;
    position: fixed;
    margin-top: 0;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px;
    margin-left: 23%;
  }
  .highlighted-course {
    position: relative;
    top: 10;
    width: 95%;
    transition: all 0.3s ease;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  .course-title1 {
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
  }
  .backto {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  .backto:hover {
    background-color: #007a8b;
  }
  .test-container {
    max-width: 1200px;
    margin: -50px 0 0 0;
    padding: 20px;
  }
  .path-title {
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
  }
  .user-controls {
    margin-right: 5%;
  }
  .button-container p {
    text-align: center;
    color: palevioletred;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1100px) {
  .exam-names strong {
    line-height: 2.5;
  }
}
@media screen and (min-width: 1301px) and (max-width: 1450px) {
  .exam-names a {
    margin-left: -35px;
    font-size: 12px;
    color: #3498db;
  }
}

/* Responsive Design for Sidebar */
@media (max-width: 1024px) {
  .sidebar {
    width: 200px; /* Reduce sidebar width on tablets */
  }
}

.loading {
  font-style: italic;
  color: #999;
}

.bot-response {
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 5px;
  border: 1px solid #424242;
  color: #095388;
  border-radius: 5px;
}

.error {
  color: #ff6b6b;
  font-weight: bold;
}
.fleekbot-section {
  width: 100%;
}
button img {
  width: 17px;
  height: 17px;
}
.fleekbot-section input {
  width: 90%;
  padding: 8px;
}
.fleekbot-section button {
  padding-bottom: 2px;
  padding-top: -4px;
  margin-left: -35px;
  margin-top: 20px;
  height: 32px;
  border: none;
  background-color: none;
  background: transparent;
}

.wrong-answer-icon {
  float: right;
  margin-left: 5px; /* Space between the text and the icon */
  font-size: 0.7em;
  vertical-align: middle; /* Align the icon with text */
}
.questions-grid {
  margin: 10px;
  float: left;
}
.grid-container {
  display: grid;
  grid-gap: 10px;
  padding: 10px;
  border-collapse: collapse;
}

/* Default: 20 columns per row */
.grid-container {
  grid-template-columns: repeat(20, 1fr);
}

/* Smaller devices: 10 columns per row */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(10, 1fr);
  }
  .question-container {
    margin-top: 0;
  }
}

.grid-item {
  border: 1px solid black;
  padding: 10px;
  text-align: center;
}

.grid-item.grey {
  color: grey;
  border: 1px solid grey;
}

.grid-item.blue {
  color: blue;
  border: 1px solid blue;
}
/* Calculator Icon */
.calculator-icon {
  font-size: 40px;
  cursor: pointer;
  color: #333;
}

/* Calculator Modal */
.calculator {
  display: none; /* Hidden by default */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  width: 300px;
}

.calculator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.calculator-display {
  width: 100%;
  height: 50px;
  margin: 10px 0;
  text-align: right;
  font-size: 1.5em;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
}

.calculator-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.button {
  font-size: 18px;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.button:hover {
  background-color: #0056b3;
}
.calc {
  float: right;
  margin-right: 10px;
  margin-top: -20px;
}
.timer {
  font-size: 30px;
  margin-right: 15px;
}
.fa-calculator {
  height: 5.3vh;
  font-size: 40px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .calculator {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 200px;
  }
  .fa-calculator {
    height: 4vh;
    margin-top: 15%;
    font-size: 25px;
  }
  .button {
    font-size: 12px;
    padding: 8px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
  }
  .timer {
    font-size: 18px;
  }
  .calc {
    float: right;
    margin-right: 10px;
    margin-top: -50px;
  }
}
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .fa-calculator {
    height: 2.5vh;
    margin-top: 15%;
    font-size: 25px;
  }
  .button {
    font-size: 12px;
    padding: 8px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
  }
  .timer {
    font-size: 18px;
  }
  .calc {
    float: right;
    margin-right: 10px;
    margin-top: -50px;
  }
}
@media only screen and (min-width: 1025px) and (max-width: 1440px) {
  .fa-calculator {
    height: 6.2vh;
    font-size: 40px;
    cursor: pointer;
  }
}

/*search page*/
/* Search Results Section */
.search-results {
  max-width: 1600px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #9fbde9;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-results h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.search-results h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

/* Error Messages */
.error-messages {
  background-color: #ffebee;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.error-messages .error {
  color: #d32f2f;
  margin: 0.5rem 0;
}

/* Results Container */
.results-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns per row */
  gap: 1rem; /* Space between items */
}

.module-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: background-color 0.3sease, transform 0.2sease;
  text-align: center;
}

.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative; /* Ensure the button can be positioned absolutely if needed */
}

.result-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.result-item a {
  text-decoration: none;
}

.result-item h4 {
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.result-item p {
  font-size: 0.6rem;
  color: #666;
  margin: 0.25rem 0;
}

/* No Results Message */
.search-results p.no-results {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-top: 2rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination-button {
  padding: 0.75rem 1.5rem;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.pagination-button:hover {
  background-color: #0056b3;
}

.pagination-button.prev {
  background-color: #6c757d;
}

.pagination-button.prev:hover {
  background-color: #5a6268;
}

.result-item .view-question-button {
  margin-left: 20%;
  padding: 8px;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #007bff;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-top: auto; /* Pushes the button to the bottom */
  align-self: flex-start; /* Aligns the button to the left (optional) */
}

.view-question-button:hover {
  color: white;
  background-color: #0056b3;
}
/* Responsive Design */
@media (max-width: 1200px) {
  .results-container {
    grid-template-columns: repeat(4, 1fr); /* 4 columns for smaller desktops */
  }
}

@media (max-width: 992px) {
  .results-container {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets */
  }
}

@media (max-width: 768px) {
  .results-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller tablets */
  }
}

@media (max-width: 576px) {
  .results-container {
    grid-template-columns: repeat(1, 1fr); /* 1 column for mobile phones */
  }
}
/* Responsive styles for small screens */
@media (max-width: 768px) {
  .searching {
    margin-left: 10%; /* Adjust this value as needed */
  }
}

@media (max-width: 480px) {
  .searching {
    margin-left: 5%; /* Adjust this value as needed */
    margin-top: 5%; /* Adjust this value as needed */
  }
}

.module-button {
  display: flex;
  flex-direction: column; /* Stack icon and text vertically */
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center; /* Center-align text */
}

.module-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px); /* Slight lift on hover */
}

.folder-icon {
  font-size: 28px; /* Size of the folder icon */
  color: #007bff;
}

.exam-name {
  font-size: 14px; /* Adjust font size as needed */
  display: -webkit-box; /* Enable line clamping */
  -webkit-line-clamp: 2; /* Limit text to 2 lines */
  -webkit-box-orient: vertical; /* Set text orientation */
  overflow: hidden; /* Hide overflow */
  text-overflow: ellipsis; /* Add ellipsis for overflow */
  line-height: 1.4; /* Adjust line height for better readability */
  max-width: 100%; /* Ensure text doesn't overflow the button */
  text-align: center; /* Center-align text */
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .button-container {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for smaller screens */
  }
}

@media (max-width: 768px) {
  .button-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }

  .folder-icon {
    font-size: 28px; /* Smaller icon for smaller screens */
  }

  .exam-name {
    font-size: 12px; /* Smaller font size for smaller screens */
  }
}

@media (max-width: 480px) {
  .button-container {
    grid-template-columns: repeat(1, 1fr); /* 1 column for mobile devices */
  }

  .folder-icon {
    font-size: 24px; /* Even smaller icon for mobile devices */
  }

  .exam-name {
    font-size: 12px; /* Even smaller font size for mobile devices */
  }
}
/* Responsive adjustments */
@media (max-width: 768px) {
  /* For screens less than 768px (mobile) */
  .button-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
  }

  .module-button {
    width: 80%; /* Two columns */
    margin: 1%; /* Small margin between buttons */
  }
  .classification {
    margin-left: 0;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  /* For tablets */
  .button-container {
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
  }
  .module-button {
    width: 80%; /* Three columns */
    margin: 1%; /* Small margin between buttons */
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .classification {
    margin-top: 20%;
    margin-left: 20%;
    color: #004680;
  }
  /* For mini laptops */
  .button-container {
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
  }
  .module-button {
    width: 80%; /* Four columns */
    margin: 1%; /* Small margin between buttons */
    padding: 8px; /* Smaller padding */
    font-size: 12px; /* Smaller font size */
  }

  .folder-icon {
    font-size: 24px; /* Smaller icon size */
  }

  .exam-name {
    font-size: 12px; /* Smaller font size */
  }
}
@media (min-width: 1440px) {
  /* For larger screens */
  .button-container {
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
  }
}

.package-container {
  display: flex;
  flex-wrap: wrap; /* Ensures responsiveness */
  justify-content: center; /* Centers the package divs */
  gap: 15px; /* Adds spacing between divs */
}

.package-div {
  flex: 1; /* Equal width distribution */
  min-width: 260px; /* Ensures it doesn't shrink too much */
  max-width: 350px; /* Prevents it from getting too wide */
  background-color: white;
  padding: 2px 3px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2px;
}

.package-div h3 {
  font-size: 14px;
  margin-top: 2px;
}
.package-div p,
.package-div strong {
  font-size: 14px; /* Reduce text size */
  margin: 2px 0; /* Reduce spacing between text */
}

.package-div hr {
  margin: 5px 0; /* Reduce space around horizontal line */
  color: #007a8b;
}
.subscribe-btn {
  display: inline-block;
  font-size: 14px;
  padding: 6px 8px; /* Reduce button size */
  margin-top: 5px; /* Reduce spacing above button */
}
.subscribe-btn {
  width: auto;
  background-color: #0093e9;
  color: white;
  border-radius: 6px;
}
.container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.box {
  border: 2px dashed #ccc;
  padding: 10px;
  min-height: 100px;
  width: 200px;
  background-color: #f9f9f9;
  margin-bottom: 20px;
}
.item {
  padding: 10px;
  margin: 5px 0;
  background-color: #e0f7fa;
  border: 1px solid #b2ebf2;
  cursor: grab;
}
.item.dragging {
  opacity: 0.5;
}
.actions-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.source-container {
  display: flex;
  gap: 10px;
}
.order {
  display: none;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
th {
  background-color: #007bff;
  color: white;
  text-transform: uppercase;
  font-size: 11px;
}
tr:nth-child(even) {
  background-color: #f9f9f9;
}
tr:hover {
  background-color: #f1f1f1;
}
input[type="checkbox"],
input[type="radio"] {
  transform: scale(1.2);
  cursor: pointer;
}
.notice {
  background-color: #f14c8b;
  padding: 10px;
  border-radius: 5px;
  width: auto;
}
.notice-button {
  background-color: #007bff;
  color: white;
  border-radius: 6px;
  padding: 5px 10px;
  text-decoration: none;
  cursor: pointer;
}
.notice-button:hover {
  background-color: #0056b3;
}
/* Responsive Table */
@media screen and (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  th,
  td {
    padding: 10px;
  }
  .notice {
    background-color: #d4edda;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 30px;
    margin-top: -20px;
  }
}
h1 {
  font-size: 2.5em;
  color: #333;
}

/* Styling for button-container */
.button-container button {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Styling for module-button */
.module-button {
  width: 70%;
  padding: 4px 8px;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Hide buttons beyond the 4th */
.module-button:nth-child(n + 5) {
  display: none;
}

/* Show hidden buttons when toggled */
.module-button.show {
  display: flex;
}

/* Hide buttons beyond the 4th 
.path-container .path:nth-child(n+5) {
  display: none;
}
/* Show hidden buttons when toggled
.path-container .path.show {
  display: block !important;
}
/* Popup styles */
.popup-overlay1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content1 {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  max-width: 1000px;
  width: 90%;
  position: relative;
}

.close-button1 {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}
.view-more-button {
  padding: 8px 12px;
  background-color: #f4f4f4;
  color: #004680;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 2px;
  font-size: 12px;
}
.view-more-button i {
  font-weight: 700;
  font-size: 16px;
  color: #004680;
  margin-right: 5px;
}
#view {
  width: 50%;
  margin-left: 45%;
  padding: 4px 4px 4px 4px;
}
.view-more-button:hover {
  background-color: #004680;
  color: #fff;
}
.view-more-button i:hover {
  color: white; /* Color when hovered */
}

@media (max-width: 768px) {
  .view-more-button {
    padding: 8px 12px;
    background-color: #f4f4f4;
    color: #004680;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 2px;
    font-size: 12px;
  }
  .view-more-button i {
    font-weight: 700;
    font-size: 16px;
    color: #004680;
    margin-right: 5px;
  }
  #view {
    width: 50%;
    margin-left: 25%;
    padding: 4px 4px 4px 4px;
  }
  .button-container button {
    font-size: 12px;
  }
}

.highlighted-placeholder {
  display: none;
  height: 10vh; /* Match the height of .highlighted-course */
}
.highlighted-course.fixed + .highlighted-placeholder {
  display: block;
}

@media (max-width: 768px) {
  .highlighted-course.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 40px;
    margin-left: 0;
    margin-top: -5px;
  }
}
