/* @media only screen and (max-width: 360px) and (min-width: 320px) {}

@media only screen and (max-width: 375px) and (min-width: 360px) {}

@media only screen and (max-width: 414px) and (min-width: 375px) {}

@media only screen and (max-width: 576px) and (min-width: 414px) {}

@media only screen and (max-width: 767px) and (min-width: 576px) {} */
@media only screen and (max-width: 991px) {
.navbar-dark .navbar-toggler {
    background-color: #cc0000;
}
a.nav-link.btncls{text-align: center;}
}
@media only screen and (max-width: 767px) {
    .herosection{position: relative;}
    .heromain::before{display: inline-block; position: absolute; background-color: rgba(238, 239, 240, 0.8); content: ""; width: 100%; height: 100%;}
    .herosection .herotitle{position: relative; }
    .row.for-mobile{margin: 0px;}
    .expertimg{
        margin: 1rem 0 2rem;
    }
    a.nav-link.btncls{text-align: left;}
    .footer-column {
        line-height: 18px;
        margin-bottom: 35px;
    }
    .footer .row.mt-5{
        margin-top: 0rem !important;
    }
    .aboutdetail{padding-bottom: 30px;}
    .aboutmain .herotitle {
        font-size: 30px;}
        .aboutdetail .maintitle h2 {
            font-size: 43px;
            font-weight: 500;
            font-family: 'Playfair Display', serif;
            color: #cc0000;
            margin-bottom: 28px;
            margin-top: 0;
        }
        
        
    .btn.schedulebtn {
        background-color: #CC1009;
        border-radius: 0px;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        padding: 5px 2rem;
        width: 76%; position: relative;
    }
    .navbar-dark .navbar-nav .nav-link.active{color: #fff !important;}
    .navbar-dark .navbar-nav .nav-link.dropdown-toggle.show{color: #fff !important;}
    .navbar-collapse.collapse{
        position: absolute;
        top: 83px;
        background: #cc0000;
        width: 100%;
        left: 0;
        padding: 1rem 2rem 1rem 2rem; z-index: 99;
    }
    .navbar .navbar-collapse.collapse .navbar-nav .nav-link{color: #fff;}
    .navbar .navbar-collapse.collapse a.nav-link.btncls {
        color: #cc0000!important;
        background: #cc0000;
        padding: 0rem 0rem!important;
        border: 0px solid #cc0000;
    }
    .navbar-dark .navbar-nav .nav-link.dropdown-toggle{color: #fff !important;}
    .logo_images li {
        list-style: none;
        display: inline-block !important;
        margin-bottom: 15px;
        width: 46%;
        border: 1px solid #ddd;
    }
    a.navbar-brand {
        margin-right: 0rem!important;
    }
    .herosection .herotitle {
        font-size: 40px;
        text-align: center;
    }
    section.aboutmain,
    .heromain {
        min-height: auto;
        padding: 20px;
    }
    .maintitle h2 {
        font-size: 26px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    section.expertsection,
    section.access,
    .ourpartner,
    .addresses {
        padding: 40px 0px;
    }
    .first_access,
    .second_access,
    .fourth_access,
    .fifth_access {
        margin-bottom: 20px;
    }
    .part_img {
        text-align: center;
    }
    ul.logo_images {
        padding-left: 0px;
    }
    ul.logo_images li {
        display: block;
    }
    /* .expertsection .row {
        flex-direction: column-reverse;
    } */
    .address_main h2,
    .aboutdetail .maintitle h2 {
        font-size: 30px;
    }
    .navbar-dark .navbar-toggler {
        background-color: #cc0000;
    }
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
    section.aboutmain,
    .heromain {
        min-height: 400px;
        padding: 20px;
    }
    section.expertsection,
    section.access,
    .ourpartner {
        padding: 40px 0px;
    }
    .first_access,
    .second_access,
    .fourth_access,
    .fifth_access {
        margin-bottom: 20px;
    }
    .access_colum {
        padding: 0px;
    }
    .navbar-brand {
        margin-right: 2rem!important;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 991px) {
    section.aboutmain,
    .heromain {
        min-height: 400px;
        padding: 20px;
    }
    section.expertsection,
    section.access,
    .ourpartner {
        padding: 40px 0px;
    }
    .first_access,
    .second_access,
    .fourth_access,
    .fifth_access {
        margin-bottom: 20px;
    }
    .access_colum {
        padding: 0px;
    }
    .navbar-brand {
        margin-right: 2rem;
    }
    .navbar .navbar-nav .nav-link {
        color: #073763;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        white-space: nowrap;
    }
    .navbar-expand-lg .navbar-nav .nav-item {
        padding: 1rem;
    }
}

@media only screen and (max-width: 1366.99px) and (min-width: 1024px) {
    .navbar .navbar-nav .nav-link {
        color: #073763;
        font-size: 15px;
        font-weight: 700;
        text-transform: uppercase;
        white-space: nowrap;
    }
    a.navbar-brand {
        margin-right: 7rem!important;
    }
    .navbar-expand-lg .navbar-nav .nav-item {
        padding: 1rem;
    }
}