/* Simple Mobile Menu CSS */

/* Mobile Header */
.simple-mobile-header {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(14, 22, 31, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 1000;
	padding: 15px 0;
	display: block !important;
}

@media (max-width: 991px) {
	.simple-mobile-header {
		display: block !important;
	}
}

@media (min-width: 992px) {
	.simple-mobile-header {
		display: none !important;
	}
}

.simple-mobile-nav {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
	width: 100%;
}

.mobile-logo a {
	display: block;
}

.mobile-logo img {
	height: 2.7rem !important;
	width: auto;
	transition: all 0.3s ease;
}

/* Responsive logo sizing */
@media (max-width: 480px) {
	.mobile-logo img {
		height: 2.5rem !important;
	}
}

@media (max-width: 360px) {
	.mobile-logo img {
		height: 2.2rem !important;
	}
}

/* Hamburger Menu Icon */
.hamburger-menu {
	width: 30px;
	height: 30px;
	display: flex !important;
	flex-direction: column;
	justify-content: space-around;
	cursor: pointer;
	z-index: 1001;
	transition: all 0.3s ease;
	padding: 5px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.hamburger-menu:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.3);
}

.hamburger-menu span {
	width: 100%;
	height: 3px;
	background: #ffffff !important;
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center;
	display: block !important;
	opacity: 1 !important;
}

/* Hamburger Animation */
.hamburger-menu.active span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
	opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
	transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 998;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Mobile Navigation */
.mobile-navigation {
	position: fixed;
	top: 0;
	right: -100%;
	width: 300px;
	height: 100%;
	background: linear-gradient(135deg, #0e161f 0%, #1a2332 100%);
	z-index: 999;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	padding: 0;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-navigation.active {
	right: 0;
}

/* Mobile Nav Header */
.mobile-nav-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-close-btn {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: #ffffff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 18px;
}

.mobile-close-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.1);
}

/* Mobile Nav Links */
.mobile-nav-links {
	flex: 1;
	padding: 20px 0;
	display: flex;
	flex-direction: column;
}

.mobile-nav-link {
	display: block;
	padding: 15px 20px;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 18px;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
	margin: 5px 0;
}

.mobile-nav-link:hover {
	color: #4a6cf7;
	background: rgba(74, 108, 247, 0.1);
	transform: translateX(10px);
}

.mobile-nav-link::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 3px;
	height: 100%;
	background: #4a6cf7;
	transform: scaleY(0);
	transition: transform 0.3s ease;
}

.mobile-nav-link:hover::before {
	transform: scaleY(1);
}

/* Mobile Nav Footer */
.mobile-nav-footer {
	padding: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta-btn {
	display: block;
	background: linear-gradient(135deg, #4a6cf7 0%, #667eea 100%);
	color: #ffffff;
	text-decoration: none;
	padding: 15px 20px;
	border-radius: 8px;
	text-align: center;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}

.mobile-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(74, 108, 247, 0.4);
	color: #ffffff;
}

/* Body scroll lock */
body.mobile-menu-open {
	overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 480px) {
	.mobile-navigation {
		width: 280px;
	}

	.mobile-nav-link {
		font-size: 16px;
		padding: 12px 20px;
	}
}

/* Animation for menu items */
.mobile-navigation.active .mobile-nav-link {
	animation: slideInRight 0.3s ease forwards;
	opacity: 0;
	transform: translateX(30px);
}

.mobile-navigation.active .mobile-nav-link:nth-child(1) {
	animation-delay: 0.1s;
}
.mobile-navigation.active .mobile-nav-link:nth-child(2) {
	animation-delay: 0.15s;
}
.mobile-navigation.active .mobile-nav-link:nth-child(3) {
	animation-delay: 0.2s;
}
.mobile-navigation.active .mobile-nav-link:nth-child(4) {
	animation-delay: 0.25s;
}
.mobile-navigation.active .mobile-nav-link:nth-child(5) {
	animation-delay: 0.3s;
}
.mobile-navigation.active .mobile-nav-link:nth-child(6) {
	animation-delay: 0.35s;
}

@keyframes slideInRight {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	.hamburger-menu,
	.mobile-menu-overlay,
	.mobile-navigation,
	.mobile-nav-link,
	.mobile-cta-btn {
		transition: none;
		animation: none;
	}
}

/* High contrast mode */
@media (prefers-contrast: high) {
	.mobile-navigation {
		border: 2px solid #ffffff;
	}

	.mobile-nav-link {
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}
}

/* Additional specific styles to ensure hamburger visibility */
.simple-mobile-header .hamburger-menu {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.simple-mobile-header .hamburger-menu span {
	background-color: #ffffff !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	content: "" !important;
}

/* Ensure container fluid doesn't hide content */
.simple-mobile-header .container-fluid {
	width: 100% !important;
	max-width: none !important;
	padding: 0 15px !important;
}
