/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fade Out Animation */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
*::-webkit-scrollbar {
    display: none;
}

:root {
    --bg-light-blue-gray: #F0F5FA;
    --bg-dark-teal: #1C435A;
    --text-dark-teal: #1C435A;
}

#wrapper>header, .site-container>header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 9999;
    width: 100%;
}

#mega-menu * {
    font-family: var(--ng-font-sans-regular) !important;
    color: #000;
}

#mega-menu div.site-header {
    margin: 0;
}

#mega-menu .text-blue {
    color: var(--text-blue) !important;
}

#mega-menu .font-bold {
    font-weight: 700;
}

#mega-menu .font-14 {
    font-size: 14px;
}

#mega-menu .font-23 {
    font-size: 23px;
}

#mega-menu .font-15 {
    font-size: 15px;
}

#mega-menu .font-16 {
    font-size: 16px;
}

#mega-menu .font-18 {
    font-size: 18px;
}

#mega-menu .font-24 {
    font-size: 24px;
}


#mega-menu .desktop-nav {
    /* padding-top: 20px; */
    /* margin: 0 20px; */
}


nav {
    max-width: 1460px;
    margin: auto;
    /* border: 1px solid black; */
}

#mega-menu .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 0 0 15px 0;
    height: 80px;
}

#mega-menu .navbar-left {
    flex: 1;
}

#mega-menu .logo {
    height: 40px;
}

#mega-menu .navbar-center {
    flex: 2;
}

#mega-menu .nav-1 {
    padding-top: 10px;
    padding-bottom: 0;
    height: 40px;
}

#mega-menu .nav-1 .navbar-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin: 0;
    padding: 0;
}

#mega-menu .nav-2 .navbar-links {
    list-style: none;
    display: flex;
    align-items: stretch;
    justify-content: end;
    margin: 0;
    padding: 0;
    height: 80px
}

#mega-menu .nav-1 .navbar-links li {
    display: inline;
}

#mega-menu .nav-1 .navbar-links a,
#mega-menu .site-header-dropdown__trigger-text,
#mega-menu .header-search__input::placeholder {
    text-decoration: none !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
}

#mega-menu .site-header-dropdown__trigger-icon {
    width: unset;
    height: unset;
}

#mega-menu .site-header-dropdown__content {
    top: auto;
    left: -17px;
    padding: 18px;
}

#mega-menu .site-header-dropdown__list {
    gap: 3px;
}
#mega-menu .header-search__input::placeholder{
    font-family: var(--ng-font-sans-regular);
    letter-spacing: 0.6px;
}

#mega-menu .nav-1 .navbar-links a:active {
    border-color: #fff;
}

#mega-menu .nav-1 .navbar-links a .link-text {
    text-decoration: none;
}

#mega-menu .nav-1 .navbar-links a .link-text:hover{
    text-decoration: underline;
}

#mega-menu .navbar-links a.nodesc:hover,
#mega-menu .navbar-links a.nodesc:focus {
    background-color: #fff !important;
    color: black !important;
}


#mega-menu .nowrap {
    white-space: nowrap !important;
}

#mega-menu .contact a:hover {
    color: var(--text-blue) !important;
}

#mega-menu .nav-1-search {
    color: black !important;
}

#mega-menu .nav-1-search:hover span > img {
    filter: brightness(0) saturate(100%) invert(32%) sepia(96%) saturate(5742%) hue-rotate(213deg) brightness(105%) contrast(94%) !important;
}

#mega-menu .nav-1-search:hover {
    color: #007bff !important;
}

#mega-menu .navbar-links a:hover .bottom-arrow {
    filter: brightness(0) saturate(100%) invert(32%) sepia(96%) saturate(5742%) hue-rotate(213deg) brightness(105%) contrast(94%);
}

#mega-menu .navbar-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

/*#mega-menu .demo-button {
    background-color: #FFFFFF00;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-blue);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--text-blue);
    border-radius: 5px 5px 5px 5px;
    padding: 15px 15px 15px 15px;
    cursor: pointer;
}

#mega-menu .demo-button:hover {
    background-color: var(--text-blue);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: white;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--text-blue);
    border-radius: 5px 5px 5px 5px;
    padding: 15px 15px 15px 15px;
    cursor: pointer;
}*/

