.page-layout {
  display: flex;
  position: relative;
  width: 100%;
  z-index: 1;
  display: flex;
  position: relative;
  width: 100%;
  height: 90vh;
  z-index: 1;
  overflow-y: hidden;
  border: none;
}

.page-content {
  flex: 1;
}

.sidebar {
  position: relative;
  width: 37px;
  height: 100%;
  background: #010618;
  flex-shrink: 0;
  padding: 6px 0px;
  transition: all 0.5s ease;
}

.sidebar.open {
  width: 200px;
}


.sidebar .logo-details {
  height: 60px;
  display: flex;
  align-items: start;
  padding: 10px;
  justify-content: start;
  position: relative;
}



.sidebar.open .logo-details,
.sidebar.open .logo-details {
  opacity: 1;
}

.sidebar .logo-details #btn {
  position: relative;
  transform: translateY(-50%);
  font-size: 22px;
  text-align: left;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.5s ease;
}

.sidebar .logo-details img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.sidebar.open .logo-details #btn img {
  text-align: left;
}

.sidebar i {
  color: #fff;
  height: 60px;
  min-width: 50px;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
}

.sidebar .nav-list {
  margin-top: 20px;
  height: 100%;
}

.nav-list {
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 100px;
}

.sidebar li {
  position: relative;
  margin: 8px 0;
  list-style: none;
}

.sidebar input {
  font-size: 15px;
  color: #fff;
  font-weight: 400;
  outline: none;
  height: 50px;
  width: 100%;
  border: none;
  border-radius: 12px;
  transition: all 0.5s ease;
  background: #1d1b31;
}

.sidebar.open input {
  padding: 0 20px 0 50px;
  width: 100%;
}

.sidebar .bx-search {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 22px;
  background: #1d1b31;
  color: #fff;
}

.sidebar .bx-search:hover {
  background: #fff;
  color: #11101D;
}

.sidebar.open .bx-search:hover {
  background: #1d1b31;
  color: #fff;
}

.sidebar li i {
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  border-radius: 12px;
}



.sidebar li a {
  display: flex;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
  color: #fff;
}

.links_name a {
  display: flex;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
  color: #fff;
}

.sidebar li a .links_name {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  height: 45px;
  border-radius: 8px;
  padding: 0 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}

.sidebar.open li a .links_name {
  opacity: 1;
  pointer-events: auto;
}



.sidebar li .tooltip {
  position: absolute;
  top: -20px;
  left: calc(100% + 15px);
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: 0s;
}

.sidebar li:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
  top: 50%;
  transform: translateY(-50%);
}

.sidebar.open li .tooltip {
  display: none;
}

.sidebar li a.active,
.sidebar li a:hover {
  color: #0CFE25;
  font-weight: 500;
}


.sidebar.open .home-section {
  left: 250px;
  width: calc(100%-250px);
}

.home-section .text {
  display: inline-block;
  color: #9AAEC4;
  font-size: 25px;
  font-weight: 500;
  margin: 18px;
}


.submenu .sub-menu {
  display: none;
  list-style: none;
  padding-left: 20px;
}

.sidebar.open .submenu.active .sub-menu {
  display: block;
}

.submenu .menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  height: 30px;
  border-radius: 8px;
  padding: 0 10px;
  color: #9AAEC4;
  white-space: nowrap;
  pointer-events: none;
  transition: 0.4s;
  opacity: 0;
  background: transparent;
}

.sidebar.open .submenu.active .sub-menu {
  display: block;
}

/*
.submenu .menu-item:hover {
  border: 1px solid #0CFE25;
  background: rgba(12, 254, 37, 0.1);
}
*/

.submenu .menu-item .arrow {
  transition: transform 0.3s ease;
}

.submenu.active .menu-item .arrow {
  transform: rotate(180deg);
}

.shigjeta-sidebar.rotated {
    transform: rotate(180deg);
    color: #0CFE25;
}

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

.links_name1 .links_name {
  font-size: 16px;
}



.sub-menu li a {
  display: block;
  padding: 0px 0px;
  font-size: 14px;
  color: #9AAEC4;
}





.sidebar.open li a .links_name {men
  opacity: 1;
  pointer-events: auto;
}

.sub-menu li a:hover {
  color: #0CFE25;
}

.sidebar.open .submenu .menu-item {
  opacity: 1;
  pointer-events: auto;
}


