/* ==========================================================
   Mega Menu
   ========================================================== */

.mega-menu-nav {
	position: relative;
	font-family: inherit;
}

.mega-menu-top {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.mega-menu-top-link {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 4px;
	color: #494A4E;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.nav-sticky .mega-menu-top-link {
	color:#fff;
}
/* .nav-sticky .mega-menu-item.has-panel .mega-menu-top-link .mega-menu-caret img {
	filter: brightness(0.5) invert(1);
} */
.mega-menu-item.has-panel > .mega-menu-top-link:hover .mega-menu-caret img,
.mega-menu-item.has-panel:hover > .mega-menu-top-link .mega-menu-caret img,
.mega-menu-item.mega-menu-item--open > .mega-menu-top-link .mega-menu-caret img {
	filter: brightness(0) saturate(100%) invert(13%) sepia(99%) saturate(3056%) hue-rotate(206deg) brightness(93%) contrast(103%);
}
.mega-menu-item.has-panel > .mega-menu-top-link:hover,
.mega-menu-item.has-panel:hover > .mega-menu-top-link,
.mega-menu-item.mega-menu-item--open > .mega-menu-top-link {
	color: #0057b8;
}

.mega-menu-caret img {
	transition: transform 0.15s ease;
}

.mega-menu-item.mega-menu-item--open .mega-menu-caret img {
	transform: rotate(-180deg);
}

/* ---------- Panel ---------- */

.mega-menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    position: fixed;
    top: 55px;
	padding-top:20px;
    left: 50%;
    transform: translateX(-50%);
	width: 100%;
    max-width: 1180px;
	height: auto !important;
    min-height: 0 !important;
/* 	background: rgba(12, 14, 20, 0.70);
	backdrop-filter: blur(1.5px);
	height:100vh; */
}

.mega-menu-item--open > .mega-menu-panel {
	display: block;
}

.mega-menu-panel-inner {
    display: flex;
    /* min-width: 640px; */
    /* max-width: 980px; */
    background: #fff;
    border-radius: 0 0 24px 24px;
/*     max-width: 1180px; */
/*     margin: 0 auto; */
    /* max-height: calc(100vh - 75px); */
        height: auto !important;
    min-height: 0 !important;
    max-height: 750px;
    overflow: hidden;
}

/* ---------- Left column (level 2) ---------- */

.mega-menu-col-left {
    flex: 0 0 250px;
    margin: 0;
    padding: 30px;
    list-style: none;
    background: #fff;
    border-right: 1px solid #eee;
	min-height:0;
	overflow-y:auto;
	scrollbar-width: thin;
    scrollbar-color: #0F3190 #F1F1F1;
}
.mega-menu-col-left li.mega-menu-col-left-item {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 20px 0;
}
.mega-menu-col-left li.mega-menu-col-left-item:not(:first-child) {
	border-top: 1px solid #E1E1E1;
}

.mega-menu-col-left-item {
	position: relative;
}

.mega-menu-col-left-item > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color:  #0C0E14;
	font-size: 15px;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.144px;
	text-decoration: none;
}

.mega-menu-arrow {
    font-size: 0;
    width: 15px;
    height: 15px;
    background: url("/wp-content/uploads/2026/07/mega-menu-arrow.svg") center / contain no-repeat;
}
.mega-menu-col-left-item.is-active .mega-menu-arrow,
.mega-menu-col-left-item.mega-menu-col-left-item--expanded .mega-menu-arrow,
.mega-menu-col-left-item:hover .mega-menu-arrow{
	 background: url("/wp-content/uploads/2026/07/mega-menu-active-arrow.svg") center / contain no-repeat;
}

.mega-menu-col-left-item:hover > a,
.mega-menu-col-left-item.is-active > a,
.mega-menu-col-left-item.mega-menu-col-left-item--expanded > a {
	color: #0F3190;
}

/* ---------- Right column (level 3) ---------- */

.mega-menu-col-right {
	flex: 0 0 250px;
	padding: 30px;
	background: #fff;
}

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

.mega-menu-col-right-panel.is-active {
	display: block;
}

