.th-header {
    position: relative;
    z-index: 41;

    .icon-btn {
        border-radius: 99px;
    }

    .menu-area {
        position: relative;
        z-index: 2;
    }
}

.info-card {
    display: flex;
    align-items: center;
    gap: 10px;

    &_icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        background-color: $white-color;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.12);
        color: $theme-color;
        font-size: 18px;
        text-align: center;
        border-radius: 50%;
        transition: all 0.5s ease-in-out;

        i {
            color: $theme-color;
            transition: all 0.5s ease-in-out;
        }

        img {
            transition: all 0.5s ease-in-out;
        }

        &:hover {
            background-color: $theme-color;
            color: $white-color;

            i {
                color: $white-color;
            }

            img {
                filter: brightness(9);
            }
        }

    }

    &-wrap {
        display: flex;
        gap: 15px 80px;

        @include xl {
            gap: 15px 40px;
        }

        @include sm {
            display: block;
        }
    }

    @include sm {
        margin-bottom: 20px;
    }

    &_icon {
        color: $theme-color;

        i {
            background-color: var(--icon-bg, #fff);
            @include equal-size-lineHeight(46px);
            font-size: 20px;
            color: $theme-color;
            font-weight: 500;
            border-radius: 50%;
            transition: all 0.4s ease-in-out;

            &:hover {
                background-color: $theme-color;
                color: $white-color;
            }
        }
    }

    &_text {
        font-family: $body-font;
        font-size: 14px;
        color: $body-color;
        margin-bottom: 0;
    }

    &_link {
        font-family: $title-font;
        font-size: 20px;
        font-weight: 600;
        color: $title-color;
        margin-bottom: 0;

        &:hover {
            color: $theme-color;
        }
    }
}

.header-absolute {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.sticky-wrapper {
    transition: 0.4s ease-in-out;

    &.sticky {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        background-color: $white-color;
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.07));
        animation: stickyAni 0.4s ease-in-out;
    }
}

@keyframes stickyAni {
    0% {
        transform: translate3d(0, -40px, 0) scaleY(0.8);
        opacity: 0.7;
    }

    100% {
        transform: translate3d(0, 0, 0) scaleY(1);
        opacity: 1;
    }
}

.main-menu {
    a {
        display: block;
        position: relative;
        font-weight: 500;
        font-size: 18px;
        font-family: $title-font;
        color: $title-color;
        text-transform: uppercase;

        &:hover {
            color: $theme-color;
        }
    }

    >ul {
        >li {
            margin: 0 14px;

            >a {
                padding: 37px 0;

                &:hover {
                    color: $theme-color;
                }
            }
        }
    }

    ul {
        margin: 0;
        padding: 0;

        li {
            list-style-type: none;
            display: inline-block;
            position: relative;

            &.menu-item-has-children {
                >a {

                    &:after {
                        content: "\2b";
                        display: inline-block;
                        position: relative;
                        font-family: $icon-font;
                        margin-left: 4px;
                        font-weight: 600;
                        top: 0;
                        font-size: 0.7em;
                        color: $title-color;
                        transition: 0.3s ease-in-out;
                    }

                    &:hover {

                        &:after {
                            content: "\f068";
                            color: $theme-color;
                            transform: rotate(180deg);
                        }
                    }
                }
            }

            &:last-child {
                margin-right: 0 !important;
            }

            &:first-child {
                margin-left: 0 !important;
            }

            &:hover {
                >ul.sub-menu {
                    visibility: visible;
                    opacity: 1;
                    transform: scaleY(1);
                    z-index: 9;
                }
            }
        }
    }

    ul.sub-menu {
        position: absolute;
        text-align: left;
        top: 100%;
        left: 0;
        background-color: $white-color;
        visibility: hidden;
        min-width: 230px;
        width: max-content;
        padding: 7px;
        left: -14px;
        opacity: 0;
        z-index: -1;
        box-shadow: 0px 4px 15px rgba(1, 15, 28, 0.06);
        border-radius: 0;
        transform: scaleY(0);
        border-bottom: 3px solid $theme-color;
        border-radius: 0 0 20px 20px;
        transform-origin: top center;
        transition: all 0.4s ease 0s;

        a {
            font-size: 18px;
            line-height: 30px;
        }
    }

    ul.sub-menu {
        padding: 18px 20px 18px 18px;
        left: -27px;

        li {
            display: block;
            margin: 0 0;
            padding: 0px 9px;

            &.menu-item-has-children {
                >a {
                    &:after {
                        content: "\2b";
                        float: right;
                        top: 1px;
                        display: inline-block;
                    }

                    &:hover {
                        &:after {
                            content: "\f068";
                            transform: rotate(180deg);
                        }
                    }
                }
            }

            a {
                position: relative;
                padding-left: 0;
                text-transform: capitalize;

                &:before {
                    content: "\f02d";
                    position: absolute;
                    top: 6px;
                    left: 10px;
                    font-family: $icon-font;
                    width: 11px;
                    height: 11px;
                    text-align: center;
                    border-radius: 50%;
                    display: inline-block;
                    font-size: 1em;
                    line-height: 1;
                    color: $theme-color;
                    font-weight: 900;
                    opacity: 0;
                    visibility: visible;
                    transition: 0.3s ease-in-out;
                }

                &:hover {
                    padding-left: 23px;

                    &:before {
                        visibility: visible;
                        opacity: 1;
                        left: 0;
                    }
                }
            }

            ul.sub-menu {
                left: 100%;
                right: auto;
                top: 0;
                margin: 0 0;
                margin-left: 20px;

                li {
                    ul {
                        left: 100%;
                        right: auto;
                    }
                }
            }
        }
    }
}

