@media only screen and (max-width: 7000px){
	.page-wrapper{
		overflow: hidden;
	}
	
}

@media only screen and (max-width: 1799px){

}

@media only screen and (max-width: 1675px){

}

@media only screen and (max-width: 1400px){
    .banner-section .content-box .image {
        right: 0;
    }
    /* RTL support for responsive image positioning */
    .rtl .banner-section .content-box .image {
        right: auto !important;
        left: 0 !important;
    }
    .rtl .banner-section.style-two .content-box .image {
        right: auto !important;
        left: 0 !important;
    }
}

@media only screen and (max-width: 1330px){
    .header-top .auto-container {
        max-width: 1200px;
        padding: 0 15px;
    }
    .main-header.header-style-two .header-upper .auto-container {
        padding: 0 15px;
    }
}

@media only screen and (max-width: 1199px){

}


@media only screen and (max-width: 1099px){
    .banner-section .content-box .image {
        display: none;
    }
}

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

}

@media only screen and (max-width: 1139px){
	/* Default */
	.main-header .nav-outer .main-menu,
	.sticky-header{
		display: none !important;
	}
	.nav-outer .mobile-nav-toggler{
		display: block;
	}
	/* Make header sticky on mobile */
	.main-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 999;
		background: #ffffff;
		box-shadow: 0 0 10px rgba(0,0,0,0.1);
	}
	.page-wrapper {
		padding-top: 80px;
	}
	/*  */
    .filters .filter-btns li {
        width: 100%;
    }
    .doctor-details .tabs-box ul li.tab-btn {
        width: 100%;
    }
}

