
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all linear 300ms;
    height: 95px;
}
header.is-stick, header.is-single{
    background: var(--secondary);
    height: 95px;
}
header.is-stick:before{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../img/noise.png");
    background-position: center;
    background-size: cover;
    z-index: 1001;
}
header .logo-wrp .small-logo{
    background: url("../img/smalLogo.png");
	height:60px;
	width: 60px;
	background-size: cover;
}
header .logo-wrp .uxwh-logotype{
    font-size: 7.4rem;
    line-height: 2.7rem;
}
header .header-menu li{
    display: inline-block;
    padding: 0.7rem 1rem;
    position: relative;
}
header .header-menu li:hover:before {
    width: 100%;
    height: 3px;
    background: var(--secondary-dark);
    content: " ";
    display: block;
    position: absolute;
    top: -1.5rem;
    left: 0;
    z-index: 1004;
}
header .header-menu li:last-child{
    padding-left: 0;
}
header .header-menu li:hover{
    font-weight: 600;
}

header .plate {
    height: 24px;
    width: 24px;
    position: relative;
    z-index: 1005;
    margin: 0.7rem 0 0 0.7rem;
}
header .plate svg {
    position: absolute;
    height: 60px;
    width: 60px;
    top: -18px;
    right: -18px;
}
header .plate svg.x {
    transform: scale(0);
    transition: transform 400ms;
}
header .plate svg .line {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 50%;
    transition: stroke-dasharray 500ms 200ms, stroke-dashoffset 500ms 200ms, transform 500ms 200ms;
}
header .plate svg.x .line {
    stroke-width: 2px;
    stroke: var(--white);
}
header .plate svg .line2 {
    stroke-dasharray: 40 200;
    stroke-dashoffset: 0px;
}
header .plate svg .line3 {
    stroke-dasharray: 40 179;
    stroke-dashoffset: 0px;
}
header .plate.active svg .line {
    transition: stroke-dasharray 500ms, stroke-dashoffset 500ms, transform 500ms;
}
header .plate.active svg .line1 {
    transform: scale(0, 1);
    transition: transform 500ms 100ms;
}
header .plate.active svg .line2 {
    stroke-dasharray: 5px 200;
    stroke-dashoffset: -164px;
}
header .plate.active svg .line3 {
    stroke-dasharray: 5px 179;
    stroke-dashoffset: -142px;
}
header .plate.active svg.x {
    transform: scale(1);
    transition: transform 400ms 350ms;
}

header .mobile-menu-wrp {
    background: linear-gradient(180deg, var(--ultradark), var(--dark));
    box-shadow: 0 3px 10px 2px var(--ultradark);
    position: fixed;
    top: 0;
    left: 0;
    width: 68%;
    height: 100vh;
    z-index: 1002;
    transition: all cubic-bezier(.34,1.18,.39,.22) 600ms;
    transform: translateX(-110%);
}
header .mobile-menu-wrp.is-active{
    transform: translateX(0);
}
header .mobile-menu-wrp ul.header-mobile-menu li{
    display: block;
    position: relative;
    color: var(--white);
    padding-right: 1.6rem;
}

.header-mobile-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
}

.header-mobile-menu .sub-menu {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin-top: 6px;
}


header button.uxwh-button {
    border: 1px solid var(--secondary-dark);
    background: none;
    color: #fff;
    height: 45px;
    font-size: 1rem;
    font-weight: 400;
    margin-right: 3em;
    border-radius: 999px;
    padding: 0 2rem;
    cursor: pointer;
    margin-top: 0.1rem;
    transition: all linear 200ms;
    display: none;
}
header button.uxwh-button:hover{
    background: var(--secondary);
    font-weight: 600;
}
header.is-stick button.uxwh-button{
    display: block;
}
header .relative{
    z-index: 1003;
}




.header-menu .sub-menu,
.header-menu .sub-menu li {
    display: block !important;
    padding: 0 !important;
}

.header-menu > li {
    position: relative;
}

