/**
=============================================================
[Responsive Stylesheet]

Template:     eMedical
Version:      2.0
Created:      10.30.2016
Primary use:  Health & Medical Responsive HTML Template

@Author: icute_theme
=============================================================
**/

@media only screen and (max-width: 1199px){
	.header-top-widget .header-widget .iconbox-widget {
		margin-right: 30px;
	}
	.service-thumb img {
		display: none;
	}
	.welcome-content .welcome-feature {
		padding: 25px 20px 25px 30px;
	}
	.appointment-form.style-one {
		margin-top: 0;
	}
	.gallery-carousel .owl-stage-outer {
	    overflow: hidden;
	}
	.gallery-section .gallery-wrapper .gallery-post .thumb img {
	    width: 100%;
	}
	.do_v_mt {
		margin-top: 40px !important;
	}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.mainmenu-container {
		margin-top: 30px;
	}
}

@media only screen and (max-width: 1023px){
	
	.fixed-top-header{
		position:relative;	
	}
	
	.mega-header .header-top .search-form .form{
		padding:0px;	
	}
	
	.mega-header .header-top .large{
		width:60%;	
	}
	
	.mega-header .header-top .medium{
		width:40%;	
	}
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
	.header-main .appoint-btn a {
	  font-size: 13px;
	  font-weight: 600;
	  padding: 0 16px;
	}
}

@media only screen and (max-width: 991px){
	.sm-width-full {
	    width: 100%;
	}
	.col-sm-center {
		display: block;
		float: none;
		margin-left: auto;
		margin-right: auto;
		max-width: 400px;
	}
	.mega-header .logo,
	.header-top-infos {
		float:none !important;
		display: inline-block;
		text-align:center;
		width:100% !important;
	}
	.header-top-infos ul {
		float: none;
	}
	.header-top-infos > ul > li {
		display: inline-block;
		float: none !important;
	}
	.header-top-widget .header-widget {
	    float: none;
	    text-align: center;
	    margin-top: 15px;
	}
	.header-top-widget .header-widget .iconbox-widget {
		text-align: left;
	}
	.mega-menu .menuzord-menu li .indicator {
	    display: none;
	}
	.appointment-form.style-one {
		margin-top: 40px;
	}
	.appointment-form form input {
		height: 54px;
	}
	.appointment-form .form-group select {
		padding: 16px 12px;
	}
	.funfact-post {
	    margin: 0 20px 40px;
	}
	.blog-post {
	    margin-bottom: 50px;
	}
	.sidebar-widget {
	    margin-left: auto;
	    margin-right: auto;
	    max-width: 600px;
	}
	.team-member-details .content {
		margin-top: 30px;
	}
	.do_w_mt {
		margin-top: 40px !important;
	}
}

@media only screen and (max-width: 768px){
	.menuzord .showhide {
		height: 58px;
		padding-top: 17px;
	}
	.menuzord .showhide em {
		background-color: #fff;
	}
	.mega-menu .menuzord-menu {
	    background-color: #fff;
	}
	.mega-menu .menuzord-menu > li > a {
		color: #777;
		font-size: 13px;
		line-height: 13px;
	}
	.mega-menu .menuzord-menu > li:hover a {
		color: #fff;
	}
	.mega-menu .menuzord-menu ul.dropdown li:first-child {
	    border-bottom: none;
	    border-top: none;
	}
	.mega-menu .menuzord-responsive .menuzord-menu ul.dropdown li a {
	    border-bottom: none;
	}
	.mega-menu .menuzord-menu li .indicator {
		display: block;
		margin-left: 0;
		position: absolute;
	}
	.mega-menu .menuzord-menu li .indicator:after {
		color: #888;
		font-size: 18px;
		line-height: 20px;
		position: absolute;
		right: 22px;
		top: 10px;
	}
	.mega-menu .menuzord-menu li.active .indicator:after,
	.mega-menu .menuzord-menu li:hover .indicator:after {
		color: #fff;
	}
}

