@media (max-width: 991px) {
    .navbar-collapse {
        margin: 0 -15px;
        padding: 15px 30px;
        background-color: #f2f2f2;
    }
}

@media (max-width: 767px) {
    .header-top {
        padding: 5px 0;
    }
    .header-company-contact {
        justify-content: center;
    }
    .header-company-contact li {
        font-size: 12px;
    }
}

@media only screen and (min-width: 300px) and (max-width: 700px) {
    .carousel-caption {
        position: absolute;
        right: 3% !important;
        bottom: 0% !important;
        left: 3% !important;
        z-index: 10;
        padding-top: 20px;
        padding-bottom: 1px !important;
        color: #ffc938 !important;
        text-align: center;
        font-size: 10px !important;
    }
    .promoteimg {
        position: absolute;
        right: 4% !important;
        top: 78% !important;
        z-index: 1000;
        width: 25% !important;
    }
    .carousel-caption h1 {
        font-size: 18px !important;
        margin-bottom: 0px !important;
        letter-spacing: 0.8px;
        font-weight: 900;
    }
    #quote-carousel .carousel-control {
        display: none !important;
    }
    .subscriber-form button {
        margin-left: 8% !important;
    }
    .carousel-btn {
        width: 100% !important;
        font-weight: 700;
        letter-spacing: 0.8px !important;
    }
    .sub-menu {
        position: absolute;
        left: 115px !important;
        top: 72% !important;
        background-color: #ffffff;
        -webkit-box-shadow: 0px 18px 54px -8px rgba(0, 0, 0, 0.15);
        box-shadow: 0px 18px 54px -8px rgba(0, 0, 0, 0.15);
        width: 180px !important;
        z-index: 999;
        padding: 2px 0 !important;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
        opacity: 0;
        visibility: hidden;
        border-top: 2px solid #262262;
    }
    .main-menu li a {
        padding: 8px 0;
        display: block;
    }
    li.menu_has_children:after {
        position: absolute;
        content: "\f107";
        top: 0px !important;
        left: 120px;
        color: #000;
        font-family: 'FontAwesome';
        z-index: -10;
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
        z-index: 2;
    }
    .sub-menu li a {
        padding: 10px !important;
    }
    .navbar-collapse.in {
        overflow-y: inherit;
    }
    .site-logo,
    .site-title {
        display: block;
        line-height: 1;
        margin-top: 0%;
    }
    .section-style2 {
        background: #effaff;
        padding: 25px 15px;
    }
    .tab button {
        padding: 15px 12px;
        font-size: 11px;
        line-height: 1.5;
    }
    .media {
        margin: 0px 0px;
        line-height: 1.8em;
    }
    .h4,
    h4 {
        font-size: 14px;
    }
    p {
        font-size: 12px;
        line-height: 1.5;
    }
    .tab-height {
        height: 265px;
    }
    .accordion {
        font-size: 11px;
    }
    .accordion:after {
        content: '\002B';
        color: #ec1d25;
        font-weight: bold;
        float: right;
        margin-left: 5px;
        font-size: 16px;
    }
    .box-shadow {
        box-shadow: 0px 5px 24.25px 0.75px rgba(0, 0, 0, 0.1);
    }
    .box-new {
        margin: 0% 1%;
        color: #159bd7;
    }
    .item-title {
        text-transform: capitalize;
        margin-top: -10%;
    }
    .hovicon {
        width: 80px;
        height: 80px;
    }
    .mlt {
        margin-left: 0%;
    }
    .navbar-nav {
        
        margin-top: 1%;
        float: left;
        margin-left: 5%;
    }
    .about-image img {
        border-radius: 5px;
        width: 100% !important;
    }
    .footer-logoimg{
        width:100% !important;
    }
}

@media only screen and (min-width: 300px) and (max-width: 370px) {
    .site-logo,
    .site-title {
        display: block;
        line-height: 1;
        margin-top: -16%;
    }
    .navbar-brand>img {
        display: block;
        width: 75%;
    }
    .tab {
        height: auto;
        width: 100%;
    }
    .tabcontent {
        float: left;
        padding: 16px 12px;
        border: 1px solid #ccc;
        width: 100%;
        height: auto;
    }
    .tab-height {
        height: 393px;
    }
    body {
        overflow-x: hidden;
    }
    .hovicon {
        width: 70px;
        height: 70px;
    }
    .tab-course {
        margin-top: 3%;
        margin-left: 2%;
        margin-bottom: 2%;
    }
}

@media only screen and (min-width: 701px) and (max-width: 1000px) {
    #quote-carousel .carousel-control {
        display: none !important;
    }
    .carousel-btn {
        width: 75% !important;
        font-weight: 700;
        letter-spacing: 0.8px !important;
    }
    .navbar-brand>img {
        display: block;
        width: 75%;
    }
    .navbar-nav {
        margin-left: -11% !important;
        margin-top: 0% !important;
    }
    li.menu_has_children:after {
        top: 3px !important;
    }
    .main-menu li a {
        padding: 4px 13px;
        font-size: 11px;
    }
    .tab-height {
        height: 255px;
    }
    .section-style2 {
        background: #effaff;
        padding: 34px 10px;
    }
    .d-flex {
        display: inline-block;
    }
    body {
        overflow-x: hidden;
    }
    .tab-course {
        margin-left: 0%;
    }
    .tabcontent-course {
        width: 75%;
    }
}

@media only screen and (min-width:1001px) and (max-width: 1100px) {
    .navbar-nav {
        margin-left: 3% !important;
        margin-top: 1% !important;
    }
    .tabcontent-course {
        width: 66%;
    }
}

@media only screen and (min-width:768px) and (max-width: 3000px) {
    .navbar-toggler {
        display: none !important;
    }
}

@media screen and (max-width: 380px) {
    .carousel-caption h1 {
        font-size: 13px !important;
    }
    .carousel-btn {
        width: 75% !important;
        font-weight: 700;
        letter-spacing: 0.8px !important;
        font-size: 10px;
    }
    .para {
        color: #fff;
        font-size: 8px !important;
        padding: 10px;
    }
}