.header-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 240px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.14);
    padding: 14px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99999;
    pointer-events: none;
	overflow: hidden;
}

.header-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.header-menu .sub-menu a {
    display: block;
    padding: 11px 32px;
    color: #333;
    font-size: 15px;
    transition: all 0.25s ease;
}

.header-menu .sub-menu a:hover {
    background: #edf5ff;
    color: #0066cc;
    padding-right: 40px;
}

.header-menu .sub-menu li:hover:before {
    display: none !important;
}



@media (max-width: 991px) {

    .header-mobile-menu .menu-item-has-children > a {
        position: relative;
    }
    .header-mobile-menu .menu-item-has-children > a::after {
        content: "▼";
        font-size: 11px;
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }
    .header-mobile-menu .menu-item-has-children.open > a::after {
        transform: translateY(-50%) rotate(180deg);
    }


    .header-mobile-menu .sub-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        background: rgba(10,90,85,0.04);
        margin-top: 8px;
        border-radius: 12px;
    }


    .header-mobile-menu .menu-item-has-children.open > .sub-menu {
        max-height: 500px;
        padding: 12px 0;
    }

    .header-mobile-menu .sub-menu a {
        padding-right: 36px !important;
        font-size: 15px;
        color: #0A5A55;
    }
}



.header-mobile-menu .sub-menu,
.header-main .sub-menu {
    background: #fff;   
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.header-mobile-menu .sub-menu li a,
.header-main .sub-menu li a {
    padding: 10px 15px;
    display: block;
    color: #333;
    font-size: 15px;
}




@media (max-width: 991px) {

    /* Remove border-bottom from all mobile menu items */
    .header-mobile-menu li {
        border-bottom: none !important;
    }

    /* Arrow for parent items */
    .header-mobile-menu .menu-item-has-children > a {
        position: relative;
        padding-left: 30px !important;
    }

    .header-mobile-menu .menu-item-has-children > a::after {
        content: "▼";
        font-size: 11px;
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
        color: #0A5A55;
    }

    .header .mobile-menu-wrp.is-active .header-mobile-menu .menu-item-has-children.open > a::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Submenu style - white background, less spacing */
    .header-mobile-menu .sub-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        background: #ffffff !important;
        margin: 6px;
        border-radius: 10px;
        padding: 0 !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    .header-mobile-menu .menu-item-has-children.open > .sub-menu {
        max-height: 600px;
    }

    /* Submenu items - less vertical spacing */
    .header-mobile-menu .sub-menu a {
        padding: 9px 0 9px 30px !important;
        font-size: 15px;
        color: #0A5A55;
        display: block;
        border-bottom: none !important;
    }

    /* Optional: small separator line between submenu items */
    .header-mobile-menu .sub-menu li:not(:last-child) a {
        border-bottom: 1px solid #eee;
    }
}



@media (max-width: 575px) {
    
    header, header.is-stick, header.is-single {
        height: 75px;
    }
    header .header-menu li:hover:before{
        display: none;
    }
    main section.mobile-header-section div img{
        height: 230px;
        width: auto !important;
        transform: translateX(18%);
        margin-bottom: 120px;
        max-width: unset !important;
    }
    main section.mobile-header-section-2 div img{
        height: 200px;
		width: auto !important;
		transform: translateX(18%) scale(-1, 1);
		margin-bottom: 160px;
		max-width: unset !important;
    }
    main section.mobile-header-section-3 div img {
        height: 220px;
        width: auto !important;
        transform: translateX(26%);
        margin-bottom: 150px;
        max-width: unset !important;
    }
	main section.mobile-header-section-4 div img{
		margin-bottom: 170px;
		height: 170px;
		width: auto !important;
		max-width: unset !important;
		transform: translateX(68px);
	}
	main section.mobile-header-section-5 div img {
		height: 168px;
		width: auto !important;
		transform: translateX(18%);
		margin-bottom: 188px;
		max-width: unset !important;
	}
}