@media (max-width: 1500px) {
    .main-menu>ul>li {
        margin: 0 13px;
    }
}

.simple-icon {
    border: none;
    background-color: transparent;
    padding: 0;
    font-size: 24px;
    position: relative;

    &:has(.badge) {
        padding-right: 8px;
    }

    .badge {
        top: -8px;
        right: 0;
        font-size: 12px;
    }
}

.header-button {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;

    .th-btn {
        margin-left: 15px;
        padding: 21px 53.4px;

        @include xl {
            display: none;
        }
    }

    .icon-btn {

        &:hover {
            .badge {
                background-color: $title-color;
            }
        }
    }
}

.social-links {

    .social-title {
        font-weight: 400;
        font-size: 14px;
        display: inline-block;
        margin: 0 10px 0 0;
        font-family: $body-font;
        color: $body-color;

        @media(max-width: 1599px) {
            display: none;
        }
    }

    a {
        font-size: 14px;
        display: inline-block;
        color: $body-color;
        margin: 0 15px 0 0;
        transition: all 0.4s ease;


        &:last-child {
            margin-right: 0 !important;
        }

        &:hover {
            color: $theme-color;

            i {
                animation: slideTop 0.5s;
            }
        }
    }
}

.header-logo {
    padding-top: 15px;
    padding-bottom: 15px;

    @include vxs {
        max-width: 140px;
    }
}

.header-links {
    ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    li {
        display: inline-block;
        position: relative;
        font-family: $title-font;
        font-size: 16px;
        font-weight: 500;

        &:not(:last-child) {
            margin: 0 56px 0 0;
        }

        &:not(:last-child) {
            &:after {
                content: '';
                height: 14px;
                width: 1px;
                background-color: #888C97;
                position: absolute;
                top: 3px;
                right: -28px;
            }
        }

        >i {
            color: $white-color;
            margin-right: 8px;
        }
    }

    li,
    span,
    p,
    a {
        color: $body-color;
    }

    a:hover {
        color: $theme-color;
    }

    b,
    strong {
        font-weight: 600;
        margin-right: 6px;
    }

    .social-links a {
        font-size: 14px;
    }
}

.header-notice {
    margin: 0;

    @include lg {
        display: none;
    }
}

.header-top {
    position: relative;
    padding: 8.5px 0;
    background-color: $theme-color;
    z-index: 2;
    --body-color: #fff;
}

