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


}


@media screen and (max-width: 1399px) and (min-width: 1024px) {

    .cardType1 img {
        border-radius: 14px;
        width: 100%;
        object-fit: cover;
        object-position: top;
        /* max-height: 230px !important; */
        height: 200px !important;
    }

    .navbar-light .navbar-brand {
        margin: 0 !important;
    }

    .navbar-light .navbar-brand img {
        max-width: 190px;
    }

    nav#mainNav .nav-item>a {
        font-size: 12px !important;
    }



}

@media (min-width: 1200px) and (max-width: 1275px) {
    nav#mainNav .nav-item>a {
        font-size: 11px !important;
    }
}

@media screen and (max-width: 1200px) and (min-width: 1024px) {
    .cardType1 img {
        border-radius: 14px;
        width: 100%;
        object-fit: cover;
        object-position: top;
        /* max-height: 230px !important; */
        height: 165px !important;
    }

    .team-card-footer a:first-child {

        padding: 8px;
        font-size: 11px;
    }

    .team-card-footer a:nth-child(2) {

        padding: 8px;
        font-size: 11px;
    }

    .cardType1Footer {

        padding: 10px;

        font-size: 14px;

    }

    .upcoming-events .newsCaption-title {
        font-size: 13px;
    }

    .newsCaption-content {
        font-size: 12px !important;
    }

    .team-card .team-text p {
        font-size: 12px !important;
        height: 50px !important;
    }

    .call-icon {
        display: none !important;
    }

    .banner-caption {
        padding-top: 180px !important;
    }

    .banner-caption h2 {
        font-size: 25px !important;
    }

    .navbar-light .navbar-brand img {
        max-width: 140px !important;
    }

    nav#mainNav .nav-item>a {
        font-size: 10px !important;
    }

    .contactUs,
    .contactUs.portnerActive {
        background-size: 550px 100%;
    }

    .caseStudyWrp .owl-nav button {
        left: -20px;
        opacity: 0.5;
    }

    .caseStudyWrp .owl-nav button.owl-next {
        right: -20px;
    }

    .colorBx h3 {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .map-wrapper iframe {
        height: 450px;
    }

    .map-wrapper.style-2 {
        overflow: hidden;
        height: 297px;
        position: relative;
    }

}

@media (min-width: 992px) and (max-width: 1199px) {
    .card-box {
        padding: 25px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
    }

    .bottom-icon {
        width: 40px;
        height: 40px;
    }

    .map-wrapper iframe {
        height: 400px;
    }

    .map-wrapper.style-2 {
        overflow: hidden;
        height: 297px;
        position: relative;
    }

}