#mega-menu .demo-button-2 {
    width: 100%;
    margin-bottom: 8px;
    padding: 15px 15px 15px 15px;
    cursor: pointer;
    border: none;
    background: #fff;
    border-radius: 6px;
    text-align: left;
}

#mega-menu .demo-button-2:hover,
#mega-menu .active-btn {
    background-color: var(--bg-dark-teal);
    color: white;
}

#mega-menu .arrow-container-parent {
    display: flex;
    align-items: center;
    gap: 5px;
}


#mega-menu .arrow-container {
    overflow: visible;
    display: flex;
}

#mega-menu .bottom-arrow {
    height: 12px;
    width: 12px;
    display: flex;
}

#mega-menu .e-fas-arrow-circle-right {
    height: 16px;
    width: 16px;
    overflow: visible;
}

/* second */
/*#mega-menu .nav-2 {
    padding: 10px 10px;
}*/

#mega-menu .ng-logo {
    width: 180px;
}

#mega-menu .nav-2 ul > li {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    border-bottom: 4px solid #ffffff;
    cursor: pointer;
}

#mega-menu .nav-2 #main-nav > li.dropdown:hover {
    border-bottom: 4px solid #00F0C5;
}

#mega-menu a {
    color: #000 !important;
    padding: 0 !important;
}

#mega-menu .mobile-nav a:hover:not(.callout) {
    color: black !important;
}

#mega-menu .dropdown {
    position: static;
}

#mega-menu .dropdown > .dropdown-content:first-child {
    display: block !important;
}

#mega-menu .nav-2 .navbar-links li a {
    text-decoration: none;
    transition: .2s;
}

#mega-menu .nav-2 ul#main-nav > li > a.dropdown-toggle {
    padding: 100% 12px !important;
}
#mega-menu .dropdown-content {
    position: absolute;
    width: 95vw;
    left: 50%;
    top: 80px;
    max-width: 1440px;
    background-color: white;
    /*transform: translate(-50%, 0%);*/
    padding: 20px 20px 10px 20px;
    z-index: 1000;
    opacity: 0;
    /*transition: opacity 400ms ease-in-out;*/

    /* update */
    transform: translate(-50%, 15px); /* Move 20px down from final position */
    pointer-events: none; /* Prevents interaction when hidden */
    transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
}

#mega-menu .dropdown-content ul.navbar-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mega-menu .dropdown-content ul.navbar-links li {
    padding: 10px 20px;
}

#mega-menu .dropdown-content ul.navbar-links li a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    display: block;
}

#mega-menu .nav-2 .navbar-links li a:hover ~ .dropdown-content,
#mega-menu .nav-2 .navbar-links li a ~ .dropdown-content:hover {
    opacity: 1;
    transform: translate(-50%, 1px); /* Move back to original vertical position */
    pointer-events: auto; /* Allow interaction when visible */
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

/* Show dropdown on click */
#mega-menu .dropdown-content:target {
    display: block;
}

#mega-menu p {
    color: black;
    font-weight: normal;
}

/* Show dropdown on hover or focus */
#mega-menu .dropdown:hover .dropdown-content,
#mega-menu .dropdown:focus-within .dropdown-content {
    display: block;
}

#mega-menu .solution-grid {
    width: 100%;
    color: black;
    display: grid;
    grid-template-columns: 313px auto;
    gap: 15px;
}

#mega-menu .solution-sub-child-grid {
    color: black;
    justify-content: space-between;
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 20px;
}

#mega-menu .solution-child-grid {
    color: black;
    justify-content: space-between;
    width: 100%;
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}

#mega-menu .heading-24 {
    font-size: 20px;
    font-family: var(--ng-font-sans-semibold) !important;
}

#mega-menu .mb-14 {
    margin-bottom: 14px;
}

#mega-menu .mb-15 {
    margin-bottom: 14px;
}

#mega-menu .mr-14 {
    margin-right: 14px;
}

#mega-menu .pb-10 {
    padding-bottom: 10px;
}

#mega-menu .border-b {
    border-bottom: 1px solid #bbbbbb;
}

#mega-menu .d-flex {
    display: flex;
    align-items: start;
}

#mega-menu .d-flex-center {
    display: flex;
    align-items: center;
    padding: 35px;
    background-color: #0C68F821;
    border-radius: 5px;
    color: black;
}

#mega-menu .heading-b-18 {
    font-family: var(--ng-font-sans-medium) !important;
    padding: 0;
}

