* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #4891ff;
  --secondary-color: #4880ff;
  --light-color: #f4f4f6;
  --dark-color: #111;
  --text-color: #484849;
}

::-webkit-scrollbar {
  width: 6px;  
  height: 6px; 
}

::-webkit-scrollbar-track {
  background: var(--light-color); 
  border-radius: 10px; 
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color); 
  border-radius: 10px; 
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color); 
}

::-webkit-scrollbar-button {
  display: none;
}


body {
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #333;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/*Navbar*/
.navbar {
  background: #fff;
  padding: 20px;
}

.navbar .main-menu ul {
  display: flex;
}

.navbar ul li a {
  padding: 10px 20px;
  display: block;
  font-weight: 600;
  transition: 0.5s;
}

.navbar ul li a:hover {
  color: var(--primary-color);
}

.navbar .home-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar ul li a i {
  margin-right: 10px;
}

.navbar ul li:last-child a {
  margin-left: 10px;
}

.navbar .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.sub-logo {
  padding: 5px;
  background-color: var(--primary-color);
  border-radius: 5px;
  color: var(--light-color);
  font-size: 0.9rem;
}

/* Hero */
.hero {
  margin-bottom: 50px;
}

.hero .home-container {
  background: url("../images/hero-bg.png") no-repeat;
  background-size: contain;
  background-position: center bottom;
  height: 550px;
}

.hero .hero-content {
  width: 70%;
}

.hero .hero-text {
  width: 70%;
  margin-bottom: 20px;
}

/* Lessons */
.lessons {
  margin: 40px;
}

.lessons .lessons-heading {
  width: 700px;
  margin-bottom: 40px;
}

.lessons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.lesson-level {
  padding: 5px;
  width: 50px;
  border-radius: 20px;
  text-align: center;
}

.lesson-information-grid {
  display: grid;
  margin-top: 20px;
  margin-bottom: 20px;
  grid-template-columns: 1fr 1fr 1fr;
  /* Three columns with equal width */
  grid-gap: 10px;
  /* Adjust gap between grid items */
}

.lesson-grid-item p {
  color: #808080;
}

.e {
  background-color: #afe0ae;
  color: #54bc4b;
}

.m {
  background-color: #fbeb96;
  color: #b99a00;
  width: 80px;
}

.h {
  background-color: #f48686;
  color: #be3333;
}


/* About Us, Blog, Terms */
 .blog, .terms {
  padding-bottom: 60px;

}

.full-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
  padding: 0;
}

/* Team Members Section */
.team-members {
  margin: 40px 0;
  box-sizing: initial;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.team-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: 400px;
}

