/* ==================================================
   Horizon Gate — Services Mega Menu
   ================================================== */

.header-menu ul li.has-mega-menu {
	position: static;
}

.header-menu .mega_menu {
	position: absolute;
	left: 0;
	right: 0;
	top: 115%;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(6, 50, 50, 0.15);
	border-top: 3px solid #0c6e6d;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all 0.35s ease;
	z-index: 999;
	overflow: hidden;
}

.header-menu ul li.has-mega-menu:hover > .mega_menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	top: 100%;
}

.mega_menu_inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.mega_menu_col {
	padding: 28px 22px;
	border-right: 1px solid #eef3f3;
}

.mega_menu_col:last-child {
	border-right: none;
}

.mega_menu_heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e8f0f0;
}

.mega_menu_heading h5 {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #063232;
	letter-spacing: 0.2px;
}

.mega_icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: rgba(12, 110, 109, 0.1);
	color: #0c6e6d;
	font-size: 16px;
	flex-shrink: 0;
}

.mega_menu_col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: block !important;
}

.mega_menu_col ul li {
	display: block !important;
	margin: 0 !important;
	position: relative;
}

.mega_menu_col ul li a {
	display: flex !important;
	align-items: center;
	gap: 8px;
	padding: 9px 8px !important;
	margin: 0 !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #3a5555 !important;
	line-height: 1.35 !important;
	border-radius: 6px;
	transition: all 0.2s ease;
	background: transparent !important;
}

.mega_menu_col ul li a i {
	font-size: 12px;
	color: #0c6e6d;
	opacity: 0.7;
	transition: all 0.2s ease;
}

.mega_menu_col ul li a:hover {
	color: #0c6e6d !important;
	background: rgba(12, 110, 109, 0.08) !important;
	padding-left: 12px !important;
}

.mega_menu_col ul li a:hover i {
	opacity: 1;
	transform: translateX(2px);
}

/* CTA column */
.mega_menu_col.mega_menu_cta {
	background: linear-gradient(165deg, #f4fafa 0%, #e8f4f4 100%);
	padding: 24px 20px;
}

.mega_cta_box .mega_icon {
	margin-bottom: 10px;
}

.mega_cta_box h5 {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: #063232;
}

.mega_cta_box ul {
	margin-bottom: 18px;
}

.mega_cta_btn {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 11px 18px !important;
	background: #0c6e6d !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.25s ease;
	width: 100%;
	justify-content: center;
}

.mega_cta_btn:hover {
	background: #063232 !important;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(12, 110, 109, 0.3);
}

/* Sticky header adjustments */
.sticky .header-menu .mega_menu {
	max-width: 1140px;
}

.sticky .mega_menu_col ul li a {
	padding: 9px 8px !important;
}

/* Ensure header container allows overflow for mega menu */
.consalt-header-area.style_five .container,
.consalt-header-area.style_two .container {
	position: relative;
}

.consalt-header-area .row.style_bg {
	position: relative;
}

/* Hide mega on mobile — meanmenu uses sub_menu */
@media (max-width: 991px) {
	.header-menu .mega_menu {
		display: none !important;
	}
}

/* Header call + quote — same row / same height */
.consalt_header-right.style_two {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
	vertical-align: middle;
}

.header-call,
.header-button {
	display: inline-flex;
	align-items: center;
	margin: 0;
	line-height: 1;
}

.header-call a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #0c6e6d;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	padding: 0;
	position: relative;
}

.header-call a i {
	font-size: 15px;
	color: #0c6e6d;
	line-height: 1;
}

.header-call a span {
	line-height: 1;
	white-space: nowrap;
}

.header-call a:hover,
.header-call a:hover i {
	color: #063232;
}

.consalt_header-right.style_two .header-button a {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	line-height: 1;
	padding: 0 !important;
}

.sticky .header-call a,
.sticky .header-call a i {
	color: #0c6e6d;
}

/* ==================================================
   Mobile Menu — Horizon Gate branding
   ================================================== */
.mobile-menu-area {
	background: #ffffff !important;
	box-shadow: 0 2px 14px rgba(6, 50, 50, 0.1);
}

.mobile-menu.mean-container,
.mobile-menu {
	position: relative;
}

.mobile-mean-top {
	position: absolute;
	left: 10px;
	right: 58px;
	top: 0;
	height: 78px;
	z-index: 1001;
	display: flex;
	align-items: center;
	gap: 12px;
	pointer-events: none;
}

.mobile-mean-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 1;
	pointer-events: auto;
}

.mobile-mean-logo img {
	height: 64px;
	width: auto;
	max-width: 150px;
	object-fit: contain;
	display: block;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}

.mobile-mean-contact {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	flex: 1;
	pointer-events: auto;
	padding-left: 4px;
	border-left: 1px solid #e0ecec;
	margin-left: 2px;
	padding-left: 12px;
}

.mobile-mean-contact a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #063232;
	text-decoration: none;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.mobile-mean-contact a i {
	color: #0c6e6d;
	font-size: 12px;
	width: 14px;
	text-align: center;
	flex-shrink: 0;
}

.mobile-mean-phone {
	font-size: 14px;
	font-weight: 700;
}

.mobile-mean-email {
	font-size: 11px;
	font-weight: 500;
	color: #5a7070 !important;
}

.mobile-mean-contact a:hover,
.mobile-mean-contact a:hover i {
	color: #0c6e6d !important;
}

