@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
  font-family: "Neue-Montreal";
  src: url("/website/assets/font/NeueMontreal-Regular.otf");
}
:root {
  --primary_color: #006b4f !important;
  --secondary_color: #ee2d43 !important;
  --border_color: #ccc9c9 !important;
  --white_color: #ffffff !important;
  --text_color: #333 !important;
  --red_color: #ce2e28 !important;
  --green_color: #00312d !important;
  --lightGreen_color: #94d227;
  --yellow_color: #daac50;
  --primary_font: "Poppins" !important;
  --secondary_font: "Inter" !important;
  --tarnary_font: "Neue-Montreal" !important;
}
.no_course_found {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  background-color: var(--white_color);
  border-radius: 10px;
  font-family: var(--primary_font);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  align-items:center;
  justify-content:center;
}

/* Compare Hero section ============================== */
.courseHeroSection {
  width: 100%;
  height: 349px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  overflow: hidden;
}
.courseHeroSection-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.courseHeroSectionContainer {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
}
.courseHeroSectionContainer h1 {
  margin: 0;
  margin-top: 4rem;
  font-size: 50px;
  font-weight: 400;
  font-family: var(--tarnary_font);
  color: var(--white_color);
}
.courseHeroSectionContainer p {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  font-family: var(--secondary_font);
  color: var(--white_color);
}