#mega-menu .arrow-22 {
    height: 18px;
    width: 18px;
    margin-left: 10px;
    position: relative;
    top: -2px;
}

#mega-menu .text-14 {
    font-weight: 400;
    color: #1C435A;
    margin: 0;
}

#mega-menu .dropdown-toggle::after {
    display: none;
}

#mega-menu .sd-sub-child {
    display: grid;
    padding: 0 20px;
}

#mega-menu .sd-grand-child {
    border-radius: 5px;
}

#mega-menu .sd-grand-child:not(.nodesc):hover,
#mega-menu .sd-grand-child:not(.nodesc):has(a:focus) {
    background-color: var(--bg-light-blue-gray);
}

#mega-menu .sd-grand-child.nodesc > a div:hover,
#mega-menu .sd-grand-child.nodesc:has(a:focus) div {
    color: black;
}

#mega-menu .sd-grand-child-parent {
    display: grid;
    grid-template-columns: auto;
    gap: 10px;
}

#mega-menu .sd-grid-33 {
    display: grid;
    grid-template-columns: 1fr 1fr 30%;
    gap: 15px;
}

#mega-menu .sd-grid-22 {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(6, auto);
    grid-column-gap: 10px;
    grid-row-gap: 3px;
    /* Setting these should allow longer text in the content. */
    grid-template-columns: auto;
}

/* This would limit a column to 5 */
#mega-menu .sd-grid-22.sd-col-limit-5 {
    grid-template-rows: repeat(5, auto);
}

#mega-menu .sd-service-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

#mega-menu .service-grid-22 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#mega-menu .sd-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#mega-menu .sd-grid-4 {
    display: grid;
    grid-template-columns: auto .5fr;
    gap: 20px;
}

#mega-menu .line-height {
    line-height: 32px;
}

#mega-menu .sd-sub-child .sd-grid-33 .sd-grid-22 .line-height > a {
    display: block;
}

#mega-menu .grid-grand-child {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

#mega-menu .section-content {
    display: none;
    opacity: 0;
    animation: fadeOut 0.5s ease-in-out forwards;
}

#mega-menu .section-content.active {
    display: flex;
    animation: fadeIn 0.5s ease-in-out forwards;
}

#mega-menu .bg-blue {
    background-color: #0C68F821;
    border-radius: 5px;
}

#mega-menu .sub-child-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#mega-menu .sub-child-grid-2 > div {
    border-radius: 5px;
    text-align: center;
    padding: 35px;
    background-color: #0C68F821;
}

#mega-menu .sub-child-grid-one-box {
    display: grid;
    grid-template-columns: auto;
    align-items: center;
    gap: 10px;
}

#mega-menu .sub-child-grid-one-box > div {
    border-radius: 5px;
    text-align: center;
    padding: 35px;
    background-color: #0C68F821;
}

#mega-menu .sub-child-grid {
    display: grid;
    grid-template-columns: auto;
    gap: 10px;
}


#mega-menu .sub-child-grid-img {
    display: grid;
    grid-template-columns: auto;
}

#mega-menu .img-200 {
    width: 100%;
    object-fit: cover;
    height: 100%;
    border-radius: 5px 0 0 5px;
}

#mega-menu .sub-s-child-grid-img {
    display: grid;
    grid-template-columns: auto auto;
}

#mega-menu .sub-child-grid-img:hover > div:first-child > img {
    opacity: 0.7;
}

#mega-menu .sub-child-grid-img:hover > div:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.479);
    /* Darker semi-transparent black overlay */
    transition: 0.3s ease;
    /* Smooth transition for the overlay */
}

#mega-menu .sub-child-grid-img > div:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s ease;
    /* Smooth transition for the overlay */
}

#mega-menu .sub-child-grid-img > div:first-child:hover::after {
    opacity: 1;
}

#mega-menu .sub-child-grid-img > div:last-child {
    position: relative;
    margin-top: -70px;
    border-radius: 0 0 5px 5px;
    text-align: center;
    padding: 35px;
    line-height: 24px;
    background-color: #e0ebfe;
}


#mega-menu .menu-item {
    position: relative;
    border-bottom: 1px solid #ddd;
}

#mega-menu .menu-item:last-child {
    border-bottom: none;
}

#mega-menu .menu-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f9f9f9;
    cursor: pointer;
}

