@media only screen  and (min-width: 1024px)  and (max-height: 1366px)  and (-webkit-min-device-pixel-ratio: 1.5) {
    p {font-size: 14px;}
    .main_header.sticky .bottom_header{  -webkit-animation: smoothScroll 1s;    animation: smoothScroll 1s;}
    .about_usWraper .sec_title .main_heading, .sec_title .main_heading { font-size: 2.5rem; }
    .aboutleft_box .icon_box{font-size: 50px;}
    .aboutleft_box h4{    font-size: 20px;}
    .aboutusLeft, .about_usWraper{padding: 25px;}
    .about_usWraper{padding-right: 0;}
    .about_usWraper p{    display: none;}
    .about_usWraper p:nth-of-type(1){    display: block;}
    .courses_txt h3{    font-size: 16px;overflow: hidden;}
    .footer_info ul {width: 100%;}
    .footer_info ul li a, .footer_links ul li a, .footer_subscribe p{font-size: 14px;}
}

    @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
        html{font-size: 14px;}
        p {font-size: 14px;}
        .main_header.sticky .bottom_header{  -webkit-animation: smoothScroll 1s;    animation: smoothScroll 1s;}
        .about_usWraper .sec_title .main_heading, .sec_title .main_heading { font-size: 2.5rem; }
        .aboutleft_box .icon_box{font-size: 50px;}
        .aboutleft_box h4{    font-size: 20px;}
        .aboutusLeft, .about_usWraper{padding: 25px;}
        .about_usWraper{padding-right: 0;}
        .about_usWraper p{    display: none;}
        .about_usWraper p:nth-of-type(1){    display: block;}
        .footer_info ul {width: 100%;}
        .footer_info ul li a, .footer_links ul li a, .footer_subscribe p{font-size: 14px;}
    }
    

    
    @media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
        .btn-transparent-dark, .btn-transparent, .btn-transparent{padding: 6px 20px;font-size: 14px;}
        p {font-size: 14px;}
        .main_header.sticky .bottom_header{  -webkit-animation: smoothScroll 1s;    animation: smoothScroll 1s;}
        .top_header .top_contact a {font-size: 0;padding-right: 10px; margin-right: 10px;display: inline-block;}    
        .top_header .top_contact a i{font-size: 15px;}
        .top_header { padding: 5px 0;}
        .shape-2, .shape-1 { width: 70px;height: 70px;}
        .nivo-prevNav, .nivo-nextNav{width: 26px;height: 26px; font-size: 24px;line-height: 26px;}
        .form_btn{left: -32px;    font-size: 15px;}
        .enquiry_form{    width: 75%;bottom: 10%;}
        .aboutleft_box .icon_box{font-size: 35px;}
        .aboutleft_box h4{    font-size: 17px;}
        .aboutusLeft{padding: 10px;}
        .about_usWraper .sec_title .main_heading, .sec_title .main_heading { font-size: 1.7rem;}
        .about_sec::before{display: none;}
        .about_sec::after{top: auto;bottom: 0;height: 73%;width: 100%;}
        .about_usWraper{padding-right: 0;    padding: 15px 0;}
        .about_usWraper p{    display: none;}
        .about_usWraper p:nth-of-type(1){    display: block;line-break: auto;overflow: hidden;text-overflow: ellipsis; display: -webkit-box;-webkit-line-clamp: 5; -webkit-box-orient: vertical;}
        .courses_txt h3 {font-size: 16px;overflow: hidden;}
        .footer_info ul{    width: 100%;padding: 0 15px;}
        .footer_info ul li{    width: 100%;padding-left: 0;}
        .footer_info ul li:nth-child(2) {    border-right: 0; }
        .footer_info ul li a, .footer_links ul li a, .footer_subscribe p, .footer_bottom .copyright_text p{    font-size: 14px;}
        .footer_subscribe{    width: 90%;}

    }


    /* Portrait and Landscape */
    @media screen   and (device-width: 360px)   and (device-height: 640px)   and (-webkit-device-pixel-ratio: 2) {
        .btn-transparent-dark, .btn-transparent, .btn-transparent{padding: 6px 20px;font-size: 14px;}
        p {font-size: 14px;}
        .main_header.sticky .bottom_header{  -webkit-animation: smoothScroll 1s;    animation: smoothScroll 1s;}
        .top_header .top_contact a {font-size: 0;padding-right: 10px; margin-right: 10px;display: inline-block;}    
        .top_header .top_contact a i{font-size: 15px;}
        .top_header { padding: 5px 0;}
        .shape-2, .shape-1 { width: 70px;height: 70px;}
        .nivo-prevNav, .nivo-nextNav{width: 26px;height: 26px; font-size: 24px;line-height: 26px;}
        .form_btn{left: -32px;    font-size: 15px;}
        .enquiry_form{    width: 75%;bottom: 10%;}
        .aboutleft_box .icon_box{font-size: 35px;}
        .aboutleft_box h4{    font-size: 17px;}
        .aboutusLeft{padding: 10px;}
        .about_usWraper .sec_title .main_heading, .sec_title .main_heading { font-size: 1.7rem;}
        .about_sec::before{display: none;}
        .about_sec::after{top: auto;bottom: 0;height: 73%;width: 100%;}
        .about_usWraper{padding-right: 0;    padding: 15px 0;}
        .about_usWraper p{    display: none;}
        .about_usWraper p:nth-of-type(1){    display: block;line-break: auto;overflow: hidden;text-overflow: ellipsis; display: -webkit-box;-webkit-line-clamp: 5; -webkit-box-orient: vertical;}
        .footer_info ul{    width: 100%;padding: 0 15px;}
        .footer_info ul li{    width: 100%;padding-left: 0;}
        .footer_info ul li:nth-child(2) {    border-right: 0; }
        .footer_info ul li a, .footer_links ul li a, .footer_subscribe p, .footer_bottom .copyright_text p{    font-size: 14px;}
    }
    
    