:root {
  --primary: #054f25;
  --secondary: #0f8924;
  --light-green: #eff8ec;
  --yellow: #ffa81d;
}

html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: #000;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-family: "Josefin Sans", sans-serif;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}
.f16 {
  font-size: 16px !important;
}
.f18 {
  font-size: 18px !important;
}
.h-40 {
  height: 40px !important;
}
header {
  width: 100%;
  padding: 10px;
  background: #fff;
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px -2px rgb(20 23 28 / 10%);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
}

.logo img {
  width: 100%;
  max-width: 160px;
}

.menu-left {
  text-align: left;
}

.menu-left li {
  display: inline-block;
  margin-top: 5px;
  position: relative;
}

.menu-left li a {
  color: #000;
}

.menu-left li.menu-search-main {
  width: 56%;
  margin-left: 40px;
}

.has-dropdown {
  line-height: 40px;
}

.menu-left li .dropdown {
  position: absolute;
  left: 0;
  top: 60px;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px #d5d5d5;
  z-index: 10;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  padding: 10px 0;
  transition: all 0.3s;
}

.menu-left li .dropdown::after {
  top: -12px;
  left: 14px;
}

.menu-left li .dropdown::before {
  top: -14px;
  left: 14px;
}

.menu-left li .dropdown:after {
  border-color: transparent transparent #fff;
}

.menu-left li .dropdown:before {
  border-color: transparent transparent #e8e9eb;
}

.menu-left li .dropdown::before,
.menu-left li .dropdown::after {
  border-style: solid;
  border-width: 0 10px 13px;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
}

.menu-left li .dropdown li {
  width: 100%;
  margin: 0;
  line-height: 10px;
}

.menu-left li .dropdown li a {
  padding: 15px 20px;
  display: block;
  font-size: 14px;
  background: #fff;
  transition: all 0.3s;
}

.menu-left li .dropdown li a:hover {
  background: #f4f4f4;
  padding-left: 25px;
}

.menu-left li:hover .dropdown {
  visibility: visible;
  opacity: 1;
  top: 40px;
}

.menu-search {
  width: 100%;
  position: relative;
}

.menu-search-input {
  outline: none;
  width: 95%;
  transition: all 0.3s;
  border: solid 1px #999;
  padding: 7px 50px 7px 25px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.menu-search-input:focus {
  border: solid 1px #1d732c;
}

.menu-search-input::placeholder {
  font-size: 14px;
  font-weight: 500;
}

.menu-search button {
  border: none;
  outline: none;
  background: none;
  position: absolute;
  right: 48px;
  top: 5px;
}

.menu-right {
  text-align: right;
}

.menu-right li {
  display: inline-block;
  margin-right: 10px;
  margin-top: 8px;
}

.menu-right li:last-child {
  margin-right: 0;
}

.menu-right li a {
  padding: 7px 12px;
  border-radius: 4px;
  border: solid 1px #ccc;
  color: #000;
  background: #fff;
  transition: all 0.3s;
}

.new-menu-right li a {
  padding: 7px 5px;
  border-radius: 4px;
  border: solid 1px #ccc;
  color: #000;
  background: #fff;
  transition: all 0.3s;
}

.menu-right li:last-child a {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.menu-right li a:hover,
.menu-right li:last-child a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.menu-right li a:hover {
  opacity: 0.8;
}

.menu-cart-icon {
  position: relative;
}

.menu-cart-icon span {
  position: absolute;
  right: -5px;
  top: -17px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

.mobile-menu-icon {
  display: none;
}

.main {
  width: 100%;
  min-height: 350px;
  background-color: var(--light-green);
  text-align: center;
  margin-top: 60px;
  position: relative;
}

.main h1 {
  font-weight: 700;
  font-size: 110px;
  text-transform: capitalize;
  width: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-name: masked-animation;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url(../images/main-banner.jpg);
  background-size: cover;
  margin-top: 40px;
}

.main h2 {
  font-size: 28px;
  padding-top: 20px;
  color: var(--primary);
}

@-webkit-keyframes masked-animation {
  0%,
  100% {
    background-position: 50% 35%;
  }

  50% {
    background-position: 50% 65%;
  }
}

@keyframes masked-animation {
  0%,
  100% {
    background-position: 50% 35%;
  }

  50% {
    background-position: 50% 65%;
  }
}

.main-search {
  width: 100%;
  max-width: 750px;
  height: 50px;
  border-radius: 5px;
  margin: 30px auto 10px;
  background: #fff;
  position: relative;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 5%);
}

.main-search-input {
  width: 98%;
  height: 100%;
  outline: none;
  border: none;
  padding-left: 15px;
  font-size: 16px;
}

.main-search button {
  position: absolute;
  top: 10%;
  right: 5px;
  height: 80%;
  outline: none;
  border: none;
  background: var(--secondary);
  color: #fff;
  border-radius: 3px;
  transition: all 0.3s;
  padding-left: 15px;
  padding-right: 15px;
}

.main-search button:hover {
  background: var(--primary);
}

.main-pos-1 {
  position: absolute;
  top: 60px;
  left: 20px;
  opacity: 0.5;
  transition: all 0.4s;
}

.main-pos-2 {
  position: absolute;
  bottom: 0px;
  right: 20px;
  opacity: 0.5;
  transition: all 0.4s;
}

/* .main:hover .main-pos-1, .main:hover .main-pos-2 {
    opacity: 0.5;
} */
.home-strip {
  width: 100%;
  min-height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: solid 1px #f0f0f0;
  padding: 20px 0;
}

.home-strip-cont h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: "Josefin Sans", sans-serif;
}

.home-strip-cont p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 0;
  color: #777;
}

.home-strip-cont i {
  width: 50px;
  height: 50px;
  color: var(--secondary);
  border-radius: 50%;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
}

.bg-grey {
  background: #f1f7f8;
  position: relative;
  z-index: 1;
}

.inner-sec {
  width: 100%;
  padding: 50px 0;
  position: relative;
}

.main-title h1 {
  display: inline;
  position: relative;
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
  font-family: "Inter", sans-serif;
}

.main-title_s h1 {
  display: inline;
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  font-family: "Inter", sans-serif;
}

.title-leaf {
  position: absolute;
  right: -10px;
  top: 13px;
  z-index: -1;
  opacity: 0;
  transition: all 0.5s;
}

.inner-sec:hover .title-leaf {
  opacity: 0;
}

.title-leaf img {
  width: 40px;
  transform: rotate(11deg);
}

.top-cat-cont {
  width: 100%;
  min-height: 100px;
  background-color: #fff;
  margin-top: 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: solid 1px #e8e8e8;
  display: flex;
  align-items: center;
  padding: 15px;
  position: relative;
  transition: all 0.3s;
}

.top-cat-cont:hover {
  border-bottom: solid 1px var(--secondary);
}

.top-cat-cont h1 {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  z-index: 10;
  position: relative;
}

.top-cat-cont p {
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 0;
}

.top-cat-section a {
  color: inherit;
  display: block;
}

.top-cat-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.top-cat-icon i {
  font-size: 50px;
  color: #e8e8e8;
  opacity: 0.7;
  transition: all 0.4s;
}

.top-cat-icon img {
  color: #e8e8e8;
  filter: grayscale();
  transition: all 0.4s;
  width: 64px;
  transform: scale(0.9);
  opacity: 0.3;
}

.top-cat-cont:hover img {
  opacity: 1;
  transform: scale(1);
  filter: grayscale(0);
}

.course-box {
  width: 100%;
  padding: 2px;
  background: #fff;
  border-radius: 10px;
  border: solid 1px #fff;
  transition: all 0.4s;
  box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px,
    rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
  margin-bottom: 30px;
  border: solid 1px #e8e8e8;
}

.course-box:hover {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 25px 20px -20px;
}

.course-img {
  position: relative;
  width: 100%;
  /* height: 262px; */
  width: 100%;
  aspect-ratio: 16 / 9;   /* responsive height */
  overflow: hidden;
  border-radius: 8px;
}

.course-img img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: top;
  border-radius: 5px;
  width: 100%;
  height: 100%;
  object-fit: cover;      
  object-position: center;
  display: block;
}

.course-admin-pic {
  position: absolute;
  left: 7px;
  bottom: -50px;
  z-index: 10;
}

.course-admin-pic img {
  padding: 4px;
  width: 70px !important;
  height: 70px;
  border-radius: 100%;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  cursor: pointer;
  margin-bottom: 5px;
  margin-left: 25px;
}