#mega-menu .is-tabbing .menu-title:focus {
    outline: auto !important;
}

#mega-menu .is-tabbing .submenu-title:focus {
    outline: auto !important;
}

#mega-menu .menu-title:hover {
    background-color: #e9e9e9;
}

#mega-menu .submenu {
    /* display: none; */
    padding-left: 20px;
    background-color: #fff;
}

#mega-menu .submenu a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #007bff;
}

#mega-menu .submenu a:hover {
    background-color: #f0f0f0;
}

#mega-menu .menu-item.open .submenu {
    display: block;
}

#mega-menu .toggle-icon {
    font-size: 16px;
    user-select: none;
}


#mega-menu .mobile-nav {
    display: none;
}

a {
    text-decoration: none;
}

#mega-menu .active-bg {
    background-color: #0C68F821;
    border-radius: 5px;
}

#mega-menu .sd-sub-great-grand-child {
    transition: display 500ms ease-in-out; /* Smooth fade effect */
}


#mega-menu .menu-title.active,
#mega-menu .submenu-title.active {
    color: #007bff;
    /* Blue color */
}


/* Active dropdown icon styling (optional) */
#mega-menu .menu-title.active img,
#mega-menu .submenu-title.active img {
    filter: brightness(0) saturate(100%) invert(32%) sepia(96%) saturate(5742%) hue-rotate(213deg) brightness(105%) contrast(94%);
}


#mega-menu .submenu-title {
    display: flex;
    justify-content: start;
    gap: 15px;
    padding: 5px 10px;
    background-color: #ffffff;
    cursor: pointer;
    border: none;
    outline: none;
}

#mega-menu .my-20 {
    margin: 20px 0;
}

#mega-menu .submenu-title:hover {
    color: var(--text-blue);
}

#mega-menu .menu-title:hover .toggle-icon > img {
    filter: brightness(0) saturate(100%) invert(32%) sepia(96%) saturate(5742%) hue-rotate(213deg) brightness(105%) contrast(94%);
}

#mega-menu .submenu-title:hover .toggle-sub-icon > img {
    filter: brightness(0) saturate(100%) invert(32%) sepia(96%) saturate(5742%) hue-rotate(213deg) brightness(105%) contrast(94%);
}


/* .menu-item {
        border-bottom: 1px solid #ddd;
    } */

#mega-menu .menu-title,
#mega-menu .submenu-title {
    display: flex;
    font-weight: bold;
    justify-content: start;
    border: none;
    outline: none;
    gap: 15px;
    align-items: center;
    font-size: 18px;
    padding: 10px 15px;
    cursor: pointer;
}

#mega-menu .menu-title:hover,
#mega-menu .submenu-title:hover {
    color: var(--text-blue);
}

#mega-menu .toggle-icon > img {
    height: 13px;
    width: 13px;
}

#mega-menu .toggle-sub-icon > img {
    height: 13px;
    width: 15px;
}

#mega-menu .social-icons {
    border-top: 1px solid rgb(189, 189, 189);
    margin-top: 15px;
    padding-top: 15px;
}

#mega-menu .social-icons > a > img {
    height: 21px;
    width: 21px;
}

#mega-menu .social-icons__item {
    padding: 0;
    color: black;
}

#mega-menu .site-header-dropdown {
    margin: 0;
}
#mega-menu .site-header-dropdown__trigger-text btn--link

#mega-menu .site-header-dropdown .site-header-dropdown__trigger-icon.arrow-icon {
    width: auto;
    height: auto;
    flex: unset;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

#mega-menu .site-header-dropdown--active .site-header-dropdown__trigger-icon.arrow-icon:hover {
    transform-origin: center;
    transform: rotate(180deg);
}


#mega-menu .btn--link:focus, .btn--link:hover {
    text-decoration: none;
}

/* search input */

/*#mega-menu .search-icon {
    position: absolute;
    z-index: 1000;
    top: 15px;
}*/

#mega-menu .search-trigger__wrapper {
    top: 4px;
}

#mega-menu .search-trigger__trigger-text {
    transition: all .3s ease-in-out;
    font-weight: 700;
    margin-left: 22px;
}

#mega-menu .header-search--active input::placeholder {
    color: #a9a9a9;
    font-weight: normal;
    opacity: 1; /* Firefox */
}

#mega-menu .navbar-links .btn.cta-btn {
    padding: 15px !important;
    cursor: pointer;
    transition: .5s;
    height: 36px;
    font-size: var(--ng-size-16px);
}

