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

body {
  height: 100%;
}

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

textarea:focus {
  outline: none;
}

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

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

ul {
  list-style: none;;
}

body p {
  margin: 0
}

body h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.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 ul {
  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;
  font-weight: 300;
  font-size: 0.9rem;
  border: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.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;
  padding: 10px;
  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;
  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;
}

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

.grade-wise-mid-part{
  display: flex;
  justify-content: space-between;
}

.grade-wise-midpart-left{
  display: flex;
  flex-direction: column;
  margin: 3%;
  width: 25%;
}

.filter-btn{
  padding: 8px 15px;
  border: 1px solid #000000;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

.filter-sort{
  display: flex;
  justify-content: space-around;
}

.grade-clear-filters{
  font-weight:bolder;
  color:#0085FF;
  margin-top: 12px;
  margin-left: 14%;
}

.small-filter-sort-clear-cont{
  display: none;
}

.grade-wise-courses-container {
  margin: 3%;
  width: 70%;
  justify-self: center;
  align-self: center;
}

.grade-filters-cont{
  display: flex;
  flex-direction: column;
}

.grade-filters-cont li{
  padding: 30px 8px;
  border: none;
  background-color: transparent;
}

.grade-wise-courses-container h4:first-child {
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 20px
}

.grade-wise-courses-container .btn-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}

.btn-container .border-bottom {
  border-bottom: 3.2px solid #0085FF !important;
  margin-bottom: 0;
}

.purple-btn {
  padding: 10px 40px;
  border: none;
  background-color: #939393;
  color: #fff;
  border-radius: 30px;
  margin-left: auto;
  margin-right: auto;
  margin-top:20px;
  margin-bottom: 30px;
}

.purple-btn.active {
  background-color: #0085FF
}

.borderline {
  width: 100%;
  height: 1.3px;
  background-color: #000;
}

.card-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.grade9, .grade10, .grade11, .grade12 {
  display: none;
}


.grade9.active, .grade10.active, .grade11.active, .grade12.active {
  display: flex;
}


.card2 {
  list-style: none;
  flex-direction: column;
  border-radius: 20px;
  background-color: #0085FF !important;
  margin-right: 20px;
  margin-left: 20px;
  padding-bottom: 10px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset, 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  margin-top: 40px;
  width: 25%;
  height: fit-content;
}

.card2:hover {
  cursor: pointer
}

.card2 h5 {
  text-align: center;
  font-size: 1.1rem !important;
  padding: 7px;
  background-color: #EBE2E2;
  color: #000 !important;
  font-weight: 600 !important;
}

.card2 p {
  font-size: 1rem !important;
  margin: 0;
}

.card2 .rating-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 5px 0;
}

.card-body2 {
  padding: 10px 10px 20px 10px!important;
  background-color: #D3D3D3;
}

.rating-container .rating{
  margin-right: 8px;
  font-weight: 600;
}

.rating-container .rating-icons {
  margin-right: 5px;
  color: #FFB602;
}


.rating-container .views {
  opacity: 0.5;
}

.card2 img {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.card2 h5 {
  font-weight: 400;
  font-size: 0.9rem;
  color: #003078;
}

.card2 p {
  color: #002449;
  font-size: 0.8rem;
  font-weight: 300;
}

.card2 .view-more {
  display: flex;
  align-items: center;
  justify-content: center;
 }

.card2 .view-more button {
  border: none;
  background-color: transparent;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 10px;
  color: #fff;
 }


 .view-more button:hover {
  cursor: pointer;
 }


.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:900px){
  .filter-sort{
    display: none;
  }
  .grade-clear-filters{
    display: none;
  }
  .small-clear-filters{
    font-weight:bolder;
    color:#0085FF;
    align-self: center;
  }
  .grade-wise-mid-part{
    display: flex;
    flex-direction: column;
  }
  .grade-wise-midpart-left{
    width: 90%;
  }
  .grade-wise-courses-container{
    width: 90%;
  }
  .small-filter-sort-clear-cont{
    display: flex;
    justify-content:center;
  }
  .filter-btn{
    padding: 8px 18px;
    width: 110px;
  }
  .grade-filters-cont{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .grade-filters-cont li{
    width: 20%;
    background-color: transparent;
    margin-right: 15px;
    flex-shrink: 0;
  }
  .filters-down-arrow{
    height: 22px;
  }
}

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

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

  .card-container {
    justify-content: space-around;
    gap: 10px;
  }

  .card2 {
    width: 200px;
  }

  .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:864px){
  .landing-company-details{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .landing-company-details ul{
    width: 50%;
  }
}

@media screen and (max-width: 729px) {
   .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 (min-width: 700px) {
  .grade-wise-courses-container .btn-container span {
    display: none;
  }
}

@media screen and (max-width: 700px) {
  .grade-wise-courses-container .btn-container p {
    display: none;
  }
  .grade-wise-courses-container .purple-btn {
    padding: 10px 20px
  }
}

@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 {
    justify-content: space-around !important;
    align-items: center !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 .cart {
    width: 15px;
    height: 15px;
  }

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

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

@media screen and (min-width:375px) and (max-width:677px){
  .small-filter-sort-clear-cont{
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  .small-clear-filters{
    font-size: 16px;
    margin-left: 14%;
  }
  .grade-filters-cont li {
    padding: 0px;
  }
  .grade-filters-cont li h6{
    font-size: 12px
  }
  .filters-down-arrow{
    height: 16px;
  }
}