#masthead-sticky-wrapper {
    background-color: var(--black);
    z-index: 99;
    position: relative;
    width: 100%;
    display: unset;
    position: sticky;
    top: 0;
}

header {
    background-color: var(--black);
    padding: 15px 50px 15px 50px;
    display: flex;
    justify-content: space-between;
    flex-grow: 0;
    justify-content: space-between;
    align-items: center;
    gap: 10px 20px;
    color: var(--white);
    font-size: var(--font-medium);
}

.site-logo {
    width: 200px;
}

.menu-toggle-m.hamburger {
    display: none;
}

.page_link {
    display: flex;
    gap: 4%;
    justify-content: center;
    width: calc(100% - 150px - 42px);
}

.page_link span {
    color: var(--white);
    text-decoration: none;
    display: inline-block;
}

.page_link .page_item {
    line-height: 40px;
    color: var(--white);
    cursor: pointer;
}

.page_link .page_item.icon_3mr{
    padding-left: 36px;
    background-position: left top 12px;
    background-size: auto 18px;
}

html[lang=en-us] .page_link .page_item.icon_3mr{
    padding-left: 33px;
    background-size: auto 16px;
}

.page_link .icon_wtsapp.page_item {
    padding-right: 35px;
    background-position: right top 6px;
    background-size: auto 29px;
}

.lang_menu {
    width: 200px;
    text-align: right;
    cursor: pointer;
}

.lang_menu .lang_opt {
    background-color: var(--green);
    border-radius: 50%;
    /* padding: 10px; */
    justify-content: flex-end;
    /* font-family: 'stc-heavy'; */
    width: 36px;
    height: 36px;
    /* padding: 6.5px 10px; */
    text-align: center;
}

.lang_menu .lang_opt a{
    color: white;
    text-decoration: none;
    display: inline-block;
    line-height: 35px;
}

/* 
header .right {
    display: flex;
    gap: 25px;
    align-items: flex-end;
    margin-bottom: 20px;
    position: relative;
}

header .right .social_media_wrapper {
    display: flex;
    gap: 20px;
}

header .right .social_media_wrapper .icon_fb, 
header .right .social_media_wrapper .icon_ig{
    width: 15px;
    height: 15px;
    cursor: pointer;
}

header .right .lang_menu{
    font-family: 'RndCnd_Bold';
    line-height: 15px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

header .right .lang_menu:before {
    content: '';
    width: 10px;
    background-image: var(--icon-arrow);
    position: relative;
    display: inline-block;
    height: 10px;
    background-position: center;
    background-repeat: no-repeat;
}
*/
.hamburger {
    display: block;
    cursor: pointer;
    outline: 0;
    padding: 0;
    /* margin: auto; */
    height: 13px;
    width: 20px;
    transition: all 333ms linear;
    position: relative;
    top: 0;
    /* right: 20px; */
    bottom: 0;
    z-index: 99;
    margin-left: 20px;
}

.hamburger .hamburger-box {
    height: 2px;
    width: 20px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    transition: all 333ms linear;
    pointer-events: none;
    background-color: var(--green1);
    border-radius: 1.5px;
}

.hamburger .hamburger-box:after, .hamburger .hamburger-box:before {
    background-color: var(--green1);
    content: '';
    height: 2px;
    width: 20px;
    transition: all 333ms linear;
    position: absolute;
    left: 0;
    border-radius: 1.5px;
}

.hamburger .hamburger-box:before {
    top: -5.5px;
}

.hamburger .hamburger-box:after {
    top: 5.5px;
}

.hamburger.active .hamburger-box {
    background: 0 0;
}

.hamburger.active .hamburger-box:before {
    transform: rotate(45deg) translateX(2px) translateY(2px);
    height: 1.5px;
}

.hamburger.active .hamburger-box:after {
    transform: rotate(-45deg) translateX(6px) translateY(-6px);
    height: 1.5px;
}

#site-navigation .menu-toggle-m.hamburger {
    position: absolute;
    right: 68px;
    top: 103px;
}

nav#site-navigation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 150;
}

#site-navigation:before {
    width: 100%;
    height: 100vh;
    content: '';
    background-color: var(--black);
    position: absolute;
    opacity: 0.8;
}

.site-navigation-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    gap: 50px;
}

.site-navigation-list .middle_section {
    width: min-content;
    position: relative;
    text-align: center;
    text-transform: lowercase;
    font-size: var(--font-header);
}

.site-navigation-list .left_section, .site-navigation-list .left_section .office_location_wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 30px;
}

.site-navigation-list .left_section .office_details_wrapper{
    margin-bottom: 0;
}

.site-navigation-list .left_section .office_details_wrapper .company_name {
    margin-bottom: 15px;
}


.site-navigation-list .left_section .office_location_wrapper .txt {
    color: var(--white);
}

.site-navigation-list .middle_section .site-navigation-list-item a {
    text-decoration: none;
    color: var(--white);
}

.site-navigation-list .middle_section .social_media_wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}

.site-navigation-list .middle_section .social_media_wrapper .icon_fb, .site-navigation-list .middle_section .social_media_wrapper .icon_ig {
    width: 30px;
    height: 30px;
    display: inline-block;
    position: relative;
    filter: brightness(1) invert(1);
}

