/*==========================
	TECHNOSAN Mobile-First Navbar Redesign
===========================*/

/* Hide owl carousel navigation buttons completely */
.owl-nav {
	display: none !important;
}

.owl-prev, .owl-next {
	display: none !important;
}

/* Hide old mobile menu system */
.navSidebar-button,
.nav-btn {
	display: none !important;
}

/* Fix logo background to fit logo size */
@media (max-width: 991.98px) {
	.technosan_nav_manu .logo {
		background: rgba(255, 255, 255, 0.95);
		border-radius: 8px;
		padding: 8px 12px;
		display: inline-block;
		width: auto;
		max-width: fit-content;
	}
	
	/* Hide desktop navigation on mobile */
	.technosan_menu {
		display: none !important;
	}
	
	/* Ensure mobile layout is clean */
	.technosan_nav_manu .row {
		align-items: center;
	}
	
	.technosan_nav_manu .container {
		padding: 10px 15px;
	}
}

/* Mobile-First Navbar Styles */
.mobile-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	padding: 10px 0;
}

.mobile-toggle-btn {
	background: #062462;
	border: 2px solid rgba(255, 255, 255, 0.2);
	padding: 10px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(6, 36, 98, 0.3);
}

.mobile-toggle-btn:hover {
	background: #DA242B;
	border-color: #DA242B;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(218, 36, 43, 0.4);
}

.hamburger-line {
	width: 22px;
	height: 3px;
	background-color: #fff;
	margin: 3px 0;
	transition: all 0.3s ease;
	border-radius: 2px;
}