.course-admin-pic small {
  font-weight: 600;
  color: #999;
  font-size: 12px;
}

.course-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;

  width: 50px;
  height: 50px;
  border-radius: 50%;

  background-color: #fff;
  color: var(--secondary);

  font-size: 30px;
  text-align: center;
  line-height: 50px;

  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px,
              rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.course-play-button:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  transition: all 200ms;
}

.course-play-button span {
  display: block;
  position: relative;
  z-index: 3;
}

.course-box:hover .course-play-button:before {
  content: "";
  position: absolute;
  z-index: -10;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-border 1500ms ease-out infinite;
}

.course-play-button:hover:after {
  background-color: darken(#fa183d, 10%);
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

.course-details {
  padding: 10px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70px;
}

.course-details .row {
  width: 100%;
}

.course-details h1 {
  font-size: 16px;
  margin-top: 5px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.course-details h2 {
  font-size: 14px;
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: #999;
}

.rating {
  margin-top: 8px;
}

.rating li {
  display: inline;
  color: #d5d5d5;
  font-size: 12px;
}

/* .rating li:last-child, .rating li:nth-child(6) {
    color: #999;
    font-weight: 300;
} */
.rating li i.bi-star-fill {
  color: var(--secondary);
}

.course-details-list {
  padding: 0px 10px;
  background: var(--light-green);
  margin-top: 10px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.course-details-list li {
  display: inline;
  font-size: 12px;
  color: var(--secondary);
  margin-right: 10px;
}

.course-details-list li i {
  font-size: 12px;
}

.c-badge {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
  padding: 5px 10px;
  background: var(--yellow);
  color: #000;
  border-radius: 3px;
}

.compare-btn {
  padding: 7px 10px;
  font-weight: 500;
  font-size: 12px;
  border: var(--secondary) solid 1px;
  color: var(--secondary);
  border-radius: 3px;
  transition: all 0.2s;
}

.compare-btn:hover {
  background-color: var(--secondary);
  color: #fff;
}

.course-price-sec {
  margin-top: 25px;
  border-top: solid 1px #e8e8e8;
  border-bottom: solid 0px #e8e8e8;
  padding: 10px 0 0px;
}

.btn-course {
  transition: all 0.3s;
  padding: 8px 12px;
  border: solid 1px var(--secondary);
  color: var(--secondary);
  font-size: 14px;
  border-radius: 4px;
}

.btn-course:hover {
  background: var(--secondary);
  color: #fff !important;
}

.course-price {
  font-weight: 600;
  color: var(--secondary);
  font-size: 16px;
}

.course-box-view-all {
  min-height: 291px;
  background: #cff3c3;
  color: var(--secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}

.mh-338 {
  min-height: 338px;
}

.mh-95 {
  min-height: 95px;
}

.joining-cont {
  width: 100%;
  padding: 20px 30px;
  min-height: 100px;
  background: #f1f7f8;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: all 0.4s;
}

.joining-cont:hover {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
  background: #fff;
}

.joining-cont::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 0;
  border-left: solid 2px #fff;
  left: 0px;
  bottom: 0;
  border-radius: 10px;
  transition: all 0.5s;
}

.joining-cont:hover::before {
  border-left: solid 2px var(--secondary);
  top: 0 !important;
  height: 100%;
}

.joining-cont h1 {
  font-size: 24px;
  font-family: "Inter", sans-serif;
}

.join-btn a {
  padding: 5px 10px;
}

.down-app {
  border-radius: 10px;
  box-shadow: 0 30px 60px 0 rgb(0 4 48 / 30%);
  padding: 50px 30px 50px 50px;
  position: relative;
  background: var(--secondary);
  overflow: hidden;
  margin-bottom: -100px;
  margin-top: 30px;
  z-index: 10;
  min-height: 138px;
}

.down-app::after {
  position: absolute;
  content: "";
  width: 900px;
  height: 900px;
  background: #fff;
  left: 52%;
  top: -515px;
  z-index: -1;
  border-radius: 100%;
}

.down-app h2 {
  width: 100%;
  max-width: 620px;
  line-height: 42px;
}

.down-app-btn a {
  width: 205px;
  height: 54px;
  background-color: var(--primary);
  color: #fff;
  font-size: 20px;
  border-radius: 4px;
  box-shadow: 0 12px 24px 0 rgb(5 79 37 / 30%);
  transition: all 0.4s;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.down-app-btn a i {
  padding-right: 10px;
}

.down-app-btn a:hover {
  /* background-color: var(--secondary); */
  background-color: #111;
  box-shadow: 0 12px 24px 0 rgb(17 17 17 / 30%);
}

.top-courses a {
  color: inherit;
}

.top-courses a:hover {
  color: var(--secondary);
}

footer {
  padding-top: 120px;
  width: 100%;
  padding-bottom: 30px;
  position: relative;
}

footer p {
  color: #666;
  font-size: 14px;
  line-height: 20px;
  margin-top: 20px;
}

.footer-links {
  margin-top: 20px;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links li a {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.footer-links li a:hover {
  color: #000;
}

.inner-banner {
  width: 100%;
  min-height: 400px;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 68px;
}

.inner-banner-img {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: 10;
  height: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.inner-banner h1 {
  z-index: 100;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.4);
  margin-bottom: 0;
  border-radius: 3px;
  font-size: 40px;
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

.course-details-top {
  padding: 50px 0;
  background: var(--light-green);
  min-height: 400px;
  margin-top: 58px;
}

.course-details-top iframe {
  border-radius: 5px;
}

.c-detail-cont {
  padding: 20px 0;
}

/* .c-detail-cont h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
} */
.c-detail-cont p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 5px;
}

.c-detail-cont a {
  color: var(--primary);
}

.c-details-list-cont {
  width: 100%;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 1);
  border: solid 0px #e8e8e8;
  border-radius: 5px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

.c-details-list-cont h1 {
  font-size: 22px;
  padding-bottom: 10px;
  font-family: "Inter", sans-serif;
  border-bottom: solid 1px #e8e8e8;
  color: var(--primary);
  font-weight: 700;
}

.c-list::-webkit-scrollbar {
  width: 5px;
}

/* Track */
.c-list::-webkit-scrollbar-track {
  background: #dcfad2;
}

/* Handle */
.c-list::-webkit-scrollbar-thumb {
  background: #aad9b1;
}

/* Handle on hover */
.c-list::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

.c-list {
  margin-top: 15px;
  height: 200px;
  overflow-y: scroll;
}

.c-list li {
  padding: 5px 0 5px 25px;
  border-bottom: solid 1px var(--light-green);
  position: relative;
}

.c-list li::before {
  position: absolute;
  content: "";
  left: 0px;
  width: 20px;
  height: 20px;
  top: 7px;
  background: url(../images/play-circle.svg) no-repeat center;
}

.c-list li a {
  font-size: 16px;
  color: #666;
  transition: all 0.3s;
  font-weight: 500;
}

.c-list li a:hover {
  color: var(--secondary);
}

.c-list li a i {
  color: var(--primary);
  padding-left: 5px;
}

.c-list li a span {
  color: #999;
  padding-left: 15px;
  font-size: 14px;
}

.c-btn {
  padding: 10px 15px;
  border: solid 1px var(--secondary);
  transition: all 0.3s;
  border-radius: 4px;
}

.c-btn:hover {
  background-color: var(--secondary);
  color: #fff;
}

/* .course-overview h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 26px;
    padding-bottom: 10px;
} */

.course-overview p {
  color: #666;
  line-height: 24px;
  margin-bottom: 30px;
}

.student-review li {
  padding: 15px 5px;
  border-bottom: solid 1px var(--light-green);
  color: #888;
}

.student-review .rating li {
  border-bottom: 0;
  padding: 0;
}

.student-review span {
  color: var(--secondary);
}

.course-price-box {
  margin-top: 20px;
  background: #fff;
  /* min-height: 333.25px; */
  padding: 30px;
  border-radius: 5px;
  /* box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px; */
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

/* .course-price-box h1 {
    font-size: 30px;
    color: var(--primary);
    font-weight: 700;
} */
.course-price-box ul {
  margin-top: 10px;
}

.course-price-box li {
  margin-bottom: 5px;
  padding-left: 15px;
  position: relative;
}

.course-price-box li::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 50%;
  left: 0;
  top: 8px;
}

.adc-btn {
  padding: 10px 25px;
  border-radius: 4px;
  color: var(--secondary);
  border: solid 1px var(--secondary);
  background: #fff;
  transition: all 0.4s;
  width: 100%;
  max-width: 170px;
  display: block;
  text-align: center;
}

.buy-btn {
  padding: 10px 25px;
  border-radius: 4px;
  color: #fff;
  border: solid 1px var(--secondary);
  background: var(--secondary);
  transition: all 0.4s;
  width: 100%;
  max-width: 170px;
  display: block;
  text-align: center;
  margin-left: auto;
}

.adc-btn:hover,
.buy-btn:hover {
  background: var(--primary);
  color: #fff;
}

.login-cont {
  width: 100%;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 6px;
}

.login-form {
  margin-top: 20px;
}

.login-form label {
  font-weight: 500;
  padding-bottom: 7px;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form .form-control {
  height: 50px;
}

.login-form .form-control:focus {
  box-shadow: none;
  border: solid 1px var(--secondary);
}

.login-btn {
  outline: none;
  border: solid 1px var(--secondary);
  color: #fff;
  height: 40px;
  background: var(--secondary);
  border-radius: 4px;
  transition: all 0.3s;
  margin: auto;
  width: 100%;
  max-width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-btn:hover {
  background: var(--primary);
  color: #fff;
}

.login-btn i {
  padding-left: 5px;
}

.signup-btn {
  outline: none;
  border: solid 1px var(--secondary);
  color: var(--secondary);
  height: 40px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.3s;
  margin: auto;
  width: 100%;
  max-width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signup-btn:hover {
  background: var(--secondary);
  color: #fff;
}

.forgot-link {
  color: #4b9941;
  transition: all 0.2s;
}

.forgot-link:hover {
  background-color: var(--light-green);
  color: #4b9941;
}

.delete-item {
  color: #d40000;
  font-size: 18px;
}

.cart-cont .table h5 {
  display: inline;
  font-family: "Inter", sans-serif;
  font-size: 16px;
}

.cart-price-sub {
  color: var(--secondary);
  font-weight: 500;
  display: flex;
}

.cart-cont .table span {
  cursor: pointer;
}

.minus,
.plus {
  font-size: 20px;
}

.cart-cont .table input {
  height: 30px;
  width: 80px;
  text-align: center;
  font-size: 20px;
  border: 1px solid #ddd;
  display: inline-block;
  vertical-align: middle;
}

.checkout-course-title {
  position: relative;
}
.checkout-course-title a {
  position: absolute;
  left: 10px;
}
.checkout-course-title h5 {
  position: absolute;
  left: 27px;
  top: 13px;
}
.number {
  display: flex;
  justify-content: space-around;
}
.cart-cont a {
  color: inherit;
}
.user-profile-pic {
  text-align: center;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f8f8;
  border-radius: 50%;
  margin: 30px auto 40px auto;
}
.user-profile-pic img {
  width: 100%;
  max-width: 100px;
}

.inner-page-title {
  padding: 40px 0 35px;
  background: var(--light-green);
  min-height: 80px;
  margin-top: 58px;
  display: flex;
  align-items: center;
}
.inner-page-title h1 {
  margin-bottom: 0;
  padding: 0;
}
.info-sec h1,
.info-sec h2,
.info-sec h3,
.info-sec h4,
.info-sec h5,
.info-sec h6 {
  font-family: "Inter", sans-serif;
}
.list {
  padding-left: 15px;
  margin-bottom: 20px;
}
.list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
}
.list li::before {
  position: absolute;
  content: "";
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background-color: #000;
  border-radius: 50%;
}

/*=== New Css =====*/

.test-series h1 {
  font-size: 24px;
}

.test-series .course-box:hover {
  background-color: var(--secondary);
  color: #fff;
}

.exam-sec {
  width: 100%;
  min-height: 100vh;
  background-color: #e8ecfa;
  /* background-color: var(--light-green); */
  padding: 40px 0;
  margin-top: 58px;
}

.exam-sec h1,
.exam-sec h2,
.exam-sec h3,
.exam-sec h4,
.exam-sec h5,
.exam-sec h6 {
  font-family: "Inter", sans-serif;
}

.exam-sec h5 {
  font-size: 18px;
}

.exam-top-header {
  width: 100%;
  min-height: 100px;
  background-color: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px 20px;
  margin-bottom: 5px;
}

.exam-top-header h4 small {
  padding-top: 10px;
  display: block;
  color: var(--primary);
}

.exam-user-img img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  padding: 3px;
  background-color: var(--light-green);
}

.exam-body {
  width: 100%;
  min-height: 80vh;
  background-color: #fff;
  padding: 20px 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.exam-summary-table-wrap {
  width: 100%;
}

.exam-summary-table {
  margin-bottom: 0;
  border-radius: 12px;
  overflow: hidden;
}

.exam-summary-table thead th {
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  vertical-align: middle;
  padding: 14px 12px;
  border-color: rgba(255, 255, 255, 0.15);
}

.exam-summary-table tbody td {
  padding: 14px 12px;
  vertical-align: middle;
  font-size: 0.95rem;
}

.exam-summary-table tbody tr:hover {
  background: var(--light-green);
}

.exam-summary-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.exam-summary-btns .btn {
  min-width: 120px;
}

.exam-summary-actions p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.exam-summary-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 20px;
  padding: 16px 18px;
  background: #fff8e6;
  border: 1px solid #ffe0a3;
  border-radius: 12px;
  text-align: left;
}

.exam-summary-notice i {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: #e6a817;
  margin-top: 2px;
}

.exam-summary-notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5c4a1f;
}

.exam-summary-btn-yes {
  background: var(--secondary);
  border-color: var(--secondary);
}

.exam-summary-btn-yes:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.exam-summary-btn-no {
  border-color: #adb5bd;
  color: #495057;
}

.instructions-cont p {
  color: #444444;
  font-size: 18px;
}

.exam-ins-list {
  padding-left: 10px;
  margin-bottom: 25px;
}

.exam-ins-list li {
  padding-left: 40px;
  position: relative;
  margin-bottom: 20px;
  font-size: 18px;
}

.exam-ins-list li span {
  position: absolute;
  left: 0;
  top: 0px;
  width: 30px;
  height: 30px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
}

.exam-ins-list li span.grey {
  background-color: #666;
}

.exam-ins-list li span.red {
  background-color: #e20606;
}

.exam-ins-list li span.green {
  background-color: #07ca18;
}

.exam-ins-list li span.purple {
  background-color: #6c07ca;
}

.exam-ins-list li span.purple-marked {
  background-color: #eeb90a;
}

/* Custom radio buttons */
input[type="radio"] + label {
  display: inline-block;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
  margin-right: 15px;
  font-size: 18px;
}
input[type="radio"] + label:before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin-right: 14px;
  position: absolute;
  top: 2px;
  left: 0;
  border: 1px solid #aaa;
  background-color: #fff;
  border-radius: 50%;
}
input[type="radio"] {
  display: none !important;
}
input[type="radio"]:checked + label:after {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  left: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0588c5;
}
/* Custom checkbox */
input[type="checkbox"] + label {
  display: inline-block;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
  margin-right: 15px;
  font-size: 18px;
}
input[type="checkbox"] + label:before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin-right: 14px;
  position: absolute;
  top: 3px;
  left: 0;
  border: 1px solid #aaa;
  background-color: #fff;
  border-radius: 5px;
}
input[type="checkbox"] {
  display: none !important;
}
input[type="checkbox"]:checked + label:after {
  content: "✔";
  font-size: 18px;
  line-height: 20px;
  color: #0588c5;
  display: block;
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 3px;
}

.exam-sidebar {
  width: 100%;
  background-color: #f5f5f5;
  height: 95%;
  position: relative;
  padding: 15px !important;
}

.ans-list {
  display: flex;
  justify-content: flex-start;
}

.ans-list li {
  display: inline;
  position: relative;
  padding-left: 40px;
  margin-right: 20px;
}

.ans-list li span {
  position: absolute;
  left: 0;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  /* bottom: -5px; */
  top: 0;
}

.answered {
  background-color: #07ca18;
  color: #fff;
}

.not-answered {
  background-color: #e20606;
  color: #fff;
}

.not-visited {
  background-color: #666;
  color: #fff;
}

.marked-for-review {
  background-color: #6c07ca;
  color: #fff;
}

.am-item {
  padding-left: 50px !important;
}

.marked-for-evaluation {
  background-color: #6c07ca;
  color: #fff;
  bottom: 5px !important;
  width: 35px !important;
  height: 35px !important;
}

.marked-for-evaluation i {
  position: absolute;
  bottom: -15px;
  right: -7px;
  font-size: 30px;
  color: #87f390;
}

.btn-purple {
  background-color: #7119b9;
  color: #fff;
}

.btn-purple:hover {
  background-color: #7f1bd1 !important;
  color: #fff !important;
}

.exam-sidebar h4 {
  margin-top: 60px;
  width: 100%;
  display: block;
  padding: 10px;
  color: #fff;
  background-color: #3277b8;
  font-size: 18px;
}

.question-number-list {
  width: 100%;
  padding: 10px;
  height: 310px;
  overflow-y: scroll;
}

.question-number-list li {
  margin-bottom: 20px;
}



#timer {
  width: 80px;
  height: 70px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-weight: 700;
  color: var(--secondary);
}

.scale-list {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 50px;
  background-color: #f0f0f0;
}

.scale-list li {
  position: relative;
  padding-left: 37px;
}

.scale-list li span {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 0;
  top: -3px;
}

.feed-4 {
  background-color: #009a00;
}

.feed-3 {
  background-color: #ff9801;
}

.feed-2 {
  background-color: #639cdf;
}

.feed-1 {
  background-color: #ff3334;
}

.exam-success-alert {
  padding: 50px;
  background-color: #f5f5f5;
}

.exam-success-alert p {
  font-size: 20px;
}

.response-sheet-list li {
  padding-left: 30px;
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
}

.response-sheet-list li span {
  position: absolute;
  left: 0;
}

.wrong {
  color: #e40000;
}

.right {
  color: #07ca18;
  font-size: 26px;
}

.ans-list-title {
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  border-bottom: solid 1px #ccc;
}

.ans-list-title li {
  width: 100%;
}

.ans-list-title li a {
  font-size: 20px;
  color: #222;
  display: block;
  height: 50px;
}

.ans-list-title li a.active {
  border-bottom: solid 3px var(--secondary);
}

.ans-cont {
  width: 100%;
  padding: 30px 20px;
  background-color: #f5f5f5;
  min-height: 250px;
}

.qs-list {
  width: 100%;
  min-height: 60px;
  background-color: #fff;
  border-radius: 5px;
  border: solid 1px #e8e8e8;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 20px;
  box-sizing: border-box;
  /* box-shadow:  0 0 10px rgba(0,0,0,0.1); */
}

.qs-list li {
  font-size: 20px;
  font-weight: 600;
  position: relative;
  padding-left: 60px;
}

.qs-list li i {
  position: absolute;
  left: 0;
  width: 45px;
  height: 40px;
  font-size: 22px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -3px;
}

.qs-list li i.rank {
  color: #d81731;
  background-color: #fff1f2;
}

.qs-list li i.score {
  color: #b814e0;
  background-color: #f8e8fc;
}

.qs-list li i.qs-at {
  color: #1466e0;
  background-color: #e4edfc;
}

.qs-list li i.perctl {
  color: #e014c5;
  background-color: #fddef9;
}

.qs-list li i.acry {
  color: #04e216;
  background-color: #ebfdec;
}

.attempt-list {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #fff;
}

.attempt-list li {
  padding: 15px 25px;
  border-radius: 5px;
  background-color: #fff;
  margin-bottom: 15px;
}

.sol-top-list {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sol-top-list li a {
  color: #666;
  font-size: 18px;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: #d5d5d5;
}

.sol-top-list li a.active {
  color: #fff;
  background-color: #1466e0;
}

.sol-cont {
  width: 100%;
  min-height: 60px;
  background-color: #fff;
  border-radius: 10px;
  border: solid 1px #e8e8e8;
  padding: 10px 20px;
}

.sol-cont-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 500;
    color: #999;
    margin-top: 6px;
}

.sol-cont-list li span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sol-cont-list li span.red {
    color: #fff;
    background-color: #e40000;
}

.bookmark-icon {
    font-size: 22px;
    color: #999;
    padding-top: 6px;
}

.sol-des {
    font-size: 18px;
}

/* Exam solutions page */
.exam-solutions-nav-wrap {
  margin-bottom: 0;
}

.exam-solutions-nav {
  border-bottom: 2px solid #e8ecef;
  gap: 0;
}

.exam-solutions-nav li a {
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 12px;
  height: auto;
  line-height: 1.2;
  transition: color 0.2s, border-color 0.2s;
}

.exam-solutions-nav li a.active {
  color: var(--secondary);
  border-bottom: 3px solid var(--secondary);
}

.exam-solutions-content {
  border-radius: 0 0 16px 16px;
  padding: 24px 20px 28px;
}

.exam-solutions-meta {
  margin-bottom: 18px;
}

.exam-solutions-title {
  font-family: "Josefin Sans", sans-serif;
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.exam-solutions-subtitle {
  margin: 0;
  font-size: 0.88rem;
  color: #6c757d;
}

.exam-solutions-filters-wrap {
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.exam-solutions-filters-wrap::-webkit-scrollbar {
  display: none;
}

.exam-solutions-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding-bottom: 4px;
  min-width: min-content;
}

.exam-solutions-filters li {
  flex: 0 0 auto;
}

.exam-solutions-filters li a {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: #e9ecef;
  color: #495057;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.exam-solutions-filters li a.active {
  background: var(--secondary);
  color: #fff;
}

.exam-solutions-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.exam-solution-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid #e8ecef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s;
}

.exam-solution-card:hover {
  box-shadow: 0 4px 16px rgba(5, 79, 37, 0.08);
}

.exam-solution-card.is-correct {
  border-left: 4px solid #28a745;
}

.exam-solution-card.is-incorrect {
  border-left: 4px solid #dc3545;
}

.exam-solution-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #fafbfc;
  border-bottom: 1px solid #f0f0f0;
}

.exam-solution-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.exam-solution-q-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.exam-solution-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
}

.exam-solution-status.status-correct {
  color: #155724;
}

.exam-solution-status.status-incorrect {
  color: #721c24;
}

.exam-solution-qid {
  display: block;
  font-size: 0.72rem;
  color: #6c757d;
  margin-top: 2px;
}

.exam-solution-body {
  padding: 16px;
}

.exam-solution-explanation {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #333;
}

.exam-solution-empty,
.exam-solution-empty-state {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
  font-style: italic;
}

.exam-solution-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed #dee2e6;
}

.exam-solution-empty-state i {
  font-size: 2rem;
  color: #adb5bd;
  display: block;
  margin-bottom: 10px;
}

.f22 {
    font-size: 22px;
}

.leaders-list {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 5px 20px 5px 20px;
    /* background-color: #fff; */
    background: rgb(255,250,238);
}

.leaders-list img {
    width: 100%;
    max-width: 100px;
    border-radius: 50%;
}

.leader-one img {
    border: solid 3px #b6c7cf;
}

.leader-two img {
    border: solid 3px #ffb600;
}

.leader-three img {
    border: solid 3px #db9146;
}

.leader-img {
  position: relative;
  width: 100%;
  max-width: 95px;
  margin: auto;
}

.leader-img span.l1 {
    position: absolute;
    right: -10px;
    top: 0;
    width:40px;
    height: 40px;
    border-radius: 50%;
    border:solid 2px #fff;
    font-size: 20px;
    font-weight: 600;
    background-color: #b6c7cf;
    display: flex;
    justify-content: center;
    align-items: center;
}

.leader-img span.l2 {
    position: absolute;
    right: -10px;
    top: 0;
    width:40px;
    height: 40px;
    border-radius: 50%;
    border:solid 2px #fff;
    font-size: 20px;
    font-weight: 600;
    background-color: #ffb600;
    display: flex;
    justify-content: center;
    align-items: center;
}

.leader-img span.l3 {
    position: absolute;
    right: -10px;
    top: 0;
    width:40px;
    height: 40px;
    border-radius: 50%;
    border:solid 2px #fff;
    font-size: 20px;
    font-weight: 600;
    background-color: #db9146;
    display: flex;
    justify-content: center;
    align-items: center;
}

.leaders-list p {
    text-align: center;
    margin-top: 5px;
    font-size: 18px;
    font-weight: 700;
}

.leaders-content {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    border-bottom: solid 1px #e8e8e8;
    font-size: 18px;
}

.leaders-content p {
    font-size: 20px;
    font-weight: 700;
    padding-top: 10px;
}

.leaders-list-bottom li {
    display: inline;
    margin-right: 20px;
    font-weight: 500;
}

.leaders-list-bottom li img {
    max-width: 100%;
    width: 50px;

}

.leaders-list-bottom li:first-child {
    font-size: 22px;
    color: #999;
}

.plus-minus-markes-list li {
    display: inline-flex;
    margin-right: 10px;
}

.plus-mark {
    width: 60px;
    height: 30px;
    border-radius: 4px;
    background-color: #dff6eb;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
}

.minus-mark {
    width: 60px;
    height:30px;
    border-radius: 4px;
    background-color: #fadfe6;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
}

/*=== End New Css =====*/

/*--- Media Screen Css Start ----*/
@media (max-width: 1199px) {
  .menu-left li.menu-search-main {
    width: auto;
  }
}

@media (max-width: 1399px) {
  .down-app-shape img {
    right: -240px;
  }

  .down-app-btn a {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .mobile-menu-icon {
    display: block;
    position: fixed;
    width: 40px;
    height: 30px;
    right: 15px;
    top: 15px;
    cursor: pointer;
  }

  .navbar-toggler span,
  .navbar-toggler span::after,
  .navbar-toggler span::before {
    display: block;
    content: "";
    background-color: #333;
    height: 2px;
    width: 20px;
    transition: all ease-in-out 0.3s;
  }

  .navbar-toggler span {
    margin-top: 12px;
  }

  .navbar-toggler span::before {
    transform: translateY(-8px);
  }

  .navbar-toggler span::after {
    transform: translateY(5px);
  }

  .navbar-toggler.open-navbar-toggler span::before {
    transform: translateY(0) rotate(45deg);
  }

  .navbar-toggler.open-navbar-toggler span::after {
    transform: translateY(-2px) rotate(-45deg);
  }

  .navbar-toggler.open-navbar-toggler span {
    background-color: transparent;
  }

  .mobile-menu {
    position: fixed;
    left: -200%;
    width: 100%;
    right: 0;
    height: 100%;
    top: 57px;
    background: #f1f7f8;
    padding: 20px;
    overflow-x: hidden;
    display: block;
    transition: all 0.4s;
    margin: 0;
  }

  .mobile-menu-show {
    left: 0;
  }

  .menu-left li.menu-search-main {
    display: none;
  }

  .dropdown {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: #f1f7f8;
    display: none;
    visibility: visible !important;
    opacity: 1 !important;
    height: 0;
  }

  .dropdown-show {
    display: block !important;
    margin-bottom: 20px !important;
  }

  .menu-left li .dropdown::before,
  .menu-left li .dropdown::after {
    display: none;
  }

  .menu-right {
    margin-top: 30px !important;
  }

  .down-app-shape img {
    right: -75%;
  }

  .main {
    overflow-x: hidden;
  }

  .main h1 {
    font-size: 70px;
    margin-top: 100px;
  }

  .main h2 {
    font-size: 20px;
  }

  .down-app h2 {
    margin-bottom: 30px;
  }

  .down-app::after {
    display: none;
  }

  .down-app h2 {
    font-weight: 700;
    line-height: 36px;
  }

  .footer-links {
    margin-bottom: 30px;
  }

  .inner-banner {
    min-height: 200px;
  }

  .inner-banner h1 {
    font-size: 30px;
  }

  .course-price-box {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .main-pos-1 {
    opacity: 0.1;
  }

  .main h1 {
    font-size: 40px;
  }

  .main h2 {
    font-size: 16px;
  }

  .home-strip-cont {
    padding-bottom: 20px;
    border-bottom: solid 1px #f0f0f0;
    text-align: center;
  }

  .home-strip-cont i {
    margin: auto;
  }

  .main-title h1 {
    display: block;
    text-align: center;
  }

  .down-app-shape img {
    right: -110%;
  }
  .ans-list {
    display: block;
  }
  .ans-list li {
    display: block;
    margin-bottom: 20px;
  }

  .scale-list {
    display: block;
    padding: 15px;
  }

  .scale-list li {
    display: block;
    margin-bottom: 20px;
  }
  

}

@media (max-width: 575px) {
  .main-search-input {
    font-size: 12px;
  }

  .course-details-list li {
    text-align: center;
  }

  .course-details-list {
    min-height: 50px;
  }

  .joining-cont {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .joining-cont h1 {
    margin-bottom: 20px;
    text-align: center;
  }

  .down-app h2 {
    text-align: center;
  }

  .down-app-shape img {
    display: none;
  }

  .down-app {
    padding: 15px 15px 30px 15px;
  }

  .footer-links {
    margin-top: 8px;
  }

  .buy-btn {
    margin-left: inherit;
  }

  /* .course-details-top iframe {
    height: 400px;
  } */
  .ans-list-title {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 0;
    border: none;
    border-bottom: 2px solid #e8ecef;
    scrollbar-width: none;
  }

  .ans-list-title::-webkit-scrollbar {
    display: none;
  }

  .ans-list-title li {
    display: block;
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }

  .ans-list-title li a {
    display: block;
    width: 100%;
    font-size: 0.82rem;
    height: auto;
    padding: 12px 6px;
    white-space: nowrap;
  }

  .exam-solutions-content {
    padding: 16px 12px 20px;
  }

  .exam-solutions-title {
    font-size: 1rem;
  }

  .exam-solutions-filters li a {
    font-size: 0.78rem;
    padding: 7px 14px;
  }

  .exam-solution-card-head {
    padding: 12px 14px;
  }

  .exam-solution-body {
    padding: 14px;
  }

  .exam-solution-explanation {
    font-size: 0.88rem;
  }

  .exam-solution-q-num {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

  .attempt-list {
    display: block;
  }

  .attempt-list li {
    display: block;
    padding: 10px;
    margin-bottom: 5px;
  }

  .sol-top-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .sol-top-list::-webkit-scrollbar {
    display: none;
  }

  .sol-top-list li {
    display: block;
    margin-bottom: 0;
    width: auto;
    flex: 0 0 auto;
  }

  .sol-top-list li a {
    width: auto;
    display: inline-block;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 7px 14px;
  }

  .sol-cont-list {
    display: block;
  }
  
  .sol-cont-list li {
    display: block;
    margin-bottom: 12px;
  }

  .sol-cont-list li:nth-child(4) {
    display: none;
  }

  .leaders-list {
    display: block;
  }

  .leaders-list li {
    display: block;
    margin-bottom: 10px;
  }

}

@media (max-width: 455px) {
  .qs-list {
    display: block;
  }

  .leaders-list-bottom li {
    display: block;
    text-align: center;
  }


}

/* ===== Site header — responsive & mobile sidebar ===== */
:root {
  --header-height: 70px;
  --mobile-nav-width: min(320px, 88vw);
}

header.site-header,
header#site-header {
  --header-height: 70px;
  min-height: var(--header-height);
  padding: 0;
  display: block;
  overflow: visible;
}

header.site-header .site-header__container,
header.site-header .site-header__bar {
  display: flex;
}

.site-header__container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-header__bar {
  min-height: var(--header-height);
  width: 100%;
  gap: 0.75rem;
}

.site-header__brand {
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
}

.logo__link {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 48px;
  object-fit: contain;
}

.site-header__desktop {
  min-width: 0;
}

.site-header__search-wrap {
  min-width: 0;
  max-width: 100%;
}

.site-header__search-wrap .menu-search button {
  right: 12px;
}

.menu-left li a.is-active,
.menu-right li a.is-active,
.mobile-nav a.is-active {
  color: var(--primary) !important;
  font-weight: 600;
}

.has-dropdown.is-active > a {
  color: var(--primary);
}

.site-header__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  color: #000;
  background: #fff;
  transition: all 0.3s;
}

.site-header__icon-btn:hover,
.site-header__icon-btn.is-active {
  background: var(--light-green);
  border-color: var(--secondary);
  color: var(--primary);
}

.site-header__login-btn {
  white-space: nowrap;
  padding-left: 0.85rem !important;
  padding-right: 0.85rem !important;
}

/* Mobile toggle — in header bar (override legacy fixed position) */
.mobile-menu-icon {
  display: none;
  position: relative;
  right: auto;
  top: auto;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.mobile-menu-icon .navbar-toggler {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.mobile-menu-icon .navbar-toggler span {
  margin-top: 0;
}

/* Overlay */
#mobile-nav-overlay,
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

#mobile-nav-overlay.active,
.mobile-nav-overlay.active,
#mobile-nav-overlay.is-visible,
.mobile-nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile sidebar */
#mobile-nav,
.mobile-nav {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  max-width: min(300px, 92vw);
  height: 100%;
  height: 100dvh;
  background: #fff;
  z-index: 99999;
  transition: left 0.3s ease, transform 0.3s ease;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#mobile-nav.active,
.mobile-nav.active,
#mobile-nav.is-open,
.mobile-nav.is-open {
  left: 0;
}

/* Hamburger stays clickable above overlay */
header.site-header.is-mobile-nav-open,
#site-header.is-mobile-nav-open {
  z-index: 100001;
}

.mobile-nav-toggle,
#mobile-nav-toggle,
.mobile-menu-icon {
  position: relative;
  z-index: 100002;
  pointer-events: auto;
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  min-height: var(--header-height);
  border-bottom: 1px solid #eef1ef;
  flex-shrink: 0;
  background: #fff;
}

.mobile-nav__logo img {
  max-width: 130px;
  max-height: 42px;
  object-fit: contain;
}

.mobile-nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: var(--light-green);
  color: var(--primary);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-nav__close:hover {
  background: #dff0d8;
}

.mobile-nav__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
  background: #f8fbf8;
}

.mobile-nav__search {
  margin-bottom: 1rem;
}

.mobile-nav__search .menu-search-input {
  width: 100%;
  padding-right: 2.75rem;
}

.mobile-nav__search button {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.mobile-nav__list {
  display: block !important;
  width: 100%;
}

.mobile-nav__item {
  display: block !important;
  width: 100%;
  margin: 0 0 0.5rem !important;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mobile-nav__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border: none;
  background: #fff;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.mobile-nav__trigger-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-nav__trigger-inner i {
  color: var(--secondary);
}

.mobile-nav__chevron {
  transition: transform 0.25s ease;
  color: #666;
  font-size: 0.9rem;
}

.mobile-nav__item.is-open .mobile-nav__chevron {
  transform: rotate(180deg);
}

.mobile-nav__submenu {
  position: static !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: #f4f8f4 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  display: block !important;
}

.mobile-nav__submenu::before,
.mobile-nav__submenu::after {
  display: none !important;
}

.mobile-nav__item.is-open .mobile-nav__submenu {
  max-height: 480px;
}

/* Override legacy mobile .dropdown { display:none } inside sidebar */
#mobile-nav .mobile-nav__submenu,
.mobile-nav .mobile-nav__submenu {
  display: block !important;
  height: auto !important;
}

.mobile-nav__submenu li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  line-height: normal !important;
}

.mobile-nav__submenu li a {
  padding: 0.75rem 1rem 0.75rem 2.25rem !important;
  display: block !important;
  font-size: 14px !important;
  border-bottom: 1px solid #e8eee8;
  background: transparent !important;
}

.mobile-nav__submenu li:last-child a {
  border-bottom: none;
}

.mobile-nav__submenu li a:hover,
.mobile-nav__submenu li a.is-active {
  background: var(--light-green) !important;
  padding-left: 2.35rem !important;
  color: var(--primary) !important;
}

.mobile-nav__account {
  display: block !important;
  margin-top: 1.25rem !important;
  padding-top: 1rem;
  border-top: 1px solid #e0e8e0;
}

.mobile-nav__account li {
  display: block !important;
  width: 100%;
  margin: 0 0 0.5rem !important;
}

.mobile-nav__account li a {
  display: flex !important;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem !important;
  border-radius: 8px;
  border: 1px solid #e5e5e5 !important;
  background: #fff !important;
}

.mobile-nav__account li a:hover,
.mobile-nav__account li a.is-active {
  background: var(--light-green) !important;
  border-color: var(--secondary) !important;
  color: var(--primary) !important;
}

.mobile-nav__login-wrap {
  margin-top: 0.5rem;
}

.mobile-nav__login-wrap .btn {
  padding: 0.65rem 1rem;
}

body.mobile-nav-open {
  overflow: hidden;
  touch-action: none;
}

/* Tablet */
@media (max-width: 1199px) {
  .site-header__desktop .menu-search-input {
    font-size: 13px;
    padding-left: 18px;
    padding-right: 2.5rem;
  }
}

/* Mobile & tablet header */
@media (max-width: 991px) {
  :root {
    --header-height: 64px;
  }

  .site-header__container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .site-header__bar {
    min-height: var(--header-height);
  }

  .logo img {
    max-width: 130px;
    max-height: 42px;
  }

  .mobile-menu-icon {
    display: inline-flex;
    position: relative;
    right: auto;
    top: auto;
    width: 42px;
    height: 42px;
  }

  .site-header__mobile-actions .menu-right li {
    margin-top: 0;
    margin-right: 0;
  }

  .site-header__mobile-actions .menu-right li a {
    border: none;
    padding: 0;
  }

  /* Disable legacy full-screen mobile-menu panel */
  .mobile-menu {
    display: none !important;
  }

  .main {
    margin-top: var(--header-height);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .logo img {
    max-width: 115px;
    max-height: 38px;
  }

  .site-header__login-btn {
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  :root {
    --header-height: 56px;
    --mobile-nav-width: min(300px, 92vw);
  }

  .site-header__container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .logo img {
    max-width: 140px;
    max-height: 40px;
  }

  .mobile-menu-icon {
    width: 38px;
    height: 38px;
  }

  .site-header__icon-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 375px) {
  .site-header__brand {
    gap: 0.5rem;
  }

  .logo img {
    max-width: 140px;
  }

  .site-header__login-btn {
    font-size: 11px;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }
}

@media (min-width: 992px) {
  #mobile-nav,
  .mobile-nav,
  #mobile-nav-overlay,
  .mobile-nav-overlay {
    display: none !important;
  }

  .mobile-menu-icon,
  .mobile-nav-toggle {
    display: none !important;
  }

  header.site-header.is-mobile-nav-open,
  #site-header.is-mobile-nav-open {
    z-index: 110;
  }
}

@media (min-width: 1440px) {
  .site-header__container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .logo img {
    max-width: 170px;
    max-height: 52px;
  }
}


.exam-sidebar ul.ans-list {
    display: block;
    list-style: none;
    padding-left: 0;
}


.exam-sidebar ul.ans-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   User dashboard (resources/views/frontend/user/)
   ========================================================================== */

.dash-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.dash-breadcrumb a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
}

.dash-breadcrumb a:hover {
  color: var(--primary);
}

.dash-breadcrumb-sep {
  color: #adb5bd;
  font-size: 0.75rem;
}

.dash-breadcrumb-current {
  color: #6c757d;
  font-weight: 500;
}

.dash-exam-summary .dash-summary-box {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(5, 79, 37, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.dash-summary-box strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: "Josefin Sans", sans-serif;
  line-height: 1.2;
}

.dash-summary-box span {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 4px;
  display: block;
}

.exam-list-table tbody tr {
  background: #fff;
  transition: background 0.15s;
}

.exam-list-table tbody tr:hover {
  background: var(--light-green);
}

.exam-list-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}

.exam-list-table .exam-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
  font-family: "Josefin Sans", sans-serif;
  line-height: 1.35;
}

.exam-list-table .exam-meta {
  font-size: 0.82rem;
  color: #6c757d;
  line-height: 1.4;
}

.exam-list-scroll-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8ecef;
  background: #fff;
}

.exam-list-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: linear-gradient(90deg, var(--light-green) 0%, #f8faf9 100%);
  border-bottom: 1px solid #e3ebe3;
}

.exam-list-scroll-hint i {
  font-size: 0.9rem;
  color: var(--secondary);
}

.exam-list-scroll-inner {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) #eef2ee;
}

.exam-list-scroll-inner::-webkit-scrollbar {
  height: 6px;
}

.exam-list-scroll-inner::-webkit-scrollbar-track {
  background: #f0f3f0;
}

.exam-list-scroll-inner::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 999px;
}

