@media screen and (max-width: 900px) {
  #overview #overviewRight img {
    height: 150px;
    width: 150px;
  }
  .servicesCardContainer {
    grid-template-columns: auto auto;
    grid-row-gap: 20px;
  }
  #BenefitsMain {
    display: grid;
    grid-template-columns: auto;
    grid-row-gap: 20px;
  }
  .BenefitsMainColumn > img {
    width: 100%;
  }
  #CertifiedCardHolder {
    grid-template-columns: auto auto;
    grid-row-gap: 20px;
    place-items: center;
  }
  .HealthyMainColumn img {
    width: 100%;
  }
  .CoursesCardContainer {
    grid-template-columns: auto auto;
  }
}
@media screen and (max-width: 600px) {
   .topbar .logo span{
       font-size:15px;
   }
.topbar .logo {
    background: #ffffffd9;
    padding: 8px 15px;
    border-radius: 19px;
}
.topbarphone a {
    font-size: 14px;
    padding: 10px !important;
}

.topbar .logo img {
    width: 50px !important;
}
    section.for-mobile-header .topbar {
    justify-content: space-between;
    display: flex !important;
    margin-right: 0;
    padding: 10px;
}
  .for-mobile-header{
      display:block !important;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 2222222;
  }
  .topbar{display: none;}
  header ul {
    margin: auto;
    width: 95%;
    height: 30px;
    padding: 5px 0px;
    overflow-x: scroll;
    justify-content: start;
    gap: 10px;
  }
  header ul li {
    background-color: #e5e5e5;
    /* border: 1px solid grey; */
  }
  header ul li {
    font-size: 15px;
    padding: 0px 5px;
  }
  .secondNav > ul > li {
    height: 70%;
    padding: 2px 9px;
    font-size: 10px;
    border: 1px solid rgb(202, 201, 201);
    border-radius: 30px;
    color: black;
  }
  #overview {
    /* background-color: green; */
    flex-direction: column;
  }
  #overview #overviewLeft {
    width: 100%;
  }
  #overview #overviewLeft img,.videoslide {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  .overviewLeft p {
    font-size: 25px;
  }
  #overview #overviewRight {
    margin-top: 0px;
    width: 97%;
    height: auto;
  }
  #overview #overviewRight h1 {
    font-size: 25px;
  }
  #overview #overviewRight p {
    padding: 5px 0px;
    font-size: 14px;
    line-height: 17px;
    width: 100%;
  }
 
  #overviewRight .swiper-slide > div h5 {
    font-size: 10px;
  }
  #overviewRight .swiper-slide > div p {
    font-size: 10px !important;
    line-height: 12px !important;
  }
  #overview #overviewRight img {
    height: 150px;
    width: 150px;
  }

  .overviewRight .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
  }
  .servicesCardContainer {
    grid-template-columns: auto;

    place-items: center;
  }
  #BenefitsHeaading h2 {
    font-size: 25px;
  }
  #BenefitsHeaading h5 {
    font-size: 15px;
  }
  .CertifiedCard > div:first-child img {
    height: 400px;
  }
  .CertifiedCardText {
    padding: 15px 10px;
    height: 50px;
    overflow-y: scroll;
    font-size: 13px;
    line-height: 19px;
  }
  .BenefitsMainColumn > img {
    width: 100%;
  }
  .BenefitsData {
    padding: 0px;
  }
  .BenefitsData h3 {
    font-size: 17px;
  }
  .BenefitsData p {
    margin: 10px 0px;
    font-size: 12px;
    line-height: 20px;
  }
  #Certified h1 {
    font-size: 20px;
  }
  #CertifiedCardHolder {
    grid-template-columns: auto;
    width: 85%;
  }
  .CertifiedCard {
    width: 100%;
  }
  .HealthyHead h1 {
    white-space: wrap;
    font-size: 20px;
  }
  .HealthyMain {
    margin: auto;
    display: grid;
    grid-template-columns: auto;
  }
  .HealthyMainColumn {
    margin-top: 50px;
  }
  .HealthyMainColumnSlide {
    margin: 0px;
  }
  .HealthyMainColumnSlide .HealthyMainClk {
    padding: 0px 10px;
  }
  .HealthyMainColumnSlide .HealthyMainBody {
    padding: 10px;
    width: 95%;
    white-space: wrap;
  }
  .HealthyMainColumn img {
    width: 100%;
  }
  .QuestionsMain {
    grid-template-columns: auto;
    grid-row-gap: 30px;
    color: #565656;
    width: min(1300px, 95%);
  }
  .CoursesCardContainer {
    grid-template-columns: auto;
    place-content: center;
  }
  .footerTop {
    grid-template-columns: auto;
  }
  .footerBottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 10px;
  }
  .footerForm {
    width: 100%;
  }
  .slideContentContainerChild {
    transform: translateX(0%);
    transform: translateY(100%);
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
    width: 100%;
  }
  .slideContentContainerChild #slideContentMain {
    height: 70%;
    width: 100%;
    overflow: scroll;
  }
  .slideContainerActivated {
    transform: translateY(0%);
  }
  .QuestionsHead h1,
  .QusestionAsked > div > h2 {
    font-size: 15px;
  }
  .QusestionAsked p {
    padding: 10px;
    font-size: 13px;
  }
  .packageContent > div > ul {
    grid-template-columns: auto;
  }
  .packageContent > div > ul > li {
    width: 100%;
    white-space: wrap;
  }
  .InstructorImageHolder {
    flex-direction: column;
  }
  .InstructorImageHolder > div {
    margin: auto;
    width: 90%;
  }
  .childSlider {
    flex-direction: column;
  }
  .childSlider > div {
    width: 100%;
  }
  #Policy > .childSlider > ul h5{
    font-weight: 500;
    font-size: 18px;
  }
}

@media screen and (max-width: 450px) {
  header ul li {
    font-size: 12px;
    padding: 7px 5px;
  }
  #overview #overviewLeft img {
    height: 500px;
  }
}
@media screen and (max-width: 350px) {
  .CoursesCard {
    padding: 10px;
    max-width: 300px;
    width: 100%;
    border-radius: 20px;
    border: 1px solid grey;
  }
  /* .CoursesCard .thumbNail img {
    height: 270px;
    width: 270px;
} */
}