.team-photo {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-card h3 {
  margin: 0;
  font-weight: 600;
}

.profile-title {
  font-weight: 550;
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 15px;
}

.profile-icons {
  margin-top: 5px;
}

.profile-icons i {
  margin: 7px 2px 0 2px;
  font-size: 19px;
}

.profile-text {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: normal;
}


/* Testimonials */
.testimonials {
  padding: 20px;
  text-align: center;
}

.testimonials .testimonials-heading {
  width: 700px;
  margin-bottom: 40px;
}

.testimonials .testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

.dash-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.testimonials .card p:nth-child(2) {
  margin-top: 30px;
  font-weight: bold;
}

.fa-star {
  color: var(--primary-color);
}

/* Pricing */
.pricing .pricing-grid {
  display: flex;
  justify-content: center;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  margin: 50px 0 50px;
}

.pricing .pricing-card-subheading {
  margin-bottom: 30px;
}

.pricing .pricing-card-price {
  margin-bottom: 30px;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

.pricing ul {
  margin: 30px 0;
}

.pricing ul li {
  margin-bottom: 20px;
}

.pricing ul li i {
  margin-right: 10px;
}

.pricing-footer {
  margin: 30px 0;
}

/* FAQ */
.faq {
  padding: 40px 0;
}

.faq .faq-group {
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.faq .faq-group .faq-group-header {
  padding: 20px 0;
  margin-bottom: 15px;
  position: relative;
}

.faq .faq-group .faq-group-header h4 {
  font-weight: 600;
  width: 95%;
}

.faq .faq-group .faq-group-header i {
  position: absolute;
  right: 0;
  top: 35px;
  font-size: 1.3rem;
  cursor: pointer;
}

.faq-content {
  display: none;
}

.faq-content.active {
  display: block;
}

.faq .faq-group .faq-group-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.faq .faq-group .faq-group-body.open {
  display: block;
  max-height: 1000px;
}

.faq ul.faq-menu {
  max-width: 400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ddd;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
}

.faq ul.faq-menu li {
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  transition: transform 0.6s ease-in-out, background-color 0.3s ease, color 0.3s ease;
}

.faq ul.faq-menu li:hover {
  transform: scale(1.05);
}

.faq ul.faq-menu li.active {
  background-color: var(--primary-color);
  color: #fff;
}

/* footer */
.footer {
  padding: 40px 0;
}

.footer h4 {
  margin-bottom: 10px;
}

.footer ul li {
  line-height: 2.5;
}

.footer a {
  color: #ccc;
}

.footer i {
  font-size: 1.5rem;
  margin-right: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.footer .card {
  margin: 20px 30px 30px 0;
}

.footer input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 20px 0;
}

/* Utility Classes */
.home-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.tests-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lessons-container, .dash-container, .question-container, .tests-container, .information-container {
  padding: 40px 15px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Card */
.card {
  background: #fff;
  color: #000;
  border-radius: 10px;
  padding: 20px;
  max-width: 500px;
}

.card blockquote {
  margin: 6px 0 6px 0;
  font-style: italic;
}

.lesson-card {
  background: #fbfbfb;
  border-radius: 10px;
  padding: 30px;
}


.dash-container {
  width: 100%;
}

.dash-card {
  background: #fbfbfb;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.dash-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dash-card p {
  color: #333;
}

.dash-card h3 {
  margin: 10px 0;
  font-weight: 600;
  font-size: 1.3em;
  font-family: 'Poppins', sans-serif;
}

.dash-card .icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  padding: 10px;
  height: 50px;
  width: 50px;
}

.dash-card i {
  font-size: 1.4em;
}

.chart-container {
  background: #fbfbfb;
  border-radius: 10px;
  width: 100%;
  height: 350px;
  margin: 0 auto;
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
  padding: 10px;
  padding-bottom: 80px;
}

.chart-container p {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 10px 0 10px;
}

canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Individual card styles */
.dash-card.total-user .icon-container {
  background-color: #e0e0ff;
}

.dash-card.total-user i {
  color: #5f5fff;
}

.dash-card.completed-tests .icon-container {
  background-color: #ffe0e0;
}

.dash-card.completed-tests i {
  color: #ff5f5f;
}

.dash-card.active-tests .icon-container {
  background-color: #D9F7E8;
}

.dash-card.active-tests i {
  color: #48D990;
}

.dash-card.completed-lessons .icon-container {
  background-color: #FFF4D7;
}

.dash-card.completed-lessons i {
  color: #FFC53C;
}

/* Button */
.btn {
  display: inline-block;
  padding: 13px 20px;
  background-color: var(--light-color);
  color: #333;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: 0.5s;
}

.btn:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  margin-right: 10px;
}

.btn-secondary {
  background-color: var(--primary-color);
  color: #fff;
  margin-right: 10px;
  padding: 10px 13px;
  border-radius: 50%;
}

.btn-dark {
  background-color: var(--dark-color);
  color: #fff;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-card {
  background-color: var(--primary-color);
  color: #fff;
  width: 100%;
}

.fa-laptop {
  margin-right: 5px;
}

/* Text Classes */
.text-xxl {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 40px 0 20px;
}

.text-xl {
  font-size: 2.2rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 40px 0 20px;
}

.text-lg {
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 30px 0 20px;
}

.text-md {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 20px 0 10px;
}

.text-sm {
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 10px 0 5px;
}

.text-xs {
  font-size: 0.7rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 10px 0 5px;
}

.text-center {
  text-align: center;
}

.text-secondary {
  color: var(--text-color);
}

.text-main {
  color: var(--primary-color) ;
}

.text-etc {
  font-size: 1rem;
}

/* Background */
.bg-primary {
  background: var(--primary-color);
  color: #fff;
}

.bg-light {
  background: var(--light-color);
  color: #333;
}

.bg-dark {
  background: var(--dark-color);
  color: #fff;
}

.bg-black {
  background: #000;
  color: #fff;
}

/* Hamburger Button */
.hamburger-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger-button .hamburger-line {
  width: 30px;
  height: 3px;
  background: #333;
  margin: 6px 0;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100%;
  z-index: 100;
  background-color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0, 0, 2);
  transition: right 0.3s ease-in-out;
}

.mobile-menu ul {
  margin-top: 100px;
  padding-right: 10px;
}

.mobile-menu ul li {
  margin: 10px;
}

.mobile-menu ul li a {
  font-size: 20px;
  transition: 0.3px;
}

.mobile-menu.active {
  right: 0;
}

/* Reset Paeg */
.reset-container {
  position: relative;
  height: 100vh;
  background-color: var(--secondary-color);
  background-image: url("/images/background.svg");
  background-size: cover;
  background-repeat: no-repeat;
}

.reset-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0px 80px 30px 80px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  white-space: normal; /* Ensure text wraps */
  word-wrap: break-word; /* Ensure long words are broken */
  max-width: 500px; /* Added max-width */
  width: 100%; /* Ensure it takes up available width up to max-width */
}