.site-navigation-list .narrow_container {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.site-navigation-list .left_section {
    flex-direction: column;
    justify-content: flex-end;
}

.site-navigation-list .left_section.sec {
    visibility: hidden;
} 


#site-navigation-m {
    position: absolute;
    right: calc(-100% - 84px);
    top: 0;
    background-color: #fff;
    padding: 21px 42px 26px 42px;
    color: #000;
    width: 100%;
    box-sizing: border-box;
    transition: right 666ms ease-in-out;
    display: none;
}

ul.subpage_list {
    height: 0;
    overflow: hidden;
    /* padding: 5px 10px; */
    position: absolute;
    width: 100%;
    background-color: #00000090;
    text-align: center;
    transition: max-height 0.5s ease-out; /* Transition for smooth effect */
    max-height: 0;
    z-index: 10;
}

li.subpage_link {
    padding: 3px 5px;
}

li.subpage_link:not(:last-child) {
    border-bottom: 1px solid #838383;
}

.page_item.parent_link {
    position: relative;
}


.icon_3mr.page_item.parent_link .subpage_list{
    margin-left: -36px;
}


@media (min-width: 1181px) {
    .page_item.parent_link:hover .subpage_list {
        width: max-content;
        max-height: 500px;
        cursor: pointer;
        transition: max-height 0.5s ease-in;
        height: auto;
        padding: 0 10px;
        margin-left: -50px;
    }
    
}

@media (max-width: 1180px) {
    .site-logo {
        width: 150px;
    }

    .lang_menu {
        width: 100px;
        text-align: left;
    }

    .menu-toggle-m.hamburger {
        display: block;
        cursor: pointer;
        outline: 0;
        padding: 0;
        margin: auto;
        height: 21px;
        width: 27px;
        transition: all 333ms linear;
        position: absolute;
        top: 0;
        right: 20px;
        bottom: 0;
        z-index: 99;
    }

    header {
        padding: 15px 30px;
    }

    header .hamburger .hamburger-box {
        height: 3px;
        width: 27px;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        margin: auto;
        transition: all 333ms linear;
        pointer-events: none;
        background-color: #00b140;
        border-radius: 1.5px;
    }

    header .hamburger .hamburger-box:after, header .hamburger .hamburger-box:before {
        background-color: #00b140;
        content: "";
        height: 3px;
        width: 27px;
        transition: all 333ms linear;
        position: absolute;
        left: 0;
        border-radius: 1.5px;
    }

    header .hamburger .hamburger-box:before {
        top: -8.5px;
    }

    header .hamburger .hamburger-box:after {
        top: 9.5px;
    }

    header .hamburger.active .hamburger-box {
        background: 0 0;
    }

    header .hamburger.active .hamburger-box:before {
        transform: rotate(45deg) translateX(7px) translateY(6px);
    }

    header .hamburger.active .hamburger-box:after {
        transform: rotate(-45deg) translateX(6px) translateY(-6px);
    }

    .top.page_link {
        display: none;
    }

    .submenu_switch {
        width: 25px;
        height: 25px;
        /* background-color: var(--green); */
        right: 40px;
        position: absolute;
        top: 7px;
    }
    
    .submenu_switch:before {
        content: '';
        width: 25px;
        height: 3px;
        background-color: var(--green);
        position: absolute;
        top: 10px;
        right: 0;
    }
    
    .submenu_switch:after {
        content: '';
        width: 25px;
        height: 3px;
        background-color: var(--green);
        right: 0px;
        position: absolute;
        top: 20px;
        transform-origin: center;
        top: 10px;
        /* right: 20px; */
        transform: rotate(90deg);
        transition-duration: 0.3s;
        transition-property: transform;
    }

    .submenu_switch.open:after {
        transform: rotate(0deg);
    }

    ul.subpage_list {
        display: block;
        position: relative;
        /* height: auto;
        max-height: initial; */
        /* background-color: #141414; */
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in;
        max-height: 0;
    }

    ul.subpage_list.open {
        height: auto;
        max-height: 500px;
    }
    
    .page_link .page_item {
        width: 100%;
        text-align: center;
    }
    
    li.subpage_link:not(:last-child) {
        /* border-bottom: 1px solid #2d2d2d; */
        border: none;
    }
    
    li.icon_3mr.page_item {
        width: auto;
    }
    
    .page_link .icon_wtsapp.page_item {
        width: auto;
    }

    .page_link .page_item.icon_3mr{
        background-position: left top 5px;
    }
}

@media screen and (max-width: 1180px) {
    #site-navigation-m {
        padding-top: 100px;
        padding-bottom: 64px;
        position: fixed;
        z-index: 99;
        height: 100vh;
        display: block;
        background-color: var(--black);
    }

    #site-navigation-m.active {
        right: 0;
    }

    #site-navigation-m .page_link {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .icon_3mr.page_item.parent_link .subpage_list{
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    #site-navigation-m.active {
        padding: 100px 30px 64px 30px;
    }

    .submenu_switch {
        right: 0;
    }
    
}