/* responssive  */
@media (max-width: 1150px) {
    header .main_btn {
        font-size: .8rem !important;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .3rem !important;
        padding-left: .3rem !important;
    }

    .nav-link,
    .dropdown-item {
        font-size: 14px;
    }

    #footer .footer_logo {
        width: 27%;
    }
	.bottom_contact p {
		font-size: 14px;
	}
	.bottom_header a .bottom_location span:nth-child(2), .bottom_header a .bottom_contact span:nth-child(2), .bottom_header .opening_hour span:nth-child(2) {
    	font-size: 14px;
	}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
		padding: 0px 5px !important;
		font-size: 14px !important;
	}
	.main_btn {
		padding: 12px 18px;
		white-space: nowrap;
	}
	.navbar .navbar-brand img {
    	width: 130px;
	}
}

@media screen and (min-width: 992px) and (max-width: 1050px) {
    header .main_btn {
        padding: 12px;
    }

    .navbar .navbar-brand img {
        width: 200px;
    }

    .nav-link,
    .dropdown-item {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
	p, li, a{
		font-size: 16px;
	}
    .container {
        max-width: 95% !important;
    }
	.py-8 {
    padding-top: 2.8rem;
    padding-bottom: 2.8rem;
}
.mega-sub-menu {
  height: 200px!important;
  overflow-y: scroll!important;
}
.bottom_header .justify-content-end {
  justify-content: flex-start!important;
}	
    #whyus .whyus_box .whyus_content {
        align-items: self-start;
        flex-direction: column;
		height: auto;
    }

    #whyus .whyus_box2 .whyus_content {
        flex-direction: column-reverse;
        align-items: self-end;
		height: auto;
    }
/*     .sersec {
  width: 50%;
  margin: auto 10px;
  margin-bottom: 3%!important;
  float: left;
}*/
    #usp .usp_item {
        flex-direction: column;
    }

    #usp .usp_content {
        text-align: center;
    }

    .popular_para img {
        width: 100%;
    }
	#whyus .whyus_img_position {
        display: none;
    }
/* 	abou dropdown */
	.navbar .dropdown-toggle::after {
    	transition: all 0.3s ease;
    	position: absolute;
    	right: 10px;
/* 		border: 1px solid #000; */
	}

/* Move icon to the right when active */
	.navbar .dropdown.active .dropdown-toggle::after {
/*     	right: 0; */
/*     	transform: rotate(180deg);     /* Optional: Rotate icon */ */
	}
	#service .blog-post {
    margin-bottom: 20px;
}
#service .blog-post {
    margin-top: 20px;
}
	#footer .footer_logo {
		top: 55px;
	}
	.footer_content {
    	padding: 10% 0px 5%;
	}
	#footer .footer_about .footer_content p {
    	margin-top: 80px;
	}
	#regForm {
		max-width: 90% !important;
	}
	#blogs .g-5, #blogs .gy-5 {
    	--bs-gutter-y: 1.8rem;
	}
}

@media (max-width: 768px) {
    .bottom_header .row a {
        justify-content: center !important;
    }

    #testimonial .container .row {
        flex-direction: column-reverse;
    }

    .col-md-4:not(:last-of-type) .usp_item {
        border-right: none;
    }

    #whyus .whyus_img_position {
        display: none;
    }

    #whyus .whyus_box .whyus_content,
    #whyus .whyus_box2 .whyus_content {
        padding: 20px 25px;
    }

    #whyus .whyus_box .whyus_text {
        margin-right: 0%;
    }

    #whyus .whyus_box2 .whyus_text {
        margin-left: 0% !important;
    }

    #footer .footer_logo {
        width: 60%;
    }

    /* pagination */
    .gallery_pagination .pagination li:not(:first-child):not(:last-child) a,
    .gallery_pagination .pagination li a {
        font-size: 14px !important;
    }

    .gallery_pagination .pagination li:first-child,
    .gallery_pagination .pagination li:last-child {
        width: 90px;
    }


    .gallery_pagination .pagination li:not(:first-child):not(:last-child) {
        margin: 0;
    }

    #blogs .pagination a {
        border-radius: 5px;
    }

    .popular_para img {
        width: 40%;
    }
	#breadcrumbs {
		padding: 50px 0 60px;
	}
	#footer .footer_logo {
		height: 155px;
	}
	#footer .footer_about .footer_content p {
        margin-top: 120px;
    }
	.service_details img {
		height: 310px;
	}
	.service_details .page_blogsaside  img {
		height: auto !important;
	}
	#whyus .row.g-0 {
    	gap: 30px;
	}
	/* 	bottom menubar */
	.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f1f1f1;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: block;