.mega-menu-col-right-list {
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 8px 24px;
}

.mega-menu-col-right-list a {
	display: block;
	padding: 10px 0;
	color: #0C0E14;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.136px;
	text-decoration: none;
}

.mega-menu-col-right-list a:hover {
	color: #5D5F64;
}

/* ---------- Feature column (optional 3rd column: logos, CTA, etc.) ---------- */

.mega-menu-col-feature {
	flex: 1;
	padding:30px;
	background: #F0F1F4;
	font-size: 13px;
		min-height:0;
	overflow-y:auto;
	scrollbar-width: thin;
    scrollbar-color: #0F3190 #F1F1F1;
}

.mega-menu-col-feature h1,
.mega-menu-col-feature h2,
.mega-menu-col-feature h3,
.mega-menu-col-feature h4,
.mega-menu-col-feature h5,
.mega-menu-col-feature h6 {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #888;
}

.mega-menu-col-feature p {
	margin: 0 0 12px;
	color: #333;
}

.mega-menu-col-feature img {
	max-width: 100%;
	height: auto;
}

/* ---------- Feature column: brand logo grid ---------- */

.mega-menu-col-feature .mega-menu-col-feature__label {
	color:#494A4E;
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 1.12px;
	text-transform: uppercase;
	margin-bottom:25px;

}

.mega-menu-col-feature .mega-menu-brand-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.mega-menu-col-feature .mega-menu-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border-radius: 8px;
	border: 1px solid #ECECEC;
	background:  #FFF;
	min-height:55px;
}

.mega-menu-col-feature .mega-menu-brand img {
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* Text fallback for a brand tile — swap the <span> for an <img> once
   real logo files are available; sizing above already fits either. */
.mega-menu-col-feature .mega-menu-brand span {
	font-size: 12px;
	font-weight: 700;
	color: #1a1a1a;
	text-align: center;
	line-height: 1.1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---------- Feature column: contact card ---------- */

.mega-menu-col-feature .mega-menu-contact-card {
    padding: 25px;
    background: #fff;
    border: 1px solid #ECECEC;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.mega-menu-col-feature .mega-menu-contact-card__top {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.mega-menu-col-feature .mega-menu-contact-avatars {
	display: flex;
	flex: 0 0 auto;
}

.mega-menu-col-feature .mega-menu-contact-avatars img {
/* 	width: 32px; */
/* 	height: 32px; */
/* 	border-radius: 50%; */
	object-fit: cover;
	border: 2px solid #fff;
/* 	background: #ccc; */
}

.mega-menu-col-feature .mega-menu-contact-avatars img:not(:first-child) {
	margin-left: -10px;
}

.mega-menu-col-feature .mega-menu-contact-card__text h4 {
    margin-bottom: 5px;
    text-transform: none;
    color: #0C0E14;
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.128px;
}

.mega-menu-col-feature .mega-menu-contact-card__text p {
    margin: 0;
    color: #494A4E;
    font-size: 13px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0.104px;
}

.mega-menu-col-feature .mega-menu-contact-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 16px;
    background: #f7c600;
    border: none;
    border-radius: 999px;
    color: #0C0E14;
    font-size: 15px;
    line-height: normal;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
    box-sizing: border-box;
	    position: relative;
    overflow: hidden;
    z-index: 1;
}
.mega-menu-col-feature .mega-menu-contact-cta:before {
	    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgb(255 255 255 / 70%), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}
.mega-menu-col-feature .mega-menu-contact-cta:hover:before {
	left: 100%;
}
.mega-menu-col-feature .mega-menu-contact-cta svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* ---------- Mobile fallback ---------- */
@media (max-width:1199px) {
	.absd-megamenu-header .absd-menu-link {
    order: 1;
} 
	.mega-menu-col-left li.mega-menu-col-left-item {
		padding: 15px 0;
		font-size: 14px;
	}
	.mega-menu-col-feature .mega-menu-brand-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width:991px) {
	.mobile-menu-open-icon,
	.mega-menu-close {
		display:none;
	}
	.mega-menu-col-left li.mega-menu-col-left-item:last-child {
		padding-bottom: 0px;
	}
	.mega-menu-col-left li.mega-menu-col-left-item:first-child {
		padding-top:0px;
	}
	
}
@media (max-width:1199px){
		.absd-megamenu-header .absd-menu-link {
			order: 1;
		} 
		 .absd-megamenu-header .absd-logo {
			order: 2;
		}
		.absd-megamenu-header  .absd-search-bar {
			order: 3;
				  margin-left: auto !important;
		}
		  .absd-megamenu-header .absd-custom-header {
			gap: 15px;
		}
	.mega-menu-arrow {
		width: 12px;
		height: 12px;
	}
	.mega-menu-col-left li.mega-menu-col-left-item {
		padding: 15px 20px;
		width: calc(100% - 40px);
	}
	.mobile-menu-open-icon,
	.mega-menu-close {
		display:block;
	}
/* 	.nav-sticky .mobile-menu-open-icon img {
    filter: brightness(0.5) invert(1);
} */
	.mobile-menu-open-icon {
		cursor:pointer;
		        display: flex;
        align-items: center;
        justify-content: center;
	}
ul.mega-menu-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 100px);
    background: #fff;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 50px 0;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease, visibility .35s;
	overflow-y: auto;
}
	.mega-menu-close {
		position: absolute;
		top: 15px;
		right: 15px;
		width: 30px;
		height: 30px;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		font-size: 24px;
		color: #000;
		z-index: 9999;
	}
	ul.mega-menu-top.mega-menu-active {
       	transform: translateX(0);
    	visibility: visible;
    	opacity: 1;
	}