/*=============== CARD SLIDER ===============*/
.content {
  width: 100%;
  background: #010618;
  border-left: 1px solid #0CFE25;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1;
}


.content::-webkit-scrollbar {
  width: 10px;
}

.content::-webkit-scrollbar-track {
  background: #010618;
  border-left: 1px solid #0CFE25;
}

.content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0CFE25, #09a61a);
  border-radius: 10px;
  border: 2px solid #010618;
}

.content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #13ff32, #0CFE25);
}


.content {
  scrollbar-width: thin;
  scrollbar-color: #0CFE25 #010618;
}


.card-section2 {
  background-color: var(--black-color);
  display: flex;
  padding: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
}



.card {
  width: 300px;
  min-width: 300px;
  height: auto;
  background: #010618;
  background: linear-gradient(90deg, rgba(1, 6, 24, 1) 0%, rgba(22, 33, 54, 1) 100%);
  border-radius: 5px;
  position: relative;
  z-index: 10;
  margin: 25px;
  min-height: 300px;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .08);
  border: 2px solid #fff;
}



.card:hover {
  transform: translate(0, -10px);
  box-shadow: 0px 17px 35px 0px rgba(0, 0, 0, .07);
  border: 2px solid #0CFE25;

  .card-text {
    color: #0CFE25;
  }
}

.card-info {
  color: #fff;
  padding-left: 20px;
  padding-top: 20px;
}

.card-h4 {
  color: #9AAEC4;
  gap: 20px;
  font-family: "Jersey 25", sans-serif;
  font-weight: 300;
  line-break: anywhere;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #9AAEC4;
}

.card-h4 .icon {
  width: 20px;
  height: 20px;
  color: #fff;
  transition: color 0.3s ease;
}

.card .card-text {
  padding: 20px;
  color: #fff;
  transition: all 0.3s ease;
}

.card h2 {
  font-size: 2rem;
}

p {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 10px;
  padding-bottom: 30px;
}

.card-discover {
  color: #0CFE25;
  font-family: "Jersey 25", sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  padding-top: 20px;
  cursor: pointer;
}

.card .card-img {
  position: absolute;
  bottom: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9AAEC4;
  transition: all .35s ease-out;
}

.card img {
  height: 200px;
}

@media (max-width: 576px) {
  .card {
    width: 350px;
    min-width: 200px;
    height: 340px;
    min-height: 200px;
  }

  .card h2 {
    font-size: 2rem;
  }

  p {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 10px;
  }
}

.card-content2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 0px;
  width: 100%;
  background-color: var(--black-color);
  padding: 0px;
  justify-items: center;
  align-items: center;
  overflow-y: hidden;
}



@media screen and (max-width: 1666px) {
  .slider-title {
    width: 50%;
  }
}


@media screen and (max-width: 996px) {

  .card-discover {
    font-size: 1rem;
  }

  .slider-buttons {
    display: flex;
    gap: 30px;
    padding: 50px;
  }

  .btn {
    min-width: 30px;
    height: 30px;
    border-radius: 20px;
    border: 0px;
    outline: none;
    cursor: pointer;
    z-index: 9999;
    transition: all .25s ease;
  }

  .btn img {
    min-width: 30px;
    height: 30px;
    transition: all .25s ease;
  }
}

/*=============== lesson ===============*/

.lesson-container {
  width: 100%;
  color: #ccc;
  padding: 30px;
  margin-top: 0px;
}

.breadcrumb {
  font-size: 1.2rem;
  color: #00ff55;
  margin-bottom: 20px;
}

.back-link a {
  color: #00ff55;
  margin-bottom: 20px;
  cursor: pointer;
}

.lesson-header2 {
  display: flex;
  justify-content: space-between;
}




.lesson-header h1.module-title {
  color: #00ff55;
  font-size: 32px;
  margin: 5px 0;
  margin-bottom: 20px;
}

.lesson-header .chapter-title {
  color: #00ff55;
  font-size: 20px;
  margin-bottom: 20px;

  font-family: var(--body-font);
}

.lesson-header .lesson-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: #9aaec4;
  margin-left: 40px;
}

.lesson-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #9AAEC4;
  margin-bottom: 40px;
  margin-left: 40px;

}

.exercises h3 {
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: 2px;
}




.tabs {
  display: flex;
  transform: translateY(2px);
}