#mega-menu .btn--secondary {
    background-color: transparent;
}

#mega-menu .navbar-links .btn.btn--secondary.cta-btn:hover {
    background-color: #0a68f5;
    color: #ffffff !important;
}

#mega-menu .cta-btn > .btn--icon:after {
    filter: brightness(32);
}

/* Potential fix for: https://app.asana.com/0/9196926043589/1209743416935971/f*/
/*Padding added to anchors for items with html structure under "Services" */
#mega-menu .sd-service-grid-4 .sd-grand-child a {
    padding: 10px !important;
    display: block;
}

/*Moved padding to inner div*/
#mega-menu .sd-grand-child {
    padding: 0;
}

/*#mega-menu .sd-grand-child div {
    padding: 10px;
}*/

/* Adjust arrow position so they align the same way*/
#mega-menu div.mr-14 {
    padding-right: 0;
}

#mega-menu div.mr-14 ~ div {
    padding-left: 0;
}

/*End Potential fix*/

#mega-menu > .modal {
    z-index: 999;
}

#mega-menu .solution-sub-child-grid .sd-grand-child {
    padding: 10px;
}

#mega-menu .show {
    visibility: visible;
    opacity: 1;
}

#mega-menu #menu-content-wrapper {
    position: absolute;
    width: 95vw;
    height: 500px;
    left: 50%;
    top: 85%;
    max-width: 1440px;
    visibility: hidden;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
    transform: translate(-50%,0%);
    padding: 20px 20px 10px 20px;
    z-index: 999;
    opacity: 0;
    transition: opacity 400ms ease-in-out;
}

#mega-menu .site-header__top div:first-child {
    margin-right: 0;
}

#mega-menu .dropdown .dropdown-content {
    display: none;
}

#mega-menu .dropdown .dropdown-content.open {
    display: block;
}
#mega-menu .callout,
#mega-menu .nav-2 .navbar-links a.callout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-align: center;
    padding: 35px !important;
    margin: 0 5px;
    background-color: var(--bg-blue);
}

#mega-menu .navbar-links a.callout:focus {
    box-shadow: 0px 0px 0px 1px var(--text-blue) inset;
}

#mega-menu .call-out {
    border-radius: 5px;
    text-align: center;
    padding: 35px;
    background-color: var(--bg-blue);
}

#mega-menu .call-out.button-menu {
    background-color: initial;
}

#mega-menu .call-out.image-callout {
    padding: 0;
}

#mega-menu .call-out .call-out-container {
    display: grid;
    gap: 20px; /* Space between columns */
    align-items: center; /* Align items vertically */
    max-width: 800px;
    margin: auto;
}

#mega-menu .call-out .call-out-image {
    object-fit: cover;
    width: 100%;
    height: auto;
    border: 1px white solid;
}

#mega-menu .call-out .call-out-content {
    position: relative;
    border-radius: 0 0 5px 5px;
    text-align: center;
    line-height: 24px;
}

#mega-menu .call-out .call-out-content.image-callout {
    position: relative;
    margin-top: -70px;
    border-radius: 0 0 5px 5px;
    text-align: center;
    padding: 35px;
    line-height: 24px;
    background-color: #e0ebfe;
}

/* Left Image */
#mega-menu .call-out .container-left {
    grid-template-columns: 1fr 2fr; /* Image first, text second */
}

#mega-menu .call-out .left-image,
#mega-menu .call-out .right-image {
    width: 100%;
    object-fit: cover;
    height: 100%;
    border-radius: 5px 0 0 5px;
}

/* Right Image */
#mega-menu .call-out .container-right {
    grid-template-columns: 2fr 1fr; /* Text first, image second */
}

/* Stacked (Image on top of text) */
#mega-menu .call-out .container-stacked {
    grid-template-columns: 1fr;
    text-align: center;
    display: grid;
    z-index: 0;
    position: relative;
}

#mega-menu .call-out .container-stacked > .top > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/*** CallOut Row ***/

#mega-menu .call-out-row {
    display: flex;
    align-items: stretch;
    gap: 31px;
    padding: 14px 20px;
}
#mega-menu .call-out-row .call-out-col,
#mega-menu .call-out-row .call-out-col a {
    display: flex;
    flex: 1;
}
#mega-menu .call-out-row .call-out-col .call-out-image .call-out-content {
    padding: 35px;
    background-color: var(--bg-blue);
    border-radius: 5px;
    color: black;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}
