

// .header-area
.header-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    height: 120px;
    display: flex;
    align-items: center;
    .site-logo{
        img{
            max-width: 180px;
        }
    }
    .stars {
        border-left: 1px solid #8C8F94;
        margin-left: 24px;
        padding-left: 24px;
    }
    .header-menu {
        li {
            a {
                padding: 14px;
                color: #fff;
                transition: all .3s ease;
                font-size: 16px;
                @include mx-desktops{
                    padding: 14px 6px;
                }
                @include mx-large-desktops{
                    padding: 14px 6px;
                }
            }
            &:hover {
                a {
                    color: #EA1B1B;
                }
            }
        }
    }
    .header-search {
        margin-left: 32px;
        &:focus-within {
            .search-icon {
                color: #fff;
            }
        }
        .search-icon {
            position: absolute;
            left: 0;
            top: 8px;
        }
        input {
            padding: 0 36px 0 30px;
            height: 32px;
            background: transparent;
            border: 0;
            border-bottom: 1px solid #7A8396;
            border-radius: 0;
            font-size: 14px;
            color: #7A8396;
            transition: all .5s ease;
            width: 190px;
            @include large-desktops-mid{
                width: 250px;
            }
            &:focus{
                width: 210px;
                border-bottom: 1px solid #fff;
                &::placeholder {
                    color: #fff;
                    opacity: 1; /* Firefox */
                }
                &::-ms-input-placeholder { /* Edge 12-18 */
                    color: #fff;
                }
                @include large-desktops-mid{
                    width: 290px;
                }
            }
        }
        button {
            position: absolute;
            right: 0;
            top: 0;
            height: 32px;
            background: transparent;
            border: 0;
            color: #fff;
        }
    }
    .search-wrap {
        @include all-below-mobile-lg{
            position: fixed;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: #000000db;
            transition: all .5s ease;
            opacity: 0;
            visibility: hidden;
            .header-search {
                width: 320px;
                position: absolute;
                left: 0;
                right: 0;
                top: 40%;
                margin: 0 auto;
            }
            &.active{
                opacity: 1;
                visibility: visible;
            }
            .header-search input, .header-search input:focus{
                width: 320px;    
            }
        }
        .close-search {
            position: absolute;
            right: 20px;
            top: 20px;
            width: 40px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            font-size: 20px;
            color: #fff;
        }
        
    }
    .mobile-search {
        width: 40px;
        height: 34px;
        text-align: center;
        line-height: 34px;
        margin-right: 10px;
    }
    .menu-column{
        @include all-below-med{
            display: none !important;
        }
    }
    
}







// Sticky Header with smooth animation
.header-area {
    // @include desktops{
        &.fixed {
            width: 100%;
            position: fixed;
            top: 0;
            left: 0;
            animation:slide-down 0.7s;
            z-index: 99;
            box-shadow: 0 -40px 20px 30px #000;
            height: 90px;
            background-color: #000;
            @include all-below-med{
                height: 85px;
            }
            &:after {
                position: absolute;
                content: "";
                width: 100%;
                height: 100%;
                left: 0;
                top: 0;
                z-index: -1;
                opacity: 1;
            }
            // .site-logo {
            //     height: 100px;
            //     img{
            //         max-width: 200px;
            //     }
            // }
            // .mainmenu ul li:hover > ul{
            //     top: 100px;
            // }
        }
    // }
    @include all-below-med{
        // position: fixed;
        // left: 0;
        // top: 0;
        // width: 100%;
        // z-index: 9;
        height: 85px;
    }
}
@keyframes slide-down {
    0% {
        // opacity: 0;
        transform: translateY(-100%);
    } 
    100% {
        // opacity: 1;
        transform: translateY(0);
    } 
}



