@media (max-width: 767px) {
    .about .about-container .about-imgs {
        order: 2;
    }

    .about .about-container .about-content {
        order: 1;
    }
}

@media (max-width: 900px) {
    /* .latest-grid-item {
        flex-basis: calc(45% - 10px);
    } */

    .apointment .appointment-box .btn-primary {
        font-size: 11px;
    }
}

@media (max-width: 550px) {
    .latest-grid-item {
        flex-basis: 100%;
    }
}

@media (min-width: 768px) {

    /* css common start */

    section,
    footer {
        padding: var(--lgPadding);
    }

    /* css common end */

    /* banner css start */

    header .header-menu .links-li .dropdown-menu .list-group-item {
        width: 30%;
    }

    .banner .banner-container {
        padding: 2rem
    }

    .banner .banner-container p {
        font-size: 18px;
    }

    /* banner css end */

    /* features css start */

    .features .features-container .features-box {
        width: 33%;
    }

    .features .features-container .features-box h5 {
        font-size: 1.5rem;
    }

    /* features css end */

    /* specialists css start */

    .specialists .specialist-content {
        width: 40%;
    }

    .specialists .specialist-imgs {
        width: 55%;
    }

    .specialists .specialist-imgs div.owl-nav {
        justify-content: end;
    }


    /* specialists css end */

    /* counter css start */
    .counter {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .counter .item {
        width: 19%;
    }

    /* counter css end */

    /* patients css start */
    .patients ul {
        gap: 10px;
    }

    .patients ul li {
        width: 45%;
    }

    /* patients css end */

    .blog .owl-nav {
        position: absolute;
        top: -50px;
        right: 0;
    }


    /* about-us css start */
    .simple-process .process-list .process {
        width: 48%;
    }

    /* about-us css start */

    /* start contact us page */
    .contact-us .map-box {
        height: 89%;
    }

    /* end contact us page */

    /* facilities css start */
    .facility-level .facility-content ul {
        row-gap: 10px;
    }

    .facility-level .facility-content ul li,
    .facility-service .service ul li {
        width: 48%;
    }


    /* facilities css end */


    /* packages section css start */

    .packages .packages-list {
        row-gap: 18px;
        column-gap: 10px;
    }

    .packages .packages-list .packages-box {
        width: 48%;
    }

    /* packages section css end */

    /* apointment section start */
    .apointment .appointment-box .doctor-details h5 {
        font-size: 16px;
    }

    .apointment .appointment-box .doctor-details h4,
    .apointment .appointment-box .schedule h4 {
        font-size: 20px;
    }

    .apointment .appointment-box .col-12.col-md-4:nth-child(2) {
        border-inline: 0.5px solid #DDDDDD;
    }

    /* apointment section end */
}

@media (min-width: 992px) {
    .features .features-container .features-box {
        min-height: 300px;
        padding: 3rem 2rem;
    }

    /* .about .about-container .about-imgs {
        width: 40%;
    }

    .about .about-container .about-content {
        width: 55%;
    } */

    .heading h2 {
        font-size: 2.5rem;
    }

    /* .heading p {
        font-size: 1.2rem;
    } */
}

@media (min-width: 1024px) {

    .w-lg-50 {
        width: 50%;
    }

    /* header css start */
    header .top-link,
    header .social-link {
        gap: 20px;
        z-index: 1;
        font-size: 15px;
    }

    header .top-link li {
        z-index: 1;
    }

    header .top-link li::before,
    header .social-link li::before {
        content: '';
        border-left: 1px solid white;
        width: 100%;
        height: 100%;
        position: absolute;
        right: 11px;
        top: 0;
        z-index: -1;
    }

    header .top-link li:first-child::before,
    header .social-link li:first-child::before {
        content: none;
    }

    header .header-info .info-list span {
        border: 1px solid var(--primaryColor);
        width: 50px;
        min-width: 50px;
        height: 50px;
        border-radius: 7px;
        font-size: 30px;
        margin-right: 10px;
    }

    header .header-info .info-list li {
        width: 33%;
    }

    header .header-menu .menu-links {
        width: 80%;
        position: relative;
        box-shadow: none;
        background-color: transparent;
    }

    header .header-menu {
        height: fit-content;
    }

    header .header-menu .menu-links ul .links-li {
        border-bottom: none;
        margin-right: 16px;
        padding: 0;
        position: relative;
    }

    header .header-menu .menu-links ul .links-li .link {
        transition: none;
        padding: 1px;
        position: relative;
        z-index: 1;
        font-size: 15px;
        color: var(--blackColor);
    }

    header .header-menu .menu-links ul .active {
        background-color: var(--primaryColor);
        border-radius: 3px;
        padding: 0px 11px;
    }

    header .header-menu .menu-links ul .active .link {

        color: white;
    }

    header .header-menu .menu-links ul .links-li .link::before {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        background-color: var(--primaryColor);
        width: 0;
        height: 2px;
        z-index: -1;
        transition: 0.5s ease;
    }

    header .header-menu .menu-links ul .active .link::before {
        content: none;
    }

    header .header-menu .menu-links ul .active .link:hover {
        color: #fff !important;
    }

    header .header-menu .menu-links ul .links-li .link:hover {
        color: var(--primaryColor);
    }

    header .header-menu .menu-links ul .links-li .link:hover::before {
        width: 100%;
    }

    header .sticky {
        padding: 1rem 1.5rem;
    }

    header .sticky .container {
        position: relative;
        /* padding: 1rem 0; */
    }

    header .header-menu .btn-orange {
        background-color: var(--primaryColor);
        color: var(--whiteColor);
    }

    .header .info-list .info a {
        font-size: 15px;
    }

    .header .info-list .info h5 {
        font-size: 16px;
    }

    /* header css end */

    /* banner css start */

    .banner .banner-container {
        height: 550px;
    }

    .banner .banner-container .heading {
        /* width: 65%; */
    }

    /* banner css end */

    .choose-us .choose-content,
    .choose-us .choose-img {
        width: 48%;
    }

    .choose-us .choose-img {
        background-image: url('../img/choose-doctor.png');
        background-repeat: no-repeat;
        background-size: cover;
    }

    .patients .side-img {
        position: absolute;
        left: 0;
        top: 0;
        width: 49%;
        height: 100%;
    }

    .patients .side-img img {
        object-fit: cover;
    }

    footer .footer-info li {
        width: 33%;
    }

    /* about-us css start */
    .simple-process .process-list .process {
        width: 20%;
    }

    /* about-us css start */


    /* doctor-info start */
    .doctor-info .doctor-details {
        background-image: linear-gradient(to right, #F86F03 18%, #F1F2F6 11%);
        background-repeat: no-repeat;
        background-size: 100% 35%;
    }

    /* doctor-info end */

    /* facilities css start */
    .facility-heading h2 {
        font-size: 24px;
    }

    .facility-level .facility-content p {
        font-size: 16px;
    }

    .facility-level .facility-content ul li {
        font-size: 14px;
        width: 25%;
    }

    .facility-service .service-content .emergency-number {
        width: 70%;
        margin-top: 40px;
        display: block;
    }

    .facility-service p {
        font-size: 16px;
    }

    .facility-service .opration-theatre {
        width: 95%;
        margin-left: auto;
    }

    .facility-service .opration-theatre .free-bus {
        width: 80%;
    }

    /* facilities css end */

    /*  package-details css start */
    .package-details p {
        font-size: 16px;
    }

    .package-details ul li {
        font-size: 16px;
        width: 48%;
    }

    /* package-details css end */

    /* packages section css start */

    .packages .packages-list {
        row-gap: 18px;
    }

    .packages .packages-list .packages-box {
        width: 32%;
    }

    /* packages section css end */

    .apointment .appointment-box .btn-primary {
        font-size: 13px;
    }

    /* news and event section css start */
    .post-det .content {
        width: calc(100% - 330px);
    }

    .aspect-point li {
        width: 49%;
    }
    /* news and event section css end */
}

@media (min-width: 1280px) {


    /* header css start */
    header .header-info .logo {
        width: 250px;
        display: block;
    }

    header .header-menu .menu-links {
        width: 83%;
    }

    header .header-info .info-list li {
        width: 32%;
    }

    header .header-info .info-list {
        width: 77%;
    }

    /* header css end */

    /* counter section start */
    .counter::after,
    .counter::before {
        content: '';
        background-repeat: no-repeat;
        background-size: 100% 100%;
        position: absolute;
        z-index: 1;
        opacity: .2;
    }

    .counter::after {
        right: 21px;
        background-image: url('../img/right-plus.png');
        top: -11px;
        width: 290px;
        height: 180px;
    }

    .counter::before {
        left: 21px;
        top: 20px;
        width: 100px;
        height: 110px;
        background-image: url('../img/left-plus.png');
    }

    /* counter section end */

    /* about-us css start */
    .appointment .content h5 {
        font-size: 20px;
    }

    .appointment .btn-white {
        width: 210px;
        font-size: 20px;
    }

    /* about-us css start */

    /* dept-details css start */
    .detail-banner .dept-img {
        width: 80%;
        margin-left: auto;
    }

    /* dept-detail css end */

    /* footer css start */
    footer .footer-info {
        width: 90%;
        margin: auto;
    }

    footer .footer-info span {
        width: 60px;
        min-width: 60px;
        height: 55px;
    }

    /* footer .footer-info .info h5 {
        font-size: 25px;
    } */

    /* footer .footer-info .info a {
        font-size: 18px;
    } */

    /* footer css end */

    /* doctor-info start */
    .doctor-info .doctor-details {
        background-size: 100% 50%;
    }

    /* doctor-info end */


.features .features-container .feature-element,
.features .features-container .feature-element .feat-text,
.features .features-container .feature-element .img {
    transition: all 0.5s cubic-bezier(.645,.045,.355,1);
}



.features .features-container .features-box:hover .feature-element {
        transform: translateY(-80%);
}

.features .features-container .features-box:hover .feat-text {
    opacity: 1;
    visibility: visible;
}

    /* about-us css start */
    .simple-process .process-list::before {
        content: '';
        background-image: url('../img/process_dot.png');
        background-repeat: no-repeat;
        background-size: 100% 100%;
        position: absolute;
        top: -90px;
        left: -110px;
        width: 1285px;
        /* width: 1480px; */
        height: 100%;
        transform: rotate(5deg);

    }

    /* about-us css start */

    /* packages section css start */

    .packages .packages-list .packages-box {
        width: 32%;
    }

    /* packages section css end */

    /* specialists section css start */
    .specialists {
        background-image: url('../img/specialist-bg.png');
        background-repeat: no-repeat;
        background-size: 100% 100%;

    }
    /* specialists section css end */
}

@media (min-width: 1366px) {
    .container {
        max-width: 1280px;
    }

    header .header-menu .links-li .dropdown-menu .list-group {
        height: fit-content;
    }

    header .header-menu .links-li .dropdown-menu .list-group-item {
        width: 24%;
    }

    .choose-us .choose-row {
        width: 85%;
    }

    .simple-process .process-list::before {
        width: 1420px;
    }

    /* dept-details css start */

    .detail-banner .content h5,
    .consulant .heading h5 {
        font-size: 25px;
    }

    .detail-banner p {
        font-size: 16px;
    }

    .detail-banner .dept-img {
        width: 85%;
    }

    /* dept-detail css end */

    /* packages section css start */

    .packages .packages-list .packages-box {
        width: 24%;
    }

    /* packages section css end */

    /* start booking css */
    .book-appointment .apointment .appointment-box,
    .book-appointment .need-help,
    .book-appointment .emergency {
        height: inherit;
    }

    /* end booking css */


    /* doctor-info start */
    .doctor-info .doctor-details {
        background-size: 100% 60%;
    }

    /* doctor-info end */

}

@media (min-width: 1440px) {

    body {
        font-size: 17px;
    }

    .counter .item .number {
        font-size: 40px;
    }

    /* about-us css start */
    .simple-process .process-list::before {
        top: -90px;
        left: -120px;
        width: 1480px;

    }

    /* about-us css start */
}


@media (min-width: 1800px) {
    .container {
        max-width: 1600px;
    }

    .simple-process .process-list::before {
        width: 1790px;
    }
}

@media (min-width: 1920px) {

    /* header css start */
    header .header-info .info-list {
        width: 73%;
    }

    /* header css end */


    /* about-us css start */
    .simple-process .process-list::before {
        top: -76px;
        left: -134px;
        width: 1830px;
    }

    /* about-us css start */
}