.reset-content {
  margin-top: 40px;
}

.reset-form button {
  margin: 15px 0 15px 0;
  font-size: 1rem;
}

/* Login Page */
.login-container {
  position: relative;
  height: 100vh;
  background-color: var(--secondary-color);
  background-image: url("/images/background.svg");
  background-size: cover;
  background-repeat: no-repeat;
}

.login-content {
  margin-top: 40px;
}

.login-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0px 60px 60px 60px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-form button {
  margin: 5px 0 15px 0;
  font-size: 1rem;
}

.login-form u {
  color: var(--secondary-color);
}

.input-group input {
  width: 100%;
  padding: 10px;
  background-color: #f1f4f9;
  border: 1px solid #D5D5D5;
  border-radius: 5px;
}

.input-group label {
  text-align: left;
  display: block;
}

.input-group .collection {
  display: flex;
  align-items: center;
}

.input-group .collection label:first-child {
  margin-right: auto;
}

.input-group .collection label:last-child {
  margin-left: auto;
  cursor: pointer;
}

.input-group .collection label:last-child:hover {
  opacity: 0.8;
  transition: 0.1s ease-in-out;
}

/* Register Page */
.register-container {
  position: relative;
  height: 100vh;
  background-color: var(--secondary-color);
  background-image: url("/images/background.svg");
  background-size: cover;
  background-repeat: no-repeat;
}

.register-content {
  margin-top: 40px;
}

.register-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0px 80px 40px 80px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  white-space: normal; /* Ensure text wraps */
  word-wrap: break-word; /* Ensure long words are broken */
  max-width: 500px; /* Added max-width */
  width: 100%; /* Ensure it takes up available width up to max-width */
}

.register-form button {
  margin: 10px 0 10px 0;
  font-size: 1rem;
}

.register-form u {
  color: var(--secondary-color);
}

.input-group-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
}

.input-group-check {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.input-group-check label {
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: normal;
  margin-left: 5px;
}

/* Check Input */
.input-group-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  position: relative;
}

.input-group-check input[type="checkbox"]::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.input-group-check input[type="checkbox"]:checked::before {
  background-color: var(--secondary-color);
}

/* 404 Page */
.not-found-container {
  position: relative;
  height: 100vh;
  background-color: var(--secondary-color);
  background-image: url("/images/background.svg");
  background-size: cover;
  background-repeat: no-repeat;
}

.not-found-content {
  margin-top: 40px;
}

.not-found-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0px 80px 40px 80px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
.sidebar-container {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: #fff;
  width: 250px;
  height: 100vh;
  z-index: 2;
  margin-top: 61px;
  transition: width 0.3s ease-in-out;
}


.sidebar-border {
  width: 100%;
  height: 1px;
  background-color: #E0E0E0;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: -1;
}

.sidebar i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.sidebar li:hover {
  transform: scale(1.05);
}

.sidebar li {
  display: flex;
  align-items: center;
  background-color: transparent;
  margin-bottom: 10px;
  padding: 15px 60px 15px 20px;
  border-radius: 6px;
  transition: 0.5s;
}

.sidebar a {
  display: flex;
  align-items: center;

  color: black;
  text-decoration: none;
}


/* Sidebar - Active style */
.sidebar li.active {
  background-color: var(--secondary-color);
  color: white;
}

.sidebar li.active a {
  color: white;
}

.sidebar a:hover {
  color: gray;
}

.sidebar li {
  position: relative;
}

.sidebar li.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -26px;
  height: 100%;
  width: 5px;
  background-color: var(--secondary-color);
  border-radius: 0 6px 6px 0;
}

/* Collapsed Sidebar Styles */
.sidebar-collapsed {
  width: 70px;
  align-items: center;
}

.sidebar-collapsed .sidebar {
  width: 100%;
}

.sidebar-collapsed li {
  justify-content: center;
  padding: 20px 0;
}

