/* Custom Premium Global Header Stylesheet - Half-Screen Hover Image Edition */

:root {
	--header-bg-transparent: #000000;
	--header-bg-solid: #000000; /* Solid black background */
	--header-border-color: rgba(255, 255, 255, 0.04);
	--header-accent-gold: #d0a642;
	--header-accent-gold-rgb: 208, 166, 66;
	--header-accent-green: #25D366;
	--header-accent-green-rgb: 37, 211, 102;
	--header-accent-brand: #537889; /* Light blue brand logo color */
	--header-accent-brand-rgb: 83, 120, 137;
	--header-font-family: 'Outfit', sans-serif;
	--header-text-color: #ffffff;
}

/* Pushes the page content down so it doesn't get covered by the fixed header */
body {
	padding-top: 124px !important; /* Matches 44px logo + 40px top/bottom padding */
}

@media (max-width: 1200px) {
	body {
		padding-top: 116px !important;
	}
}

@media (max-width: 1024px) {
	body {
		padding-top: 84px !important; /* Matches 36px logo + 24px top/bottom padding */
	}
}

@media (max-width: 768px) {
	body {
		padding-top: 60px !important; /* Matches 24px logo + 18px top/bottom padding */
	}
}

/* Compensate WordPress Admin Bar for fixed header positioning */
.admin-bar .avm-global-header {
	top: 32px !important;
}

@media screen and (max-width: 782px) {
	.admin-bar .avm-global-header {
		top: 46px !important;
	}
}

/* Header Container Baseline - Extremely Spacious and impressive */
.avm-global-header {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	z-index: 99999998 !important; /* High stack value prevents overlap issues with page builders */
	background: var(--header-bg-transparent);
	border-bottom: 1px solid var(--header-accent-gold) !important;
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: none !important; /* Removes any default white inset shadow lines */
}

/* Inset Top Subtle Shifting Gradient Line */
.avm-global-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(var(--header-accent-gold-rgb), 0.4), transparent);
	opacity: 0.8;
	pointer-events: none;
}

/* Scrolled State Styles - Shift background to solid white, change border and shadow */
.avm-global-header.avm-header-scrolled {
	background: #ffffff !important;
	border-bottom: 1px solid var(--header-accent-gold) !important;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Scrolled Text Logo adjustment */
.avm-global-header.avm-header-scrolled .avm-text-logo {
	background: linear-gradient(90deg, var(--header-accent-gold), #05070c) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
}

/* Scrolled Hamburger Toggle Label & Lines adjustments */
.avm-global-header.avm-header-scrolled .avm-menu-text {
	color: #05070c !important;
}

.avm-global-header.avm-header-scrolled .avm-hamburger-line {
	background-color: #05070c !important;
}

/* Scrolled Hamburger hover state background */
.avm-global-header.avm-header-scrolled .avm-menu-toggle:hover {
	background: rgba(0, 0, 0, 0.05) !important;
}

/* Ensure active toggle state keeps white elements when highlighted on brand blue */
.avm-global-header.avm-header-scrolled .avm-menu-toggle.avm-toggle-active .avm-menu-text {
	color: #ffffff !important;
}

.avm-global-header.avm-header-scrolled .avm-menu-toggle.avm-toggle-active .avm-hamburger-line {
	background-color: #ffffff !important;
}

/* If your logo image is white and gets hidden on the white scrolled header, 
   uncomment this filter rule to automatically turn it dark/black: */
/*
.avm-global-header.avm-header-scrolled .avm-logo-wrapper img,
.admin-bar .avm-global-header.avm-header-scrolled .avm-logo-wrapper img {
	filter: brightness(0) saturate(100%) invert(10%);
}
*/

/* =========================================================================
   SCROLLED MEGA MENU PANEL ADJUSTMENTS (White dropdown theme)
   ========================================================================= */
.avm-global-header.avm-header-scrolled .avm-desktop-mega-menu {
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15), 0 0 50px rgba(0, 0, 0, 0.02) !important;
}

/* Scrolled category titles */
.avm-global-header.avm-header-scrolled .avm-mega-menu-nav > ul > li > a {
	border-bottom: 2px solid var(--header-accent-gold) !important;
}

/* Scrolled Sub-Menu Links (Dark Text) */
.avm-global-header.avm-header-scrolled .avm-mega-menu-nav > ul > li .sub-menu li a {
	color: #333333 !important;
}

/* Scrolled Sub-Menu Link Hover State */
.avm-global-header.avm-header-scrolled .avm-mega-menu-nav > ul > li .sub-menu li a:hover,
.avm-global-header.avm-header-scrolled .avm-mega-menu-nav > ul > li .sub-menu li a:focus,
.avm-global-header.avm-header-scrolled .avm-mega-menu-nav > ul > li .sub-menu li a:active,
.avm-global-header.avm-header-scrolled .avm-mega-menu-nav > ul > li .sub-menu li.current-menu-item a {
	background: rgba(0, 0, 0, 0.02) !important;
	border-left: 2px solid var(--header-accent-gold) !important;
	color: var(--header-accent-gold) !important;
	transform: translateX(6px);
}

/* Scrolled Image Section container */
.avm-global-header.avm-header-scrolled .avm-mega-menu-image-section {
	background: #f8fafc !important;
	border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Scrolled Image Section Overlay gradient */
.avm-global-header.avm-header-scrolled .avm-mega-image-overlay {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.98) 100%) !important;
}

