.related_course {
  margin: 2em 0px;
}

.related_course_container {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  /* padding: 1rem; */
}

.related_course_wrap_container {
  width: 90%;
  margin-inline: auto;
  overflow: scroll;
  scroll-behavior: smooth;
}
.related_course_wrap_container::-webkit-scrollbar {
  width: 0px;
  border: none;
}

.related_course_inner_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin-inline: auto;
}

.related_course_container .title_related {
  font-weight: 600;
  font-size: 1.5rem;
  color: #363636;
  margin-bottom: 1.5em;
  border-bottom: 5px solid #ffd23f;
  padding-bottom: 0.2rem;
}
.related_course_inner_container > a {
  text-decoration: none;
}
.popular_program_card {
  width: 20rem;
  height: 9rem;
  margin: 0.6em;
  border-radius: 6px;
  border: 1px solid #ededed;
  background: #fff;
  border-bottom: 7px solid #33308b;
  padding: 1rem;
  transition: 0.5s ease-in-out;
}

.program_image {
  width: 32px;
  height: 32px;
}

.program_image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.program_name {
  border-bottom: 2px dashed #dbdbdb;
  margin: 0.6em 0px;
}
.program_name > p {
  font-size: 12px;
  font-weight: 600;
  color: #363636;
  margin-bottom: 1.5rem;
  text-transform: capitalize;
}

.mode_duration {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mode_duration p {
  font-size: 12px;
  color: #33308b;
  font-weight: 500;
  font-family: "Readex Pro";
  font-style: normal;
  text-transform: capitalize;
}

.popular_program_card:hover {
  background-color: aliceblue;
  transform: translateY(-10px);
}

.related_blogs_btn_container_section {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 90%;
  margin-inline: auto;
}
.related_blogs_btn_container_section button {
  width: 3rem;
  border: none;
  background: transparent;
}

.related_blogs_btn_container_section button svg {
  height: 31px;
  width: 31px;
}

@media (max-width: 1492px) {
  .related_program_inner_div {
    width: 74%;
  }
}

@media (max-width: 1284px) {
  .related_program_inner_div {
    width: 84%;
  }
  .explore_inner_div_container {
    width: 74%;
  }
}
@media (max-width: 1172px) {
  .related_course_inner_container {
    padding: 0;
    width: 95%;
  }
}

@media (max-width: 1100px) {
  .related_course_inner_container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .related_program_inner_div {
    width: 87%;
  }
  .big_title_pop {
    font-size: 16px;
  }
}
@media (max-width: 1000px) {
  .related_program_card {
    width: 40%;
  }
  .explore_inner_div_container {
    width: 100%;
  }
  .related_course_inner_container {
    justify-content: center;
  }
}
@media (max-width: 839px) {
  .related_program_inner_div {
    justify-content: center;
  }
  .related_program_inner_div {
    width: 100%;
  }

  .related_program_card {
    width: 42%;
  }
}
@media (max-width: 768px) {
  .related_course_container .title_related {
    border-bottom: 5px solid #ffd23f;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .related_blogs_btn_container_section {
    display: none;
  }
}

@media (max-width: 570px) {
  .related_program_inner_div {
    justify-content: center;
    margin-left: 0;
    width: 89%;
    margin-top: 1rem;
  }
  .related_course_container .title_related {
    font-size: 1.2rem !important;
  }
  .related_course_inner_container > a {
    margin-left: 0.5rem;
  }

  .related_program_card {
    width: 71%;
    padding: 8px;
    margin-right: 0;
  }
  .related_program_card_different {
    width: 80%;
    padding: 8px;
  }
  .related_program_main_container {
    padding-top: 0em;
  }
  .svg_mb_duf {
    display: none;
  }
  .related_course_wrap_container {
    width: 90%;
    overflow: scroll;
  }
  .related_course_wrap_container::-webkit-scrollbar {
    width: 0;
    border: none;
  }
  .related_course_inner_container {
    flex-wrap: nowrap;
    width: fit-content;
  }
  .related_course {
    margin: 2em 0px;
    margin-bottom: 0;
  }
  .related_course_container {
    padding: 0px;
  }
  .mode_duration .related_course_mode,
  .realated_course_duration {
    font-size: 10px !important;
  }
}

@media (max-width: 454px) {
  .choose_card_pop {
    font-size: 13px;
    line-height: 8px;
  }
  .big_title_pop {
    font-size: 16px;
  }

  .related_program_inner_div {
    justify-content: center;
  }

  .related_program_card {
    width: 85%;
  }
  .related_program_card_different {
    width: 90%;
  }

  .related_program_card p {
    font-size: 0.8rem;
  }

  .mode_duration_div {
    font-size: 0.8rem;
  }
  .related_course_inner_container .popular_program_card {
    width: 15.4rem;
  }
}