@media only screen and (max-width: 767px){
	.xs-fz-30 {
		font-size: 30px !important;
	}
	.mega-header{
		overflow:hidden;	
	}
	.mega-header .logo {
		margin-bottom: 20px;
	}
	.fixed-top-header{
		position:relative !important;	
	}	
	.mega-header .logo{
		float:none;
		width:100%;	
	}
	.mega-header .header-main .appoint-inner{
		position:absolute;
		left:0px;
		top:0px;
	}	
	.mega-header .header-main .appoint-inner .text-right{
		text-align:left;
		z-index:6;
		max-width:240px;	
	}
	.header-main .appoint-btn {
		padding-top: 0;
	}
	.header-main .appoint-inner{
	    text-align:left !important;
	}	
	.tp-caption {
		display: none !important;
	}
	.funfact-post {
	    margin-left: auto;
	    margin-right: auto;
	    max-width: 400px;
	}
	.footer-section .footer-widget {
	    margin-bottom: 30px;
	    margin-left: auto;
	    margin-right: auto;
	    max-width: 500px;
	}
	.footer-widget .widget-news .widget-news-post {
		display: block;
		margin-top: 20px;
	}
}

@media only screen and (max-width: 620px) {
	.header-top-widget .header-widget .iconbox-widget {
		margin-right: 15px;
	}
	.iconbox-widget .box-contenet {
	    padding-left: 40px;
	}
	.inner-title .title {
		font-size: 30px;
		line-height: 32px;
	}
	.blog-post {
	    margin-bottom: 30px;
	}
}

@media only screen and (max-width: 479px){
	.header-top-infos > ul > li {
		border: none;
		max-width: 100%;
	}
	.section-title .title {
	    font-size: 30px;
	    line-height: 32px;
	}
	.replybox-comment {
	    margin-left: 20px;
	}
}

@media only screen and (max-width: 380px){
	.feature-box {
		text-align: center;
	}
	.feature-box .icon-box {
		margin-bottom: 20px;
	    margin-left: auto;
	    margin-right: auto;
	    position: relative;
	}
	.feature-box .content {
		padding-left: 0;
	}
	.service-post {
		text-align: center;
	}
	.service-post .icon-box {
		left: auto;
		margin-bottom: 0;
	    margin-left: auto;
	    margin-right: auto;
	    position: relative;
	}
	.services-style3 .service-post .icon-box {
	    margin-bottom: 25px;
	}
	.services-style3 .service-post .content,
	.service-post .content {
		padding: 20px 18px;
	}
	.replybox-comment {
	    margin-left: 0;
	}
}

@media only screen and (max-width: 368px){
	
	.header-top-widget .header-widget {
		display: block;
		float: none;
		margin-left: auto;
		margin-right: auto;
		max-width: 200px;
		text-align: left;
	}
	.appointment-form .form-title {
	    font-size: 16px;
	    padding: 30px 12px;
	}
}

/* ========================================
   MODERN RESPONSIVE ENHANCEMENTS
   ======================================== */

/* Global Responsive Improvements */
* {
	box-sizing: border-box;
}