.exam-list-table {
  width: 100%;
  min-width: 780px;
  margin: 0;
}

.exam-list-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8faf9;
  box-shadow: 0 1px 0 #e8ecef;
}

.exam-list-table thead th:nth-child(1) { min-width: 44px; }
.exam-list-table thead th:nth-child(2) { min-width: 160px; }
.exam-list-table thead th:nth-child(3) { min-width: 120px; }
.exam-list-table thead th:nth-child(4) { min-width: 120px; }
.exam-list-table thead th:nth-child(5) { min-width: 88px; }
.exam-list-table thead th:nth-child(6) { min-width: 150px; }
.exam-list-table thead th:nth-child(7) { min-width: 140px; }

.exam-list-table tbody td:nth-child(2) .exam-title {
  min-width: 140px;
  max-width: 220px;
  white-space: normal;
}

.exam-list-table tbody td:nth-child(6) .exam-meta {
  white-space: nowrap;
}

.btn-view-attempts {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-view-attempts:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 137, 36, 0.25);
}

.attempts-detail-table {
  width: 100%;
  min-width: 920px;
  margin: 0;
  font-size: 0.88rem;
  border-collapse: separate;
  border-spacing: 0;
}

.attempts-detail-scroll-wrap {
  border: none;
  border-radius: 0;
}