/* Compare List section ============================== */
.courselist-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 5rem;
}
.couselist-container {
  margin-bottom: 4rem;
  width: 90%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* ================= */
.courseFilterContainer {
  width: 20%;
}
.filter-items-cntainer {
  width: 100%;
  margin-top: 0.5rem;
  border-radius: 10px;
  background-color: var(--white_color);
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--white_color);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
input:checked + .slider {
  background-color: var(--lightGreen_color);
}
input:focus + .slider {
  box-shadow: 0 0 1px var(--lightGreen_color);
}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}
.select-menu {
  max-width: 100%;
}
.select-menu .select-btn {
  display: flex;
  height: 55px;
  padding: 1rem;
  font-size: 16px;
  font-weight: 600;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;
}
.select-btn i {
  font-size: 16px;
}
.select-menu .options {
  display: none;
  margin-bottom: 0;
  padding: 1rem;
  width: 100%;
  animation-name: fadeInDown;
  -webkit-animation-name: fadeInDown;
  animation-duration: 0.35s;
  animation-fill-mode: both;
  -webkit-animation-duration: 0.35s;
  -webkit-animation-fill-mode: both;
}
.searchInput {
  margin: 0;
  height: 35px !important;
  width: 100% !important;
  border: 1px solid #abb5be !important;
  border-radius: 4px;
  margin: 4px 0;
  padding: 0 4px;
}
.optionsboxcontainer {
  max-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.select-menu.active .options {
  display: block;
  opacity: 0;
  z-index: 10;
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
  animation-duration: 0.4s;
  animation-fill-mode: both;
  -webkit-animation-duration: 0.4s;
  -webkit-animation-fill-mode: both;
}
.option-text {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  font-size: 16px;
  color: #333;
}
.select-btn i {
  font-size: 20px;
  transition: 0.3s;
}
.select-menu.active .select-btn i {
  transform: rotate(-180deg);
}
.option-text input[type="checkbox"] {
  -webkit-appearance: none; /* For Safari and Chrome */
  -moz-appearance: none; /* For Firefox */
  appearance: none; /* For modern browsers */
  width: 18px; /* Adjust width as needed */
  height: 18px; /* Adjust height as needed */
  border-radius: 4px;
  border: 1px solid #0e5b51; /* Default border style */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff; /* Default background color */
  position: relative;
  outline: none; /* Remove outline */
}
.option-text input[type="checkbox"]:checked {
  background-color: #0e5b51 !important; /* Custom background color */
}
.option-text input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  position: absolute;
  top: 2px;
  transform: rotate(45deg);
}
@keyframes fadeInUp {
  from {
    transform: translate3d(0, 30px, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes fadeInDown {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  to {
    transform: translate3d(0, 20px, 0);
    opacity: 0;
  }
}
.courseItemContainer {
  width: calc(100% - 20% - 260px - 50px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.courselistItem {
  width: 32%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 10px;
  background-color: var(--white_color);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.courseTitle {
  margin: 0;
  font-family: var(--primary_font);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary_color);
}
.courseFlexBox {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.flTitle {
  margin: 0;
  font-family: var(--secondary_font);
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  color: var(--text_color);
}
.flPara {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  color: var(--text_color);
  font-family: var(--secondary_font);
}
.flspan {
  margin: 0;
  font-family: var(--secondary_font);
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  color: #666666;
}
/* ================= */
.courseAdsContainer {
  width: 262px;
}

.filter-settings-menubar {
  display: none;
}
.closefilterBtn {
  display: none;
}

@media screen and (max-width: 1660px) {
  .courseFilterContainer {
    width: 260px;
  }
  .courseItemContainer {
    width: calc(100% - 260px - 240px - 30px);
  }
  .courseAdsContainer {
    width: 240px;
  }
  .courselistItem {
    width: 31%;
  }
}

@media screen and (max-width: 1440px) {
  .courseFilterContainer {
    width: 240px;
  }
  .courseItemContainer {
    width: calc(100% - 240px - 200px - 30px);
  }
  .courseAdsContainer {
    width: 200px;
  }
  .courselistItem {
    width: 31%;
  }
}

@media screen and (max-width: 1280px) {
  .courselistItem {
    width: 48%;
  }
}

@media screen and (max-width: 1080px) {
  .courselistItem {
    width: 100%;
  }
}

@media screen and (max-width: 990px) {
  .couselist-container {
    margin: 4rem 0;
  }
  .filter-heading-container {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .closefilterBtn {
    display: block;
    cursor: pointer;
  }
  .closefilterBtn i {
    font-size: 24px;
  }
  .couselist-container {
    flex-direction: column;
    gap: 2rem;
  }
  .filter-settings-menubar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
    background-color: var(--white_color);
    border-radius: 10px;
    font-family: var(--primary_font);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
  .filterTopContaner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .trandingBtn {
    border: 1px solid var(--border_color);
    height: 40px;
    min-width: 200px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
  }
  .trandingBtn i {
    font-size: 24px;
  }
  .trands {
    font-size: 1rem !important;
    padding: 0 !important;
    box-shadow: none;
    height: 100% !important;
    font-weight: 500 !important;
    color: var(--text_color) !important;
    cursor: pointer;
    border: none !important;
    background-color: var(--white_color) !important;
  }
  .trands:focus {
    box-shadow: none !important;
  }
  .trands option {
    background-color: var(--white_color) !important;
  }
  .filterBtnListing {
    height: 40px;
    width: 100px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background-color: var(--lightGreen_color) !important;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: var(--text_color);
  }
  .filterBtnListing i {
    font-size: 24px;
  }
  .filterBtnListing:focus {
    outline: none;
  }
  .filterBottomContaner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .filterBottomTitle {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text_color);
  }
  .courseItemContainer {
    width: 100%;
  }
  .courselistItem {
    width: 48%;
  }

  .courseFilterContainer {
    display: none;
    width: 100%;
    position: fixed;
    padding: 1rem;
    z-index: 10;
    left: 0;
    bottom: 0;
    border-radius: 0;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    /* overflow: auto; Set overflow auto */
    max-height: 70vh; /* Allow some height for scrolling */
    background-color: var(--white_color);
  }
  .filter-items-cntainer {
    display: flex;
    flex-wrap: wrap;
    height: calc(70vh - 100px); /* Adjust height as needed */
    overflow-y: auto; /* Allow vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    border-radius: 0;
  }
  .select-menu {
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .courseHeroSection {
    height: 250px;
  }
  .courseHeroSectionContainer h1 h1 {
    margin-top: 3rem;
    font-size: 34px;
  }
  .courseHeroSectionContainer h1 p {
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  .courseHeroSection {
    height: 200px;
  }
  .courseHeroSectionContainer {
    padding: 1rem;
  }
  .courseHeroSectionContainer h1 {
    font-size: 24px;
  }
  .courseHeroSectionContainer p {
    font-size: 14px;
  }
  .courseHeroSectionContainer p br {
    display: none;
  }
  .courselistItem {
    width: 100%;
  }
  .select-menu {
    width: 100%;
  }
}
