* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,body {
  height: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

body {
  display: flex;
  flex-direction: column;
}

body a {
  text-decoration: none;
  color: #000;
}

body a:hover {
  color: #000 !important
}
ul {
  list-style: none;
}

input:focus, select:focus, textarea:focus {
outline: none;
}

.wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.navbar {
  width: 100% !important;
  padding: 10px !important;
}

.navbar .left-section {
  position: relative
}

.navbar .left-section , .right-section {
  display: flex;
  align-items: center !important;
  justify-content: center;
}

.left-section .logo {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background-color: #fff;
  margin-right: 10px;
}

.left-section .company-name {
  color: #0085FF !important;
  margin: 0 30px 0 0!important;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.4rem
}

.left-section .categories {
  font-size: 0.9rem;
  font-weight: 500;
}

.left-section .categories:hover,
.left-section .company-name,
.left-section li:hover {
  cursor: pointer
}


.left-section .main-category {
  top: 60px;
  left: 420px;
  position:absolute;
  width: max-content
}

.left-section .main-category, .left-section .web-development-category,  .left-section .mobile-developement-category,  .left-section .programming-category,  .left-section .engineering-category,  .left-section .block-chain-category,  .left-section .iot-category,  .left-section .cloud-category,  .left-section .data-science-category,  .left-section .cybersecurity-category {
  list-style: none;
  background-color: #fff;
  padding: 15px 15px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 0 9.1px 0 rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 2;
}

.left-section ul li {
  padding-top: 20px;
  font-size: 0.9rem;
}

.left-section .category {
  top: 70px;
  right: 75px;
  width: max-content;
  z-index: 30;
}

.left-section .main-category, .left-section .web-development-category,  .left-section .mobile-developement-category,  .left-section .programming-category,  .left-section .engineering-category,  .left-section .block-chain-category,  .left-section .iot-category,  .left-section .cloud-category,  .left-section .data-science-category,  .left-section .cybersecurity-category {
  display: none;
}

.left-section .main-category.active {
  display: block;
}

.left-section .category.active {
  display: block;
}


.searchBar {
  position: relative;
  margin: 0 20px;
  border-radius: 5px;
  border: 1px solid #D0D5DD;
  background-color: #F2FFFB;
}

.searchBar input{
  background-color: #fff;
  padding: 8px;
  padding-left: 30px;
  width: 200px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border: none;
  font-weight: 300;
  font-size: 0.9rem;
}

.explore {
  padding: 0 5px;
}

.searchBar .fa-search {
    position: absolute;
    left: 10px;
    top: 8px;
    color: #98A2B3;
}

.navbar .right-section a {
margin-right: 30px;
font-size: 0.9rem;
font-weight: 500;
}

.navbar .right-section {
  position: relative
}

.navbar  a.active {
  color: #0085FF !important
}

.navbar  a:hover {
  cursor: pointer;
  color: #0085FF !important
}

.right-section .cart {
  font-size: 1.5rem;
  margin-right: 20px;
}

.right-section .cart:hover {
  color: #0085FF;
  cursor: pointer;
}

.right-section .cart.active {
  color: #0085FF;

}

.right-section .profile i {
  margin-left: 8px;
}

.right-section .profile i.rotate {
  transform: rotate(180deg)
}

.right-section .profile i:hover {
  cursor: pointer;
}

.right-section .profile-container {
  position: relative;
}

.right-section .profile-container ul {
  position: absolute;
  right: 15px;
  top: 55px;
  background-color: rgba(230, 230, 230, 0.4); /* Add transparency */
  backdrop-filter: blur(10px); /* Apply blur effect */
  padding-left: 0;
  border-radius: 8px;
  border: none;
  width: 200px;
  z-index: 10;
  display: none;
}
.right-section .profile-container ul.active {
  display: block;
}

.right-section .profile-container a {
  color: #000;
  margin: 0;
  font-weight: 400;
}
.right-section .profile-container a:hover {
  color: #000 !important
}
.right-section .profile-container li {
  padding: 10px 20px;
  border: 0.5px solid transparent;
  text-decoration: none;
  font-size: 0.9rem;
}

.right-section .profile-container li:hover {
  background-color: #C3C3C3;
  border-radius: 8px;
  text-decoration: underline;
  cursor: pointer;
}

.right-section .profile-container li.active {
  background-color: #C3C3C3;
  border: 0.5px solid #747474;
}

.my-learnings-container {
  margin: 40px;
  flex: 1;
  margin-bottom: 60px;
}

.my-learnings-container h1 {
  font-size: 1.6rem;
  font-weight: 700;
}

.my-learnings-container .buttons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.my-learnings-container .buttons button {
  background-color: #fff;
  padding: 2px 15px;
  border-radius: 50px;
  border: 2px solid #667085;
  font-size: 0.9rem;
  margin-right: 15px;
  color: #667085;
  font-weight: 500;
}

.my-learnings-container .buttons .btn.active,
.my-learnings-container .buttons .btn:hover{
  background-color: #667085;
  color: #fff
}

.containers {
  display: none;
}

.containers.active {
  display: block
}

.containers .card {
  border: none;
  display: flex !important;
  /* align-items: flex-start; */
  flex-direction: row;
  margin-top: 40px;
  height: 180px;
}
.containers .card .course-img {
  width: 350px;
  height: 200px;
  border-radius: 5px;
  margin-right: 20px;
  overflow: hidden; /* Ensure that the image does not overflow the container */
  position: relative; /* Create a positioning context for the image */
}

.card .course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the container while maintaining aspect ratio */
  position: absolute; /* Position it absolutely to cover the container */
  top: 0;
  left: 0;
}
.in-progress-container h4 {
  font-weight: 600;
  font-size: 1.5rem
}
.containers .content {
  position:relative;
  width: 100%;
}
.containers .content p {
  font-weight: 300;
}
.content .para {
  height: 50px;
  overflow: hidden
}
.in-progress-container .module-container {
  display: flex;
  align-items: center;
  margin-top: 30px;
}
.in-progress-container .module-container .ellipse {
  padding: 10px 20px;
  border-radius: 50%;
  border: 1px solid #6E6E6E;
  background-color: #6E6E6E;
  color: #fff;
  margin-left: 20px;
}
.in-progress-container .ellipse p {
  font-weight: 600;
  font-size: 1.1rem
}
.in-progress-container .module-container .ellipse.active {
  color: #0085FF;
  background-color: #D9D9D9;
  border: 1px solid #0085FF
}
.in-progress-container .progress-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 5px 0;
  border-radius: 5px;
}