.attempts-detail-table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 12px;
  border: none;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(5, 79, 37, 0.12);
}

.attempts-detail-table tbody tr {
  background: #fff;
  transition: background 0.15s;
}

.attempts-detail-table tbody tr:hover {
  background: var(--light-green);
}

.attempts-detail-table tbody td {
  padding: 14px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}

.attempts-detail-table thead th:nth-child(1),
.attempts-detail-table tbody td:nth-child(1) { min-width: 44px; text-align: center; }

.attempts-detail-table thead th:nth-child(2),
.attempts-detail-table tbody td:nth-child(2) { min-width: 130px; }

.attempts-detail-table thead th:nth-child(3),
.attempts-detail-table tbody td:nth-child(3) { min-width: 155px; }

.attempts-detail-table thead th:nth-child(4),
.attempts-detail-table tbody td:nth-child(4) { min-width: 115px; }

.attempts-detail-table thead th:nth-child(5),
.attempts-detail-table tbody td:nth-child(5) { min-width: 110px; }

.attempts-detail-table thead th:nth-child(6),
.attempts-detail-table tbody td:nth-child(6) { min-width: 130px; }

.attempts-detail-table thead th:nth-child(7),
.attempts-detail-table tbody td:nth-child(7) { min-width: 125px; }

.attempts-detail-table thead th:nth-child(8),
.attempts-detail-table tbody td:nth-child(8) { min-width: 145px; }

