div#masthead-sticky-wrapper{position:fixed !important;width:100%;top:0;left:0;z-index:1000 !important;}
div#masthead-sticky-wrapper .site-header{background:transparent;z-index:999 !important;}
div#masthead-sticky-wrapper.scrolled .site-header{background-color:#0D3B70!important;}

.site-header .nav-div .site-branding a img{max-height:38px !important;}

.single-job div#masthead-sticky-wrapper .site-header {
    background-color: #0D3B70 !important;
}

.single-service div#masthead-sticky-wrapper .site-header {
    background-color: #0D3B70 !important;
}

.page-id-139 div#masthead-sticky-wrapper .site-header {
    background-color: #0D3B70 !important;
}

.page-id-3 div#masthead-sticky-wrapper .site-header {
    background-color: #0D3B70 !important;
}

.page-id-3 h1,h2,h3,h4,h5,h6 {
    color: #0D3B70 !important;
}

.page-id-1432 div#masthead-sticky-wrapper .site-header {
    background-color: #0D3B70 !important;
}

.page-id-1432 h1,h2,h3,h4,h5,h6 {
    color: #0D3B70 !important;
}

.main-navigation{justify-content:flex-end !important;}
.main-navigation .main-menu-container > ul > li,
.main-navigation .menu-contact-menu-container > ul > li{font-family:"Onest",sans-serif !important;font-size:17px !important;color:#FFF !important;}
.main-navigation .main-menu-container > ul li a{font-family:"Onest",sans-serif !important;color:#FFF !important;}
/* .main-navigation .main-menu-container ul li.current-menu-item a, */
/* .main-navigation .main-menu-container .current-page-parent a{font-family:"Onest",sans-serif !important;color:#FFF !important;font-weight:400 !important;} */

/* ==========================================================================
   1. OVERFLOW FIX (Forces the dropdown to escape the header bounds)
   ========================================================================== */
.site-header,
.site-header .container,
.nav-div,
.main-navigation,
.main-menu-container,
ul.menu-wrapper {
    overflow: visible !important;
}

/* ==========================================================================
   2. CONTACT BUTTON STYLING
   ========================================================================== */
.main-navigation .menu-wrapper li.nav-contact-btn {
    display: flex;
    align-items: center; 
    margin-left: 15px; 
    height: 100%; 
}

.main-navigation .menu-wrapper li.nav-contact-btn a {
    background-color: #ffffff !important; 
    color: #0D3B70 !important; 
    padding: 12px 28px !important; 
    border-radius: 50px !important; 
    height: auto !important; 
    line-height: normal !important; 
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.main-navigation .menu-wrapper li.nav-contact-btn a:hover {
    background-color: #a855f7 !important;
    color:#FFF !important;
}


/* ==========================================================================
   3. DROPDOWN CHEVRON (The Arrow next to "Services")
   ========================================================================== */
/* Align the text and the new arrow */
.main-navigation .menu-wrapper > li.menu-item-has-children > a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px; 
}

/* Draw the downward arrow using borders */
.main-navigation .menu-wrapper > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #ffffff; 
    border-bottom: 2px solid #ffffff; 
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 4px;
}

/* Flip the arrow up when hovering over the menu item */
.main-navigation .menu-wrapper > li.menu-item-has-children:hover > a::after {
    transform: translateY(2px) rotate(225deg);
}

/* ==========================================================================
   4. DROPDOWN MENU CONTAINER (The Box)
   ========================================================================== */
.main-navigation .menu-wrapper li.menu-item-has-children {
    position: relative !important;
}

.main-navigation .menu-wrapper li ul.sub-menu {
    display: none !important; 
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: #ffffff !important;
    min-width: 220px !important;
    padding: 10px 0 !important;
    z-index: 99999 !important;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    margin: 0 !important;
    list-style: none !important; 
}

/* Show the box on hover */
.main-navigation .menu-wrapper li.menu-item-has-children:hover > ul.sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==========================================================================
   5. DROPDOWN MENU ITEMS (The Links Inside)
   ========================================================================== */
/* Reset the list items inside the dropdown */
.main-navigation .menu-wrapper li ul.sub-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    width: 100%;
}