#mega-menu .call-out-row .call-out-col .call-out-image {
    display: flex;
    width: -webkit-fill-available;
}

#mega-menu .call-out-row .call-out-col .call-out-image .left {
    flex: .8;
}

/*** End CallOut Row ***/

#mega-menu .callout > h4 {
    font-weight: 600 !important;
}

#mega-menu .mobile-nav .callout {
    margin: 13px;
}
#mega-menu .mobile-nav .callout:hover{
    text-decoration: none;
}
#mega-menu .three-col-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: stretch; /* Ensures all items stretch to the full height */
}

#mega-menu .three-col-column {
    flex-grow: 1; /* Allows all columns to grow */
    display: flex;
    padding: 10px;
}

#mega-menu .three-col-column:first-child {
    flex: 2; /* First column takes 50% */
}

#mega-menu .three-col-column:nth-child(2),
#mega-menu .three-col-column:nth-child(3) {
    flex: 1; /* The remaining two columns take 25% each */
}

#mega-menu .three-col-column > .content-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
}

#mega-menu .three-col-container .sd-grand-child {
    padding: 2px;
}

@media (min-width: 609px) and (max-width: 1024px) {

    #mega-menu .dropdown-content {
        padding: 10px;
    }

    #mega-menu .dropdown-content .modal-close-button {
        top: -6px;
        right: 2px;
    }

    #mega-menu .dropdown-content .modal-close-button > svg.modal-svg {
        max-width: 18px
    }

    #mega-menu .dropdown-content .dropdown-content:focus,
    #mega-menu .dropdown-content .dropdown-content:active,
    #mega-menu .dropdown-content .dropdown-content:focus-within {
        display: inherit !important;
    }

    #mega-menu .solution-sub-child-grid {
        display: block;
    }

    #mega-menu .solution-sub-child-grid > div:nth-child(2),
    #mega-menu .nav-1 .navbar-links > li:nth-child(3) {
        display: none;
    }

    #mega-menu {
        margin: 0;
        padding: 0;
    }

    #mega-menu .desktop-nav .submenu-title {
        padding: 8px 10px !important;
    }

    #mega-menu .desktop-nav .sub-child-grid {
        display: block;
        margin-top: 20px;
    }

    #mega-menu .desktop-nav .mobile-nav {
        display: none;
    }

    #mega-menu .desktop-nav .nav-1 {
        padding-top: 10px;
        padding-bottom: 0;
    }

    #mega-menu .desktop-nav .navbar-right {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 20px;
    }

    #mega-menu .desktop-nav .navbar {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        padding: 10px 15px 15px 15px;
        position: static;
        width: 100%;
        gap: 0;
    }

    #mega-menu .nav-1 .navbar-links button.btn.cta-btn {
        padding: 5px;
    }

    #mega-menu .desktop-nav .navbar-left {
        flex: none;
    }

    #mega-menu .desktop-nav .nav-2 {
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    #mega-menu .desktop-nav .nav-2 > .navbar-links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-evenly;
        gap: 5px;
        font-size: 21px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #mega-menu .nav-2 > .navbar-links > li > a {
        padding: 0 5px !important;
        display: block;
    }

    #mega-menu .sd-service-grid-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }

    #mega-menu .sd-grid-22,
    #mega-menu .three-col-column {
        grid-row-gap: 7px;
    }

    #mega-menu .sd-grid-22 {
        grid-template-rows: repeat(4, auto);
    }

    #mega-menu .three-col-container,
    #mega-menu .three-col-container .three-col-column{
        flex-direction: column;
    }

    #mega-menu .social-icons {
        margin-bottom: 0;
        justify-content: flex-end;
    }

    #mega-menu .sd-service-grid-4 .sd-grand-child a {
        padding: 0 10px 5px 0 !important;
    }

    #mega-menu .sd-sub-child {
        padding: 7px 10px;
    }

    #mega-menu .three-col-container .three-col-column .sd-grid-22.sd-col-limit-5 {
        grid-template-rows: repeat(3, auto);
    }

    #mega-menu .nav-2 .navbar-links .callout,
    #mega-menu .nav-2 .navbar-links a.callout {
        margin: 0;
    }

    #mega-menu .site-header__top div:first-child {
        display: block;
    }

    #mega-menu .header-search .header-search__input--dsk.active {
        display: block;
        height: 35px;
        padding: 0;
        width: 300px;
    }

    #mega-menu .header-search .search-icon {
        top: 11px;
    }

    #mega-menu .call-out-row {
        padding: 14px 10px;
    }
}