.attempts-detail-table .attempt-id-code {
  display: inline-block;
  background: var(--light-green);
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  word-break: break-all;
  max-width: 120px;
  line-height: 1.3;
}

.attempts-detail-table .attempt-date,
.attempts-detail-table .attempt-progress {
  font-size: 0.84rem;
  color: #495057;
  white-space: nowrap;
}

.attempts-detail-table .status-cell {
  white-space: nowrap;
}

.attempts-detail-table .action-cell {
  white-space: nowrap;
}

.user-dashboard-sec a.panel-back-btn:hover {
  color: #fff;
}

.user-dashboard-sec {
  padding: 32px 0 72px;
  margin-top: var(--header-height, 58px);
  min-height: calc(100vh - 58px);
  background: linear-gradient(165deg, #e8f5e9 0%, #e8ecfa 45%, #f4f7fb 100%);
}

.dash-page-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.dash-page-title span {
  color: #6c757d;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  margin-top: 4px;
  font-family: "Inter", sans-serif;
}

.dash-profile-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 20px;
  padding: 28px;
  color: #fff;
  box-shadow: 0 12px 40px rgba(5, 79, 37, 0.25);
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}

.dash-profile-hero::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.dash-profile-hero::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: -60px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.dash-profile-hero .hero-inner {
  position: relative;
  z-index: 1;
}