@media only screen and (max-width: 991px) {
    .bannerWrp .item img {
        height: 420px;
        object-fit: cover;
    }
    body {
        padding-top: 50px;
        overflow-x: hidden;
    }

    section {
        overflow: hidden;
    }

    .banner-image img {
        width: auto;
    }

    .mobile {
        display: block !important;
    }

    .desktop {
        display: none !important;
    }

    .navbar-toggler i {
        color: #000000;
        font-size: 28px;
    }

    .navbar-brand img {
        height: 50px;
    }

    .navbar-light .navbar-brand {
        margin: 0px 25px !important;
    }

    nav#mainNav .nav-item>a {
        padding: 10px 0;
        display: flex;
        justify-content: space-between;
        color: #fff !important;
    }

    nav#mainNav .nav-item {
        padding: 0;
        border-bottom: dashed 1px #ffffff78;
    }

    nav#mainNav {
        padding: 12px 15px;
        background: #ffffff !important;
        margin: 0px;
    }

    .navbar-light .navbar-toggler {
        border: none;
        padding: 0;
        outline: none;
    }

    div#navbarSupportedContent {
        position: fixed;
        top: 0;
        width: 320px;
        left: -0px;
        background: #ffffff;
        height: 100vh;
        padding: 20px;
        z-index: 9;
        display: block;
        transform: translateX(-320px);
        transition: all 400ms ease;
        padding-top: 60px;
    }

    .cross-toggler {
        background: #fff;
        border: none;
        color: #000;
        padding: 0;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        margin-bottom: 10px;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 9999;
    }

    ul.navbar-nav.ml-auto {
        /* height: calc(100vh - 60px); */
        overflow: auto;
    }

    div#navbarSupportedContent.active {
        left: 320px;
        transition: all 400ms ease;
    }

    .overLay {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: rgb(0 0 0 / 51%);
        top: 0;
        left: 0;
        display: none;
    }

    .overLay.active {
        display: block;
    }

    section.banner {
        padding: 0;
    }

    section.banner .container {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        gap: 30px;
    }

    .bannerContent h1 {
        font-size: 26px;
        line-height: 30px;
        margin: 0 0 10px;
    }

    .bannerContent h3 {
        font-size: 22px;
        line-height: 20px;
    }

    .bannerContent .listInline {
        margin-top: 15px;
    }

    .sectionHeading h2 {
        font-size: 32px;
    }

    .sectionHeading h3 {
        font-size: 20px;
    }

    .trust .listInline {
        flex-wrap: wrap;
    }

    .trust {
        padding: 30px 0;
    }

    .colorBx {
        margin-bottom: 30px;
    }

    .caseStudyWrp h3 {
        font-size: 24px;
        line-height: 30px;
    }

    .caseStudyWrp p {
        font-size: 15px;
        line-height: 22px;
    }

    .caseStudyWrp .owl-nav button {
        width: 40px;
        left: -45px;
    }

    .testimonialWrp .owl-nav button {
        width: 40px;
    }

    .caseStudyWrp .owl-nav button.owl-next {
        right: -45px;
    }

    .testimonialWrp {
        width: 100%;
    }

    .testimonialWrp .owl-nav {
        right: 0;
    }

    .testimonialWrp .owl-dots {
        max-width: 100%;
    }

    .caseStudyWrp .owl-nav button {
        left: -20px;
        opacity: 0.5;
    }

    .caseStudyWrp .owl-nav button.owl-next {
        right: -20px;
    }

    .footerLinkBx {
        width: auto;
        min-width: 100px;
    }

    .colorBx h3 {
        font-size: 18px;
    }

    .tileBx p {
        font-size: 16px;
    }

    .footerLink {
        gap: 20px;
    }

    img.bannerImg {
        min-width: 100%;
        position: static;
    }

    section.banner .container {
        margin: 30px auto;
    }

    .searchBox {
        width: 100%;
        margin-bottom: 30px;
    }

    .circleBx {
        width: 244px;
    }

    .applyWrp {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .subscribe {
        margin-bottom: 30px;
    }

    .inerBannerContent h1 {
        font-size: 24px;
    }

    section.inrBanner>img {
        min-height: 190px;
        object-fit: cover;
    }

    section.inrBanner {
        padding: 0;
    }

    .beTheTeacher .col-md-6,
    .imgWithContent {
        margin-bottom: 30px;
    }

    .filterBx .unorderList {
        display: none;
    }

    .filterBx .unorderList.active {
        display: block;
    }

    .teacherBx h3 {
        font-size: 16px;
    }

    .teacherBx p {
        font-size: 14px;
    }

    .teacherBx .listInline,
    .teacherBx .d-flex {
        flex-wrap: wrap;
    }

    .teacherBx .listInline li {
        font-size: 14px;
    }

    .teacherBx .d-flex a {
        width: 100%;
    }


    .mobileLogo {
        padding: 10px;
        background: #fff;
        margin: 15px 0;
    }

    .navbar-nav {
        padding: 0 15px !important;
        justify-content: start;
        text-align: left;
        background: #00A052;
        margin: 0 !important;

    }

    .dropmenu ul li:not(:first-child) {
        border-bottom: dashed 1px #ccc;
    }

    .dropmenu ul li a {
        padding: 9px 10px;
        font-size: 14px;
    }

    .dropmenu .dropmenu>.fas {
        background: transparent;
        color: #000;
        margin-right: 5px;
    }

    .navbar-nav>li {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-nav>li>.fas,
    .dropmenu>ul>li>.fas {
        background: #ffffff;
        padding: 5px;
        color: #000;
        transform: rotate(270deg);
        padding: 0;
        background: no-repeat;
        font-size: 20px;
        color: #fff;
    }

    .dropmenu>ul>li>.fas {
        background: #00A052;
        color: #fff;
    }

    .dropMenuContainer {
        transform: translateY(0px) !important;
        transform: translateX(-460px) !important;
        position: absolute;
        top: 0;
        height: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        transition: all 500ms ease;
    }

    .backBtn {
        background: #00A052;
        padding: 10px;
        color: #fff;
        display: flex !important;
        gap: 10px;
        align-items: center;
        border-radius: 7px;
    }

    .dropMenuContainer.active,
    .dropmenu>ul.active {
        transform: translateX(0px) !important;
        transition: all 500ms ease;
        max-height: 100vh;
        overflow-x: auto;
    }

    .dropMenuContainer h3 {
        font-size: 16px;
    }

    .dropMenuContainer .col {
        max-width: 50%;
        width: 50%;
        flex-basis: auto;
    }

    .dropmenu>ul {
        opacity: 1;
        visibility: visible;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        transform: translateX(-120%) !important;
        transform: translateY(0px);
    }

    li.nav-item.dropmenu {
        position: static;
    }

    .dropmenu {
        justify-content: space-between;
        position: static;
    }

    .dropmenu>ul .dropmenu ul {
        height: 100%;
        left: auto;
        top: 0;
    }

    .dropmenu .dropmenu>.fas {
        position: static;
    }

}

@media only screen and (max-width: 767px) {
    .bottom-card-margin {
        margin-bottom: 40px;

    }

    .faq-div {
        border-radius: 30px;
        padding-left: 40px;
        padding-right: 40px;
        padding-top: 30px;
        padding-bottom: 30px;
        margin-left: 10px !important;
        margin-right: 10px !important;

    }

    .breakthroughSection {
        color: #00A052;
        font-size: 24px
    }

    .international-patient-services .section-title {
        font-size: 25px;
        color: #00A052;
        margin-bottom: 30px;
    }

    .expert-advice-section h2 {
        font-size: 24px;

    }

    .expert-advice-section {
        margin-top: 20px;
    }

    .doctor-banner {
        text-align: center;
        padding: 40px 15px;
    }

    .doctor-banner-info {
        padding-left: 0;
        margin-top: 20px;
    }

    .doctor-banner-img img {
        max-width: 200px;
    }

    .doctor-info h3 {
        font-size: 20px;
        margin: 0;
        font-weight: 700;
    }

    .who-we-are .section-title {
        font-size: 22px !important;
    }

    .medicity-stats-card h2 {

        font-size: 24px !important;

    }

    .green-overlay {
        height: 100%;
        width: 90%;

    }

    .stats-yashoda-medicity-section h4 {
        font-size: 30px !important;
        line-height: inherit;
    }

    .stats-yashoda-medicity-section span {
        line-height: 0 !important;
    }

    .stats-yashoda-medicity-section {
        width: 92% !important;
        /* Full width */
        top: 0 !important;
        /* Remove negative margin */
        padding-left: 15px;
        /* Space from left */
        padding-right: 15px;
        margin: 20px;
        z-index: auto;

        /* Space from right */
    }

    .banner-yashoda {
        height: 30vh !important;
    }

    .banner-yashoda::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: none !important;
        /* optional dark overlay */
        z-index: 0;
    }

    .banner-yashoda-caption {
        position: absolute;

        color: white;
        z-index: 9;
        padding: 0 7%;
        width: 100%;
        padding-top: 100px;
    }

    .stats-section {
        margin-top: 100px;
    }

    .bg-overlay-div {
        padding: 2rem 1rem;
    }

    .leadership-section .leader-card img {
        margin-top: 70px;
    }

    .leadership-text {
        margin-top: 50px;
    }

    /* .our-values {
        margin-top: 20px;
    } */

    /* .feature-card {
        margin-bottom: 0px;
        padding-bottom: 0px !important;
    } */

    .search_form_hero_banner .col-md-3 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .formBanner {
        background-color: #F2F2F2;
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .search_form_hero_banner .row {
        margin-left: 0;
        margin-right: 0;
    }

    .search_form_hero_banner {
        /* Light grey background */
        /* Kam padding */
        margin-top: 5px;
        /* kam gap */
        border-radius: 8px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        /* full width */
        box-sizing: border-box;
        /* avoid overflow */
    }

    /* Agar andar ka form bhi thoda compact chahiye */
    .search_form_hero_banner select,
    .search_form_hero_banner button {
        padding: 8px;
        margin-right: 6px;
    }

    .health-packages h2 {
        font-size: 28px;
    }

    .international-patients {
        padding: 0px 0px 30px 0px !important;
    }

    .enquiry-box {
        border-radius: 30px;
    }



    .card-box {
        padding: 20px;
        height: auto;
        margin-bottom: 20px;
    }

    .contact-info p {
        font-size: 13px;
    }

    .bottom-card {
        padding: 12px;
        flex-direction: row;
    }

    .bottom-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .bottom-title {
        font-size: 0.75rem;
    }

    .bottom-card-text {
        font-size: 13px;
    }

    .banner-caption2 h2 {
        font-size: 24px;
        text-align: center;
    }

    .breadcrumb {
        font-size: 13px;
        justify-content: center;
    }

    .map-wrapper iframe {
        height: 300px;
    }

    .map-wrapper.style-2 {
        overflow: hidden;
        height: 297px;
        position: relative;
    }

    .enquiry-box {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        font-size: 15px;
    }

    .enquiry-box {
        flex-direction: column;
        gap: 10px;
    }

    .enquiry-box>div {
        width: 100%;
    }

    .search-btn-filter {
        padding: 0px !important;

    }

    faq-section .accordion-button:not(.collapsed) {
        width: 32px;
    }

    .faq-section .accordion-button::before {
        width: 32px;
    }

    .filterSelected {
        justify-content: space-between;
    }

    .footerLink {
        margin-top: 30px;
    }

    .banner-caption {
        width: 100%;
    }

    .banner-caption {
        padding-top: 200px;
    }

    .banner-text-bg {
        background-color: #fff9f98f;
        padding: 7px 10px;
    }

    .banner-caption h2 {
        margin-bottom: 0 !important;
    }

    .banner-caption p {
        font-size: 19px;
        font-weight: 700;
    }

    .banner-caption h2 {
        font-size: 25px;
    }

    .mainHeading h2 {
        font-size: 24px;
    }

    .appointment-form h4 {
        font-size: 24px;
    }

    .features-list {
        padding: 15px 0px 10px 0px !important;
    }

    .our-networks {
        padding: 50px 0px 50px 0px;
    }

    .center-of-excellence .icon-content h3 {
        font-size: 18px;
    }

    .white-btn {
        font-size: 13px;
    }

    .appointment-container .appointment-form {
        border-bottom-left-radius: 22px;
        border-bottom-right-radius: 22px;
        border-top-right-radius: 0px;
    }

    .stats-section {
        top: 0px;
    }

    .stats-section h4 {
        font-size: 28.65px;
    }

    .our-services,
    .team-section {
        padding: 30px 0px 30px 0px !important;
    }

    .our-services h2 {
        font-size: 24px;
    }

    .international-patients img {
        height: 350px;
        object-fit: contain;
    }

    .international-patients h2 {
        font-size: 24px;
    }

    .international-patients .international-patients-p {
        font-size: 19px;
    }

    .checked-list::before {
        font-size: 9px;
        width: 16px;
        height: 16px;
        line-height: 16px;
    }

    .news-section h2 {
        font-size: 24px;
    }

    .upcoming-events-card h5 {
        font-size: 24px;
    }

    .upcoming-event-minor-card .event-details p {
        font-size: 13.2px;
    }

    .excellence-section h2 {
        font-size: 24px;
    }

    .testimonial-major-card h4 {
        font-size: 20px;
        line-height: 33px;
    }

    .testimonial-section {
        padding: 50px 0px 30px 0px !important;
    }

    .testimonial-img img {
        width: 100px !important;
    }

    .blog-section h2 {
        font-size: 24px;
    }

    .footer-logo {
        width: 225px;
    }
}

@media only screen and (max-width: 460px) {
    .stats-section {
        margin-top: 0px;
    }

    .search_form_hero_banner {
        order: 2;
        /* Pehle feature list aayegi */
    }

    .features-list {
        order: 1;
        /* Feature list upar aayegi */
    }

    .faq-section .accordion-button:not(.collapsed)::before {
        width: 32px;
    }

    .faq-section .accordion-button:not(.collapsed) {
        width: 100%;
    }

    .faq-section .accordion-button::before {
        width: 32px;
    }

    .footer .col {
        min-width: 100%;
        flex-grow: auto;
    }

}

@media only screen and (min-width:767px) {
    .our-services-vertical-slider .col-md-6 .icon-bx-wraper:nth-child(3n) {
        margin-top: 3.5rem !important;
    }
}

@media only screen and (min-width:320px) {

    .our-values {
        margin-top: 20px;
    }

    .cardType1Footer {

        padding: 10px;
        font-size: 14px;
    }

    .upcoming-events .newsCaption-title {
        font-size: 13px;
    }

    .newsCaption-content {
        font-size: 12px !important;
    }

    .team-card .team-text p {
        font-size: 12px !important;
        height: 50px !important;
    }
}

@media only screen and (max-width: 767px) {
    .health-packages h2 {
        font-size: 20px;
        margin-top: 30px;
    }

    .mobile-nav {
        display: flex;
        border-radius: 0px !important;
        margin: 0px;
    }

    .bloc-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 10px 0;
        text-align: center;
        font-size: 11px;
        line-height: 16px;
        font-weight: 600;
        color: #000;
    }

    .mobile-nav img {
        width: 50%;
        height: 40px;
        object-fit: contain;
    }

    .desktopOnly {
        display: none;
    }

    .director-msg .green-box {
        position: static;
        transform: none;
        max-width: 100%;
        margin-top: 1rem;
    }
}