html, body {
	width: 100%;
	height: 100%;
	max-width: 100%;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.img-responsive, .img-fluid {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Container Responsive Adjustments */
.container {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}

@media (min-width: 1200px) {
	.container {
		max-width: 1170px;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.container {
		max-width: 970px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.container {
		max-width: 750px;
	}
}

@media (min-width: 576px) and (max-width: 767px) {
	.container {
		max-width: 540px;
	}
}

@media (max-width: 575px) {
	.container {
		max-width: 100%;
		padding-right: 12px;
		padding-left: 12px;
	}
}

/* Text & Typography Responsive */
h1, h2, h3, h4, h5, h6 {
	word-wrap: break-word;
	overflow-wrap: break-word;
	margin: 0;
}

@media (max-width: 768px) {
	h1 {
		font-size: 1.5rem;
		margin: 10px 0;
	}

	h2 {
		font-size: 1.3rem;
		margin: 8px 0;
	}

	h3 {
		font-size: 1.1rem;
		margin: 6px 0;
	}

	h4 {
		font-size: 1rem;
		margin: 6px 0;
	}

	h5 {
		font-size: 0.9rem;
		margin: 4px 0;
	}

	h6 {
		font-size: 0.8rem;
		margin: 4px 0;
	}

	p {
		font-size: 14px;
		line-height: 1.6;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 1.3rem;
		margin: 8px 0;
	}

	h2 {
		font-size: 1.1rem;
		margin: 6px 0;
	}

	h3 {
		font-size: 1rem;
		margin: 5px 0;
	}

	h4 {
		font-size: 0.9rem;
	}

	p {
		font-size: 13px;
	}
}

/* Button Responsive */
button, .btn, input[type="submit"], input[type="button"], input[type="reset"] {
	cursor: pointer;
	padding: 10px 20px;
	font-size: 14px;
	border-radius: 4px;
	transition: all 0.3s ease;
	border: none;
	display: inline-block;
	touch-action: manipulation;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	min-height: 44px;
}

@media (max-width: 576px) {
	button, .btn, input[type="submit"], input[type="button"], input[type="reset"] {
		font-size: 13px;
		padding: 8px 16px;
	}

	.btn-block {
		display: block;
		width: 100%;
	}

	.btn-small {
		min-height: 38px;
		padding: 6px 12px;
		font-size: 12px;
	}
}

/* Form Elements Responsive */
input, textarea, select {
	font-size: 16px;
	max-width: 100%;
	width: 100%;
	font-family: inherit;
}

input[type="text"], input[type="email"], input[type="password"], 
input[type="number"], input[type="tel"], input[type="url"], 
textarea, select {
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	transition: border-color 0.3s ease;
	margin-bottom: 10px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, 
input[type="number"]:focus, input[type="tel"]:focus, input[type="url"]:focus, 
textarea:focus, select:focus {
	border-color: #333;
	outline: none;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
	input[type="text"], input[type="email"], input[type="password"], 
	input[type="number"], input[type="tel"], input[type="url"], 
	textarea, select {
		font-size: 16px;
		padding: 12px;
	}

	.form-group {
		margin-bottom: 15px;
	}
}

/* Table Responsive */
table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin-bottom: 20px;
}

th, td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

th {
	background-color: #f5f5f5;
	font-weight: bold;
	color: #333;
}

@media (max-width: 768px) {
	table {
		font-size: 12px;
	}

	th, td {
		padding: 8px;
	}

	.table-responsive {
		overflow-x: auto;
		display: block;
		margin-bottom: 20px;
	}

	.table-responsive table {
		margin-bottom: 0;
	}

	table.responsive-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	table.responsive-table td,
	table.responsive-table th {
		min-width: 120px;
	}
}

/* Grid & Flex Responsive */
.row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}

[class*="col-"] {
	float: left;
	padding-right: 15px;
	padding-left: 15px;
	box-sizing: border-box;
}

/* Desktop Grid */
@media (min-width: 992px) {
	.col-lg-1 { width: 8.333333%; }
	.col-lg-2 { width: 16.666667%; }
	.col-lg-3 { width: 25%; }
	.col-lg-4 { width: 33.333333%; }
	.col-lg-5 { width: 41.666667%; }
	.col-lg-6 { width: 50%; }
	.col-lg-7 { width: 58.333333%; }
	.col-lg-8 { width: 66.666667%; }
	.col-lg-9 { width: 75%; }
	.col-lg-10 { width: 83.333333%; }
	.col-lg-11 { width: 91.666667%; }
	.col-lg-12 { width: 100%; }
}

/* Tablet Grid */
@media (min-width: 768px) and (max-width: 991px) {
	.col-md-1 { width: 8.333333%; }
	.col-md-2 { width: 16.666667%; }
	.col-md-3 { width: 25%; }
	.col-md-4 { width: 33.333333%; }
	.col-md-5 { width: 41.666667%; }
	.col-md-6 { width: 50%; }
	.col-md-7 { width: 58.333333%; }
	.col-md-8 { width: 66.666667%; }
	.col-md-9 { width: 75%; }
	.col-md-10 { width: 83.333333%; }
	.col-md-11 { width: 91.666667%; }
	.col-md-12 { width: 100%; }
}

/* Mobile Grid */
@media (max-width: 767px) {
	.col-sm-1 { width: 8.333333%; }
	.col-sm-2 { width: 16.666667%; }
	.col-sm-3 { width: 25%; }
	.col-sm-4 { width: 33.333333%; }
	.col-sm-5 { width: 41.666667%; }
	.col-sm-6 { width: 50%; }
	.col-sm-7 { width: 58.333333%; }
	.col-sm-8 { width: 66.666667%; }
	.col-sm-9 { width: 75%; }
	.col-sm-10 { width: 83.333333%; }
	.col-sm-11 { width: 91.666667%; }
	.col-sm-12 { width: 100%; }

	/* Default to full width */
	[class*="col-"]:not(.col-sm-*):not(.col-md-*):not(.col-lg-*) {
		width: 100%;
	}

	.row {
		margin-right: 0;
		margin-left: 0;
	}

	[class*="col-"] {
		padding-right: 0;
		padding-left: 0;
		margin-bottom: 15px;
	}
}

/* Flex Utilities */
.flex-display {
	display: flex;
}

.flex-column {
	flex-direction: column;
}

.flex-wrap {
	flex-wrap: wrap;
}

.justify-content-between {
	justify-content: space-between;
}

.justify-content-center {
	justify-content: center;
}

.justify-content-end {
	justify-content: flex-end;
}

.align-items-center {
	align-items: center;
}

.align-items-start {
	align-items: flex-start;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Spacing Responsive */
@media (max-width: 768px) {
	.pad-top-20, .padding-top-20 {
		padding-top: 15px;
	}

	.pad-bottom-20, .padding-bottom-20 {
		padding-bottom: 15px;
	}

	.pad-20 {
		padding: 15px;
	}

	.mar-top-20 {
		margin-top: 15px;
	}

	.mar-bottom-20 {
		margin-bottom: 15px;
	}

	.mar-20 {
		margin: 15px;
	}

	.section-padding {
		padding: 30px 15px;
	}

	.section-margin {
		margin: 20px 0;
	}
}

/* Display Utilities */
.hide-mobile {
	display: none !important;
}

@media (min-width: 992px) {
	.hide-desktop {
		display: none !important;
	}

	.hide-mobile {
		display: block !important;
	}
}

.visible-mobile {
	display: block !important;
}

@media (min-width: 992px) {
	.visible-mobile {
		display: none !important;
	}
}

.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

@media (max-width: 768px) {
	.text-center-mobile {
		text-align: center;
	}

	.text-left-mobile {
		text-align: left;
	}

	.text-right-mobile {
		text-align: right;
	}
}

/* Navigation Responsive */
nav {
	width: 100%;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px;
}

nav ul li a {
	display: block;
	padding: 10px 15px;
	text-decoration: none;
	transition: all 0.3s ease;
	white-space: nowrap;
}

@media (max-width: 768px) {
	nav ul {
		flex-direction: column;
		gap: 0;
	}

	nav ul li a {
		padding: 12px 10px;
		white-space: normal;
		border-bottom: 1px solid #f0f0f0;
	}

	nav ul li:last-child a {
		border-bottom: none;
	}
}

/* Video Responsive */
.video-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin-bottom: 20px;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* List Responsive */
ul, ol {
	padding-left: 20px;
	margin-bottom: 15px;
}

@media (max-width: 480px) {
	ul, ol {
		padding-left: 15px;
	}

	li {
		margin-bottom: 8px;
	}
}

/* Card/Box Responsive */
.card, .box, .card-header, .box-content {
	border-radius: 4px;
	transition: all 0.3s ease;
}

@media (max-width: 768px) {
	.card, .box {
		margin-bottom: 15px;
	}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
	body {
		overflow-y: scroll;
	}

	header {
		height: auto;
		padding: 8px 0;
	}
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
	a, button, input[type="submit"], input[type="button"] {
		min-height: 44px;
		min-width: 44px;
		padding: 12px 16px;
	}

	.btn-small {
		min-height: 38px;
		min-width: 38px;
	}
}

/* Mobile Horizontal Scroll Fix - Minimal Approach */
@media (max-width: 768px) {
	.nav {
		padding: 5px 10px !important;
		margin: 0 !important;
	}

	.nav li a {
		padding: 8px 12px !important;
	}

	ul li {
		margin: 0;
		padding: 0;
	}
}

@media (max-width: 480px) {
	.nav {
		padding: 3px 5px !important;
	}

	.nav li a {
		padding: 6px 8px !important;
		font-size: 12px !important;
	}
}

/* Print Styles */
@media print {
	* {
		background: transparent !important;
		color: black !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a, a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	header, footer, nav, .hide-print {
		display: none !important;
	}
}