.dash-profile-hero .user-profile-pic img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.dash-profile-hero h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.dash-profile-hero .hero-meta {
  opacity: 0.9;
  font-size: 0.88rem;
  margin-bottom: 0;
}

.dash-profile-hero .hero-meta i {
  margin-right: 6px;
}

.dash-btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  transition: all 0.25s;
  background: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dash-btn-outline-light:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.dash-stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid rgba(5, 79, 37, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.25s ease;
  height: 100%;
  text-align: left;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.dash-stat-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s;
}

.dash-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 137, 36, 0.14);
  border-color: rgba(15, 137, 36, 0.2);
}

.dash-stat-card:hover::after {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.dash-stat-card.is-active {
  border-color: var(--secondary);
  background: linear-gradient(180deg, #fff 0%, var(--light-green) 100%);
  box-shadow: 0 12px 32px rgba(15, 137, 36, 0.18);
}

.dash-stat-card.is-active::after {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.dash-stat-card.is-featured {
  background: linear-gradient(145deg, #fff 0%, #f0faf0 100%);
}

.dash-stat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-stat-card.is-featured .dash-stat-icon-wrap {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.dash-stat-card.is-featured .dash-stat-icon-wrap i {
  color: #fff !important;
}

.dash-stat-card i {
  font-size: 26px;
  color: var(--secondary);
}

.dash-stat-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: "Josefin Sans", sans-serif;
  color: var(--primary);
  line-height: 1.3;
}

.dash-stat-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: #6c757d;
  line-height: 1.4;
}

.dash-stat-card .stat-count {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  background: var(--light-green);
  padding: 4px 12px;
  border-radius: 20px;
}

.dash-stat-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
  font-size: 1.1rem;
  transition: transform 0.25s, color 0.25s;
}

.dash-stat-card:hover .dash-stat-arrow,
.dash-stat-card.is-active .dash-stat-arrow {
  color: var(--secondary);
  transform: translateY(-50%) translateX(4px);
}

.attempted-exams-panel {
  display: none;
}

.attempted-exams-panel.is-visible {
  display: block;
  animation: dashSlideUp 0.35s ease;
}

@keyframes dashSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dash-panel-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(5, 79, 37, 0.06);
  overflow: hidden;
}

.dash-panel-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 20px 24px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-panel-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.dash-panel-header p {
  margin: 4px 0 0;
  opacity: 0.85;
  font-size: 0.85rem;
}

.user-dashboard-sec .panel-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.user-dashboard-sec .panel-back-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.dash-panel-body {
  padding: 24px;
}

.exam-tree-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8ecef;
}