.tab {
  background: transparent;
  border-top: 1px solid #00ff55;
  border-left: 1px solid #00ff55;
  border-right: 1px solid #00ff55;
  border-bottom: none;
  color: #aaa;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.tab.active {
  background: #071021;
  color: #00ff55;
}

.exercise-box {
  background: #071021;
  border: 1px solid #00ff55;
  padding: 20px;
  display: none;
  border-radius: 5px;
}

.exercise-box.active {
  display: block;
}

.exercise-text {
  margin-bottom: 20px;
  color: #aaa;
  font-size: 14px;

}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #ccc;
}

.option input {
  display: none;
}

.option.correct span {

  color: #00ff55;
}

.exercise-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  color: #9AAEC4;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.5s ease;
}



.submit1 {
  color: #0CFE25;
}

.exercise-nav a .prev1 .next1 {
  color: #9AAEC4;
  cursor: pointer;
  transition: all 1s ease;
}

.exercise-nav a:hover {
  color: #0CFE25;
}


.lesson-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.btn-back,
.btn-next {
  background: transparent;
  border: 1px solid #00ff55;
  padding: 10px 25px;
  cursor: pointer;
  color: #ccc;
  transition: all 0.3s ease;
}

.btn-next {
  background: #00ff55;
  color: #000;
  font-weight: bold;
}

.btn-back:hover,
.btn-next:hover {
  opacity: 0.8;
}

.highlight {
  background: rgba(0, 255, 85, 0.1);
  border-left: 3px solid #00ff55;
  padding-left: 5px;
}




.back-link {
  color: #00ff55;
  cursor: pointer;
  margin-bottom: 40px;
  display: inline-block;
}

.module-title {
  color: #00ff55;
  font-size: 28px;
  font-family: var(--body-font);
}

.lesson-desc1 {
  max-width: 500px;
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: var(--body-font);
}

.start-btn {
  background: transparent;
  border: 1px solid #00ff55;
  padding: 10px 20px;
  color: #00ff55;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
}

.start-btn:hover {
  background: #00ff55;
  color: #000;
}

.progress-card {
  border: 1px solid #00ff55;
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
  max-width: 250px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
}

.progress-header h5 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1rem;
}

.progress-bar {
  background: #9AAEC4;
  border-radius: 4px;
  height: 5px;
  margin-bottom: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #00ff55;
  width: 0%;
  transition: width 0.5s;
}

.chapters {
  margin: 30px 0;
  color: #ccc;
}

.chapters h2 {
  font-size: 22px;
  color: #9AAEC4;
  margin-bottom: 15px;
  font-family: var(--body-font);

}

.chapter {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 6px;
}

.chapter h3 {
  font-size: 16px;
  color: #9AAEC4;
  margin-bottom: 15px;
  margin-bottom: 5px;
  font-family: var(--body-font);
}

.chapter h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #9aaec4;
  font-family: var(--body-font);
}

.chapter ul {
  padding-left: 20px;
  font-size: 13px;
}

.chapter li {
  margin-bottom: 4px;
}

.hidden {
  display: none;
}

.read-more-btn {
  border: none;
  display: flex;
  padding: 0.75rem 1rem;
  background-color: #1A1F2F;
  color: #ffffff;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  align-items: center;
  border-radius: 0.5rem;
  user-select: none;
  gap: 0.5rem;
  border: 1px solid #fff;
  transition: all 0.3s ease;
}

.read-more-btn svg {
  width: 20px;
  height: 20px;
}

.read-more-btn:hover {
  border: 1px solid #0CFE25;
}

.read-more-btn:focus,
.read-more-btn:active {
  opacity: 0.85;
  box-shadow: none;
}


.card2 {
  width: 80%;
  height: auto;
  background: #010618;
  background: linear-gradient(90deg, rgba(1, 6, 24, 1) 0%, rgba(22, 33, 54, 1) 100%);
  border-radius: 5px;
  position: relative;
  z-index: 10;
  margin: 25px;
  min-height: 100px;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .08);
  border: 2px solid #fff;
}

.card2:hover {
  transform: translate(0, -10px);
  box-shadow: 0px 17px 35px 0px rgba(0, 0, 0, .07);
  border: 2px solid #0CFE25;

  .card-text {
    color: #0CFE25;
  }
}

.card-info {
  color: #fff;
  padding-left: 20px;
  padding-top: 20px;
  gap: 20px;
}

