@media screen and (max-width:768px){
    .hero-text-container{
        max-width:100%;
    }
    .hero-section{
            height: 500px;
    }
    .hero-title{
        font-size:2.0rem;
    }
    .hero-nav-arrows{
        left: calc(50% - 50px);
    }
    .service_slider{
        padding:0 0px;
    }
    .services-section{
        padding-left:15px;
        padding-right:15px;
    }
    .why-choose-us-overlay{
        padding:20px;
    }
    .why-choose-us-overlay h2{
        font-size:24px;
    }
    .why-choose-us-img-card{
        min-height:340px;
    }
    .appointment-banner-new{
        padding:20px;
    }
    ._rxer{
        padding-left:0 !important;
    }
    .infrastructure-section h2{
            font-size: 2rem;
            margin-bottom:30px;
    }
    .txxrerer{
        padding-left:20px;
    }
    .blog-img-wrapper{
        border-radius:0;
    }
    .blog-section-footer{
        margin-left:0;
    }
    footer img{
        max-height:70px !important;
    }
    .xrw3r344{
        margin:auto !important;
    }
    .doctor_search_form{
        flex-direction:column;
    }
    ._doctors-card{
        flex-direction:column;
    }
    ._doctors-btn-outline{
            padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 16px;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    }
    ._doctors-btn-primary{
            padding: 10px 14px;
    background: #c7372f;
    color: #fff;
    border-radius: 16px;
    text-decoration: none;
    font-size: 12px;
    }
    ._doctors-info{
        display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    }
    .pagination .page-link{
        color: #c62828;
    padding: 10px 12px;
    font-size: 14px;
    }
    .page_header .container{
       
    flex-direction: column;
    }
    .final_list p{
        display:none;   
    }
    .df3444{
        width:100% !important;
        margin-top:16px;
    }
    .serwww{
        padding-bottom:0 !important;
    }
    .tserwdsfsdf,.mobile_breadcrumb{
        width:100% !important;
        margin-bottom:10px;
    }
    .mobile_breadcrumb nav{
        justify-content: center !important;
    }
    .blog-img img{
        height:auto;
    }
    
    
    .pagination {
        flex-wrap: wrap;
        gap: 3px;
    }
    .page-link {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 36px;
        text-align: center;
    }
    /* hide middle page numbers, keep only prev/next/active/dots */
    .pagination .page-item:not(:first-child):not(:last-child):not(.active):not(:has(.page-link[aria-disabled])) {
        display: none;
    }
    /* always show first 2 and last 2 */
    .pagination .page-item:nth-child(2),
    .pagination .page-item:nth-child(3),
    .pagination .page-item:nth-last-child(2),
    .pagination .page-item:nth-last-child(3) {
        display: list-item;
    }
}