@media (min-width: 481px) and (max-width: 615px){
    #mega-menu .sd-service-grid-4 {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 481px) and (max-width: 990px) {
    #mega-menu .solution-sub-child-grid {
        display: block;
    }

    #mega-menu .solution-sub-child-grid > div:nth-child(2) {
        display: none;
    }

    #mega-menu .three-col-container .three-col-column .sd-grid-22.sd-col-limit-5 {
        grid-template-rows: repeat(5, auto);
    }

    #mega-menu .sd-service-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    #mega-menu .header-search .search-icon {
        top: -8px !important;
    }
}

@media (min-width: 992px) {
    .site-header__main {
        gap: 0;
    }
}
@media screen and (max-width: 609px) {
    #mega-menu {
        margin: 0;
        padding: 0;
    }

    #mega-menu .mobile-nav .submenu-title {
        padding: 8px 10px;
        white-space: nowrap;
    }

    #mega-menu .sub-child-grid {
        display: block;
        margin-top: 20px;
    }

    #mega-menu .mobile-nav .cta-btn {
        width: 100%;
        margin-bottom: 0;
        margin-top: 20px;
    }

    #mega-menu .burgur-icon-parent {
        display: flex;
        align-items: center;
    }

    #mega-menu .burgur-icon {
        cursor: pointer;
        height: 25px;
        width: 22px;
        position: absolute;
        top: 35px;
        right: 22px;
    }

    #mega-menu .burgur-icon.open {
        display: block;
    }

    #mega-menu .burgur-icon.close {
        display: none;
    }

    #mega-menu .menu-title {
        padding: 10px !important;
    }

    #mega-menu .mobile-nav {
        background-color: #fff;
        border: 1px solid #ccc;
        display: block;
    }

    #mega-menu .desktop-nav {
        display: none;
    }

    #mega-menu .p-20 {
        padding: 20px;
    }

    #mega-menu .submenu {
        margin: 0;
        padding: 0;
        transition: max-height 0.5s ease-out, padding 0.5s ease-out;
        max-height: 0;
        height: auto;
        overflow: hidden;
    }

    #mega-menu .submenu-grand-child {
        background-color: #EAF5FF !important;
    }

    #mega-menu .submenu-grand-child > div > a {
        padding: 8px 15px !important;
        background-color: #EAF5FF !important;
    }

    #mega-menu .submenu-grand-child > li > a {
        padding: 8px 15px !important;
        background-color: #EAF5FF !important;
    }

    #mega-menu .submenu-grand-child > li > a:hover {
        background-color: #EAF5FF !important;
    }

    #mega-menu .submenu {
        font-size: 16px;
        font-weight: bold;
        padding: 0 10px;
        max-height: 0;
    }

    #mega-menu .submenu.open {
        max-height: 100%;
        border: 1px solid rgb(197, 197, 197);
        padding: 10px;
    }

    #mega-menu .submenu.headers.open {
        border: none;
        padding: 0 10px;
    }

    #mega-menu .menu-item {
        position: relative;
        border-bottom: none;
    }

    #mega-menu .menu-title:hover {
        background-color: white;
    }

    #mega-menu .menu-title {
        background-color: white;
    }

    #mega-menu .menu-item.open .submenu {
        display: block;
    }

    #mega-menu .menu {
        background-color: white;
        list-style: none;
        margin: 0;
        border: 1px solid #ccc;
        padding: 0 20px 20px;
        width: 100%;
        border-top-color: white;
        box-shadow: 0 2px 8px 5px rgba(0, 0, 0, 0.1);
    }

    #mega-menu .menu-title:hover button {
        border-style: none;
        color: var(--text-blue);
        background-color: white;
        font-size: 18px;
        padding: 0;
        font-weight: bold;
        cursor: pointer;
    }

    #mega-menu .justify-between {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}
@media screen and (min-width:1440px){
    #mega-menu .navbar-links a,
    #mega-menu .navbar-links .site-header-dropdown__trigger-text {
        letter-spacing: 0.6px;
    }
}