/* Pulse Navigation - Modern Geometric Design */

.pulse-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(24px) saturate(190%);
	-webkit-backdrop-filter: blur(24px) saturate(190%);
	border-bottom: 1px solid rgba(13, 79, 60, 0.1);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
	width: 100%;
}

.pulse-nav.scrolled {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 4px 28px rgba(0, 0, 0, 0.08);
	border-bottom-color: rgba(13, 79, 60, 0.15);
}

.pulse-nav.hidden {
	transform: translateY(-100%);
	opacity: 0;
}

.pulse-nav-wrapper {
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	padding: 0 4.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4rem;
	height: 74px;
}

/* Brand */
.pulse-brand {
	flex: 0 0 auto;
}

.pulse-logo {
	text-decoration: none;
	display: inline-block;
}

.pulse-logo-text {
	font-family: 'Bebas Neue', 'Arial Black', Arial, sans-serif;
	font-size: 1.9rem;
	font-weight: 700;
	letter-spacing: 2.5px;
	background: linear-gradient(135deg, #0d4f3c 0%, #2d7a5f 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: all 0.3s ease;
}

.pulse-logo:hover .pulse-logo-text {
	background: linear-gradient(135deg, #2d7a5f 0%, #4ade80 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transform: scale(1.05);
}

/* Menu */
.pulse-menu {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	height: 100%;
}

.pulse-menu-group {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	height: 100%;
}

.pulse-item {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
}

.pulse-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.3rem;
	text-decoration: none;
	color: #475569;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	height: 100%;
	border-radius: 0;
}

.pulse-link-label {
	position: relative;
	z-index: 2;
	transition: color 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
}

.pulse-link-label i {
	font-size: 0.9rem;
	color: #0d4f3c;
}

.pulse-underline {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #0d4f3c, #2d7a5f);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 2px 2px 0 0;
}

.pulse-link:hover .pulse-underline,
.pulse-item.active .pulse-underline {
	transform: scaleX(1);
}

.pulse-link:hover .pulse-link-label,
.pulse-item.active .pulse-link-label {
	color: #0d4f3c;
}

/* Dropdown */
.pulse-menu-dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(-12px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	margin-top: 0;
	padding-top: 0.5rem;
	z-index: 1000;
	min-width: 280px;
	padding: 0.75rem;
	padding-top: 0.5rem;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(32px) saturate(200%);
	-webkit-backdrop-filter: blur(32px) saturate(200%);
	border: 1px solid rgba(13, 79, 60, 0.12);
	border-radius: 16px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.pulse-menu-dropdown-wide {
	min-width: 340px;
}

.pulse-menu-dropdown::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 0.5rem;
	background: transparent;
}

.pulse-item.active .pulse-menu-dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.pulse-item.active .pulse-menu-dropdown::before {
	pointer-events: auto;
}

.pulse-drop-item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 0.9rem;
	background: transparent;
	border: none;
	border-left: 3px solid transparent;
	border-radius: 0;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.pulse-drop-item::after {
	content: '→';
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%) translateX(-4px);
	color: #0d4f3c;
	font-size: 1.1rem;
	font-weight: 600;
	opacity: 0;
	transition: all 0.3s ease;
}

.pulse-drop-item:hover {
	border-left-color: #0d4f3c;
	background: rgba(13, 79, 60, 0.04);
	padding-left: 1.1rem;
}