.exam-tree-table {
  width: 100%;
  margin: 0;
  font-size: 0.9rem;
}

.exam-tree-table thead th {
  background: #f8faf9;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 16px;
  border-bottom: 2px solid var(--light-green);
  white-space: nowrap;
}

.exam-tree-parent {
  cursor: pointer;
  transition: background 0.2s;
  background: #fff;
}

.exam-tree-parent:hover {
  background: var(--light-green);
}

.exam-tree-parent.is-open {
  background: linear-gradient(90deg, var(--light-green) 0%, #fff 100%);
  border-left: 4px solid var(--secondary);
}

.exam-tree-parent td {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.exam-tree-parent .exam-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  font-family: "Josefin Sans", sans-serif;
}

.exam-tree-parent .exam-meta {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 2px;
}

.exam-tree-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: var(--light-green);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  font-size: 1rem;
}

.exam-tree-parent.is-open .exam-tree-toggle {
  background: var(--secondary);
  color: #fff;
  transform: rotate(90deg);
}

.badge-attempts-pill {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.exam-tree-child-row {
  display: none;
}

.exam-tree-child-row.is-visible {
  display: table-row;
  animation: dashFadeIn 0.3s ease;
}

@keyframes dashFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.exam-tree-child-row td {
  padding: 0;
  background: #f8faf9;
  border-bottom: 2px solid var(--light-green);
}

.exam-tree-child-inner {
  padding: 20px 20px 20px 24px;
}

.exam-tree-child-inner .child-table {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #e9ecef;
}

.exam-tree-child-inner .child-table thead th {
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 12px;
  border: none;
}

.exam-tree-child-inner .child-table tbody tr {
  transition: background 0.15s;
}

.exam-tree-child-inner .child-table tbody tr:hover {
  background: #fafdfb;
}

.exam-tree-child-inner .child-table td {
  padding: 12px;
  font-size: 0.84rem;
  vertical-align: middle;
  border-color: #f0f0f0;
}

.exam-tree-child-inner code {
  background: var(--light-green);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
}

.user-dashboard-sec .score-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.user-dashboard-sec .score-pill.high {
  background: #d4edda;
  color: #155724;
}

.user-dashboard-sec .score-pill.mid {
  background: #fff3cd;
  color: #856404;
}

.user-dashboard-sec .score-pill.low {
  background: #f8d7da;
  color: #721c24;
}

.user-dashboard-sec .result-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.user-dashboard-sec .result-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
}

.user-dashboard-sec .result-chip.correct {
  background: #d4edda;
  color: #155724;
}

.user-dashboard-sec .result-chip.wrong {
  background: #f8d7da;
  color: #721c24;
}

.user-dashboard-sec .badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  white-space: nowrap;
  line-height: 1.2;
}

.user-dashboard-sec .badge-status.submitted {
  background: #d4edda;
  color: #0d5c24;
  border: 1px solid #28a745;
}

