@media only screen and (max-width: 1400px) {
    .Header .Menu>ul>li>a {
        padding: 15px 10px;
    }

    .MainHeader {
        padding-inline: 3%;
    }
}

@media only screen and (max-width: 1200px) {
    .Header .Menu>ul>li>a {
        font-size: 14px;
    }

    .sub-Menu {
        top: 53px;
    }

    .ServiceItems {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ServiceItem {
        width: 24%;
        padding-top: 30%;
        margin: 10px 0.5%;
    }

    .Copyright {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }
}

@media only screen and (max-width: 992px) {
    .Menu {
        display: none;
    }

    .TopSliderText p {
        font-size: 21px;
    }

    .TopSliderText span {
        font-size: 19px;
    }


    .ServiceItem {
        width: 32.33%;
        padding-top: 40%;
    }

    .ScrollImg {
        width: 200px;
        height: 200px;
    }

    .ScrollBox,
    .ScrollItem {
        width: calc(100% - 100px);
    }

    .Footer {
        flex-wrap: wrap;
        padding-block: 10px;
    }

    .Footer .Column1 {
        width: 100%;
        height: 100px;
    }

    .Footer .Column2 {
        width: 100%;
    }

    .Footer .Column3 {
        border-right: none;
        width: 100%;
        border-top: 1px solid #C1C1C1;
        margin-top: 20px;
        padding-top: 20px;
    }

    .Footer ul {
        flex-direction: row;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .owl-nav {
        width: calc(100% + 40px);
        right: -22px;
    }

    .owl-nav img {
        width: 10px !important;
    }

    .CoursSlidersArea,.SearchBoxArea{
        margin-block: 50px;
    }

    .CategoryCarouselArea{
        width:calc(100% - 50px);
    }

    .SortArea span{
        padding-inline: 10px;
    }
}

@media only screen and (max-width: 700px) {
    .slick-dots {
        bottom: -2px !important;
    }

    .PostSliderItem p {
        height: 80px;
    }

    .PostSliderItem {
        height: 160px !important;
    }

    .ServiceItem {
        width: 49%;
        padding-top: 50%;
    }

    .ScrollBox,
    .ScrollItem {
        width: 100%;
    }

    .ScrollBox {
        padding-top: 120px;
    }

    .ScrollImg {
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
    }

    .ScrollContent {
        margin-top: 130px;
    }

    .ScrollSection .Title {
        text-align: center;
    }

    .Footer .Column1 {
        align-items: end;
    }

    .CommentItem {
        width: 98%;
        margin: 0px 1%;
    }

      .SortArea span {
    padding-inline: 5px;
    font-size: 13px;
  }

  .CoursListItem{
    flex-direction: column;
  }

  .CoursListItemImg{
    width: 100%;
  padding-top: 36%;
  margin-left: 0px;
  }

  .CoursListItemContent{
    width:100%;
    margin-top:20px;
  }

  .CoursListItemContent h2{
    text-align: center;
  }
}

@media only screen and (max-width: 480px) {
    .Header .TopAds a {
        font-size: 13px;
        height: 50px;
    }

    .TopSliderArea {
        height: 120px;
        bottom: -60px;
    }

    .TopSliderImg {
        width: 100px;
        height: 100px;
    }

    .TopSliderItemContent {
        height: 120px;
        width: calc(100% - 20px);
    }

    .TopSliderItem {
        height: 120px !important;
    }

    .TopSliderText {
        width: calc(100% - 100px);

    }

    .TopSliderText p {
        font-size: 14px;
        margin-bottom: 0px;
    }

    .TopSliderText span {
        font-size: 12px;
    }

    .PostSliderItem p {
        height: 103px;
    }

    .PostSliderItem {
        height: 180px !important;
    }

    .PostSlider {
        margin-block: 50px;
    }

    .Services {
        margin-block: 100px;
    }

    .ServiceItem {
        width: 100%;
        padding-top: 70%;
    }

    .Footer {
        padding-inline: 5px;
        padding-top: 100px;
    }

    .Footer .Column1 {
        align-items: center;
    }

    .Space{
        height: 60px !important;
    }

    .CategoryCheckmarkItem{
        width:45%;
    }

    .SortArea{
        display: none;
    }

    .CoursListItem{
        padding: 10px;
    }
}