.sidebar-collapsed li a {
  justify-content: center;
  padding: 0;
}

.sidebar-collapsed li a i {
  margin: 0;
}

.sidebar-collapsed .dashboard-logo {
  display: none;
}

.sidebar-collapsed li.active a i {
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  padding: 10px;
}

.sidebar-collapsed li.active {
  background-color: transparent;
}

.sidebar-collapsed li.active::before {
  content: none;
}

.sidebar-collapsed li a span {
  display: none;
}

/* Dashboard Navbar */
.dashboard-navbar {
  position: fixed;
  background-color: #fff;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  z-index: 5;
}

.dashboard-navbar .dashboard-container {
  position: relative;
  width: 100%;
  padding-left: 0;
}

.dashboard-navbar .main-menu ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding-left: 60px;
}

.dashboard-navbar .main-menu ul li a {
  padding: 10px 20px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.dashboard-navbar .main-menu ul li:first-child {
  padding: 0;
  margin: 0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.dashboard-navbar .main-menu ul li a img {
  width: 35px;
  height: auto;
}

.dashboard-navbar .dashboard-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 20px;
}

.profile-picture {
  margin-left: 10px;
}

/* Dashboard Lessons */
.content {
  transition: padding-left 0.3s ease-in-out;
  padding-left: 260px;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: separate;
  margin: 20px 0;
  border-spacing: 0;
  border-radius: 10px;
  border-left: 0.6px solid #D5D5D5;
  border-top: 0.6px solid #D5D5D5;
  border-right: 0.6px solid #D5D5D5;
}

thead tr {
  background-color: #fff;
}

th, td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 0.6px solid #D5D5D5;
}

tbody tr {
  background-color: #fff;
  opacity: 0;
  transform: translateY(-20px);
  transition:
      opacity 0.5s ease,
      transform 0.5s ease,
      background-color 0.3s ease-in-out;
}

tbody tr.show {
  opacity: 1;
  transform: translateY(0);
}


tbody tr:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

.status {
  padding: 5px 10px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  text-align: center;
}

.completed {
  background-color: #4CAF50;
}

.in-progress {
  background-color: #FF9800;
}

.error {
  background-color: #F44336;
}

.not-started {
  background-color: #00BCD4;
}

.sidebar-collapsed+.content {
  padding-left: 70px;
}

thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

.search-filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #757575;
  overflow: visible;
}


.search-filter-container input {
  padding: 8px;
  border: 0.6px solid #D5D5D5;
  border-radius: 5px;
  font-size: 16px;
  flex-grow: 1;
  max-width: 300px;
}

.search-filter-container select {
  display: none;
}

.search-filter-container .custom-dropdown {
  padding: 9px;
  border: 0.6px solid #D5D5D5;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  background-color: #fff;
  width: 200px;
}

/* Styles for the dropdown menu */
.custom-dropdown-menu {
  opacity: 0;
  right: 0;
  top: calc(100% + 10px);
  position: absolute;
  background: white;
  border-radius: 5px;
  z-index: 1000;
  width: 100%;
  border-left: 0.6px solid #D5D5D5;
  border-bottom: 0.6px solid #D5D5D5;
  border-right: 0.6px solid #D5D5D5;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.custom-dropdown-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.custom-dropdown-menu a {
  padding: 8px 12px;
  display: block;
  text-decoration: none;
}

.custom-dropdown-menu a:hover {
  background-color: #f1f1f1;
}

.search-results-container tr {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.search-results-container.show tr {
  opacity: 1;
  transform: translateY(0);
}

/* Question */
.question-container, .information-container {
  position: relative;
  border-radius: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.information-content {
  height: 100%;
  border-radius: 14px;
  padding: 15px 30px;
  background-color: #fff;
  text-align: center;
  overflow: hidden;
}

.information-content p {
  text-align: left;
  margin: 20px 0;
}

.information-content b, .information-container u {
  font-size: 1.2rem;
  margin-top: 20px;
  display: block;
}

.information-content h2 {
  margin-top: 20px;
}

.information-content ul {
  list-style-type: disc;
  text-align: left;
  margin: 20px;
}

.information-content li {
  margin: 20px;
}

.information-content img {
  float: left; 
  margin-right: 15px;
  width: 100%;
  max-width: 100px; 
  height: auto; 
  vertical-align: middle;
}

.information-content div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}

.questions-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Creates two columns */
  gap: 15px;
}

