.services-nav {
	display: none!important;
}

.about-mega-menu-container {
	display: none;
}

.nav-search {
	margin-top: 13px;
}

@media screen and (max-width: 1659px) {
	.nav-search {
		margin-top: 10px;
	}
}

/* Container */
.services-mega-menu-container {
	position: fixed;
	left: 0;
	right: 0;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 9999;
	max-width: 100%;
	margin: 0;
}

.main-nav-top ~ * .services-mega-menu-container,
body .services-mega-menu-container {
	top: auto;
	margin-top: 6px;
}

@media screen and (max-width: 1659px) {
	.main-nav-top ~ * .services-mega-menu-container,
	body .services-mega-menu-container {
		margin-top: 5px;
	}
}

@media screen and (max-width: 1023px) {
	.main-nav-top ~ * .services-mega-menu-container,
	body .services-mega-menu-container {
		margin-top: 1px;
	}
}

.services-mega-menu-container {
	top: 0;
}

.services-mega-menu-container.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.mega-menu-inner {
	display: flex;
}

/* Left side */
.mega-menu-left {
	width: 35%;
	background-color: #D9D9D9;
	padding: 30px 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start; 
}

@media screen and (max-width: 1439px) {
	.mega-menu-left {
		padding: 30px 30px;
	}
}

@media screen and (max-width: 1023px) {
	.mega-menu-left {
		padding: 30px 20px;
	}
}

.mega-menu-parents {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	width: 100%;
}

.mega-menu-parent-item {
	position: relative;
	display: block;
	width: auto;
	clear: both;
}

.mega-menu-parent-item a {
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 15px 30px;
	color: #333;
	text-decoration: none;
	font-family: 'Rockwell', monospace;
	font-weight: 500;
	text-align: right;
	transition: color 0.2s ease;
	width: auto;
	box-sizing: border-box;
	overflow: hidden;
}

.mega-menu-parent-item a::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #D2DE26;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s ease;
	z-index: -1;
}

.mega-menu-parent-item:hover a::before,
.mega-menu-parent-item.active a::before {
	transform: scaleX(1);
}

.mega-menu-parent-item a span {
	display: inline-block;
}

.mega-menu-parent-item:hover a,
.mega-menu-parent-item.active a {
	color: #000;
}

/* Right side */
.mega-menu-right {
	width: 65%;
	background-color: #C5C5C5;
	padding: 30px 40px;
	position: relative;
	display: flex;
	flex-direction: column;
}

.mega-menu-children {
	list-style: none;
	margin: 0;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 30px;
	left: 40px;
	right: 40px;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	display: flex;
	flex-direction: column;
}

.mega-menu-children.active {
	opacity: 1;
	visibility: visible;
	position: relative;
	top: 0;
	left: 0;
	right: 0;
}

.mega-menu-children li {
	position: relative;
	margin-bottom: 12px;
	text-align: left;
}

.mega-menu-children li a {
	position: relative;
	z-index: 1;
	color: #333;
	text-decoration: none;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px!important;
	transition: color 0.2s ease;
	display: inline-block!important;
	width: auto;
}

.mega-menu-children li a::before {
	content: '';
	position: absolute;
	top: -2px;
	bottom: -2px;
	right: -8px;
	left: auto;
	width: 0;
	background-color: #D2DE26;
	transition: width 0.3s ease;
	z-index: -1;
}

.mega-menu-children li a:hover::before {
	width: calc(100% + 16px);
}

.mega-menu-children li a::after,
.mega-menu-children li::after,
.mega-menu-children li::before {
	content: none !important;
}

.mega-menu-children li a:hover {
	color: #000;
}

.mega-menu-children .no-children {
	color: #666;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-style: italic;
}

.services-mega-menu {
	position: relative;
}

.services-mega-menu .sub-menu,
.services-mega-menu .dropdown-toggle {
	display: none !important;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 767px) {
	.services-mega-menu-container {
		position: relative;
		max-width: 100%;
		box-shadow: none;
		background: transparent !important;
		display: block;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.35s ease;
	}

	.mega-menu-inner {
		flex-direction: column;
		min-height: auto;
	}

	.mega-menu-left,
	.mega-menu-right {
		width: 100%;
		padding: 0;
		background-color: transparent !important;
	}

	.mega-menu-right {
		display: none;
	}

	.mega-menu-parents {
		align-items: stretch;
		margin-bottom: 8px !important;
		padding: 10px 0 !important;
		background-color: #D9D9D9;
	}

	.mega-menu-parent-item {
		width: 100%;
	}

	.mega-menu-parent-item > a {
		position: relative;
		width: 100%;
		display: block;
		text-align: center;
		padding: 5px 34px !important;
		font-size: 15px;
	}

	.mega-menu-parent-item > a::before {
		transition: none;
	}

	.mega-menu-parent-item > a::after {
		content: '' !important;
		position: absolute !important;
		right: 16px !important;
		top: 50% !important;
		width: 8px !important;
		height: 8px !important;
		border-right: 2px solid #2E2E2E !important;
		border-bottom: 2px solid #2E2E2E !important;
		background: none !important;
		transform: translateY(-65%) rotate(45deg) !important;
		transform-origin: center !important;
		transition: transform 0.3s ease !important;
	}

	.mega-menu-parent-item.active > a::after {
		transform: translateY(-35%) rotate(-135deg) !important;
	}

	.mega-menu-children {
		display: block !important;
		position: static;
		max-height: 0;
		padding-top: 0;
		overflow: hidden;
		opacity: 1;
		visibility: visible;
		text-align: center;
		transition: max-height 0.35s ease, padding-top 0.35s ease;
	}

	.mega-menu-children.active {
		padding-top: 0;
	}

	.mega-menu-children li {
		display: block;
		width: 100%;
		margin: 0 0 10px 0 !important;
		padding: 0 !important;
		text-align: center;
	}

	.mega-menu-children li a {
		display: block !important;
		width: 100%;
		text-align: center !important;
		font-size: 13px;
		padding: 6px 0 !important;
		margin: 0 !important;
		line-height: 1.2 !important;
	}

	.mega-menu-children li a::before {
		transition: none;
	}

	/* About Us mobile-only dropdown (flat list) — styled to match the
	   Services mega-menu-parent-item panel exactly: light grey background,
	   dark Rockwell text, sliding yellow hover-fill. No chevron per item
	   since there's nothing nested underneath. */
	.about-mega-menu-container {
		display: block;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.35s ease;
	}

	.about-mega-menu-children {
		list-style: none;
		margin: 0 0 8px 0 !important;
		padding: 10px 0 !important;
		box-sizing: border-box;
		background-color: #D9D9D9;
		text-align: center;
	}

	.about-mega-menu-children li {
		margin: 0 !important;
		padding: 0 !important;
		position: relative;
	}

	.about-mega-menu-children li a {
		position: relative;
		z-index: 1;
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 5px 34px !important;
		color: #333;
		text-decoration: none;
		font-family: 'Rockwell', monospace;
		font-weight: 500;
		font-size: 15px;
		text-align: center;
		overflow: hidden;
		transition: color 0.2s ease;
	}

	.about-mega-menu-children li a::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: #D2DE26;
		transform: scaleX(0);
		transform-origin: center;
		transition: none;
		z-index: -1;
	}

	.about-mega-menu-children li a:hover::before {
		transform: scaleX(1);

	}

	.about-mega-menu-children li a:hover {
		color: #000;
	}
}