.user-dashboard-sec .badge-status.progress {
  background: #ff9800;
  color: #fff;
  border: 1px solid #e65100;
  box-shadow: 0 1px 4px rgba(230, 81, 0, 0.35);
}

.exam-tree-child-inner .child-table .status-cell {
  min-width: 130px;
  white-space: nowrap;
}

.dash-action-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.user-dashboard-sec .btn-response-sheet {
  background: var(--secondary);
  border: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.user-dashboard-sec .btn-response-sheet:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 137, 36, 0.3);
}

.user-dashboard-sec .empty-exams {
  text-align: center;
  padding: 56px 24px;
}

.user-dashboard-sec .empty-exams .empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-dashboard-sec .empty-exams .empty-icon i {
  font-size: 2.2rem;
  color: var(--secondary);
}

.user-dashboard-sec .empty-exams h3 {
  font-family: "Josefin Sans", sans-serif;
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.user-dashboard-sec .empty-exams p {
  color: #6c757d;
  margin-bottom: 20px;
}

.user-dashboard-sec .empty-exams .btn-browse {
  background: var(--secondary);
  border: none;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.user-dashboard-sec .empty-exams .btn-browse:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 767px) {
  .dash-profile-hero {
    padding: 20px;
    text-align: center;
  }

  .dash-profile-hero .hero-inner .row {
    justify-content: center;
  }

  .dash-stat-arrow {
    display: none;
  }

  .exam-tree-table:not(.exam-list-table) thead {
    display: none;
  }

  .exam-list-scroll-hint {
    display: flex;
  }

  .exam-list-scroll-inner {
    max-width: 100%;
  }

  .exam-list-table {
    min-width: 720px;
    font-size: 0.85rem;
  }

  .exam-list-table thead th {
    background: var(--primary);
    color: #fff;
    border-bottom: none;
    padding: 12px 14px;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(5, 79, 37, 0.15);
  }

  .exam-list-table tbody td {
    padding: 12px 14px;
    white-space: nowrap;
  }

  .exam-list-table tbody td:nth-child(2) {
    white-space: normal;
  }

  .exam-list-table .exam-title {
    font-size: 0.88rem;
  }

  .exam-list-table .exam-meta {
    font-size: 0.78rem;
  }

  .btn-view-attempts {
    padding: 0.4rem 0.75rem;
    font-size: 0.76rem;
  }

  .dash-panel-body {
    padding: 16px 12px;
  }

  .dash-panel-header {
    padding: 16px;
  }

  .dash-page-title {
    font-size: 1.35rem;
  }

  .dash-page-title span {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .dash-exam-summary .dash-summary-box {
    padding: 12px 10px;
  }

  .dash-exam-summary .dash-summary-box strong {
    font-size: 1.25rem;
  }

  .dash-exam-summary .dash-summary-box span {
    font-size: 0.72rem;
  }

  .attempts-detail-scroll-wrap .exam-list-scroll-hint {
    display: flex;
  }

  .attempts-detail-table {
    min-width: 860px;
    font-size: 0.82rem;
  }

  .attempts-detail-table thead th {
    padding: 11px 10px;
    font-size: 0.68rem;
  }

  .attempts-detail-table tbody td {
    padding: 12px 10px;
  }

  .attempts-detail-table .attempt-id-code {
    font-size: 0.68rem;
    max-width: 100px;
  }

  .attempts-detail-table .attempt-date,
  .attempts-detail-table .attempt-progress {
    font-size: 0.78rem;
  }

  .user-dashboard-sec .score-pill {
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  .user-dashboard-sec .result-chip {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  .user-dashboard-sec .badge-status {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  .user-dashboard-sec .btn-response-sheet {
    font-size: 0.72rem;
    padding: 0.4rem 0.65rem;
  }

  .exam-tree-parent td {
    display: block;
    padding: 12px 16px;
  }

  .exam-tree-parent td:first-child {
    padding-bottom: 0;
  }

  .exam-tree-child-inner {
    padding: 12px;
  }

  .exam-tree-child-inner .child-table thead {
    display: none;
  }

  .exam-tree-child-inner .child-table tbody tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
  }

  .exam-tree-child-inner .child-table tbody td {
    display: flex;
    justify-content: space-between;
    border: none;
    padding: 6px 0;
  }

  .exam-tree-child-inner .child-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.78rem;
  }

  .exam-tree-child-inner .child-table tbody td:last-child::before {
    display: none;
  }

  .dash-action-btns {
    flex-direction: column;
  }

  .dash-action-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .exam-summary-table-wrap {
    overflow: visible;
    padding: 4px 2px;
  }

  .exam-summary-table thead {
    display: none;
  }

  .exam-summary-table,
  .exam-summary-table tbody,
  .exam-summary-table tr {
    display: block;
    width: 100%;
  }

  .exam-summary-table {
    border: none;
    background: transparent;
  }

  .exam-summary-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 16px;
    padding: 0 12px 14px;
    box-shadow: 0 4px 20px rgba(5, 79, 37, 0.08);
  }

  .exam-summary-table tbody td.exam-summary-section-title {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    margin: 0 -12px 6px;
    padding: 16px 14px;
    border-radius: 16px 16px 0 0;
    border: none;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
  }

  .exam-summary-table tbody td.exam-summary-section-title::before {
    content: "\F4CA";
    font-family: "bootstrap-icons";
    font-size: 1rem;
    opacity: 0.9;
  }

  .exam-summary-table tbody td.exam-summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    border: 1px solid #e8f0ea;
    border-radius: 12px;
    padding: 14px 8px;
    background: #f9fcf8;
    min-height: 88px;
  }

  .exam-summary-table tbody td.exam-summary-stat::before {
    content: attr(data-label);
    display: block;
    width: 100%;
    max-width: none;
    flex: none;
    text-align: center;
    font-weight: 600;
    color: #5a6b5e;
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
  }

  .exam-summary-table tbody td.exam-summary-stat .stat-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
  }

  .exam-summary-table tbody td.stat-total .stat-value {
    background: rgba(5, 79, 37, 0.1);
    color: var(--primary);
  }

  .exam-summary-table tbody td.stat-answered .stat-value {
    background: rgba(15, 137, 36, 0.12);
    color: #0a7a1e;
  }

  .exam-summary-table tbody td.stat-not-answered .stat-value {
    background: rgba(220, 53, 69, 0.1);
    color: #c82333;
  }

  .exam-summary-table tbody td.stat-review .stat-value {
    background: rgba(255, 168, 29, 0.15);
    color: #c47d00;
  }

  .exam-summary-table tbody td.stat-answered-review .stat-value {
    background: rgba(108, 7, 202, 0.1);
    color: #6c07ca;
  }

  .exam-summary-table tbody td.stat-not-visited .stat-value {
    background: rgba(108, 117, 125, 0.12);
    color: #495057;
  }

  .exam-summary-table tbody td.stat-total {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: auto;
    padding: 12px 16px;
    background: var(--light-green);
    border-color: #dce8dd;
  }

  .exam-summary-table tbody td.stat-total::before {
    text-align: left;
    font-size: 0.78rem;
    color: var(--primary);
    width: auto;
    flex: 1;
  }

  .exam-summary-table tbody td.stat-total .stat-value {
    font-size: 1.35rem;
    min-width: 44px;
    height: 44px;
  }

  .exam-summary-table tbody td.stat-not-visited {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: auto;
    padding: 12px 16px;
  }

  .exam-summary-table tbody td.stat-not-visited::before {
    text-align: left;
    font-size: 0.78rem;
    width: auto;
    flex: 1;
  }

  .exam-summary-table tbody td.stat-not-visited .stat-value {
    font-size: 1.2rem;
  }

  .exam-summary-actions {
    margin-top: 1.5rem !important;
  }

  .exam-summary-actions .col-lg-12 {
    padding: 20px 8px !important;
    margin-top: 1rem !important;
    border-top: none !important;
  }

  .exam-summary-notice {
    padding: 14px;
    margin-bottom: 16px;
  }

  .exam-summary-notice p {
    font-size: 0.84rem;
  }

  .exam-summary-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .exam-summary-btns .btn {
    width: 100%;
    min-width: 0;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 10px;
  }

  .exam-body {
    padding: 16px 12px;
  }

  .exam-top-header {
    padding: 16px 14px;
    border-radius: 16px 16px 0 0;
  }

  .exam-top-header h4,
  .exam-top-header h5 {
    font-size: 0.95rem;
  }

  .exam-user-img img {
    width: 56px;
    height: 56px;
  }
}