.mobile-toggle-btn.active .hamburger-line:nth-child(1) {
	transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle-btn.active .hamburger-line:nth-child(2) {
	opacity: 0;
}

.mobile-toggle-btn.active .hamburger-line:nth-child(3) {
	transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: linear-gradient(135deg, rgba(6, 36, 98, 0.98), rgba(32, 59, 114, 0.95));
	backdrop-filter: blur(15px);
	z-index: 9999;
	transform: translateX(-100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
}

.mobile-menu-overlay.active {
	transform: translateX(0);
}

.mobile-menu-container {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 0;
	position: relative;
}

.mobile-menu-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('../images/hero/hero-bg.png') no-repeat center center;
	background-size: cover;
	opacity: 0.1;
	z-index: -1;
}

.mobile-menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px 30px;
	border-bottom: 2px solid rgba(218, 36, 43, 0.3);
	background: rgba(6, 36, 98, 0.95);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-logo {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 8px;
	padding: 8px 15px;
	display: inline-block;
}

.mobile-logo img {
	max-height: 40px;
	width: auto;
}

.mobile-close-btn {
	background: rgba(218, 36, 43, 0.2);
	border: 2px solid rgba(218, 36, 43, 0.4);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	padding: 8px;
	border-radius: 8px;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.mobile-close-btn:hover {
	background: rgba(218, 36, 43, 0.8);
	border-color: #DA242B;
	transform: rotate(90deg) scale(1.05);
}

.mobile-menu-content {
	flex: 1;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Mobile Navigation Section */
.mobile-nav {
	padding: 40px 0;
}

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

.mobile-nav-list li {
	margin: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
	overflow: hidden;
}

.mobile-nav-list li:last-child {
	border-bottom: none;
}

.mobile-nav-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	background: linear-gradient(90deg, rgba(218, 36, 43, 0.2), transparent);
	transition: width 0.3s ease;
	z-index: 0;
}

.mobile-nav-list li:hover::before {
	width: 100%;
}

.mobile-nav-list li a {
	display: block;
	padding: 22px 30px;
	color: #fff;
	text-decoration: none;
	font-size: 18px;
	font-weight: 600;
	transition: all 0.3s ease;
	border-left: 4px solid transparent;
	position: relative;
	z-index: 1;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mobile-nav-list li a:hover {
	background-color: rgba(218, 36, 43, 0.1);
	border-left-color: #DA242B;
	padding-left: 40px;
	color: #fff;
	text-decoration: none;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.mobile-nav-list li a i {
	margin-right: 15px;
	font-size: 22px;
	width: 30px;
	text-align: center;
	color: #DA242B;
	filter: drop-shadow(0 0 5px rgba(218, 36, 43, 0.5));
}

.mobile-menu-footer {
	padding: 30px;
	border-top: 2px solid rgba(218, 36, 43, 0.3);
	background: linear-gradient(135deg, rgba(6, 36, 98, 0.98), rgba(32, 59, 114, 0.95));
	backdrop-filter: blur(10px);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-cta {
	margin-bottom: 25px;
}

/* Mobile shop button CSS removed as requested */

.mobile-contact {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 15px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact p {
	color: rgba(255, 255, 255, 0.9);
	margin: 12px 0;
	font-size: 15px;
	font-weight: 500;
	display: flex;
	align-items: center;
	transition: all 0.3s ease;
}

.mobile-contact p:hover {
	color: #fff;
	transform: translateX(5px);
}

.mobile-contact p i {
	margin-right: 15px;
	color: #DA242B;
	width: 25px;
	font-size: 16px;
	text-align: center;
	filter: drop-shadow(0 0 5px rgba(218, 36, 43, 0.5));
}

.mobile-contact h4 {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
	text-align: center;
}

/* Mobile Social Icons */
.mobile-social {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	color: #fff;
	font-size: 18px;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.mobile-social a:hover {
	background: #DA242B;
	border-color: #DA242B;
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 8px 25px rgba(218, 36, 43, 0.4);
}

/* Responsive Navbar Improvements */
@media (max-width: 991.98px) {
	.technosan_nav_manu {
		padding: 10px 0;
	}
	
	.logo {
		padding: 5px 0;
	}
	
	.logo_img img, .main_sticky img {
		max-height: 45px !important;
		width: auto !important;
	}
}

@media (max-width: 767.98px) {
	.header-top-section {
		padding: 10px 0;
	}
	
	.header-address-info p {
		font-size: 13px;
	}
	
	.phone-number p {
		font-size: 13px;
	}
	
	.technosan-social-icon ul li a {
		width: 35px;
		height: 35px;
		line-height: 35px;
		font-size: 14px;
	}
	
	.technosan_nav_manu {
		padding: 8px 0;
	}
	
	.logo {
		padding: 3px 0;
	}
	
	.logo_img img, .main_sticky img {
		max-height: 40px !important;
		width: auto !important;
	}
}

@media (max-width: 575.98px) {
	.header-top-section {
		padding: 8px 0;
	}
	
	.header-address-info p {
		font-size: 12px;
	}
	
	.header-address-info p span {
		display: block;
		margin-top: 5px;
	}
	
	.phone-number p {
		font-size: 12px;
	}
	
	.technosan-social-icon ul li {
		margin: 0 3px;
	}
	
	.technosan-social-icon ul li a {
		width: 32px;
		height: 32px;
		line-height: 32px;
		font-size: 13px;
	}
	
	.mobile-nav-list li a {
		font-size: 16px;
		padding: 18px 20px;
	}
	
	.mobile-menu-header {
		padding: 15px 20px;
	}
	
	.mobile-menu-footer {
		padding: 20px;
	}
	
	/* Mobile shop button responsive CSS removed */
}

/* Ensure desktop styles remain untouched */
@media (min-width: 992px) {
	.mobile-menu-overlay {
		display: none !important;
	}
	
	.mobile-menu-toggle {
		display: none !important;
	}
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
	overflow: hidden;
}

/*==========================
	About Page Mobile Fixes - Progress Section
===========================*/

/* Fix overlapping content in progress section on mobile */
@media (max-width: 991.98px) {
	.progress-section {
		padding: 60px 0 60px !important;
	}
	
	.progress-single-box {
		position: relative !important;
		left: auto !important;
		bottom: auto !important;
		width: 100% !important;
		margin-bottom: 30px !important;
		display: block !important;
	}
	
	.progress-right-content {
		padding-left: 15px !important;
		padding-top: 0 !important;
	}
	
	.technosan-section-title h1 {
		font-size: 28px !important;
		line-height: 1.3 !important;
		margin-bottom: 15px !important;
	}
	
	.technosan-section-title h4 {
		font-size: 16px !important;
		margin-bottom: 10px !important;
	}
	
	.text-overlay p {
		font-size: 15px !important;
		line-height: 1.6 !important;
		margin-bottom: 20px !important;
	}
	
	.process-ber-plugin {
		padding: 25px 0 15px !important;
		margin-bottom: 20px !important;
	}
	
	.process-ber-plugin span.process-bar {
		font-size: 14px !important;
		display: block !important;
		margin-bottom: 8px !important;
	}
	
	.barfiller {
		margin-bottom: 20px !important;
		margin-top: 5px !important;
	}
}

/* Fix for tablets */
@media (max-width: 768px) {
	.progress-section .row.process-bg {
		flex-direction: column-reverse;
	}
	
	.progress-section .col-lg-6 {
		margin-bottom: 20px;
	}
	
	.progress-right-content {
		text-align: center;
		padding-left: 0 !important;
	}
	
	.technosan-section-title h1 {
		font-size: 24px !important;
	}
}

/* Fix for small mobile screens */
@media (max-width: 480px) {
	.progress-section {
		padding: 40px 0 40px !important;
	}
	
	.technosan-section-title h1 {
		font-size: 22px !important;
	}
	
	.text-overlay p {
		font-size: 14px !important;
	}
	
	.process-ber-plugin span.process-bar {
		font-size: 13px !important;
	}
}

/*==========================
	General About Page Mobile Fixes
===========================*/

/* Fix about section overlapping */
@media (max-width: 991.98px) {
	.about-section {
		padding: 60px 0 50px !important;
	}
	
	.about-right-thumb {
		margin: 0 !important;
		text-align: center;
		margin-bottom: 30px !important;
	}
	
	.about-right-thumb img {
		max-width: 100%;
		height: auto;
	}
	
	.about-counter {
		position: relative !important;
		margin-top: 20px !important;
	}
}

/* Fix breadcrumb section */
@media (max-width: 991.98px) {
	.breatcam-section {
		height: 300px !important;
		padding: 80px 0 !important;
	}
	
	.breatcam-content h1 {
		font-size: 32px !important;
	}
}

/* Fix counter section */
@media (max-width: 991.98px) {
	.counter-section {
		padding: 60px 0 40px !important;
	}
	
	.single-counter-box {
		margin-bottom: 20px !important;
		padding: 25px 20px !important;
	}
}

/* Fix testimonial section */
@media (max-width: 991.98px) {
	.testimonial-section {
		padding: 60px 0 50px !important;
	}
}

@media (max-width: 768px) {
	.breatcam-section {
		height: 250px !important;
	}
	
	.breatcam-content h1 {
		font-size: 28px !important;
	}
	
	.about-section {
		padding: 40px 0 30px !important;
	}
	
	.counter-section {
		padding: 40px 0 30px !important;
	}
}

/*==========================
	End About Page Mobile Fixes
===========================*/

/*==========================
	Mobile Hover Fix - Remove White Block Issue
===========================*/

/* Disable problematic hover effects on mobile devices */
@media (max-width: 991.98px) {
	/* Disable header button hover effects that cause white blocks */
	.header-button a:hover:before,
	.hero-button a:hover:before,
	.technosan-button a:hover::before {
		transform: scale(0) !important;
		opacity: 0 !important;
	}
	
	/* Disable tab thumb hover effects */
	.tab-thumb:hover:before {
		transform: scale(0) !important;
		opacity: 0 !important;
	}
	
	/* Disable process box hover effects */
	.single-process-box:hover .process-thumb:after {
		transform: scale(0) !important;
		opacity: 0 !important;
	}
	
	/* Disable pagination hover effects */
	.pagination-menu ul li a:hover:before {
		transform: scale(0) !important;
		opacity: 0 !important;
	}
	
	/* Disable product thumb icon hover effects */
	.product-thumb-icon2 a:hover:after {
		transform: scale(0) !important;
		opacity: 0 !important;
	}
	
	/* Disable contact form button hover effects */
	.style-two.contact-form button:hover:before {
		transform: scale(0) !important;
		opacity: 0 !important;
	}
	
	/* Disable any other scaling pseudo-elements on hover */
	*:hover:before,
	*:hover:after {
		transform: scale(0) !important;
	}
	
	/* Keep only safe hover effects for mobile - these are preserved */
	.mobile-toggle-btn:hover {
		background: #DA242B;
		border-color: #DA242B;
		transform: scale(1.1);
		box-shadow: 0 6px 20px rgba(218, 36, 43, 0.4);
	}
	
	.mobile-close-btn:hover {
		background: rgba(218, 36, 43, 0.8);
		border-color: #DA242B;
		transform: rotate(90deg) scale(1.05);
	}
	
	.mobile-nav-list li a:hover {
		background-color: rgba(218, 36, 43, 0.1);
		border-left-color: #DA242B;
		padding-left: 40px;
		color: #fff;
		text-decoration: none;
		text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
	}
	
	.mobile-contact p:hover {
		color: #fff;
		transform: translateX(5px);
	}
	
	.mobile-social a:hover {
		background: #DA242B;
		border-color: #DA242B;
		transform: translateY(-3px) scale(1.1);
		box-shadow: 0 8px 25px rgba(218, 36, 43, 0.4);
	}
}

/* Additional fix for touch devices */
@media (hover: none) and (pointer: coarse) {
	/* Disable all scaling pseudo-elements on touch devices */
	*:hover:before,
	*:hover:after {
		transform: scale(0) !important;
		opacity: 0 !important;
	}
}

/*==========================
	End Mobile-First Navbar Redesign
===========================*/
