/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .single-page__content .tutor-info {
        flex-direction: column;
    }
    .single-page__content .tutor-info .text {
        text-align: center;
        margin-left: 0;
    }

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .header__content .menu {
        position: fixed;
        top: 0;
        left: -999px;
        margin-left: 0;
        background: #fff;
        padding: 15px;
        height: 100%;
        z-index: 999;
        width: 0;
        transition: all .30s;
        opacity: 0;
        visibility: hidden;
    }

    .menu-active {
        opacity: 1 !important;
        visibility: visible !important;
        transition: all .30s;
        left: 0 !important;
        width: 290px !important;
    }

    .header__content .menu a {
        display: block;
        margin-top: 12px;
    }

    .mob-logo {
        display: block;
        margin-bottom: 32px;
    }

    .mob-logo img {
        width: 120px;
        height: auto;
    }

    .close-mob-menu {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        cursor: pointer;
    }

    .to-filter {
        display: none;
    }

    .mob-to-filter {
        margin-top: 32px;
        display: block;
    }

    .mob-to-filter a {
        display: block;
        text-decoration: none;
        background: #6F33FF;
        color: #fff !important;
        font-weight: 500;
        border-radius: 5px;
        padding: 8px 12px;
        border: 1px solid #6F33FF;
        transition: all .30s;
        text-align: center;
        width: 100%;
    }

    .mob-menu-btn-wrapper {
        display: block;
    }

    .mob-menu-btn-wrapper button {
        background: #fff;
        border: none;
        outline: none;
    }

    .home-top__text h1 {
        font-size: 48px;
    }

    .home-stats__list {
        flex-wrap: wrap;
    }

    .home-stats__item {
        flex: 1 1 50%;
        margin-bottom: 24px;
    }

    .home-tutor__head h2 {
        font-size: 42px;
    }

    .home-booking__head h2 {
        font-size: 36px;
    }

    .home-booking__item {
        margin-bottom: 24px;
        margin-top: 24px;
    }

    .home-free h2 {
        font-size: 42px;
    }

    .home-free p {
        font-size: 20px;
    }

    .home-quiz__wrapper .text {
        padding: 24px;
        height: calc(100% + 1px);
    }

    .home-quiz__wrapper .text h2 {
        font-size: 34px;
    }

    .home-reviews__head h2 {
        font-size: 34px;
    }

    /****************************************/
    .filter-row {
        flex-wrap: wrap;
        gap: 6px;
    }
    .filter-row .filter-block {
        border-right: none;
        border-radius: 15px;
        -webkit-box-shadow: 0px 0px 5px -2px rgba(34, 60, 80, 0.2);
-moz-box-shadow: 0px 0px 5px -2px rgba(34, 60, 80, 0.2);
box-shadow: 0px 0px 5px -2px rgba(34, 60, 80, 0.2);
    }
    .filter-wrapper form button {
        max-width: 49%;
        padding: 12px;
        border-radius: 15px;
    }
    .filter-to-quiz {
        max-width: 49%;
        border-radius: 15px;
    }
    .list-result-item {
        flex-direction: column;
    }
    .list-result-item .avart {
        margin: 0;
    }
    
    .list-result-item .booking {
        margin-top: 0;
        order: 2;
    }
    .list-result-item .about {
        margin-left: 0;
        margin-top: 0;
        order: 3;
    }
    .single-page__aside {
        margin-top: 32px;
    }
    .how-it-works__steps {
        flex-direction: column;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

    .home-subjects,
    .home-stats,
    .home-free,
    .home-quiz {
        margin-top: 32px;
    }

    .home-tutor {
        margin-top: 4px;
    }

    .header__content {
        padding: 12px;
    }

    .home-top-content {
        flex-direction: column-reverse;
    }

    .home-top__text {
        text-align: center;
    }

    .home-top__text a {
        margin: 24px auto;
    }

    .home-top__text h1 {
        margin-top: 0;
    }

    .home-tutor__slide-item {
        flex-direction: column;
    }

    .home-tutor__slide-item .text h4 {
        text-align: center;
    }

    .home-booking__head h2 {
        font-size: 28px;
    }

    .home-free h2 {
        font-size: 32px;
    }

    .home-quiz__wrapper {
        flex-direction: column;
    }

    .home-reviews__ratings-wrapper {
        flex-direction: column;
    }
    .single-reviews__item {
        flex: 1 1 100%;
    }
    .single-page__tutor-form {
        flex-direction: column;
    }
    .single-page__features .label {
        font-size: 14px;
        padding: 6px 8px;
    }
    .how-it-works__header h2 {
        font-size: 36px;
    }
    .home-form-content {
        flex-direction: column;
    }
    .home-form-content__text h2 {
        font-size: 28px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .home-subjects__item {
        margin-bottom: 12px;
    }

    .home-tutor {
        margin-top: 20px;
    }

    .home-tutor__head h2 {
        font-size: 28px;
    }

    .home-tutor__head p {
        font-size: 16px;
        margin-top: 12px;
    }

    .home-tutor__slide-item .text h4 {
        font-size: 22px;
    }

    .swiper-pagination {
        display: none;
    }

    .home-booking__head h2 {
        font-size: 24px;
    }

    .home-booking__item {
        max-width: 200px;
        margin: 12px auto;
    }

    .home-reviews__head h2 {
        font-size: 24px;
    }
    .filter-to-quiz {
        font-size: 14px;
    }
    .list-result-item {
        padding: 15px;
    }
    .how-it-works__header h2 {
        font-size: 28px;
    }
    .how-it-works__steps {
        margin-top: 16px;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {}