.mean-container .mean-bar {
	background: #ffffff !important;
	min-height: 78px;
	padding: 0;
	border-bottom: 1px solid #e6eeee;
}

/* Hide "Consalt" text */
.mean-container .mean-bar::before {
	content: "" !important;
	display: none !important;
}

.mean-container .mean-bar::after {
	display: none !important;
}

.mean-container a.meanmenu-reveal {
	color: #0c6e6d !important;
	top: 18px;
	right: 6px;
	padding: 14px;
	z-index: 1002;
}

.mean-container a.meanmenu-reveal span {
	background: #0c6e6d !important;
}

.mean-container a.meanmenu-reveal:hover span {
	background: #063232 !important;
}

.meanmenu-reveal.meanclose {
	color: #0c6e6d !important;
	font-size: 22px !important;
	top: 22px !important;
}

.meanmenu-reveal.meanclose:hover {
	color: #063232 !important;
}

.mean-container .mean-nav {
	background: #ffffff !important;
	margin-top: 0;
}

.mean-container .mean-nav ul {
	background: #ffffff;
}

.mean-container .mean-nav ul li {
	background: #ffffff !important;
	border-top: 1px solid #e8f0f0 !important;
	float: none;
}

.mean-container .mean-nav ul li a {
	background: #ffffff !important;
	color: #063232 !important;
	font-size: 15px !important;
	font-weight: 600;
	padding: 14px 18px !important;
	width: 100% !important;
	box-sizing: border-box;
	float: none;
	opacity: 1 !important;
	border: 0 !important;
}

.mean-container .mean-nav ul li a:hover {
	background: #f4fafa !important;
	color: #0c6e6d !important;
}

.mean-container .mean-nav ul li li a {
	background: #f7fbfb !important;
	color: #3a5555 !important;
	font-size: 14px !important;
	font-weight: 500;
	padding: 12px 18px 12px 28px !important;
	width: 100% !important;
	opacity: 1 !important;
	border-top: 1px solid #eef4f4 !important;
}

.mean-container .mean-nav ul li li a:hover {
	background: #eaf5f5 !important;
	color: #0c6e6d !important;
	padding-left: 32px !important;
}

.mean-container .mean-nav ul li a.mean-expand {
	background: transparent !important;
	color: #0c6e6d !important;
	border: 0 !important;
	height: auto;
	padding: 14px 18px !important;
	top: 0 !important;
	right: 0;
	width: auto !important;
	font-size: 18px !important;
}

.mean-container .mean-nav ul li a.mean-expand:hover {
	background: #f4fafa !important;
	color: #063232 !important;
}

.mobile-menu.mean-container {
	overflow: visible;
}

@media (max-width: 575px) {
	.mobile-mean-top {
		height: 72px;
		left: 8px;
		right: 52px;
		gap: 8px;
	}

	.mobile-mean-logo img {
		height: 56px;
		max-width: 120px;
	}

	.mean-container .mean-bar {
		min-height: 72px;
	}

	.mean-container a.meanmenu-reveal {
		top: 14px;
	}

	.mobile-mean-phone {
		font-size: 13px;
	}

	.mobile-mean-email span {
		display: none;
	}

	.mobile-mean-email {
		width: 28px;
		height: 28px;
		border-radius: 50%;
		background: #f0f7f7;
		justify-content: center;
		padding: 0;
	}

	.mobile-mean-email i {
		margin: 0;
		font-size: 12px;
	}

	.mobile-mean-contact {
		flex-direction: row;
		align-items: center;
		gap: 10px;
		flex-wrap: wrap;
	}
}

@media (max-width: 380px) {
	.mobile-mean-email {
		display: none;
	}

	.mobile-mean-phone span {
		font-size: 12px;
	}
}

/* Service detail hero image from assets/services */
.service_details_img {
	overflow: hidden;
	border-radius: 8px;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.service_details_img img {
	width: 100% !important;
	max-width: 100%;
	height: 480px;
	object-fit: cover;
	object-position: center center;
	display: block;
}

@media (min-width: 992px) {
	.service_details_img img {
		height: 520px;
	}
}

@media (min-width: 1200px) {
	.service_details_img img {
		height: 560px;
	}
}

@media (max-width: 767px) {
	.service_details_img img {
		height: 320px;
	}
}

@media (max-width: 575px) {
	.service_details_img img {
		height: 260px;
		border-radius: 6px;
	}
}

/* Service page breadcrumb — per-service background image */
.breadcumb-area.service-breadcrumb {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	position: relative;
	z-index: 1;
}

.breadcumb-area.service-breadcrumb:before {
	background: rgba(6, 50, 50, 0.72);
	z-index: -1;
	height: 100%;
}

.breadcumb-area.service-breadcrumb .breadcumb-title h4,
.breadcumb-area.service-breadcrumb .breadcumb-content ul li,
.breadcumb-area.service-breadcrumb .breadcumb-content ul li a {
	color: #fff;
}

.breadcumb-area.service-breadcrumb .breadcumb-title.style_two h4:before {
	background: #fff;
}

.breadcumb-area.service-breadcrumb .breadcumb-content ul li a:hover {
	color: #0c6e6d;
}

@media (max-width: 767px) {
	.breadcumb-area.service-breadcrumb {
		padding: 120px 0 130px;
	}
}