.avm-global-header.avm-header-scrolled .avm-mega-image-overlay p {
	color: #555555 !important;
}

/* =========================================================================
   PRESERVE DARK MENU THEME WHEN OPENED (EVEN ON SCROLL)
   ========================================================================= */
.avm-global-header.avm-header-scrolled.avm-menu-open {
	background: #000000 !important;
	border-bottom: 1px solid var(--header-accent-gold) !important;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 50px rgba(var(--header-accent-gold-rgb), 0.06) !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-text-logo {
	background: linear-gradient(90deg, var(--header-accent-gold), #ffffff) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-menu-text {
	color: #ffffff !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-hamburger-line {
	background-color: #ffffff !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-menu-toggle:hover {
	background: rgba(255, 255, 255, 0.04) !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-desktop-mega-menu {
	background: #000000 !important;
	border: 1px solid rgba(var(--header-accent-gold-rgb), 0.25) !important;
	box-shadow: 0 35px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(var(--header-accent-gold-rgb), 0.06) !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-mega-menu-nav > ul > li > a {
	border-bottom: 2px solid var(--header-accent-gold) !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-mega-menu-nav > ul > li .sub-menu li a {
	color: rgba(255, 255, 255, 0.7) !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-mega-menu-nav > ul > li .sub-menu li a:hover,
.avm-global-header.avm-header-scrolled.avm-menu-open .avm-mega-menu-nav > ul > li .sub-menu li a:focus,
.avm-global-header.avm-header-scrolled.avm-menu-open .avm-mega-menu-nav > ul > li .sub-menu li a:active,
.avm-global-header.avm-header-scrolled.avm-menu-open .avm-mega-menu-nav > ul > li .sub-menu li.current-menu-item a {
	background: rgba(255, 255, 255, 0.02) !important;
	border-left: 2px solid var(--header-accent-gold) !important;
	color: var(--header-accent-gold) !important;
	transform: translateX(6px);
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-mega-menu-image-section {
	background: #080b11 !important;
	border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-mega-image-overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 30%, rgba(5, 7, 12, 0.95) 100%) !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-mega-image-overlay p {
	color: rgba(255, 255, 255, 0.65) !important;
}

.avm-header-container {
	max-width: 1700px; /* Extremely wide stretching */
	margin: 0 auto;
	padding: 40px 80px; /* Large luxury breathing room */
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: padding 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	z-index: 10;
}

/* Shrink header container on scroll */
.avm-global-header.avm-header-scrolled .avm-header-container {
	padding: 16px 80px;
}

/* 3-Column Layout */
.avm-header-left {
	flex: 1 1 33.33%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.avm-header-center {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.avm-header-right {
	flex: 1 1 33.33%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

/* =========================================================================
   LEFT SIDE: Navigation Toggle (Unified for Desktop and Mobile)
   ========================================================================= */

.avm-menu-toggle {
	display: flex;
	align-items: center;
	gap: 14px;
	background: transparent !important;
	border: none !important;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 99px;
	transition: all 0.3s ease;
	outline: none !important;
	box-shadow: none !important;
}

.avm-menu-toggle:hover {
	background: rgba(255, 255, 255, 0.04) !important;
}

.avm-menu-toggle:focus,
.avm-menu-toggle:active,
.avm-menu-toggle:focus:active {
	background: transparent !important;
	outline: none !important;
	box-shadow: none !important;
}

.avm-hamburger-lines {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 14px;
}

.avm-hamburger-line {
	width: 100%;
	height: 2.2px;
	background-color: #ffffff;
	border-radius: 99px;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Label text next to hamburger toggle */
.avm-menu-text {
	font-family: var(--header-font-family);
	font-size: 13px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: 2px;
	text-transform: uppercase;
	transition: color 0.3s ease;
}

.avm-menu-toggle:hover .avm-menu-text {
	color: var(--header-accent-gold);
}

/* Morph hamburger lines when menu drawer/panel active */
.avm-menu-toggle.avm-toggle-active .line-1 {
	transform: translateY(6px) rotate(45deg);
	background-color: var(--header-accent-gold);
}

.avm-menu-toggle.avm-toggle-active .line-2 {
	opacity: 0;
	transform: translateX(-10px);
}

.avm-menu-toggle.avm-toggle-active .line-3 {
	transform: translateY(-6px) rotate(-45deg);
	background-color: var(--header-accent-gold);
}

/* Active State Background - Set to Solid Black */
.avm-menu-toggle.avm-toggle-active,
.avm-menu-toggle.avm-toggle-active:focus,
.avm-menu-toggle.avm-toggle-active:active {
	background: #000000 !important;
	color: #ffffff !important;
	outline: none !important;
	box-shadow: none !important;
}	

/* =========================================================================
   CENTER: Logo Styling - Enlarged & Perfectly Balanced
   ========================================================================= */
.avm-logo-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
}

.avm-logo-link {
	display: block !important;
	width: 280px !important;
	height: 44px !important;
	overflow: hidden !important;
	position: relative !important;
	transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.avm-global-header.avm-header-scrolled .avm-logo-link {
	width: 220px !important;
	height: 34px !important;
}

.avm-logo-wrapper img,
.avm-logo-wrapper .custom-logo {
	width: 280px !important;
	height: 280px !important;
	max-height: none !important;
	margin-top: -115px !important;
	margin-bottom: -121px !important;
	transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled state smaller adjustments */
.avm-global-header.avm-header-scrolled .avm-logo-wrapper img,
.avm-global-header.avm-header-scrolled .avm-logo-wrapper .custom-logo {
	width: 220px !important;
	height: 220px !important;
	max-height: none !important;
	margin-top: -91px !important;
	margin-bottom: -95px !important;
}

/* Logo Toggling (Solid vs Color) based on scrolled/open states */
.avm-logo-color {
	display: none !important;
}

.avm-logo-solid {
	display: block !important;
}

/* When scrolled down and background is white, show colored logo */
.avm-global-header.avm-header-scrolled .avm-logo-color {
	display: block !important;
}

.avm-global-header.avm-header-scrolled .avm-logo-solid {
	display: none !important;
}

/* But when menu is open, background returns to black: preserve solid logo visibility */
.avm-global-header.avm-header-scrolled.avm-menu-open .avm-logo-color {
	display: none !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-logo-solid {
	display: block !important;
}

.avm-text-logo {
	font-family: var(--header-font-family);
	font-size: 28px;
	font-weight: 900;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #ffffff;
	text-decoration: none;
	background: linear-gradient(90deg, var(--header-accent-gold), #ffffff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: letter-spacing 0.5s ease;
}

.avm-text-logo:hover {
	letter-spacing: 4px;
}

/* =========================================================================
   RIGHT SIDE: WhatsApp CTA Button
   ========================================================================= */
.avm-header-wa-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--header-accent-green);
	color: #ffffff !important;
	padding: 12px 24px;
	border-radius: 99px;
	font-family: var(--header-font-family);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
	position: relative;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.avm-header-wa-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.avm-wa-icon {
	width: 18px !important;
	height: 18px !important;
	fill: currentColor;
	display: inline-block;
}

.avm-header-wa-btn::after {
	content: '';
	position: absolute;
	inset: -5px;
	border-radius: 99px;
	border: 1.5px solid var(--header-accent-green);
	opacity: 0.6;
	animation: avmWaPulse 2s infinite;
}

@keyframes avmWaPulse {
	0% {
		transform: scale(1);
		opacity: 0.6;
	}
	100% {
		transform: scale(1.15);
		opacity: 0;
	}
}

/* =========================================================================
   DESKTOP DROPDOWN MEGA MENU PANEL - Modern Half Screen Layout
   ========================================================================= */
.avm-desktop-mega-menu {
	position: absolute;
	top: 100%;
	left: 80px; /* Aligned left, starting right below the menu toggle */
	width: 1280px; /* Shorter and smaller panel width */
	max-width: calc(100vw - 160px); /* Prevents leaking off the viewport */
	background: var(--header-bg-solid);
	border: 1px solid rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(35px);
	-webkit-backdrop-filter: blur(35px);
	z-index: 5;
	border-radius: 16px;
	
	/* Sliding/Fade Transitions */
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	visibility: hidden;
	transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
	            opacity 0.4s ease,
	            border-color 0.4s ease,
	            visibility 0.5s;
	
	box-shadow: 0 35px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(var(--header-accent-gold-rgb), 0.06);
}

/* Active State for Dropping Down */
.avm-desktop-mega-menu.avm-mega-active {
	max-height: 550px;
	opacity: 1;
	visibility: visible;
	border: 1px solid rgba(var(--header-accent-gold-rgb), 0.25);
}

.avm-mega-menu-wrapper {
	padding: 24px; /* Shorter padding */
	display: flex;
	gap: 24px; /* Shorter gap */
	align-items: stretch;
}

/* Left Side: Navigation */
.avm-mega-menu-nav {
	flex: 1;
}

.avm-mega-menu-nav > ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr) 500px; /* Two columns for simple links, third column for Operations */
	gap: 16px 24px;
	animation: avmNavGridSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes avmNavGridSlide {
	from {
		opacity: 0;
		transform: translateY(15px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Columns / Top-Level list items */
.avm-mega-menu-nav > ul > li {
	flex: 1 1 180px; /* Shorter minimum column layout */
	display: flex;
	flex-direction: column;
}

/* Column Header Categories */
.avm-mega-menu-nav > ul > li > a {
	font-family: var(--header-font-family);
	font-size: 13px;
	font-weight: 800;
	color: var(--header-accent-gold) !important;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
	padding-bottom: 6px;
	border-bottom: 1.5px solid var(--header-accent-gold) !important;
	display: block;
}

.avm-mega-menu-nav > ul > li > a:hover,
.avm-mega-menu-nav > ul > li > a:focus,
.avm-mega-menu-nav > ul > li > a:active {
	background: transparent !important;
	color: var(--header-accent-gold) !important;
	outline: none !important;
}

/* Dropdown list links */
.avm-mega-menu-nav > ul > li .sub-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px; /* Refined tighter spacing */
}

.avm-mega-menu-nav > ul > li .sub-menu li a {
	font-family: 'Inter', sans-serif;
	font-size: 12.5px; /* Shorter size */
	font-weight: 500;
	color: rgba(255, 255, 255, 0.65) !important;
	text-decoration: none;
	text-transform: capitalize;
	display: flex;
	align-items: center;
	padding: 5px 10px;
	border-left: 1.5px solid transparent !important;
	border-radius: 0 6px 6px 0;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	background: transparent !important;
}

/* Dynamic Left Gold Bar Hover Highlight */
.avm-mega-menu-nav > ul > li .sub-menu li a:hover,
.avm-mega-menu-nav > ul > li .sub-menu li a:focus,
.avm-mega-menu-nav > ul > li .sub-menu li a:active,
.avm-mega-menu-nav > ul > li .sub-menu li.current-menu-item a {
	background: rgba(255, 255, 255, 0.02) !important; /* Soft card-background highlight */
	border-left: 1.5px solid var(--header-accent-gold) !important; /* Dynamic Gold bar indicator */
	color: var(--header-accent-gold) !important; /* Luxury gold text swap */
	transform: translateX(3px); /* Snappy alignment shifting */
	outline: none !important;
	box-shadow: none !important;
}

/* =========================================================================
   RIGHT SIDE: Dynamic Hover Image Preview Section
   ========================================================================= */
.avm-mega-menu-image-section {
	flex: 0 0 320px; /* Shorter preview image panel */
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.05);
	background: #080b11;
	display: flex;
	align-items: center;
	justify-content: center;
}

.avm-mega-menu-image-section img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.8;
	transform: scale(1);
	transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.avm-mega-menu-image-section.avm-image-fading img {
	opacity: 0.05;
	transform: scale(0.98);
}

.avm-mega-image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 30%, rgba(5, 7, 12, 0.95) 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 16px;
	z-index: 2;
}

.avm-mega-image-overlay h4 {
	font-family: var(--header-font-family);
	font-size: 13.5px;
	font-weight: 800;
	color: var(--header-accent-gold);
	margin: 0 0 6px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	transition: opacity 0.3s ease;
}

.avm-mega-image-overlay p {
	font-family: 'Inter', sans-serif;
	font-size: 11.5px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.65);
	margin: 0;
	transition: opacity 0.3s ease;
}

/* =========================================================================
   MOBILE / DRAWER NAVIGATION - Tinted Obsidian
   ========================================================================= */
.avm-mobile-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 99999999 !important; /* Higher than the site header z-index */
	pointer-events: none;
	visibility: hidden;
	transition: visibility 0.4s ease;
}

.avm-mobile-drawer.avm-drawer-active {
	pointer-events: auto;
	visibility: visible;
}

.avm-drawer-overlay {
	position: absolute;
	inset: 0;
	background: rgba(4, 6, 10, 0.88);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.avm-mobile-drawer.avm-drawer-active .avm-drawer-overlay {
	opacity: 1;
}

.avm-drawer-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 85%;
	max-width: 360px;
	height: 100%;
	background: linear-gradient(135deg, rgba(8, 11, 17, 0.99) 0%, rgba(13, 18, 29, 0.99) 100%); /* Obsidian black drawer */
	border-right: 1px solid rgba(var(--header-accent-gold-rgb), 0.2);
	padding: 50px 35px;
	display: flex;
	flex-direction: column;
	transform: translateX(-100%);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.avm-mobile-drawer.avm-drawer-active .avm-drawer-content {
	transform: translateX(0);
}

.avm-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 40px;
}

.avm-drawer-title {
	font-family: var(--header-font-family);
	font-size: 19px;
	font-weight: 800;
	color: var(--header-accent-gold);
	letter-spacing: 2px;
	text-transform: uppercase;
}

.avm-drawer-close {
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	outline: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Explicit size locking for the mobile close icon */
.avm-close-icon {
	width: 16px !important;
	height: 16px !important;
	fill: currentColor;
	display: inline-block;
}

.avm-drawer-close:hover {
	color: #ffffff;
}

/* Mobile Drawer Body & Nav Scrollability */
.avm-drawer-body {
	flex-grow: 1;
	overflow-y: auto;
	min-height: 0; /* Allows flex child to shrink below content size */
	margin-bottom: 20px;
	-webkit-overflow-scrolling: touch; /* Momentum scrolling on iOS */
}

/* Premium micro-scrollbar */
.avm-drawer-body::-webkit-scrollbar {
	width: 4px;
}
.avm-drawer-body::-webkit-scrollbar-track {
	background: transparent;
}
.avm-drawer-body::-webkit-scrollbar-thumb {
	background: rgba(208, 166, 66, 0.25);
	border-radius: 99px;
}

.avm-drawer-nav {
	width: 100%;
}

.avm-drawer-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.avm-drawer-nav ul li {
	list-style: none !important;
	display: block;
	width: 100%;
}

.avm-drawer-nav ul li a {
	font-family: var(--header-font-family);
	font-size: 17px;
	font-weight: 700;
	color: #ffffff !important;
	text-decoration: none;
	display: block;
	padding: 10px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: 8px;
	transition: all 0.3s ease;
	background: transparent !important;
}

/* Dynamic menu row containing main link and toggle button */
.avm-mobile-menu-item-row,
.avm-mobile-cat-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: 8px;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
}

.avm-mobile-menu-item-row a,
.avm-mobile-cat-row a {
	border-bottom: none !important;
	flex-grow: 1;
	padding: 10px 14px;
}

.avm-mobile-menu-item-row:hover,
.avm-mobile-cat-row:hover {
	background: rgba(83, 120, 137, 0.12) !important;
}

/* Mobile sub-menu toggles */
.avm-mobile-submenu-toggle {
	background: transparent !important;
	border: none !important;
	color: rgba(255, 255, 255, 0.5) !important;
	cursor: pointer;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease, transform 0.3s ease;
	outline: none !important;
	box-shadow: none !important;
}

.avm-mobile-submenu-toggle:hover {
	color: var(--header-accent-gold) !important;
}

.avm-mobile-submenu-toggle svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.avm-mobile-submenu-toggle.avm-active svg {
	transform: rotate(180deg);
	color: var(--header-accent-gold) !important;
}

/* Level 1 Submenu (Category Level) */
.avm-mobile-submenu-level-1 {
	padding-left: 12px !important;
	margin-top: 6px !important;
	margin-bottom: 6px !important;
	gap: 8px !important;
	border-left: 1px solid rgba(208, 166, 66, 0.2);
	list-style: none !important;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.4s;
	will-change: max-height;
}

/* Category item inside the list */
.avm-mobile-cat-item {
	list-style: none !important;
	display: block;
	width: 100%;
}

.avm-mobile-cat-row a {
	font-family: var(--header-font-family) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: rgba(255, 255, 255, 0.85) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.8px !important;
}

/* Level 2 Submenu (Operations Level) */
.avm-mobile-submenu-level-2 {
	padding-left: 16px !important;
	margin-top: 6px !important;
	margin-bottom: 6px !important;
	gap: 6px !important;
	border-left: 1px solid rgba(255, 255, 255, 0.05);
	list-style: none !important;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.4s;
	will-change: max-height;
}

.avm-mobile-submenu-level-2 li a {
	font-family: 'Inter', sans-serif;
	font-size: 13.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.6) !important;
	border: none !important;
	padding: 6px 14px !important;
	border-radius: 6px;
	display: block;
	transition: all 0.25s ease;
}

.avm-mobile-submenu-level-2 li a:hover,
.avm-mobile-submenu-level-2 li a:focus,
.avm-mobile-submenu-level-2 li a:active {
	color: var(--header-accent-gold) !important;
	background: rgba(255, 255, 255, 0.02) !important;
	padding-left: 18px !important;
}

/* See all category links */
.avm-mobile-see-all-li {
	margin-top: 4px;
	list-style: none !important;
}

.avm-mobile-see-all-link {
	color: var(--header-accent-gold) !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 12px !important;
	border: 1px dashed rgba(208, 166, 66, 0.2) !important;
	background: rgba(208, 166, 66, 0.02) !important;
	border-radius: 6px;
}

.avm-mobile-see-all-link:hover {
	background: rgba(208, 166, 66, 0.08) !important;
	border-color: var(--header-accent-gold) !important;
}

/* Branded Light Blue #537889 background behind menu text on hover/active/focus on mobile too */
.avm-drawer-nav ul li a:hover,
.avm-drawer-nav ul li a:focus,
.avm-drawer-nav ul li a:active,
.avm-drawer-nav ul li.current-menu-item > a {
	color: #ffffff !important;
	background: rgba(83, 120, 137, 0.15) !important; /* Branded light blue logo highlight */
	padding-left: 20px;
	outline: none !important;
}

.avm-drawer-footer {
	margin-top: auto;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Explicit size overrides for drawer WhatsApp SVG to prevent giant icon rendering */
.avm-drawer-wa-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 20px;
	background: var(--header-accent-green);
	color: #151515 !important;
	text-decoration: none;
	font-family: var(--header-font-family);
	font-size: 14.5px;
	font-weight: 800;
	border-radius: 99px;
	box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
	transition: transform 0.3s ease;
}

.avm-drawer-wa-btn .avm-wa-icon {
	width: 20px !important;
	height: 20px !important;
	fill: currentColor;
	display: inline-block;
}

.avm-drawer-wa-btn:hover {
	transform: translateY(-2px);
}

/* =========================================================================
   DESKTOP OPERATIONS CUSTOM TABBED SUB-MENU SYSTEM
   ========================================================================= */
.avm-desktop-ops-parent {
	grid-column: 3 !important; /* Force Operations to occupy the third column */
	grid-row: 1 / span 4 !important; /* Span multiple rows to balance the layout */
	min-width: 500px !important;
}

.avm-desktop-ops-wrapper {
	display: flex;
	gap: 16px;
	margin-top: 12px;
	border: none !important;
	background: transparent !important;
	padding: 0 !important;
	min-height: 220px;
	box-shadow: none !important;
}

/* Scrolled Header Style adjustments (white bg) */
.avm-global-header.avm-header-scrolled .avm-desktop-ops-wrapper {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-desktop-ops-wrapper {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Categories List (Left Side) */
.avm-desktop-ops-cats {
	flex: 0 0 150px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-right: none !important; /* Remove separator line for seamless look */
	padding-right: 0 !important;
}

.avm-global-header.avm-header-scrolled .avm-desktop-ops-cats {
	border-right: none !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-desktop-ops-cats {
	border-right: none !important;
}

.avm-desktop-ops-cat-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: transparent !important;
	border: none !important;
	border-left: 1.5px solid transparent !important; /* Match standard sublink left highlight */
	color: rgba(255, 255, 255, 0.6) !important;
	padding: 5px 10px !important;
	font-family: var(--header-font-family);
	font-size: 12.5px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	border-radius: 0 6px 6px 0; /* Match standard sublink shape */
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	outline: none !important;
	box-shadow: none !important;
}

.avm-desktop-ops-cat-item:hover,
.avm-desktop-ops-cat-item.avm-active {
	background: rgba(255, 255, 255, 0.02) !important;
	border-left: 1.5px solid var(--header-accent-gold) !important;
	color: var(--header-accent-gold) !important;
	transform: translateX(3px); /* Match standard sublink hover shift */
}

.avm-global-header.avm-header-scrolled .avm-desktop-ops-cat-item {
	color: #555555 !important;
}

.avm-global-header.avm-header-scrolled .avm-desktop-ops-cat-item:hover,
.avm-global-header.avm-header-scrolled .avm-desktop-ops-cat-item.avm-active {
	background: rgba(0, 0, 0, 0.02) !important;
	border-left: 1.5px solid var(--header-accent-gold) !important;
	color: var(--header-accent-gold) !important;
	transform: translateX(3px);
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-desktop-ops-cat-item {
	color: rgba(255, 255, 255, 0.6) !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-desktop-ops-cat-item:hover,
.avm-global-header.avm-header-scrolled.avm-menu-open .avm-desktop-ops-cat-item.avm-active {
	background: rgba(255, 255, 255, 0.02) !important;
	border-left: 1.5px solid var(--header-accent-gold) !important;
	color: var(--header-accent-gold) !important;
	transform: translateX(3px);
}

.avm-cat-chevron {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	opacity: 0.4;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.avm-desktop-ops-cat-item.avm-active .avm-cat-chevron {
	opacity: 1;
	transform: translateX(4px);
}

/* Panels (Right Side) */
.avm-desktop-ops-panels {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
}

.avm-desktop-ops-panel {
	display: none;
	flex-direction: column;
	height: 100%;
	justify-content: space-between;
}

.avm-desktop-ops-panel.avm-active {
	display: flex;
	animation: avmPanelFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes avmPanelFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Sub-links Grid */
.avm-desktop-ops-links-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 8px;
	margin-bottom: 12px;
}

.avm-desktop-ops-links-grid a {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7) !important;
	text-decoration: none;
	padding: 4px 8px !important;
	border-left: 1.5px solid transparent !important;
	border-radius: 0 6px 6px 0;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
	background: transparent !important;
	display: block;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.avm-desktop-ops-links-grid a:hover,
.avm-desktop-ops-links-grid a.current-menu-item {
	background: rgba(255, 255, 255, 0.02) !important;
	border-left: 1.5px solid var(--header-accent-gold) !important;
	color: var(--header-accent-gold) !important;
	transform: translateX(3px);
}

.avm-global-header.avm-header-scrolled .avm-desktop-ops-links-grid a {
	color: #555555 !important;
}

.avm-global-header.avm-header-scrolled .avm-desktop-ops-links-grid a:hover {
	background: rgba(0, 0, 0, 0.02) !important;
	border-left: 2px solid var(--header-accent-gold) !important;
	color: var(--header-accent-gold) !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-desktop-ops-links-grid a {
	color: rgba(255, 255, 255, 0.7) !important;
}

.avm-global-header.avm-header-scrolled.avm-menu-open .avm-desktop-ops-links-grid a:hover {
	background: rgba(255, 255, 255, 0.02) !important;
	border-left: 2px solid var(--header-accent-gold) !important;
	color: var(--header-accent-gold) !important;
}

/* Category See All CTA Link */
.avm-desktop-see-all {
	align-self: flex-start;
	font-family: var(--header-font-family);
	font-size: 9.5px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--header-accent-gold) !important;
	text-decoration: none;
	letter-spacing: 0.8px;
	padding: 4px 8px !important;
	border: 1px dashed rgba(208, 166, 66, 0.3) !important;
	border-radius: 6px;
	background: rgba(208, 166, 66, 0.02) !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
	margin-top: auto;
}

.avm-desktop-see-all:hover {
	background: rgba(208, 166, 66, 0.1) !important;
	border-color: var(--header-accent-gold) !important;
	transform: translateX(4px);
}

/* Responsive Scaling for Operations Columns */
@media (max-width: 1200px) and (min-width: 1025px) {
	.avm-mega-menu-nav > ul {
		grid-template-columns: repeat(2, 1fr) 400px;
	}
	.avm-desktop-ops-parent {
		grid-column: 3 !important;
		grid-row: 1 / span 4 !important;
		min-width: 400px !important;
	}
	.avm-desktop-ops-cats {
		flex: 0 0 130px;
		gap: 4px;
	}
	.avm-desktop-ops-cat-item {
		padding: 5px 8px !important;
		font-size: 11.5px;
	}
	.avm-desktop-ops-links-grid {
		gap: 4px 6px;
	}
	.avm-desktop-ops-links-grid a {
		font-size: 11px;
		padding: 4px 6px !important;
	}
}

/* =========================================================================
   RESPONSIVE TABLET & MOBILE VIEWPORT OPTIMIZATIONS
   ========================================================================= */

/* Desktop & Large Screen (Width above 1024px) */
@media (min-width: 1025px) {
	.avm-mobile-drawer {
		display: none !important; /* Hide mobile drawer on large desktops */
	}
}

/* Tablet (Width between 768px and 1200px) */
@media (max-width: 1200px) {
	.avm-header-container {
		padding: 30px 40px; /* Spacious tablet breathing room */
	}

	.avm-desktop-mega-menu {
		width: 920px;
		max-width: calc(100vw - 80px);
		left: 40px;
	}

	.avm-mega-menu-wrapper {
		gap: 30px;
		padding: 30px;
	}

	.avm-mega-menu-image-section {
		flex: 0 0 300px;
	}
}

@media (max-width: 1024px) {
	.avm-desktop-mega-menu {
		display: none !important; /* Hide desktop mega menu, use mobile slide-drawer instead */
	}

	.avm-header-container {
		padding: 24px 40px;
	}

	.avm-global-header.avm-header-scrolled .avm-header-container {
		padding: 14px 40px;
	}

	.avm-logo-link {
		width: 229px !important;
		height: 36px !important;
	}

	.avm-global-header.avm-header-scrolled .avm-logo-link {
		width: 178px !important;
		height: 28px !important;
	}

	.avm-logo-wrapper img,
	.avm-logo-wrapper .custom-logo {
		width: 229px !important;
		height: 229px !important;
		max-height: none !important;
		margin-top: -94px !important;
		margin-bottom: -99px !important;
	}

	.avm-global-header.avm-header-scrolled .avm-logo-wrapper img,
	.avm-global-header.avm-header-scrolled .avm-logo-wrapper .custom-logo {
		width: 178px !important;
		height: 178px !important;
		max-height: none !important;
		margin-top: -73px !important;
		margin-bottom: -77px !important;
	}
}

/* Mobile Viewports (768px and down) */
@media (max-width: 768px) {
	.avm-header-container {
		padding: 18px 24px;
	}

	.avm-global-header.avm-header-scrolled .avm-header-container {
		padding: 12px 24px;
	}

	.avm-logo-link {
		width: 152px !important;
		height: 23px !important;
	}

	.avm-global-header.avm-header-scrolled .avm-logo-link {
		width: 127px !important;
		height: 20px !important;
	}

	.avm-logo-wrapper img,
	.avm-logo-wrapper .custom-logo {
		width: 152px !important;
		height: 152px !important;
		max-height: none !important;
		margin-top: -63px !important;
		margin-bottom: -66px !important;
	}

	.avm-global-header.avm-header-scrolled .avm-logo-wrapper img,
	.avm-global-header.avm-header-scrolled .avm-logo-wrapper .custom-logo {
		width: 127px !important;
		height: 127px !important;
		max-height: none !important;
		margin-top: -52px !important;
		margin-bottom: -55px !important;
	}

	.avm-menu-text {
		display: none; /* Hide Menu label text on small mobile screens to save space */
	}

	.avm-menu-toggle {
		padding: 8px;
	}

	/* Collapse text inside WhatsApp button into a high-end compact circle icon */
	.avm-header-wa-btn span {
		display: none;
	}

	.avm-header-wa-btn {
		padding: 12px;
		border-radius: 50%;
	}
	
	.avm-header-wa-btn::after {
		border-radius: 50%;
		inset: -4px;
	}
}
