/* ========================================
   Qureshi and Company Header Widget Styles
   ======================================== */

.qureshi-header {
	width: 100%;
	background-color: #1A2A44;
	position: relative;
	z-index: 999;
	transition: box-shadow 0.3s ease;
}

.qureshi-header.qureshi-sticky {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
}

.qureshi-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	min-height: 80px;
	width: 100%;
	box-sizing: border-box;
}

/* Logo */
.qureshi-header-logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.qureshi-header-logo a {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
}

.qureshi-header-logo img {
	width: 180px;
	height: auto;
	display: block;
	max-height: 70px;
	object-fit: contain;
}

.qureshi-logo-text {
	font-size: 22px;
	font-weight: 700;
	color: #C5A059;
	letter-spacing: 1px;
}

/* Desktop Navigation */
.qureshi-nav-desktop {
	display: flex;
	align-items: center;
	flex: 1;
	justify-content: center;
}

.qureshi-nav {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.qureshi-nav > li {
	position: relative;
	margin: 0 15px;
	list-style: none;
}

.qureshi-nav a {
	color: #C5A059;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.5px;
	padding: 8px 0;
	display: block;
	transition: color 0.25s ease;
	position: relative;
}

.qureshi-nav a:hover,
.qureshi-nav a:focus {
	color: #E8D5A3;
}

/* Underline hover effect */
.qureshi-nav > li > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #C5A059;
	transition: width 0.3s ease;
}

.qureshi-nav > li > a:hover::after {
	width: 100%;
}

/* Dropdown Submenu */
.qureshi-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #1A2A44;
	min-width: 200px;
	padding: 10px 0;
	margin: 0;
	list-style: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	border-radius: 4px;
	z-index: 100;
}

.qureshi-nav > li:hover > .sub-menu {
	display: block;
}

.qureshi-nav .sub-menu li {
	margin: 0;
	padding: 0;
}

.qureshi-nav .sub-menu a {
	padding: 10px 20px;
	font-size: 14px;
	white-space: nowrap;
}

.qureshi-nav .sub-menu a:hover {
	background-color: rgba(197, 160, 89, 0.1);
}

/* CTA Button */
.qureshi-header-cta {
	flex-shrink: 0;
	margin-left: 20px;
}

.qureshi-cta-btn {
	display: inline-block;
	background-color: #C5A059;
	color: #1A2A44 !important;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.5px;
	padding: 12px 28px;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	line-height: 1.4;
}

.qureshi-cta-btn:hover,
.qureshi-cta-btn:focus {
	background-color: #E8D5A3;
	color: #1A2A44 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
}

/* Hamburger Button */
.qureshi-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 36px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1001;
	gap: 6px;
}

.qureshi-hamburger span {
	display: block;
	width: 26px;
	height: 2.5px;
	background-color: #C5A059;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* Hamburger Active (X) */
.qureshi-hamburger.active span:nth-child(1) {
	transform: translateY(8.5px) rotate(45deg);
}

.qureshi-hamburger.active span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.qureshi-hamburger.active span:nth-child(3) {
	transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Menu */
.qureshi-mobile-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: #1A2A44;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	z-index: 998;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.qureshi-mobile-menu.active {
	display: block;
	max-height: 80vh;
	opacity: 1;
	overflow-y: auto;
}

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

.qureshi-nav-mobile li {
	margin: 0;
	border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

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

.qureshi-nav-mobile a {
	display: block;
	color: #C5A059;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	padding: 14px 10px;
	transition: color 0.25s ease, background-color 0.25s ease;
}

.qureshi-nav-mobile a:hover,
.qureshi-nav-mobile a:focus {
	color: #E8D5A3;
	background-color: rgba(197, 160, 89, 0.08);
}

/* Mobile Submenu */
.qureshi-nav-mobile .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0 15px;
	background-color: rgba(0, 0, 0, 0.15);
}

.qureshi-nav-mobile .sub-menu a {
	font-size: 14px;
	padding: 10px;
}

.qureshi-mobile-cta {
	margin-top: 20px;
	text-align: center;
	padding-top: 10px;
}

.qureshi-mobile-cta .qureshi-cta-btn {
	display: inline-block;
	width: 100%;
	max-width: 280px;
	text-align: center;
}

/* ========================================
   Responsive Breakpoints
   ======================================== */

/* Tablet & below (max-width: 1024px) */
@media (max-width: 1024px) {
	.qureshi-nav-desktop {
		display: none;
	}

	.qureshi-header-cta.desktop-only {
		display: none;
	}

	.qureshi-hamburger {
		display: flex;
	}

	.qureshi-header-logo img {
		width: 150px;
		max-height: 60px;
	}
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
	.qureshi-header-inner {
		min-height: 70px;
		padding: 0 15px;
	}

	.qureshi-header-logo img {
		width: 130px;
		max-height: 50px;
	}

	.qureshi-hamburger {
		width: 32px;
		height: 32px;
	}

	.qureshi-hamburger span {
		width: 24px;
	}

	.qureshi-mobile-menu {
		padding: 15px;
	}

	.qureshi-nav-mobile a {
		font-size: 15px;
		padding: 12px 8px;
	}
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
	.qureshi-header-logo img {
		width: 110px;
		max-height: 45px;
	}

	.qureshi-header-inner {
		min-height: 60px;
	}
}

/* Desktop only utility */
@media (min-width: 1025px) {
	.desktop-only {
		display: block;
	}

	.qureshi-mobile-menu {
		display: none !important;
	}
}

/* Ensure Elementor compatibility */
.elementor-widget-qureshi_header {
	width: 100%;
}

.elementor-widget-qureshi_header .elementor-widget-container {
	width: 100%;
}
