@media(max-width:1366px) {
    .navbar-collapse ul li {
        margin-right: 45px;
    }

    .navbar-brand {
        width: 100px;
    }
}

@media(max-width:1280px) {}

@media(max-width:1200px) {}

@media(max-width:1199px) {
    .navbar-brand {
        width: 80px;
    }

    .navbar-collapse ul li {
        margin-right: 35px;
    }

    .navbar-collapse ul>li>a {
        font-size: 12px;
    }

    .service-box h5 {
        font-size: 24px;
    }

    .service-box {
        padding: 30px 15px;
    }

    .ce-tab .nav-link {
        font-size: 13px;
    }

    .ce-content h3 {
        font-size: 24px;
        padding-bottom: 15px;
    }

    .ce-content {
        padding: 30px 20px;
    }
}

@media(max-width:991px) {
    .container {
        max-width: 100%;
    }

    .navbar .container {
        position: relative;
    }

    .navbar-brand {
        width: 80px;
    }

    .navbar-toggler {
        padding: 0px;
        position: absolute;
        right: 12px;
    }

    .navbar-toggler-icon {
        width: 28px;
        height: 2px;
        background: var(--black);
        position: relative;
    }

    .navbar-toggler-icon:after,
    .navbar-toggler-icon:before {
        position: absolute;
        left: 0;
        width: 28px;
        height: 2px;
        background: var(--black);
        content: '';
    }

    .navbar-toggler-icon:before {
        top: 7px;
    }

    .navbar-toggler-icon:after {
        bottom: 7px;
    }

    .menu-area {
        display: flex;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .navbar-collapse {
        position: absolute;
        min-width: 300px;
        background: #f7f7f7;
        top: 70px;
        right: -8px;
        z-index: 999;
        padding: 20px;
    }

    .navbar-collapse ul>li>a {
        font-size: 14px;
        font-weight: 600;
        padding: 7px 0px 7px !important;
        color: var(--black) !important;
    }

    .navbar-text {
        margin-right: 45px;
        padding: 0px;
    }

    .div-title {
        margin-bottom: 15px;
        font-size: 32px;
    }

    .sec-space {
        padding: 30px 0;
    }

    .banner-text {
        max-width: 600px;
        width: 600px;
    }

    .banner-text h1 {
        font-size: 32px;
        line-height: 42px;
    }

    .about-home {
        margin-top: 30px;
    }

    .about-home .row [class*="col-"]:nth-child(1) {
        order: 2;
    }

    .about-home .row [class*="col-"]:nth-child(2) {
        order: 1;
    }

    .about-home-image {
        margin-top: 30px;
        height: 400px;
    }

    .about-content {
        padding: 40px 30px;
    }

    .section-head h2 {
        font-size: 32px;
        line-height: 44px;
    }

    .section-head {
        margin-bottom: 20px;
    }

    .dep-box {
        padding: 20px 5px;
    }

    .care-box h2 {
        font-size: 38px;
        line-height: 54px;
    }

    .customer-care-bg {
        padding: 60px 0;
    }

    .health-care {
        margin-top: 30px;
        padding: 30px 10px;
    }

    .hc-image {
        font-size: 20px;
        flex: 0 0 52px;
        border-radius: 50%;
        height: 52px;
        line-height: 52px;
        margin-right: 10px;
    }

    .hc-content h3 {
        font-size: 20px;
        line-height: 20px;
    }

    .hc-content a {
        font-size: 20px;
    }

    .why-us .section-head h2 br {
        display: none;
    }

    .why-box {
        padding: 15px 15px;
    }

    .why-us-image {
        height: 375px;
    }

    .ac-tab {
        margin-top: 30px;
        padding: 30px;
    }

    .ac-tab .nav-tabs {
        padding: 0px 0 20px;
    }

    .ac-content {
        padding: 15px 0px;
    }

    .emergency-box {
        border: 1px solid #dedede;
    }

    .emergency-content {
        padding: 20px 15px;
    }

    .emergency-content h5 {
        margin-bottom: 10px;
        padding-bottom: 0px;
        font-size: 17px;
    }

    .about-center {
        padding-bottom: 10px;
    }
}

@media(max-width:767px) {

    .service-home .container,
    .excellence-center .container,
    .diagnostic .container {
        max-width: 95%;
    }

    .health-care .row {
        row-gap: 30px;
    }

    .health-care {
        margin-top: 15px;
        padding: 30px 50px;
    }

    .footer-main .row [class*="col-"]:nth-child(2) {
        padding-left: 10px;
    }
}

@media(min-width:668px) {
    /* .navbar-collapse ul li:last-child {
        display: none;
    } */

    .sidebar {
        display: none;
    }
}

@media(max-width:667px) {
    .navbar-text a:nth-child(1) {
        display: none;
    }

    /*=======================================*/

    .sidebar {
        display: block;
        position: fixed;
        bottom: 40px;
        right: 4px;
        z-index: 99;
    }

    .add-button {
        width: 40px;
        height: 40px;
        line-height: 40px;
        border-radius: 50%;
        text-align: center;
        font-size: 22px;
        background: var(--black);
        color: var(--white);
        position: relative;
        z-index: 99;
    }

    .all-button {
        position: absolute;
        bottom: 0;
    }

    .all-button ul {
        list-style: none;
    }

    .all-button ul li {
        margin-bottom: 10px;
    }

    .all-button ul li:last-child {
        margin-bottom: 0px;
    }

    .all-button ul li a {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        border-radius: 50%;
        text-align: center;
        font-size: 18px;
        color: var(--white);
        background: var(--green);
    }

    .all-button ul li:nth-child(1) a {
        background: #296e5f;
    }

    .all-button ul li:nth-child(3) a {
        background: lightseagreen;
    }

    .all-button ul li:nth-child(1) {
        transform: translateY(100px);
        transition: all .35s;
    }

    .all-button ul li:nth-child(2) {
        transform: translateY(50px);
        transition: all .3s;
    }

    .all-button ul li:nth-child(3) {
        transform: translateY(0);
        transition: all .28s;
    }

    .all-button.show ul li {
        transform: translateY(-55px);
        transition: all .4s;
    }

    /*=======================================*/

    .section-head h2 {
        font-size: 28px;
        line-height: 40px;
    }
}

@media(max-width:575px) {
    .hospital-name {
        display: none;
    }

    .top-bar {
        position: relative;
        flex: 0 0 85%;
    }

    .contact-phone {
        top: 46px;
        width: 175px;
    }

    .cms-banner {
        height: 150px;
    }

    .cms-banner .cover h1 {
        font-size: 24px;
    }

    .banner-text h1 {
        font-size: 28px;
        line-height: 30px;
    }

    .about-home-image {
        margin-top: 15px;
    }

    .care-box h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .department .btn-solid {
        margin-top: 15px;
    }

    .ac-tab {
        padding: 25px 15px;
    }

    .ac-tab .nav-tabs .nav-item .nav-link {
        padding: 8px 12px;
    }

    .ac-content h3 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 15px;
    }
}