@media only screen and (max-width: 991px) {
    .banner-section .shape-four,
    .header-upper .navbar-right-info,
    .header-top {
        display: none;
    }
    .main-header.header-style-one .header-upper .inner-container,
    .header-upper .inner-container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .banner-section .content-box h1 {
        font-size: 40px;
        line-height: 55px;
    }
    
    /* Adjust hero section padding for tablets */
    .banner-section.style-two .content-box {
        padding-top: 60px;
        min-height: 650px;
    }
    .sec-title h2 {
        font-size: 35px;
    }
    .fullwidth-section .image-column {
        position: relative;
        margin-bottom: 0;
    }
    .fullwidth-section .outer-box {
        margin-left: 0;
    }
    .fullwidth-section .inner-container {
        padding: 0 15px;
    }
    .fullwidth-section .image-column .iconbox {
        margin-bottom: -70px;
    }
    .main-footer .top-info {
        padding-right: 20px;
    }
    .main-footer .top-info .info-block:before {
        opacity: 0;
    }
    .fullwidth-section-two .image-column {
        margin: 0;
    }
    .fullwidth-section-two .inner-container {
        margin-left: 0;
    }
    .fullwidth-section-two .inner-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .fullwidth-section-two {
        margin: 0;
    }

    .why-choose-image .shape {
        opacity: 0;
    }

    .why-chooseus-block h2 {
        font-size: 30px;
    }
    .main-footer .upper-box ul.social-links {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 767px) {
    .video-btn a.play-now {
        width: 70px;
        height: 70px;
        line-height: 73px;
        font-size: 20px;
    }
    .why-choose-image .image-two {
        margin-top: 15px;
    }
}

@media only screen and (max-width: 575px) {
    .scroll-to-top {
        display: none !important;
    }    
    .blog-section .owl-theme .owl-nav {
        display: none;
    }
    .why-choose-image .image-two:before {
        border: 0;
    }
    /* Newsletter responsive styles moved to main style.css */
    .comments-area .comment-box.comment-reply {
        margin-left: 0;
    }
}

/* ============================================================================
   ELEGANT MOBILE STYLES FOR HOMEPAGE
   ============================================================================ */

@media only screen and (max-width: 767px) {
    /* Hero/Banner Section - Mobile Elegance */
    .banner-section.style-two .content-box {
        padding: 50px 20px 60px !important;
        min-height: auto !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .banner-section.style-two .content-outer {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .banner-section .content-box .inner {
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .banner-section .content-box h1 {
        font-size: 32px !important;
        line-height: 42px !important;
        margin: 0 auto 20px auto !important;
        font-weight: 700;
        letter-spacing: -0.5px;
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .banner-section .content-box .text {
        font-size: 14px !important;
        margin: 0 auto 25px auto !important;
        letter-spacing: 0.5px;
        text-align: center !important;
    }
    
    .banner-section .link-box {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px;
        margin: 30px auto 0 auto !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 280px !important;
    }
    
    .banner-section .link-box .theme_btn_1,
    .banner-section .link-box .theme_btn_2 {
        width: 100% !important;
        max-width: 280px !important;
        padding: 16px 30px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
        font-weight: 600 !important;
        box-shadow: 0 6px 20px rgba(0, 136, 204, 0.35) !important;
        transition: all 0.3s ease !important;
        text-align: center !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    .banner-section .link-box .theme_btn_1:hover,
    .banner-section .link-box .theme_btn_2:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    }
    
    /* Hide hero image on mobile for cleaner look */
    .banner-section .content-box .image {
        display: none !important;
    }
    
    .banner-section .shape-six {
        display: none !important;
    }
    
    /* Statistics Section - Mobile */
    .funfacts {
        padding: 50px 0 !important;
    }
    
    .funfact-block {
        margin-bottom: 25px;
    }
    
    .funfact-block .inner-box {
        padding: 25px 20px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }
    
    .funfact-block .inner-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }
    
    /* Section Titles - Mobile */
    .sec-title {
        margin-bottom: 40px !important;
        text-align: center;
    }
    
    .sec-title h5 {
        font-size: 13px !important;
        letter-spacing: 2px;
        margin-bottom: 15px !important;
    }
    
    .sec-title h2 {
        font-size: 28px !important;
        line-height: 38px !important;
        font-weight: 700;
        margin-bottom: 15px !important;
    }
    
    .sec-title .text {
        font-size: 15px !important;
        line-height: 24px;
        color: #666;
    }
    
    /* About Section - Mobile */
    .about-section .image {
        margin-bottom: 30px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    
    .about-section .image img {
        width: 100%;
        height: auto;
    }
    
    /* Features Section - Mobile */
    .features-section {
        padding: 60px 0 !important;
    }
    
    .features-section .image-column {
        margin-bottom: 30px;
    }
    
    .features-section .image img {
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    
    /* Facilities Section - Mobile */
    .case-study-section {
        padding: 60px 0 !important;
    }
    
    .project-block {
        margin-bottom: 30px;
    }
    
    .project-block .inner-box {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }
    
    .project-block .inner-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }
    
    .project-block .image {
        border-radius: 12px 12px 0 0;
        overflow: hidden;
    }
    
    .project-block .content {
        padding: 25px 20px;
    }
    
    /* Products Section - Mobile */
    .products-section {
        padding: 60px 0 !important;
    }
    
    .products-section .image-box {
        margin-bottom: 30px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    
    .products-section .image-box img {
        width: 100%;
        height: auto;
    }
    
    /* Testimonials Section - Mobile */
    .testimonials-section {
        padding: 50px 0 !important;
    }
    
    .testimonials-section .theme_bg {
        padding: 30px 20px !important;
        border-radius: 15px !important;
        background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%) !important;
    }
    
    /* Hide background image on mobile */
    .testimonials-section .col-lg-4,
    .testimonials-section .side-image {
        display: none !important;
    }
    
    /* Hide shape image on mobile */
    .testimonials-section .shape {
        display: none !important;
    }
    
    /* Make testimonial content full width on mobile */
    .testimonials-section .col-lg-8 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .testimonial-block-two {
        margin: 0 !important;
    }
    
    .testimonial-block-two .inner-box {
        padding: 30px 25px !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
        background: #ffffff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .testimonial-block-two .thumbnail {
        margin: 0 auto 20px auto !important;
        text-align: center !important;
        width: 80px !important;
        height: 80px !important;
    }
    
    .testimonial-block-two .thumbnail > div {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto !important;
    }
    
    .testimonial-block-two .thumbnail > div i {
        font-size: 40px !important;
    }
    
    .testimonial-block-two .quote-icon {
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        font-size: 12px !important;
        right: -5px !important;
        bottom: -5px !important;
    }
    
    .testimonial-block-two .content {
        width: 100% !important;
        text-align: center !important;
    }
    
    .testimonial-block-two .text {
        font-size: 16px !important;
        line-height: 26px !important;
        margin-bottom: 25px !important;
        color: #333 !important;
        font-weight: 400 !important;
    }
    
    .testimonial-block-two .client {
        text-align: center !important;
        margin-top: 20px !important;
    }
    
    .testimonial-block-two .client h4 {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        margin-bottom: 8px !important;
    }
    
    .testimonial-block-two .client .designation {
        font-size: 14px !important;
        color: #666 !important;
        font-weight: 500 !important;
    }
    
    /* Carousel dots styling for mobile */
    .testimonials-section .owl-theme .owl-dots {
        margin-top: 25px !important;
        text-align: center !important;
    }
    
    .testimonials-section .owl-theme .owl-dots .owl-dot span {
        width: 10px !important;
        height: 10px !important;
        background: rgba(255,255,255,0.5) !important;
        margin: 0 5px !important;
    }
    
    .testimonials-section .owl-theme .owl-dots .owl-dot.active span {
        background: #ffffff !important;
        width: 30px !important;
        border-radius: 5px !important;
    }
    
    /* News/Blog Section - Mobile */
    .blog-section {
        padding: 60px 0 !important;
    }
    
    .news-block {
        margin-bottom: 30px;
    }
    
    .news-block .inner-box {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }
    
    .news-block .inner-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }
    
    .news-block .image {
        border-radius: 12px 12px 0 0;
        overflow: hidden;
    }
    
    .news-block .lower-content {
        padding: 25px 20px;
    }
    
    .news-block .post-meta {
        margin: 0 0 20px 0 !important;
        padding: 12px 20px !important;
        border-radius: 8px;
    }
    
    .news-block h4 {
        font-size: 18px !important;
        line-height: 26px !important;
        margin-bottom: 15px !important;
    }
    
    .news-block .text {
        font-size: 14px !important;
        line-height: 22px !important;
        margin-bottom: 20px !important;
    }
    
    /* Footer - Mobile */
    .main-footer .box {
        padding: 25px 20px !important;
        margin-bottom: 30px;
    }
    
    /* Newsletter Form - Mobile */
    .main-footer .newsletter-form {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    .main-footer .newsletter-form .form-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        background: rgba(255,255,255,0.1) !important;
        border-radius: 12px !important;
        padding: 12px !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
        width: 100% !important;
        direction: ltr !important; /* Force LTR for mobile layout */
    }
    
    /* Override RTL flex-direction on mobile */
    .rtl .main-footer .newsletter-form .form-group {
        flex-direction: column !important; /* Stack vertically on mobile */
        direction: ltr !important; /* Keep LTR for layout */
    }
    
    .main-footer .newsletter-form input {
        width: 100% !important;
        margin: 0 !important;
        padding: 14px 18px !important;
        background: rgba(255,255,255,0.15) !important;
        border: 1px solid rgba(255,255,255,0.3) !important;
        border-radius: 8px !important;
        color: #fff !important;
        font-size: 15px !important;
        text-align: center !important;
    }
    
    .main-footer .newsletter-form input::placeholder {
        color: rgba(255,255,255,0.7) !important;
        text-align: center !important;
    }
    
    .main-footer .newsletter-form button {
        width: 100% !important;
        padding: 14px 20px !important;
        border-radius: 8px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .main-footer .newsletter-form button i {
        font-size: 16px !important;
    }
    
    /* RTL Support for Newsletter - Mobile */
    .rtl .main-footer .newsletter-form input {
        text-align: center !important;
        direction: rtl !important; /* Text direction for Arabic */
    }
    
    .rtl .main-footer .newsletter-form input::placeholder {
        text-align: center !important;
        direction: rtl !important; /* Placeholder direction for Arabic */
    }
    
    .rtl .main-footer .newsletter-form button {
        direction: rtl !important; /* Button text direction for Arabic */
    }
    
    /* LTR Support for Newsletter - Mobile */
    body:not(.rtl) .main-footer .newsletter-form input {
        text-align: center !important;
        direction: ltr !important; /* Text direction for English */
    }
    
    body:not(.rtl) .main-footer .newsletter-form input::placeholder {
        text-align: center !important;
        direction: ltr !important; /* Placeholder direction for English */
    }
    
    body:not(.rtl) .main-footer .newsletter-form button {
        direction: ltr !important; /* Button text direction for English */
    }
    
    .main-footer .social-links {
        justify-content: center !important;
        margin-top: 20px;
    }
    
    .main-footer .widgets-section {
        margin-top: 30px !important;
    }
    
    .main-footer .column {
        margin-bottom: 40px;
    }
    
    .main-footer .widget-title {
        font-size: 18px !important;
        margin-bottom: 20px !important;
    }
    
    /* Footer Box Layout - Mobile */
    .main-footer .box .row {
        flex-direction: column !important;
    }
    
    .main-footer .box .col-lg-4,
    .main-footer .box .col-lg-5,
    .main-footer .box .col-lg-3 {
        width: 100% !important;
        margin-bottom: 25px !important;
        text-align: center !important;
    }
    
    .main-footer .box .logo {
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    .main-footer .box .logo img {
        margin: 0 auto !important;
    }
    
    /* General Mobile Improvements */
    .auto-container {
        padding: 0 20px;
    }
    
    /* Better spacing for all sections */
    section {
        padding: 50px 0 !important;
    }
    
    /* Improved button styles */
    .theme_btn_1, .theme_btn_2 {
        padding: 12px 25px;
        font-size: 14px;
        border-radius: 8px;
        font-weight: 600;
    }
    
    /* Card improvements */
    .card, .inner-box {
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }
}

/* Extra Small Devices */
@media only screen and (max-width: 480px) {
    .banner-section.style-two .content-box {
        padding: 40px 15px 50px !important;
    }
    
    .banner-section .content-box h1 {
        font-size: 26px !important;
        line-height: 36px !important;
        text-align: center !important;
        margin: 0 auto 20px auto !important;
    }
    
    .banner-section .content-box .text {
        text-align: center !important;
        margin: 0 auto 25px auto !important;
    }
    
    .banner-section .link-box {
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    
    /* Testimonials - Extra Small Mobile */
    .testimonials-section .theme_bg {
        padding: 25px 15px !important;
    }
    
    .testimonial-block-two .inner-box {
        padding: 25px 20px !important;
    }
    
    .testimonial-block-two .text {
        font-size: 15px !important;
        line-height: 24px !important;
    }
    
    .testimonial-block-two .thumbnail {
        width: 70px !important;
        height: 70px !important;
    }
    
    .testimonial-block-two .thumbnail > div {
        width: 70px !important;
        height: 70px !important;
    }
    
    .testimonial-block-two .thumbnail > div i {
        font-size: 35px !important;
    }
    
    .sec-title h2 {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    
    .funfact-block .inner-box {
        padding: 20px 15px;
    }
    
    .auto-container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0 !important;
    }
    
    /* Newsletter Form - Extra Small Mobile */
    .main-footer .newsletter-form .form-group {
        padding: 10px !important;
        gap: 10px !important;
    }
    
    .main-footer .newsletter-form input {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
    
    .main-footer .newsletter-form button {
        padding: 12px 18px !important;
        font-size: 14px !important;
    }
}









