/**
 * BusinessZindagi global header — all public pages
 */
:root {
	--bz-navy: #12304a;
	--bz-accent: #d71920;
	--bz-accent-dark: #b51218;
	--bz-bg: #ffffff;
	--bz-bg-soft: #f7fafc;
	--bz-border: #e2e8f0;
	--bz-text: #172b3a;
	--bz-muted: #66788a;
	--bz-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bz-max: 1120px;
}

.bz-header,
.bz-global-header {
	font-family: var(--bz-font);
	position: sticky;
	top: 0;
	z-index: 10000;
	background: #fff;
	border-bottom: 1px solid var(--bz-border);
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
	-webkit-font-smoothing: antialiased;
}

.bz-header *,
.bz-header *::before,
.bz-header *::after {
	box-sizing: border-box;
}

.bz-header .bz-container {
	width: 100%;
	max-width: var(--bz-max);
	margin: 0 auto;
	padding: 0 22px;
}

.bz-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
	gap: 14px;
}

.bz-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--bz-navy);
	font-weight: 700;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.bz-logo-img {
	max-height: 52px;
	width: auto;
}

.bz-logo-text {
	color: var(--bz-navy);
}

.bz-nav {
	position: relative;
	flex: 1;
	display: flex;
	justify-content: center;
}

.bz-burger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	margin-left: auto;
}

.bz-burger span {
	display: block;
	height: 2px;
	width: 22px;
	background: var(--bz-navy);
	border-radius: 1px;
}

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

.bz-nav.is-open .bz-nav-list {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 56px;
	left: 0;
	right: 0;
	background: #fff;
	border-bottom: 1px solid var(--bz-border);
	padding: 10px 22px 18px;
	box-shadow: 0 8px 28px rgba(18,48,74,0.1);
	z-index: 10001;
}

.bz-nav-list a,
.bz-more-toggle {
	display: block;
	padding: 10px 12px;
	color: var(--bz-muted);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	border-radius: 8px;
	white-space: nowrap;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
	width: 100%;
}

.bz-nav-list a:hover,
.bz-more-toggle:hover {
	color: var(--bz-navy);
	background: var(--bz-bg-soft);
}

.bz-nav-more {
	position: relative;
}

.bz-more-menu {
	list-style: none;
	margin: 0;
	padding: 6px 0;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(18,48,74,0.1);
	min-width: 220px;
	z-index: 10002;
}

.bz-more-menu a {
	padding: 10px 16px;
	font-size: 14.5px;
}

.bz-nav.is-open .bz-more-menu {
	position: static;
	box-shadow: none;
	border: none;
	padding-left: 12px;
}

.bz-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.bz-icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--bz-muted);
	border-radius: 8px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.bz-icon-btn:hover {
	background: var(--bz-bg-soft);
	color: var(--bz-navy);
}

.bz-search-desktop { display: none; }

.bz-search-form {
	display: flex;
	align-items: center;
}

.bz-search-input {
	border: 1.5px solid var(--bz-border);
	border-right: none;
	border-radius: 8px 0 0 8px;
	padding: 8px 12px;
	font-size: 14px;
	min-width: 160px;
	color: var(--bz-text);
	background: #fff;
	outline: none;
}

.bz-search-input:focus {
	border-color: var(--bz-accent);
	box-shadow: 0 0 0 2px rgba(215, 25, 32, 0.12);
}

.bz-search-submit {
	border: 1.5px solid var(--bz-accent);
	background: var(--bz-accent);
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	padding: 8px 12px;
	border-radius: 0 8px 8px 0;
	cursor: pointer;
}

.bz-search-submit:hover {
	background: var(--bz-accent-dark);
	border-color: var(--bz-accent-dark);
}

.bz-mobile-search {
	display: none;
	padding: 0 22px 14px;
	background: #fff;
	border-bottom: 1px solid var(--bz-border);
}

.bz-mobile-search.is-open {
	display: block;
}

.bz-mobile-search .bz-search-input {
	flex: 1;
	min-width: 0;
	width: 100%;
}

.bz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 10px;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
	cursor: pointer;
	line-height: 1.3;
}

.bz-btn-accent {
	background: var(--bz-accent);
	color: #fff !important;
	border-color: var(--bz-accent);
}

.bz-btn-accent:hover {
	background: var(--bz-accent-dark);
	border-color: var(--bz-accent-dark);
	color: #fff !important;
}

.bz-btn-sm {
	padding: 9px 16px;
	font-size: 14px;
}

.bz-header-tools-btn {
	white-space: nowrap;
}

.bz-nav-mobile-only {
	display: list-item;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (min-width: 960px) {
	.bz-burger { display: none; }
	.bz-nav-list {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 2px;
		position: static;
		background: none;
		border: none;
		box-shadow: none;
		padding: 0;
	}
	.bz-nav.is-open .bz-nav-list {
		position: static;
		box-shadow: none;
		border: none;
		padding: 0;
		flex-direction: row;
	}
	.bz-search-desktop { display: flex; }
	.bz-search-toggle { display: none; }
	.bz-nav-mobile-only { display: none; }
	.bz-more-menu {
		position: absolute;
		top: 100%;
		left: 0;
		margin-top: 6px;
	}
	.bz-more-menu[hidden] {
		display: none !important;
	}
	.bz-nav-more:hover .bz-more-menu,
	.bz-nav-more:focus-within .bz-more-menu {
		display: block;
	}
	.bz-more-toggle {
		width: auto;
	}
}

@media (max-width: 959px) {
	.bz-header-row { height: 64px; }
	.bz-logo-img { max-height: 40px; }
	.bz-header-tools-btn { display: none; }
	.bz-nav {
		flex: 0;
		order: 3;
	}
	.bz-header-actions { order: 2; }
	.bz-more-menu[hidden] {
		display: none !important;
	}
	.bz-nav.is-open .bz-more-menu:not([hidden]) {
		display: block;
	}
}

/* Mobile menu reliability */
@media (max-width: 959px) {
	.bz-header-row {
		display: flex;
		flex-wrap: nowrap;
		height: 64px;
	}
	.bz-logo { order: 1; flex: 1; min-width: 0; }
	.bz-header-actions { order: 2; }
	.bz-nav { order: 3; position: static; flex: 0 0 auto; }
	.bz-burger { display: flex !important; margin-left: 0; }
	.bz-nav.is-open .bz-nav-list {
		display: flex !important;
		flex-direction: column;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		width: 100%;
		max-height: calc(100vh - 64px);
		overflow-y: auto;
		background: #fff;
		padding: 8px 16px 20px;
		z-index: 10050;
		box-shadow: 0 12px 32px rgba(0,0,0,0.12);
	}
	.bz-nav-list a,
	.bz-more-toggle {
		font-size: 16px !important;
		padding: 14px 12px !important;
		min-height: 48px;
	}
	.bz-more-menu a {
		padding: 12px 12px 12px 24px !important;
		font-size: 15px !important;
	}
	.bz-header-tools-btn { display: none !important; }
}
