@media screen and (min-width: 768px) and (max-width: 991px) {
    #about-brief h1 {font-size: 34px;}
    #practice-area .practice-fields {padding: 0;}
    #practice-area .single-practice-fields {width: calc(33.33% - 14px);}
    #testimonial {padding: 0 15px;}
    #main-slider .slider-caption {
        width: 55%;
    }
    .copyright p {
        text-align: center;
        font-size: 12px;
    }
}

@media screen and (min-width: 320px) and (max-width: 767px) {
    .mob-view {display: block;}
    .desk-view {display: none;}
    .contained {padding: 0 13px;}

    /*********************************************************
    Header Section Start
    *********************************************************/
    #header {
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #header .h-left {
        width: 100%;
        text-align: center;
    }

    #header .h-right {display: none;}
    .h-left .logo a img {width: 75%;}

    #header .h-middle {
        width: 100%;
        gap: 10px;
        margin-top: 13px;
    }

    .h-middle .assessment-btn a, .h-middle .whatsapp-btn a {font-size: 15px;}
    .h-middle .whatsapp-btn a i {font-size: 16px;}

    /*********************************************************
        Navbar Section Start
    *********************************************************/
    #navbar {
        padding-top: 10px;
        padding-bottom: 10px;
        position: relative;
    }

    #mobile-menu {
        font-size: 30px;
        color: #f0f9ff;
        display: inline-block;
        line-height: 100%;
        padding: 1px 4px 0;
    }

    #navbar-menu ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 99999;
        width: 100%;
        background-color: #213a3f;
        padding: 15px;
        display: none;
    }

    #navbar-menu ul li {margin-right: 0;}

    #navbar-menu ul li a {
        border-bottom: 1px solid #29454b;
        font-size: 15px;
    }

    #navbar-menu ul li a::before {display: none;}
    #navbar .social-media ul {align-items: start;}

    /*********************************************************
        Slider Section Start
    *********************************************************/
    #main-slider .slider-dot-box {
        padding: 2px 10px;
        overflow-x: auto;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 9999;
        width: 100%;
        background-color: #eef8ff;
    }

    #main-slider .slider-nav {
        position: static;
        flex-direction: row;
        gap: 5px;
        margin-bottom: 0;
    }

    #main-slider .slider-nav button.owl-dot {
        margin: 0;
        border: 1px solid #e0e0e0;
    }

    #main-slider .slider-nav button.owl-dot.active {border-color: #687599;}

    #main-slider .slider-nav button.owl-dot span {
        font-weight: 600 !important;
        padding: 6px 10px;
        white-space: nowrap;
        color: #414141;
    }

    #main-slider .slider-nav button.owl-dot span::before {display: none;}
    #main-slider .slider-desk {display: none;}
    #main-slider .slider-mob {display: block;}

    #main-slider .slider-caption {
        width: 94%;
        top: 20px;
        border-left: 2px solid #c51303;
        padding: 10px;
    }

    #main-slider .slider-caption h2 {
        font-family: 'Roboto', sans-serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 20px;
        color: #ebebeb;
        margin-bottom: 8px;
    }

    #main-slider .slider-caption p {
        font-size: 15px;
        font-weight: 400;
        line-height: 20px;
    }
    
    /*********************************************************
        Brief About Section Start
    *********************************************************/
    #about-brief {
        margin-top: 80px;
        margin-bottom: 50px;
    }

    #about-brief h1 {
        font-size: 22px;
        margin-bottom: 40px;
    }

    #about-brief .about-text h2 {display: none;}

    #about-brief .short-profile {
        width: 100%;
        border-left: none;
        padding-left: 0;
    }

    #about-brief .short-profile .profile-designation h3 {font-size: 22px;}
    #about-brief .short-profile .profile-designation h6 {font-size: 15px;}
    #about-brief .read-more-btn {margin-top: 20px;}

    /*********************************************************
        Areas of Practice Section Start
    *********************************************************/
    #practice-area {margin-bottom: 50px;}
    #practice-area .practice-hd img {width: 90px;}
    #practice-area .practice-hd h2 {font-size: 20px;}
    #practice-area .practice-hd h2::before {left: 20%;}

    #practice-area .practice-fields {
        padding: 0;
        margin-top: 10px;
    }

    #practice-area .single-practice-fields {
        width: 100%;
    }

    /*********************************************************
        Provincial Nominee Program Section Start
    *********************************************************/
    #services {margin-bottom: 50px;}

    #services h1 {
        font-size: 24px;
        font-weight: 500;
        padding-top: 0;
        margin-bottom: 30px;
    }

    #services .services-box .single-service {width: calc(50% - 2px);}

    #services .services-box .single-service h2 {
        font-size: 20px;
        padding: 0 10px;
        top: 40%;
    }

    #services .single-service .service-description {padding: 0 10px;}
    #services .single-service .service-description p {font-size: 15px;}

    /*********************************************************
        Testimonail Section Start
    *********************************************************/
    #testimonial {
        padding: 0 13px;
        margin-bottom: 45px;
    }
    #testimonial .single-testimonial {display: block;}

    #testimonial h1 {
        font-size: 30px;
        padding: 0 0 10px;
        margin-bottom: 45px;
    }

    #testimonial .single-testimonial img {
        max-width: 72px;
        width: 72px;
        height: 72px;
        border: 2px solid #464646;
        border-radius: 50%;
        overflow: hidden;
    }

    #testimonial .single-testimonial .testimonial-thumb {
        float: left;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    #testimonial .testimonial-description {
        width: 100%;
        padding-left: 0;
        margin-left: 0;
        border: none;
    }

    #testimonial .testimonial-description .name-rating {
        height: 82px;
        padding-top: 10px;
    }

    #testimonial .testimonial-description p {
        font-size: 20px;
        line-height: 28px;
    }

    .experience-more {margin-top: 20px;}

    .testimonials-box .single-testimonial {
        display: block;
        padding: 15px;
    }

    .testimonials-box .single-testimonial .client-thumb {
        margin-right: 10px;
        margin-bottom: 10px;
        float: left;
    }

    .single-testimonial .name-rating {
        height: 80px;
        padding-top: 10px;
    }

    .single-testimonial .client-name {
        font-size: 20px !important;
        margin-bottom: 5px !important;
    }

    .single-testimonial .rating-box {margin-bottom: 0;}
    .single-testimonial .client-review p {font-size: 17px !important;}

    /*********************************************************
        USP Section Start
    *********************************************************/
    #usp-area {
        background-position: right;
        background-attachment: fixed;
        padding: 40px 0;
    }
    
    .usp-box {
        width: 100%;
        padding: 20px 15px;
    }

    .usp-box h1 {font-size: 24px;}
    .usp-box ul li {font-size: 16px;}
    .usp-box ul li::marker {font-size: 15px;}

    /*********************************************************
        Provinces in Canada Section Start
    *********************************************************/
    #provinces-area h1 {
        font-size: 28px;
        padding-bottom: 15px;
        margin-bottom: 50px;
    }

    #provinces-area h1 span {font-size: 20px;}

    .provinces-box .single-provinces {
        width: calc(50% - 5px);
        padding: 5px;
    }

    .provinces-box .single-provinces .provice-title {font-size: 17px;}

    /*********************************************************
        Educational Institution Section Start
    *********************************************************/
    #edu-institution {
        padding: 30px 0;
        margin: 70px 0;
    }

    #edu-institution h1 {
        font-size: 25px;
        padding-bottom: 15px;
        margin-bottom: 45px;
    }

    .single-institution-box h2 {font-size: 18px;}
    .single-institution-box ul {gap: 9px;}

    .single-institution-box ul li {
        padding: 7px;
        width: calc(33.33% - 6px);
    }

    /*********************************************************
        Inner Pages Section Start
    *********************************************************/
    #inner-banner {
        background-size: cover;
        background-position: top center;
        padding: 30px 0;
        margin-bottom: 30px;
    }

    #inner-banner::before {background-image: linear-gradient(to right, rgba(1, 18, 43, 0.75), rgba(1, 18, 43, 0.75), transparent);}

    #inner-banner h2 {
        font-size: 20px;
        margin-top: 10px;
        margin-bottom: 0;
    }

    #content .main-hd {font-size: 22px;}
    #content p {font-size: 16px;}

    
    #content h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .review-top {gap: 5px;}
    .review-top a {padding: 13px 10px;}

    /*********************************************************
        Reveiw Form Section Start
    *********************************************************/
    #review-form {
        background-color: #eff6ff;
        border: 1px solid #dbd9d9;
        width: calc(100% - 26px);
        margin: 50px auto;
    }

    #review-form .form-title {font-size: 20px;}
    #review-form .upload {margin-left: 0;}
    #form-area {padding: 15px;}

    /**********************************************************
        Contact Us Begin Here
    **********************************************************/
    .form-box {
        padding: 13px !important;
        padding-top: 25px !important;
        margin-bottom: 40px;
    }

    .contact-detail {padding-left: 0;}

    .contact-detail h1 {
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 26px;
    }

    /*********************************************
    Photo Gallery Section Start
    *********************************************/
    #gallery a {
        width: calc(50% - 3px);
        margin: 0;
        margin-bottom: 6px;
    }

    #gallery a:nth-child(odd){margin-right: 6px;}

    #gallery a::before {font-size: 35px;}

    /*********************************************************
        Thank You Page
    *********************************************************/
    #success-bdy {
        width: 100%;
        margin: 40px auto;
    }

    #success-bdy .success-head i {font-size: 40px;}
    #success-bdy .success-head h2 {font-size: 25px;}
    #success-bdy .success-info p {font-size: 20px;}
    
    /*********************************************************
        Footer Section Start
    *********************************************************/
    #footer {padding-bottom: 20px;}
    .middle-footer {margin-bottom: 20px;}
    .footer-menu.footer-desc {margin-bottom: 20px;}

    .copyright p {
        text-align: center;
        font-size: 12px;
    }

    /* =========================================
        Scroll Section Start
    ========================================= */
    #scrollTop {
        position: fixed;
        bottom: 40px;
        right: 20px;
        z-index: 9999;
        width: 42px;
        height: 42px;
        background-color: #4f6694;
        text-align: center;
        cursor: pointer;
        border-radius: 5px;
        box-shadow: 0px 5px 20px 0 rgba(66, 65, 65, 0.5);
        display: none;
    }

}

@media screen and (min-width: 576px) and (max-width: 767px) {
    #practice-area .single-practice-fields {width: calc(50% - 10px);}
}