@media(min-width:481px) {
    .book-appoint {
        display: none;
    }
}

@media(max-width:480px) {
    .top-bar {
        flex: 0 0 80%;
    }

    .contact-phone ul li {
        margin-right: 0px;
    }

    .navbar-collapse {
        top: 46px;
        right: -19px;
    }

    .div-title {
        font-size: 26px;
    }

    .section-head h3 {
        font-size: 26px;
    }

    .service-box ul li {
        margin-bottom: 10px;
    }

    .navbar-text {
        display: none;
    }

    /*=============================================*/

    .book-appoint {
        position: fixed;
        top: 25%;
        right: 0;
        transform: rotate(180deg) translateY(-50%);
        z-index: 99;
    }

    .book-appoint a span {
        transform: rotate(90deg);
        position: absolute;
        left: 7px;
        top: 10px;
    }

    .book-appoint a {
        color: var(--white);
        background: var(--black);
        writing-mode: vertical-rl;
        padding: 36px 9px 15px 9px;
        display: inline-block;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    /*======================================*/

    .banner-text h1 {
        font-size: 24px;
        line-height: 24px;
    }

    .section-head h2 {
        font-size: 20px;
        line-height: 30px;
    }

    .about-content {
        padding: 15px;
    }

    .about-content a {
        font-size: 18px;
    }

    .care-box h2 {
        font-size: 24px;
        line-height: 32px;
        padding-bottom: 10px;
    }

    .health-care {
        padding: 20px 20px;
    }

    .hc-content a {
        font-size: 18px;
    }

    .hc-content h3 {
        margin-bottom: 6px;
    }

    .why-content h5 {
        font-size: 16px;
    }

    .why-box {
        padding: 15px 15px;
    }

    .order-count {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
        margin-right: 15px;
        position: absolute;
    }

    .why-content {
        padding-left: 60px;
    }

    .ac-tab .nav-tabs .nav-item .nav-link {
        padding: 6px 7px;
        font-size: 12px;
    }

    .ac-tab .nav-tabs .nav-item {
        margin-right: 10px;
    }

    .ac-content h3 {
        font-size: 16px;
        line-height: 22px;
    }

    .navbar-brand {
        width: 90px;
        padding: 5px 0;
    }

    .link-box h4 {
        font-size: 18px;
        padding-bottom: 5px;
    }

}

@media(max-width:414px) {
    .top-bar {
        flex: 0 0 75%;
    }
}