.pulse-drop-item:hover::after {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

.pulse-drop-icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 2px solid rgba(13, 79, 60, 0.2);
	border-radius: 8px;
	color: #0d4f3c;
	font-size: 0.95rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.pulse-drop-item:hover .pulse-drop-icon {
	background: #0d4f3c;
	border-color: #0d4f3c;
	color: white;
	transform: translateY(-2px);
}

.pulse-drop-content {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	flex: 1;
	min-width: 0;
	position: relative;
	z-index: 1;
	padding-top: 0.15rem;
}

.pulse-drop-title {
	font-weight: 600;
	font-size: 0.92rem;
	color: #0d4f3c;
	transition: all 0.3s ease;
	line-height: 1.4;
}

.pulse-drop-sub {
	font-size: 0.75rem;
	color: #64748b;
	transition: color 0.3s ease;
	line-height: 1.4;
}

.pulse-drop-item:hover .pulse-drop-title {
	color: #0d4f3c;
}

.pulse-drop-item:hover .pulse-drop-sub {
	color: #475569;
}

/* Actions */
.pulse-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.pulse-action {
	padding: 0.65rem 1.4rem;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
	position: relative;
	overflow: hidden;
}

.pulse-action-light {
	background: rgba(13, 79, 60, 0.05);
	color: #0d4f3c;
	border: 1.5px solid rgba(13, 79, 60, 0.15);
}

.pulse-action-light:hover {
	background: rgba(13, 79, 60, 0.1);
	border-color: rgba(13, 79, 60, 0.25);
	transform: translateY(-1px);
}

.pulse-action-dark {
	background: linear-gradient(135deg, #0d4f3c 0%, #2d7a5f 100%);
	color: white;
	box-shadow: 0 3px 14px rgba(13, 79, 60, 0.25);
}

.pulse-action-dark:hover {
	background: linear-gradient(135deg, #2d7a5f 0%, #4ade80 100%);
	transform: translateY(-1px);
	box-shadow: 0 6px 22px rgba(13, 79, 60, 0.35);
}

/* Hamburger */
.pulse-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: transparent;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	position: relative;
	z-index: 10001;
	-webkit-tap-highlight-color: transparent;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	justify-content: center;
	align-items: center;
}

.pulse-ham-line {
	width: 24px;
	height: 3px;
	background: linear-gradient(90deg, #0d4f3c, #2d7a5f);
	border-radius: 2px;
	transition: all 0.3s ease;
}

.pulse-hamburger:hover .pulse-ham-line {
	background: linear-gradient(90deg, #2d7a5f, #4ade80);
}

/* Mobile */
.pulse-mobile {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

.pulse-mobile.open {
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	display: block !important;
}

/* Debug: Make sure mobile menu is visible when open */
.pulse-mobile.open {
	background: rgba(0, 0, 0, 0.01) !important; /* Temporary: helps verify it's there */
}

.pulse-mobile-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.pulse-mobile-drawer {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 85% !important;
	max-width: 400px !important;
	background: rgba(255, 255, 255, 0.98) !important;
	backdrop-filter: blur(32px);
	-webkit-backdrop-filter: blur(32px);
	box-shadow: -4px 0 40px rgba(0, 0, 0, 0.12) !important;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex !important;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	z-index: 1000000 !important;
	height: 100vh !important;
	min-height: 100vh !important;
	margin: 0 !important;
	padding: 0 !important;
}

.pulse-mobile.open .pulse-mobile-drawer {
	transform: translateX(0) !important;
	visibility: visible !important;
	opacity: 1 !important;
	display: flex !important;
}

.pulse-mobile-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem;
	border-bottom: 1px solid rgba(13, 79, 60, 0.1);
}

.pulse-mobile-logo {
	font-family: 'Bebas Neue', Arial, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 2px;
	background: linear-gradient(135deg, #0d4f3c, #2d7a5f);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-decoration: none;
}

.pulse-mobile-close {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(13, 79, 60, 0.08);
	border: none;
	border-radius: 8px;
	color: #0d4f3c;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
	transition: all 0.25s ease;
}

.pulse-mobile-close:hover {
	background: rgba(13, 79, 60, 0.15);
	transform: rotate(90deg);
}

.pulse-mobile-content {
	flex: 1;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	overflow-y: auto;
}

.pulse-mobile-section {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.pulse-mobile-section-title {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #64748b;
	margin-bottom: 0.25rem;
	padding: 0 0.5rem;
}

.pulse-mobile-link {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 0.9rem;
	background: transparent;
	border: none;
	border-left: 3px solid transparent;
	border-radius: 0;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.pulse-mobile-link::after {
	content: '→';
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%) translateX(-4px);
	color: #0d4f3c;
	font-size: 1.1rem;
	font-weight: 600;
	opacity: 0;
	transition: all 0.3s ease;
}

.pulse-mobile-link:hover,
.pulse-mobile-link:active {
	border-left-color: #0d4f3c;
	background: rgba(13, 79, 60, 0.04);
	padding-left: 1.1rem;
}

.pulse-mobile-link:hover::after,
.pulse-mobile-link:active::after {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

.pulse-mobile-icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 2px solid rgba(13, 79, 60, 0.2);
	border-radius: 8px;
	color: #0d4f3c;
	font-size: 0.95rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.pulse-mobile-link:hover .pulse-mobile-icon,
.pulse-mobile-link:active .pulse-mobile-icon {
	background: #0d4f3c;
	border-color: #0d4f3c;
	color: white;
	transform: translateY(-2px);
}

.pulse-mobile-text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	flex: 1;
	min-width: 0;
	position: relative;
	z-index: 1;
	padding-top: 0.15rem;
}

.pulse-mobile-title {
	font-weight: 600;
	font-size: 0.92rem;
	color: #0d4f3c;
	transition: all 0.3s ease;
	line-height: 1.4;
}

.pulse-mobile-sub {
	font-size: 0.75rem;
	color: #64748b;
	transition: color 0.3s ease;
	line-height: 1.4;
}

.pulse-mobile-link:hover .pulse-mobile-title,
.pulse-mobile-link:active .pulse-mobile-title {
	color: #0d4f3c;
}

.pulse-mobile-link:hover .pulse-mobile-sub,
.pulse-mobile-link:active .pulse-mobile-sub {
	color: #475569;
}

.pulse-mobile-footer {
	padding: 1.5rem;
	border-top: 1px solid rgba(13, 79, 60, 0.1);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.pulse-mobile-action {
	padding: 1rem;
	border-radius: 10px;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.25s ease;
	background: rgba(13, 79, 60, 0.06);
	color: #0d4f3c;
}

.pulse-mobile-action-primary {
	background: linear-gradient(135deg, #0d4f3c, #2d7a5f);
	color: white;
}

.pulse-mobile-action:hover {
	transform: scale(1.02);
}

.pulse-mobile-action-primary:hover {
	background: linear-gradient(135deg, #2d7a5f, #4ade80);
}

/* Responsive */
@media (max-width: 1200px) {
	.pulse-nav-wrapper {
		padding: 0 3rem;
		gap: 3rem;
	}
}

@media (max-width: 1024px) {
	.pulse-nav-wrapper {
		padding: 0 1.5rem;
		gap: 1.5rem;
		height: 70px;
		justify-content: center;
		position: relative;
	}
	
	.pulse-menu {
		display: none !important;
	}
	
	/* Hide desktop dropdowns on mobile */
	.pulse-menu-dropdown {
		display: none !important;
	}
	
	.pulse-item.active .pulse-menu-dropdown {
		display: none !important;
	}
	
	.pulse-brand {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
	
	.pulse-logo-text {
		font-size: 1.6rem;
		letter-spacing: 2px;
		text-align: center;
	}
	
	.pulse-action {
		padding: 0.65rem;
		min-width: 44px;
		text-align: center;
	}
	
	.pulse-action span {
		display: none;
	}
	
	.pulse-hamburger {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		min-width: 44px !important;
		min-height: 44px !important;
		width: 44px !important;
		height: 44px !important;
		position: absolute;
		right: 1.5rem;
	}
	
	.pulse-actions {
		position: absolute;
		right: 1.5rem;
	}
	
	.pulse-actions .pulse-action:not(.pulse-hamburger) {
		display: none;
	}
	
	/* Compact mobile menu */
	.pulse-mobile-section-title {
		display: none;
	}
	
	.pulse-mobile-content {
		gap: 0.5rem;
		padding: 0.75rem;
	}
	
	.pulse-mobile-section {
		gap: 0.25rem;
	}
	
	.pulse-mobile-link {
		padding: 0.65rem 0.9rem;
		gap: 0.7rem;
	}
	
	.pulse-mobile-icon {
		width: 32px;
		height: 32px;
		font-size: 0.85rem;
	}
	
	.pulse-mobile-title {
		font-size: 0.85rem;
	}
	
	.pulse-mobile-sub {
		font-size: 0.7rem;
	}
	
	.pulse-mobile-text {
		padding-top: 0.1rem;
		gap: 0.15rem;
	}
	
	.pulse-mobile-link:hover,
	.pulse-mobile-link:active {
		padding-left: 1rem;
	}
}

/* Ensure mobile menu works on all mobile devices */
@media (max-width: 1024px) and (pointer: coarse) {
	.pulse-hamburger {
		display: flex !important;
		min-width: 44px;
		min-height: 44px;
	}
	
	.pulse-mobile {
		z-index: 999999 !important;
	}
	
	.pulse-mobile-drawer {
		z-index: 1000000 !important;
	}
}

@media (max-width: 640px) {
	.pulse-nav-wrapper {
		padding: 0 1rem;
	}
	
	.pulse-logo-text {
		font-size: 1.4rem;
		letter-spacing: 1.5px;
	}
}

/* Content spacing */
body {
	padding-top: 74px;
}

@media (max-width: 1024px) {
	body {
		padding-top: 70px;
	}
}