.mega-menu-top>.mega-menu-item{
	width:100%;
}
.mega-menu-top>.mega-menu-item>.mega-menu-top-link{
        width: calc(100% - 40px) !important;
        padding: 10px 20px !important;
        border-bottom: 1px solid #e2e2e2;
        color: #000;
	    justify-content: space-between;
}
	.mega-menu-col-left {
    flex: 0 0 100%;
    width: 100%;
    padding: 0;
    border-right: 0;
}
/* The desktop "col-right" side column is not used on mobile — its
   individual panels get moved into a nested slot under their level-2
   item (via JS) instead. Keep the empty wrapper out of the layout. */
.mega-menu-col-right {
    display: none;
}
.mega-menu-panel {
    position: unset;
    transform: unset;
}
.mega-menu-panel-inner {
    flex-direction: column;
    flex-wrap: nowrap;
    height: auto;
    overflow: visible;
}

/* ---------- Mobile drill-down: level-3 list nested under its level-2 item ---------- */

.mega-menu-mobile-subpanel {
    display: none;
    list-style: none;
}
.mega-menu-mobile-subpanel.is-open {
    display: block;
}
.mega-menu-mobile-subpanel .mega-menu-col-right-panel {
/*     padding: 4px 0 4px 16px; */
}
.mega-menu-mobile-subpanel .mega-menu-col-right-list a {
    padding: 14px 20px;
    padding-left: 40px;
    width: calc(100% - 60px);
    border-top: 1px solid #e4e4e4;
}
.mega-menu-col-left-item .mega-menu-arrow {
    transition: transform 0.15s ease;
}
.mega-menu-col-left-item.mega-menu-col-left-item--expanded .mega-menu-arrow {
    transform: rotate(90deg);
}
}
@media (max-width:575px){
.mega-menu-col-left-item > a {
    font-size: 14px;
}
  .mega-menu-col-left li.mega-menu-col-left-item {
    padding-top: 13px;
    padding-bottom: 13px; 
}
}

@media (max-width:375px){
.mega-menu-col-feature .mega-menu-contact-card {
    padding: 20px;
    gap: 14px;
}
.mega-menu-col-feature .mega-menu-contact-card__top {
    flex-direction: column;
}
  .mega-menu-col-feature {
    padding: 20px;
}
}
@media (max-width: 991px) and (min-width:575px) {
    .mega-menu-col-feature .mega-menu-brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width:1300px) and (min-width:1200px) {
	.mega-menu-top {
		gap:15px;
	}
	.absd-logo {
		gap:13px;
	}
}