/* Desktop overlap effect */
@media (min-width: 768px) {


    .director-msg .green-box {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        max-width: 50%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* --- Category Widget --- */
.category-widget {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}

.category-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    display: inline-block;
}

.category-list li a i {
    margin-right: 5px;
    color: #00A052;
}

.category-list li a:hover {
    text-decoration: none;
    color: #018042ff;
}

.category-list li a.active-cat {
    font-weight: bold;
    color: #017f42ff;
}

/* --- Recent Post Styles --- */
.recent-post-widget {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 15px 20px;
    background: #fff;
}

.recent-post-widget .recent-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.recent-post-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-img {
    flex: 0 0 65px;
    height: 65px;
    margin-right: 12px;
}

.recent-img img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
}

.recent-content {
    flex: 1;
}

.recent-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.recent-date {
    margin-right: 10px;
}

.recent-category {
    float: right;
    font-weight: 500;
    color: #999;
}

.recent-title-link {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.recent-title-link:hover {
    color: #00A052;
}

/* --- Search UI --- */
.search-box {
    display: flex;
    align-items: center;
    max-width: 450px;
    margin: 10px auto 0;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50px;
    position: relative;
    overflow: visible;
}

.search-box input {
    border: none;
    outline: none;
    padding: 10px 15px;
    flex: 1;
    font-size: 16px;
    border-radius: 50px 0 0 50px;
}

.search-box button {
    background: #00A052;
    border: none;
    outline: none;
    padding: 10px 13px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    background: #00783e;
}

.search-box button i {
    color: #fff;
    font-size: 18px;
}

/* Suggestions dropdown */
.suggestions-box {
    display: none;
    position: relative;
    max-width: 450px;
    margin: 6px auto 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    max-height: 260px;
    overflow-y: auto;
    z-index: 999;
}

.suggestion-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.3;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: #f5f5f5;
}

.suggestion-empty {
    padding: 12px;
    color: #777;
    font-style: italic;
}

/* --- News Detail Styles (same as blog-details) --- */
.news-detail-card {
    margin-bottom: 30px;
}

.news-detail-img img {
    border-radius: 10px;
}

.news-meta {
    font-size: 14px;
    color: #666;
}

.news-date {
    font-weight: 500;
}

.news-description {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.read-more:hover {
    color: #018143;
}

.blog-title {
    color: #000;
    font-weight: 600;
}

.blog-title:hover {
    color: #00A052;
}

@media only screen and (max-width: 768px) {
    .banner-image img {
        width: auto;
        padding-top: 50px;
        margin-right: 0rem !important;

    }

    .bannerHeight {
        height: 200px;
    }
}