.header.mega-header { position: sticky; top: 0; z-index: 10; box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.15); }
ul#menu-mega-menu .menudrop-icon { display: none; }
.mega-header .navbar ul.menu { list-style: none; display: flex; align-items: center; }
.mega-header .navbar > ul > li.menu-item-has-children { position: inherit; padding-block: 20px; }
.mega-header .menu-item a { display: block; font-size: 16px; padding: 15px 20px; text-decoration: none; font-weight: 500; transition: all ease 0.3s; cursor: pointer; }
.mega-header .mega-right .menu-item a { font-weight: 600; }
.mega-header .mega-right .menu-item a:hover { color: #F8BC2C !important; }
.mega-header .contact-btn a { background: #2563eb; color: #fff; border-radius: 25px; padding: 10px 20px; }
.mega-header .has-mega:hover .mega-menu, .mega-header .menu-item-has-children:hover .mega-menu { display: flex; }
.mega-header li .mega-menu { display: none; position: absolute; left: 50%; top: 100%; width: 100%; box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 999; max-width: 1490px; margin: 0 auto; transform: translateX(-50%); }
.mega-header .mega-left { width: 30%; background-color: #1F61E8; color: #fff; padding: 60px 30px; position: relative; }
.mega-header .mega-left h2 { font-size: 20px; font-weight: bold; margin-bottom: 15px; }
.mega-header .mega-left p { font-size: 14px; margin-bottom: 20px; }
.mega-header .mega-left .btn { display: inline-block; background: #E21A27; color: #fff; padding: 10px 30px; border-radius: 20px; text-decoration: none; margin-top: 10px; }
.mega-header .white-btn .mega-left .btn { color: #1f61e8; background: #fff; }
.mega-header .mega-right { width: 70%; padding: 50px 20px; background: #F8FAFC; }
.mega-header .mega-item { background: #fff; }
.mega-header .mega-item h4 { font-size: 16px; margin: 5px 0; font-weight: bold; }
.mega-header .mega-item p { font-size: 13px; color: #555; }
.mega-header .icon { font-size: 20px; display: inline-block; margin-bottom: 5px; }
.mega-header .main-navigation li:hover > .sub-menu { display: flex; }
.mega-header .main-navigation { position: inherit; }
.mega-header .mega-wrap { display: flex; justify-content: space-between; align-items: center; }
.mega-header .logo { max-width: 200px; width: 100%; }
.mega-header .logo img {width: 100%;}
.services-menu .mega-right >.sub-menu > li > a, .solutions-menu .mega-right >.sub-menu > li > a { pointer-events: none; }
.menu li.menu-item-has-children:hover > .sub-menu { display: block; opacity: 1; visibility: visible; }
.menu li.active_menu > a { color: #ff6600; }
.menu-item.menu-item-has-children.active_menu, .menu-item.menu-item-has-children:hover { display: block; }
.menu > li.menu-item-has-children > a {position: relative;}
.mega-header .deftHide {display: block;}
.mega-header .sub-menu { padding: 0; list-style: none; }
.mega-header .mega-right > .sub-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sub-menu li a {position: relative;}
.mega-right >.sub-menu li > a { padding: 4px 15px; }
.mega-right >.sub-menu .sub-menu li > a { font-family: Poppins; font-weight: 400; font-size: 15px; letter-spacing: -0.15px; color: #1D1068; }
.mega-right >.sub-menu .sub-menu {padding-left: 34px;}
.mega-right >.sub-menu > li:nth-child(4n+1) > a {color: #F8BC2C;}
.mega-right >.sub-menu > li:nth-child(4n+2) > a {color: #19B04C;}
.mega-right >.sub-menu > li:nth-child(4n+3) > a {color: #E21A27;} 
.mega-right >.sub-menu > li:nth-child(4n+4) > a {color: #0080F7;}
.mega-header .clickedMenu .sub-menu {display: block !important;}
.menu-icon { display: inline-block; margin-right: 8px; vertical-align: middle; }
.menu-icon img { width: 24px; height: 24px; object-fit: contain; }
.menu-desc { display: block; font-size: 13px; color: #1D1068; padding-left: 34px; line-height: 1.4; font-weight: 400; margin-top: 6px; }
nav.navbar.main-navigation > ul > li > a .menu-desc, nav.navbar.main-navigation > ul > li > a .menu-icon { display: none; }
nav.navbar.main-navigation > ul > li.menu-item-has-children > a { padding: 15px 30px 15px 20px; }
nav.navbar.main-navigation > ul > li.menu-item-has-children > a .menudrop-icon { top: 50%; }
nav.navbar.main-navigation > ul > li > a { font-size: 16px; color: #1d1068; }
nav.navbar.main-navigation > ul > li > a:hover, nav.navbar.main-navigation > ul > li > a:focus, nav.navbar.main-navigation > ul > li.menu-item-has-children:hover .menudrop-icon i { color: #e8af09; }
.mega-menu .mega-left::before { content: ''; position: absolute; width: 100%; height: 100%; background: linear-gradient(340.74deg, rgba(31, 97, 232, 0) -18.65%, #1F61E8 89.66%); left: 0; top: 0; z-index: 0; }
.about-menu .mega-menu .mega-left::before { background:  linear-gradient(275deg, rgba(31, 97, 232, 0) 50.35%, #1F61E8 150.66%) !important; }
.mega-menu .mega-left .mega-contentwrap { position: relative; z-index: 1; }
.mega-menu .mega-left h2 { font-family: Poppins; font-weight: 600; font-style: Bold; font-size: 22px; line-height: 1.4; letter-spacing: 0%; }
.mega-menu .mega-left p { font-family: Poppins; font-weight: 400; font-size: 15px; line-height: 1.5; letter-spacing: 0%; color: #fff; }
.mega-menu .mega-left a { font-family: Poppins; font-weight: 400; font-style: Regular; font-size: 15px; line-height: 1.4; text-align: center; border-radius: 30px; padding: 10px 35px; background: #E21A27; }
nav.navbar.main-navigation > ul > li:last-child a, nav.navbar.main-navigation > ul > li:last-child a:focus { background-color: #1F61E8; font-size: 16px; font-weight: 500; color: #fff; text-decoration: none; box-shadow: 0 0 27px 0 rgba(0, 0, 0, 0.12); border-radius: 30px; padding: 14px 26px; transition: all ease 0.3s; position: relative; min-width: 200px; text-align: center; margin-left: 15px; }
.mega-header .listed-menu .mega-right .sub-menu .sub-menu { list-style: disc; }
.mega-header .listed-menu .mega-right .sub-menu .sub-menu li a { padding: 4px 8px; }
.mega-header .listed-menu .mega-right .sub-menu .sub-menu {padding-left: 40px;}
.about-menu .mega-left { background-repeat: no-repeat; background-color: #fff; }
.header.mega-header { width: 100%; z-index: 999; background: #fff; }
.header.mega-header .mega-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.header.mega-header .navbar { display: flex; box-shadow: none !important; }
.header.mega-header .navbar .menu { display: flex; list-style: none; margin: 0; padding: 0; }
.header.mega-header .menu-toggle { display: none; cursor: pointer; font-size: 26px; border: none; background: none; }
.mega-header .menu-item a:focus {color: #e8af09 !important;}
.menucard-center .mega-menu .mega-left { text-align: center; }
.menucard-center .mega-menu .mega-left h2 { font-weight: 700; }
.menucard-center .mega-menu .mega-left p { font-family: Poppins; font-weight: 500; font-style: Italic; font-size: 19px; line-height: 1.4; text-align: center; }
.aidev-menu .mega-menu .mega-right { display: flex; align-items: start; }
.menutwocol .mega-menu .mega-right > .sub-menu { grid-template-columns: repeat(2, 1fr); text-align: left; }
.mega-header .about-menu .mega-left { width: 50%; }
.mega-header .about-menu .mega-left .mega-contentwrap { width: 50%; }
.mega-header .services-menu .mega-right li:nth-child(-n+3) > ul.sub-menu { border-bottom: 2px solid #C6C6C6; padding-bottom: 20px; }
.mega-header .about-menu .mega-right, .mega-header .solutions-menu .mega-right {padding: 50px 100px; }
@media (max-width: 1440px) {
    .mega-header li .mega-menu { max-width: 100%; }
    .mega-header .services-menu .mega-right { height: 90vh; overflow: auto; }
}


@media (min-width:1200px) {
    .mega-right .sub-menu li a .menudrop-icon {display: none;} 
}
@media (max-width: 1210px) {
    nav.navbar.main-navigation > ul > li:last-child a, nav.navbar.main-navigation > ul > li:last-child a:focus { padding: 10px 15px; min-width: 140px; }
}
@media (min-width:1200px) and (max-width:1399px) {
    nav.navbar.main-navigation > ul > li.menu-item-has-children > a { padding: 15px !important; }    
}
@media (max-width: 1199px) {
    ul#menu-mega-menu .menudrop-icon { display: block; }
    .mega-right .menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children .menudrop-icon { display: none !important; }
    .header.mega-header .menu-toggle { display: block; background: transparent !important; color: #1D1068 !important; padding: 4px 12px; }
    .header.mega-header .menu-toggle span { display: block; height: 3px; width: 25px; background: #1D1068; border-radius: 30px; margin: 4px 0; }
    .header.mega-header .navbar, .header.mega-header .navbar .menu li { width: 100%; }
    .header.mega-header .navbar ul#menu-mega-menu { margin-top: 15px; }
    .header.mega-header .navbar .menu { flex-direction: column; width: 100%; display: none; background: #fff; align-items: start; }
    .mega-header .menu li.menu-item-has-children .mega-menu {display: none;}
    .mega-header .menu li.menu-item-has-children.active_menu .mega-menu {display: flex;}
    .mega-right .sub-menu .menudrop-icon {display: none;}
    .header.mega-header .navbar .menu.active { display: flex; }
    .header.mega-header .navbar .menu li a { padding: 5px 10px; }
    .header.mega-header .menu-toggle { position: relative; }
    .header.mega-header .menu-toggle.active {height: 36px;}
    .header.mega-header .menu-toggle.active span:first-child { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg); }
    .header.mega-header .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .header.mega-header .menu-toggle.active span:last-child { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg); }
    .header.mega-header .menu-toggle.active span:first-child, .header.mega-header .menu-toggle.active span:last-child { position: absolute; }
    .mega-header .menu .menu-item .menudrop-icon i { transition: all ease 0.3s; }
    .mega-header .menu .menu-item.active_menu .menudrop-icon i { transform: rotate(0deg); transition: all ease 0.3s; }
    nav.navbar.main-navigation > ul > li:last-child a, nav.navbar.main-navigation > ul > li:last-child a:focus { margin-left: 0; }
    .mega-header li .mega-menu { position: static !important; transform: unset !important; box-shadow: none !important; }
    .mega-header .mega-right { background: #fff; }
    .mega-header .navbar > ul > li.menu-item-has-children { padding-block: 4px; }
    #primary-menu-list li.menu-item-has-children:hover .inner_mega-menu, .sub-menu .menu-item-has-children:hover > .sub-menu, .inner_mega-menu .sub-menu.second-submenu li.menu-item-has-children.custom-active .sub-menu.three-submenu { background: #fff !important; }
    .active-header { height: 100vh; position: fixed !important; width: 100%; background: #fff; overflow-y: auto; left: 0; }
    #wpadminbar .active-header { top: 32px !important; }
    .mega-header .about-menu .mega-left .mega-contentwrap { width: 100%; }
    .menucard-center .mega-menu .mega-left h2 { font-weight: 600; }
    .menu-desc { padding-left: 20px; }
    .menucard-center .mega-menu .mega-left p { font-weight: 400; }
    .menucard-center .mega-menu .mega-left p  { font-size: 16px; }
    .mega-right >.sub-menu .sub-menu { padding-left: 20px; }
    .mega-header .about-menu .mega-right, .mega-header .solutions-menu .mega-right {padding: 50px; }
    .header.mega-header { padding: 10px 0px; }
}  
@media (max-width: 1024px) {
    .mega-header .mega-right > .sub-menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .mega-header .services-menu .mega-right li:nth-child(-n+4) > ul.sub-menu { border-bottom: 2px solid #C6C6C6; padding-bottom: 20px; }
}
@media (max-width: 767px) {
    .mega-header .mega-left {display: none;}
    .mega-header .mega-right {width: 100%;padding: 0;} 
    .mega-header .mega-right > .sub-menu { grid-template-columns: repeat(1, 1fr); gap: 10px; padding-left: 10px; }
    .mega-header .menu-item { position: relative !important; }
    .menutwocol .mega-menu .mega-right > .sub-menu { grid-template-columns: repeat(1, 1fr); }
    .mega-header .about-menu .mega-right, .mega-header .solutions-menu .mega-right {padding: 0px; }
    .mega-header .menu-item a { font-size: 14px; }
    .mega-header .mega-right { height: auto; }
}
@media (min-width:768px) and (max-width:991px) {
    .mega-header li .mega-menu { display: none; left: 50%; width: 100%; box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 999; max-width: 1370px; transform: translateX(10px); } 
}