/* Style the actual clickable links inside */
.main-navigation .menu-wrapper li ul.sub-menu li a {
    color: #0D3B70 !important; 
    padding: 12px 24px !important; 
    display: block !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4 !important;
    height: auto !important; 
    text-transform: none; 
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Remove the arrow logic from the sub-menu items just in case you ever have sub-sub-menus */
.main-navigation .menu-wrapper li ul.sub-menu li.menu-item-has-children > a::after {
    display: none !important;
}

/* Hover effect for the dropdown items */
.main-navigation .menu-wrapper li ul.sub-menu li a:hover {
    background-color: #f0f4f8 !important; 
    color: #0D3B70 !important;
}

/* ==========================================================================
   6. HIDE THEME MOBILE TOGGLES ON DESKTOP
   ========================================================================== */
@media (min-width: 992px) {
    .main-navigation .menu-wrapper li.menu-item-has-children .subnav-toggle,
    .main-navigation .menu-wrapper li.menu-item-has-children .submenu-toggle {
        display: none !important;
    }
}

/* ==========================================================================
   FOOTER CSS
   ========================================================================== */

.section-home-hero{min-height:560px !important;}

.site-footer {
    background-color: #0D3B70 !important;
}

.footer-section {
    display: flex;
}

.footer-logo-wrapper {
    display: flex;
    align-items: start;
    flex: 0.8;
}

.wrapper-1 {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    align-items: start;

}

.wrapper-2 {
    flex: 0.7;
}

.footer-logo-wrapper p {
    font-size: 19px !important;
    text-align: start !important;
}

.wrapper-1 .custom-logo {
    width: 240px !important;
    height: auto  !important;
    margin-bottom: 31px !important;
}

.footer-navigation {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-navigation ul {
    list-style: none !important;      
    padding: 0 !important;           
    margin: 0 !important;            
}

.footer-navigation li {
    margin-bottom: 24px !important;            
}

.footer-navigation .service-menu {
    align-items: start;
    flex:1;
}

.service-menu .menu-item a {
    text-decoration: none;
}

.service-menu .menu-item a:hover {
    color: #78DBE0;
}

.quick-menu .menu-item a {
    text-decoration: none;
}

.quick-menu .menu-item a:hover {
    color: #78DBE0;
}

.footer-navigation .quick-menu {
    align-items: start;
    flex:1;
}

.footer-navigation .service-menu h3 {
    color: white !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    font-family: "Onest", serif !important;
    font-style: normal !important;
    margin-bottom: 18px !important;
}

.footer-navigation .quick-menu h3 {
    color: white !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    font-family: "Onest", serif !important;
    font-style: normal !important;
    margin-bottom: 18px !important;
}

.linkedin-btn {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: white !important;
}

.linkedin-btn img {
    margin-right: 14px !important;
}

.footer-copyright {
    display: flex !important;
    align-items: center !important;
}

.footer-copyright .copyright {
    flex: 1 !important;
    align-items: center !important;
    justify-content: start !important;
}

.copyright p {
    color: white !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.footer-links p {
    color: white !important;
    font-size: 14px !important;
}

.footer-copyright .footer-links {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: end !important;
    color: white !important;
}

.footer-divider {
    color: #E9F3FF !important;
    opacity: 0.4 !important;
}

.footer-border-right {
    border-right: 1px solid white;
    margin-right: 20px !important;
    padding-right: 20px !important;
}



/* MOBILE CSS */

/* ==========================================================================
   MOBILE MENU STYLING (Figma Match)
   ========================================================================== */

@media (max-width: 767px) {
    .nav-contact-btn {
        display: none !important;
    }

    div#header-menu-sidebar-bg {
        background-color: transparent !important;
    }

    .menu li.menu-item {
        background: white;
    }

    .mobile-nav-spacing {
        display: flex !important;
        align-items: center;
        gap: 20px;
    }

    .mobile-nav-spacing a {
        color: #0D3B70 !important;
    }

    .footer-logo-wrapper p {
        font-size: 16px !important;
    }

    .service-menu .menu li.menu-item {
        background: transparent !important;
        font-size: 14px !important;
    }

    .quick-menu .menu li.menu-item {
        background: transparent !important;
        font-size: 14px !important;
    }

    .footer-navigation .service-menu h3 {
        font-size: 18px !important;
    }

    .footer-navigation .quick-menu h3 {
        font-size: 18px !important;
    }

    .footer-section {
        flex-direction: column;
        gap: 48px;
    }

    .footer-navigation {
        flex-direction: column;
        gap: 48px;
        padding: 0 !important;
    }

    .footer-copyright {
        flex-direction: row !important;
        align-items: start !important;
    }

    .footer-border-right {
        border-right: none !important;
        margin: 0 !important;
    }

    .footer-stacked-list {
        display: flex !important;
        flex-direction: row !important; 
        align-items: flex-start !important; 
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .footer-stacked-list p {
        margin-bottom: 24px !important;
    }

    .copyright-div .copyright p{
        text-align: start !important;
    }

    .copyright p {
        color: white !important;
        font-size: 10px !important;
        font-weight: 400 !important;
    }

    .footer-divider {
        margin-top: 24px !important;
        margin-bottom: 20px !important;
    }

    .copyright-div {
        padding: 0px !important;
    }

    .site-header .nav-div .site-branding a img {
        height: 24px !important;
    }

    .footer-links p {
        font-size: 10px !important;
    }
}