.card-h4 {
  color: #9AAEC4;
  gap: 20px;
  font-family: "Jersey 25", sans-serif;
  font-weight: 300;
  line-break: anywhere;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #9AAEC4;
}

.card-h4 .icon {
  width: 20px;
  height: 20px;
  color: #fff;
  transition: color 0.3s ease;
}

.card2 .card-text {
  padding: 20px;
  color: #fff;
  transition: all 0.3s ease;
}

.card2 h2 {
  font-size: 2rem;
}

p {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 10px;
  padding-bottom: 30px;
}

.card-discover {
  color: #0CFE25;
  font-family: "Jersey 25", sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  padding-top: 20px;
  cursor: pointer;
}

.card2 .card-img {
  position: absolute;
  bottom: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9AAEC4;
  transition: all .35s ease-out;
}

.card2 img {
  height: 200px;
}


@media (max-width: 576px) {
  .lesson-header2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

  .lesson-container {
    max-width: 100%;
    margin: 0px auto;
    color: #ccc;
    padding: 20px;
    margin-top: 60px;
  }

  .card2 {
    width: 200px;
    min-width: 200px;
  }

  .card2 h2 {
    font-size: 1.5rem;
  }

  /*=============== lesson2 ===============*/

  .lesson-header .lesson-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #9aaec4;
    margin-left: 0px;
  }

  .lesson-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #9AAEC4;
    margin-bottom: 40px;
    margin-left: 0px;

  }
}


.back-btn {
  display: inline-block;
  text-decoration: none;
  color: #00ff66;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid #00ff66;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 14px;
}

.module-header span {
  font-size: 14px;
  color: #aaa;
}

.module-header h1 {
  color: #00ff66;
  font-size: 28px;
  margin-top: 5px;
}

.exam-info {
  margin: 25px 0;
}

.exam-info h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #cfd6e1;
}

.exam-info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.exam-info .highlight {
  color: #00ff66;
  font-weight: 600;
}

/* Levels */
.levels {
  display: flex;
  gap: 40px;
  margin: 30px 0;
}

.level {
  font-size: 14px;
  color: #aaa;
  cursor: pointer;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.level i {
  margin-right: 6px;
}

.level.active {
  color: #00ff66;
  border-bottom: 2px solid #00ff66;
}

/* Button */
.start-btn {
  background: transparent;
  border: 2px solid #00ff66;
  padding: 12px 24px;
  color: #00ff66;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.start-btn:hover {
  background: #00ff66;
  color: #0f1624;
}

/*=============== INTERPRETER STYLE ===============*/
#interpreterContainer {
  width: 100%;
  max-width: 650px;
  height: auto;
  bottom: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  transition: all 0.3s ease-in-out;
  position: sticky;
  right: 0;
  top: 20px;
  height: fit-content;
  z-index: 99;
}

.interpreter-btn {
  position: relative;
  margin-right: 20px;
  background: none;
  border: none;
  color: #5cf75c;
  border-top: 1px solid #0CFE25;
  border-bottom: 1px solid #0CFE25;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-radius: 0;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.interpreter-btn:hover {
  background: #071021;
  border-left: 1px solid #0CFE25;
  border-right: 1px solid #0CFE25;
}

.interpreter-modal {
  width: 0%;
  transform-origin: right;
  transition: all 0.3s ease-in-out;
  position: relative;
  padding: 0;
  z-index: 1000;
  margin-top: -60px;
  margin-right: -30px;
}

.interpreter-content {
  background: #071021;
  border: 1px solid #363636;
  position: sticky;
  top: 0;
  color: #fff;
  width: 90%;
  height: 100%;
  max-width: 600px;
  margin: 1% auto;
  padding: 0px 10px 10px 10px;
  border-radius: 10px;
}

.interpreter-content textarea {
  width: 100%;
  margin: 0px;
  background: #0d1525;
  color: #50fa7b;
  border: 1px solid #0CFE25;
  padding: 10px;
  font-family: monospace;
  outline: none;
  resize: vertical;
  max-height: 600px;
  min-height: 120px;
  transition: border 0.3s ease;
}

textarea:focus {
  border: 1px solid #55555562;
}

.close-btn {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #f55;
  margin-bottom: 4px;
}


@media (max-width: 996px) {
  #interpreterContainer,
  .interpreter-btn,
  .interpreter-modal,
  .interpreter-content {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .exercise-nav {
    flex-direction: column;
    gap: 10px;
  }
}