.social-links {
    padding-left: 30px;

    .social-title {
        font-size: 16px;
        font-weight: 400;
        color: $white-color;
    }

    a {
        width: 25px;
        height: 25px;
        line-height: 30px;
        border-radius: 50%;
        text-align: center;
        background-color: $white-color;
        color: $title-color;
        transition: all 0.6s ease-in-out;
        margin: 0 2px 0 0;

        &:hover {
            background-color: $title-color;
            color: $white-color;
        }
    }
}

.header-links {
    @include sm {
        display: none;
    }

    li {
        font-weight: 400;

        a {
            transition: all 0.6s ease-in-out;

            &:hover {
                color: $title-color;
            }
        }

        &:not(:last-child) {
            &:after {
                content: '';
                height: 21px;
                width: 1px;
                background-color: #fff;
            }
        }
    }
}

/* Header 1 Start ---------------------------------- */
.header-layout1 {
    .header-top {
        border-radius: 0 0 100px 100px;

        @media(max-width:1699px) {
            border-radius: 0 0 30px 30px;
        }

        @include vxs {
            border-radius: 0;
        }
    }



    .header-logo {
        padding-top: 30px;
        padding-bottom: 0;

        @media(max-width: 480px) {
            max-width: 140px;
        }
    }

    .sticky-wrapper {
        &.sticky {
            .menu-area {
                box-shadow: none;
            }

            .logo-bg {
                @include xs {
                    margin-top: -30px;
                }
            }
        }
    }

    .menu-area {
        position: relative;
        background-color: $white-color;
        box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.05);
        border-radius: 30px;
        padding: 0 20px 0 40px;
        z-index: 2;

        @media(max-width: 1399px) {
            padding: 0 20px 0 30px;
        }

        @include xs {
            padding: 0 20px 0 20px;
        }

        @include vxs {
            padding: 0 10px 0 0;
            border-radius: 0 0 30px 30px;
        }

        .logo-bg {
            position: absolute;
            left: 0;
            top: 0;
            width: 370px;
            height: 361px;
            background-color: $white-color;
            z-index: -1;
            mask-size: auto;

            @include xs {
                width: 260px;
                height: 150px;
            }

        }

    }

    .main-menu {
        position: relative;
        padding-right: 150px;

        @include xxl {
            padding-right: 100px;
        }

        @media(max-width: 1399px) {
            padding-right: 0px;
        }
    }

    .main-menu>ul>li {
        margin: 0 16px;
    }

    .main-menu>ul>li>a {
        padding: 35.5px 0;
    }

    .main-menu a {
        @include lg {
            font-size: 16px;
        }
    }
}

@media (min-width: 1400px) {
    .header-layout1 .th-container {
        --main-container: 1690px;
    }
}

/* Header 1 End ---------------------------------- */
/* Header 2 start ---------------------------------- */
.header-layout2 {
    .header-wrapper {
        display: flex;
        gap: 30px;
    }
    .menu-area {
        background-color: $white-color;  
    }

    .main-menu>ul>li>a {
        padding: 40px 0;
    }

    .main-menu {
        position: relative;
        padding-right: 180px;

        @include xxl {
            padding-right: 100px;
        }

        @media(max-width: 1399px) {
            padding-right: 50px;
        }

        @include lg {
            padding-right: 0;
        }

        >ul>li {
            margin: 0 17.3px;

        }

    }

    .header-button .th-btn {
        margin-left: 20px;
        padding: 20px 48px;
    }
}

@include xl {
    .unittest-header {
        .main-menu {
            a {
                font-size: 15px;
            }

            >ul>li {
                margin: 0 11px;
            }
        }
    }
}


/* Header 2 end ---------------------------------- */


/* ------------------------------Header 1  Start ---------------------------------- */

/* ------------------------------ Header 3  start ---------------------------------- */
.header-layout3 {
    .main-menu {
        position: relative;
        padding-right: 155px;

        @media(max-width: 1399px) {
            padding-right: 50px;
        }

        @include lg {
            padding-right: 0;
        }
    }
}

/* ------------------------------ Header 3  End ---------------------------------- */