.progress-container .progress {
  width: 70%;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}
.progress-container .progress-bar {
  height: 10px;
  width: 65%; 
  border-radius: 5px;
}

.completed-container .status{
  display: flex;
  align-items: center;
  /* margin-top: 20px; */
  position:absolute;
  bottom: 5px
}

.completed-container .status p {
  color: #00B894;
  font-weight: 500;
  margin-left: 10px
}

.image-container {
  position: relative;
}

.image-container .time {
  position: absolute;
  top: 5px;
  right: 25px;
  padding: 3px;
  border-radius: 2px;
  background-color: #fff;
  color: #667085;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}
.image-container h2 {
  color: #fff;
  position: absolute;
  top: 40%;
  left: 13%;
  font-weight: 700;
}

.ratings {
  display: flex;
  align-items: center;
}

.ratings img {
  margin-right: 3px;
}

.user-info {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.user-info img {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  margin-right: 10px;
}

.action-container div {
  display: flex;
  align-items: center;
}

.action-container div p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-right: 10px;
}

.action-container div:hover {
  cursor: pointer;
}

.vertical-line {
  height: 100%;
  width: 4px;
  background-color: #000;
  margin: 0 15px;
  border-radius: 20px;
}

.price-container {
  position: relative;
  width: 100%;
}

.price-container h6{
  font-size: 1.1rem;
  font-weight: 600;
}

.price-container h4{
  font-weight: 700;
  font-size: 1.7rem
}
.price-container button {
  position: absolute;
  bottom: 5px;
  border-radius: 15px;
  border: none;
  background-color: #0085FF;
  color: #fff;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 0.95rem
}

.price-container button:hover {
  background-color: #006dd2;
}

.footer-section {
    background-color: #101828;
    padding-top: 40px;
    padding-bottom: 15px;
    padding-left: auto;
    padding-right: auto;
    text-align: center;
}
  
.footer-section li {
  text-align: left;
  color: #fff !important;
}

.company-details {
   display: flex;
  justify-content: space-evenly;
  margin-bottom: 40px;
  flex-wrap: wrap;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.company-details .app {
  margin-left: 10px;
}

.app p {
  margin: 0;
}

.more-items {
  margin: 15px;
}

.more-items ul {
  text-align: left;
  font-size: 0.95rem;
}

.footer-section li {
  margin-bottom: 5px;
  color: #fff !important;
}

.footer-section .list-header {
  color: #98A2B3 !important;
  font-weight: 500;
  text-decoration: none !important;
}

.footer-section li:hover {
  cursor: pointer;
  text-decoration: underline;
}


.socials i {
  font-size: 1.5rem;
  margin-right: 12px;
  color: #98A2B3
}

.socials i:hover {
  cursor: pointer;
  color: #fff;
}

.footer-below-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  color: #98A2B3;
}

@media screen and (max-width: 1050px) {
  .containers.active {
    display: flex;
  }

  .containers.active .status {
    position: static;
    margin-top: 10px;
  }
  
  .containers.active .course-img {
    margin-bottom: 10px;
  }

  .in-progress-container.active .module-container .ellipse {
    padding: 2px 8px;
    margin-left: 10px;
  }

  .in-progress-container.active .module-container p {
    font-size: 0.85rem;
    font-weight: 400;
  }

  .containers.active  .card {
    flex-direction: column;
    height: max-content;
    width: 300px;
    padding: 10px;
    margin-right: 20px;
  }

  .containers.active .card .course-img {
    width: 300px;
  }

  .in-progress-container.active .progress-p {
    margin-bottom: 5px;
  }

  .in-progress-container.active .card .assignment {
    display: none;
  }

  .in-progress-container.active .progress-container p {
    display: none;
  }

  .in-progress-container.active .progress-container .progress {
    width: 100%;
  }

  .containers.active .action-container {
    margin: 10px 0;
    text-align: right;
    display: flex;
    justify-content: flex-end;
  }

  .containers.active .action-container div {
    align-self: flex-end;
  }

  .price-container {
    display: flex;
    flex-direction: column;
  }

  .price-container div {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .price-container button {
    position: static;
    margin-top: 10px;
    width: 100%;
  }
  
}

@media screen and (max-width: 865px) {
  .navbar .left-section .searchBar {
    display: none;
  }

  .navbar .left-section .categories {
    display: none;
  }

  .company-details ul,
  .company-details .description,
  .company-details .app {
    margin-top: 10px;
  }

  .company-details{
    justify-content: space-between;
  }

  .company-details ul{
    width: 50%;
  }
}


@media screen and (max-width: 729px) {
  .containers.active {
    flex-wrap: wrap;
  }

   .company-details{
    justify-content: space-around;
    gap: 30px;
  }

  .company-details .description, .company-details .app{
    width: 100%;
    margin-bottom: 8px;
  }

  .company-details ul{
    width: 33%;
  }
}

@media screen and (max-width: 610px) {
  .footer-below-section {
    flex-direction: column-reverse;
  }
  .footer-below-section .socials {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 550px) {
  .navbar .company-name {
    display: none;
  }
  .header-section .lower-section {
    display: none;
  }
  .navbar .right-section .btn {
    z-index: 10;
  }
}

@media screen and (max-width: 478px) {
  .company-details {
    gap: 20px;
  }
}

@media screen and (max-width: 375px) {
  .navbar {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px;
  }

  .navbar .left-section .logo {
    width: 40px;
    height: 40px;
  }

  .navbar .right-section a {
    font-size: 0.7rem;
    margin-right: 12px;
  }

  .navbar .right-section i {
    width: 10px;
    height: 10px;
  }

  .footer-section .company-details{
    justify-content: flex-start;
    gap: 10px;
  }
}