.questions-list li {
  background-color: #fff;
  padding: 15px;
  color: var(--dark-color);
  border-radius: 14px;
  display: flex;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.questions-list li:hover {
  transform: scale(1.05);
}

.questions-list li.active {
  border: 1px solid var(--secondary-color);
}

.question-title {
  font-size: 1.2rem;
  color: var(--dark-color);
  text-align: center;
  background-color: #fff;
  padding: 20px;
  font-weight: bold;
  border-radius: 14px;
  margin-bottom: 20px;
}

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

.icons {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  gap: 15px;
  margin: 40px 0 20px;
}

.icons i {
  font-size: 1.8rem;
}

.question-title {
  font-size: 1.1rem;
}

.navigation-arrows {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  align-items: center;

}

.question-counter {
  padding: 3px 10px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 15px;
  font-size: 1.1rem;
}

.navigation-arrows i {
  font-size: 1.5rem;
}

.close {
  cursor: pointer;
  transition: .2s ease-in-out;
}

.close:hover {
  color: var(--secondary-color);
}

.warning {
  position: absolute;
  text-align: center;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 15px;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, bottom 1s ease;
}

.button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button-enabled {
  opacity: 1;
  cursor: pointer;
}

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}

.loader div {
  width: 50px;
  aspect-ratio: 1;
  --_c:no-repeat radial-gradient(farthest-side,var(--primary-color) 92%,#0000);
  background: 
    var(--_c) top,
    var(--_c) left,
    var(--_c) right,
    var(--_c) bottom;
  background-size: 12px 12px;
  animation: l7 1s infinite;
}

.h-captcha {
  margin-top: 15px;
}

@keyframes l7 {to{transform: rotate(.5turn)}}

.explanation {
  display: none;
  margin-top: 10px;
  padding: 3px 10px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
  text-align: center;
}

.answer-container li.selected {
  position: relative;
  padding-right: 30px;
  /* Make space for the icon */
}

.answer-container li.selected::after {
  content: '\f245';
  font-family: 'FontAwesome';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.answer-container li.correct::after {
  color: #4CAF50;
}

.answer-container li.incorrect::after {
  color: #F44336;
}

.slide {
  animation: slideUpAndDown 3s ease;
}

.slide2 {
  animation: slideUpAndDown2 3s ease;
}


@keyframes slideUpAndDown {
  0%, 100% {
      bottom: 0px;
      opacity: 0;
  }
  50% {
      bottom: 30px; 
      opacity: 1;
  }
}

@keyframes slideUpAndDown2 {
  0%, 100% {
      bottom: -80px; 
      opacity: 0;
  }
  50% {
      bottom: -50px;
      opacity: 1;
  }
}

/* Media Queries */
@media (max-width: 960px) {
  .text-xxl {
      font-size: 2.5rem;
  }
}

@media (max-width: 670px) {
  .navbar .main-menu {
      display: none;
  }

  .navbar .hamburger-button, .dashboard-navbar .hamburger-button {
      display: block;
  }

  .hero .home-container {
      background: url("../images/hero-bg-mobile.png") no-repeat;
      background-size: 350px 400px;
      background-position: bottom;
      height: 770px;
  }

  .hero .hero-content,
  .hero .hero-text {
      width: 100%;
      text-align: center;
  }

  .hero .hero-buttons .btn {
      margin-bottom: 10px;
      display: block;
      width: 100%;
  }

  .hero .hero-buttons .btn-primary {
      margin-bottom: 10px;
      display: block;
      width: 100%;
      margin-right: 10px;
  }

  .testimonials {
      max-width: 100%;
      text-align: center;
  }

  .testimonials .testimonials-grid,
  .pricing .pricing-grid,
  .footer .footer-grid,
  .lessons,
  .lessons-grid,
  .questions-list,
  .dash-cards-grid {
      grid-template-columns: 1fr;
  }

  .footer .card {
      margin-right: 0%;
  }

  .footer .footer-grid>div {
      text-align: center;
  }

  /* Text */
  .text-xl {
      font-size: 1.9rem;
  }

  .text-lg {
      font-size: 1.5rem;
  }

  .text-md {
      font-size: 1.1rem;
  }

  .register-form,
  .login-form,
  .reset-form,
  .not-found-form {
      width: 90%;
      padding: 0 15px 15px 15px;
  }

  .input-group input {
      font-size: 14px;
  }

  .input-group label {
      font-size: 14px;
  }
}

@media (max-width: 500px) {
  .text-xxl {
      font-size: 2rem;
  }
}