/*     justify-content: center */
    z-index: 9999;
	}
	.bottom-menu .bottom_menu_btn, .bottom-menu .bottom_menu_btn2{
		flex: 1;
		text-align: center;
		font-size: .8rem;
		padding: 10px;
		color: #fff;
		font-weight: 600;
	}
	.bottom-menu .bottom_menu_btn:hover, .bottom-menu .bottom_menu_btn2:hover{
		opacity: .7;
	}
	.bottom-menu .bottom_menu_btn i{
		color: var(--bg-color-blue);
	} 
	.bottom-menu .bottom_menu_btn2 i{
		color: var(--bg-color-green);
	}
	.bottom-menu .bottom_menu_btn{
		background-color: var(--bg-color-green);
	}
	.bottom-menu .bottom_menu_btn2{
		background-color: var(--bg-color-blue);
	}
	.bottom-menu .bootom_middle_line{
		width: .3px;
		top: 0;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		background-color: #fff;
		box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	}
	#herocarousel .carousel-caption .main_btn {
		display: none;
	}
	.footer_bottom {
		padding-bottom: 25px;
	}
}

@media (max-width: 575px) {
   .py-8 {
       	padding-top: 3rem;
    	padding-bottom: 3rem;
	}
    #whyus .whyus_box2,
    #whyus .whyus_box {
        border-radius: 18px;
    }
	.top-shape.px-5 {
  position: relative;
  left: 6%;
}
 .navbar .navbar-brand img {
    width: 150px;
  }
    .copyright p,
    .designed p {
        text-align: center !important;
    }

    .page_blogdetails ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .servicedetails_img {
        width: 100%;
    }

    .card.shadow.flex-grow-1.p-5.rounded-5 {
        padding: 15px !important;
    }
	#testimonial .owl-nav {
	bottom: -10%;
	}
	#footer .footer_logo {
    top: 2%;
	}
	#herocarousel .carousel-item img {
		height: 60vh;
		
	}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
  display: inline-block;
  width: 30px!important;
  text-align: center!important;
}
.footer-logo {
  margin-top: 30px;
  width: 100%;
}

}

@media (max-width: 480px) {
	p, li, a{
		font-size: 14px;
	}
    header .top_header {
        display: none;
    }

    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }
/*      .sersec {
  width: 100%;
  margin: auto 10px;
  float: left;
}*/
    nav.navbar.px-5 {
        padding-left: 20px !important;
        padding-right: 15px !important;
    }

    .navbar .navbar-brand img {
        width: 180px;
    }

    .bottom_header a .bottom_contact span:nth-child(2),
    .bottom_header .opening_hour span:nth-child(2) {
        color: var(--bg-color-green);
        font-weight: 600;
        font-size: 14px;
    }

    #herocarousel .carousel-item img {
        height: 28vh;
    }
#breadcrumbs {
    background-blend-mode: multiply;
    padding: 45px 0 50px;
}
	h1.bread_heading.mb-5.text-white {
		margin-bottom: .5rem !important;
}
	
#herocarousel .carousel-item .caption_text p {
    color: var(--color-para-2);
    display: none;
}
    .main_btn {
        overflow: hidden;
        width: 70%;
    }

    #about .button_group {
        flex-direction: column;
    }

    #usp .usp_item .usp_icon img {
        width: 50px;
    }

	#footer .blogs_btn{
		justify-content: center;
	}
	#footer .blogs_btn .main_btn{
		width: 90%;
		font-size: 14px;
		
	}

	.bottom_header a .bottom_location span:nth-child(2), .bottom_header a .bottom_contact span:nth-child(2), .bottom_header .opening_hour span:nth-child(2) {
    color: var(--bg-color-green);
    font-weight: 600;
    font-size: 13px;
}
}

@media (max-width: 400px) {
	.blog-post-content .main_btn {
        overflow: hidden;
        width: 90%;
    }
	.bottom_header span.ms-2.ms-sm-0 {
		margin-left: 0 !important;
}
	.bottom_header a.d-flex.align-items-center.gap-2 {
    gap: 0 !important;
}
	.bottom_header img {
    width: 22px;
}
	.image_doctr, .image_medical {
		position: absolute;
		z-index: 1;
		width: 350px !important;
		height: auto !important;
		top: 30%;
		transform: translateY(-50%);
	}
}

@media (max-width: 320px) {

    /* pagination */
    .gallery_pagination .pagination li:not(:first-child):not(:last-child) a,
    .gallery_pagination .pagination li a {
        font-size: 12px !important;
    }

    #pageservices .service_box .item .main_btn {
        width: 50%;
    }
}

@media (max-width: 767.98px) {
    #herocarousel .carousel-item .caption_text {
        width: 69%;
        position: absolute;
        top: auto;
        left: 65%;
        transform: translateX(-50%);
        bottom: 10px;
    }
}

@media (max-width: 575px) {
    #herocarousel .carousel-item img {
        height: 28vh;
    }
}

@media (max-width: 400px) {
    .image_doctr, .image_medical {
        position: absolute;
        z-index: 1;
        width: 200px !important;
        height: auto !important;
        top: 60%;
        transform: translateY(-50%);
    }
}