// .offcanvas-menu 
.offcanvas-menu {
    position: fixed;
    right: -330px;
    top: 0px;
    background: $secondary-color;
    width: 330px;
    z-index: 999999;
    // padding: 30px 40px 35px;
    height: 100%;
    @extend %basetransition2;
    @include all-below-med{
        overflow-y: scroll;
        top: 0px;
    }
    &.active{
        right: 0;
    }
    .logo {
        margin-bottom: 25px;
        padding: 30px 30px 0;
        img {
            max-width: 220px;
        }
        a{
            display: block;
        }
    }
    ul{
        li {
            a {
                padding: 5px 30px;
                margin-bottom: 5px;
                color: #fff;
                // opacity: .8;
                display: block;
            }
            &:hover > a {
                // color: #C21A80;
                // opacity: 1;
                background-color: $accent;
                color: $secondary-color;
            }
            ul{
                display: none;
                padding-left: 15px;
            }
            .menu-expand {
                position: absolute;
                display: block;
                right: 0px;
                top: 5px;
                transition: all .3s ease;
                i{
                    font-size: 16px;
                    color: #fff;
                    // opacity: .8;
                }
            }
            // &:hover{
            //     .menu-expand i{
            //         opacity: 1;
            //     }
            // }
            // &.active .menu-expand{
            //     transform: rotate(180deg);
            //     // top: 10px;
            // }
        }
    }
    .menu-item-has-children{
        >a{
            position: relative;
        }
        >a::before{
            position: absolute;
            right: 20px;
            top: 2px;
            content: "\f107";
            color: #fff;
            font-family: "Font Awesome 6 Pro";
            font-size: 22px;
            // opacity: .8;
            // transition: all .3s ease;
        }
        &:hover>a::before{
            color: $secondary-color;
        }
        &.submenu-open:before{
            transform: rotate(180deg);
        }
        &:hover{
            &:before{
                opacity: 1;
            }
        }
    }
	.whatsApp {
		margin-top: 30px;
		i {
			width: 30px;
			height: 30px;
			font-size: 20px;
			border-radius: 50%;
			background-color: #47c756;
			padding: 5px 4px 0px 7px;
		}

	}
    .menu-item-has-children{
        position: relative;
    }
	.bottom-links {
        padding: 20px 30px 0px;
        a {
            color: #fff;
            margin-right: 15px;
            opacity: .8;
            &:hover{
                opacity: 1;
            }
            i {
                margin-right: 3px;
            }
        }
    }
    .social-icons{
        padding: 30px 30px 0px;
        a{
            width: 21px;
            height: 21px;
            border: 1px solid #fff;
            text-align: center;
            font-size: 12px;
            margin-right: 7px;
            color: #FFF;
            line-height: 21px;
            transition: all .5s ease;
            &:last-child{
                margin-right: 0;
            }
            &:hover{
                background-color: $accent;
                border-color: $accent;;
            }
        }
    }
    .burger-icon {
        position: absolute;
        right: 10px;
        top: 10px;
        border: 0;
    }
}

.burger-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #7A8396;
    text-align: center;
    line-height: 32px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    &:hover{
        opacity: .7;
    }
}




// hamburger menu
// body.is-active {
//     position: fixed;
//     height: 100vh;
//     width: 100%;
//     overflow: hidden;
// }
.hamburger {
    // cursor: pointer;
    // transition-timing-function: linear;
    // transition-duration: .15s;
    // transition-property: opacity,filter;
    // height: 38px;
    .hamburger-box {
        // position: relative;
        // display: inline-block;
        // width: 38px;
        // .hamburger-inner {
        //     transition-timing-function: cubic-bezier(.55,.055,.675,.19);
        //     transition-duration: .22s;
        //     &:before {
        //         transition: top .1s ease-in .25s,opacity .1s ease-in;
        //     }
        //     &:after {
        //         transition: bottom .1s ease-in .25s,transform .22s cubic-bezier(.55,.055,.675,.19);
        //     }
        // }
        // .hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
        //     position: absolute;
        //     width: 38px;
        //     height: 3px;
        //     transition-timing-function: ease;
        //     transition-duration: .15s;
        //     transition-property: transform;
        //     border-radius: 4px;
        //     background-color: #fff;
        // }
        // .hamburger-inner:after, .hamburger-inner:before {
        //     display: block;
        //     content: "";
        // }
        // .hamburger-inner:after {
        //     bottom: -10px;
        //     transition: bottom .1s ease-in .25s,transform .22s cubic-bezier(.55,.055,.675,.19);
        // }
        // .hamburger-inner:before {
        //     top: -10px;
        //     transition: top .1s ease-in .25s,opacity .1s ease-in;
        // }
    }
    // &.is-active {
    //     .hamburger-inner {
    //         transition-delay: .12s;
    //         transition-timing-function: cubic-bezier(.215,.61,.355,1);
    //         transform: rotate(225deg);
    //         &::before{
    //             top: 0;
    //             transition: top .1s ease-out,opacity .1s ease-out .12s;
    //             opacity: 0;
    //         }
    //         &::after{
    //             bottom: 0;
    //             transition: bottom .1s ease-out,transform .22s cubic-bezier(.215,.61,.355,1) .12s;
    //             transform: rotate(-90deg);
    //         }
    //     }
    // }
}
// .hamburger.is-active:hover, .hamburger:hover {
//     opacity: .7;
// }




