/* Start Header Style */
.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgba(0, 0, 0, 0.5));
    z-index: 10;
    position: fixed;
}

.header.header--external {
    position: sticky;
    background-image: none;
    background-color: var(--brown-main-color);
    padding: 0 0;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.brown-header-background {
    background-color: var(--brown-main-color) !important;
    /* Use !important to override existing styles */
}


.header__container {
    margin: 10px 30px;
    align-items: center;
    justify-content: space-between;
    top: 20px;
    display: flex;
}

.header--external .header__container {
    margin: 0px 30px;
    padding: 6px;
}

.logo img {
    width: 150px;
    height: 55px;
    vertical-align: middle;
    position: relative;
}

.header .menu {
    display: flex;
    width: 100%;
    align-items: center;
}

.header .menu .head {
    display: none;
}

.header .menu ul {
    list-style: none;
    margin: 0 auto;
}

.header .menu>ul>li {
    display: inline-block;
}

.header .menu>ul>li:not(:last-child) {
    margin-right: 40px;
}

.header .menu .dropdown {
    position: relative;
}

.header .menu a {
    font-size: 1.0rem;
    font-weight: 300;
    color: white;
    line-height: 1.5;
    display: block;
}

.header .menu>ul>li a {
    padding: 24px, 0;
    transition: color 0.5% ease;
}

.header .menu>ul>.dropdown>a {
    padding-right: 15px;
}

.header .menu i {
    font-size: .8rem;
    pointer-events: none;
    user-select: none;
    position: absolute;
    color: white;
    top: calc(50% - 5px)
}

.header .menu>ul>li>i {
    right: -5px;
}

.header .menu .sub-menu {
    position: absolute;
    top: 140%;
    left: 0;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    transform-origin: top;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    width: 230px;
}

.header.header--external .sub-menu {
    background-color: var(--brown-main-color);
}

.header .menu .sub-menu i {
    transform: rotate(0deg);

}

.header .menu li:hover>.sub-menu {
    opacity: 1;
    transform: none;
    visibility: visible;
    transform: scaleY(1);
    transition: all 0.5% ease;
    top: 160%;
}

.header .menu .sub-menu a {
    padding: 6px 24px;
    font-size: 1rem;
    height: 50px;
}

.header .menu ul li a:hover {
    color: #FAA41A;
}


.open-menu-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 16px;
    display: auto;
    margin-right: 30px;
}

/* start social icon */
.header__social-media-icons-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;

}

.header__social-icon-wrapper {
    width: 34px;
    height: 34px;
    background-color: var(--orange-main-color, orange);
    border-radius: 50%;
    transition: .3s;
    position: relative;
}


.header__social-icon-wrapper:hover {
    background-color: var(--brown-main-color);
    color: var(--orange-main-color);
}

.header__social-icon {
    color: white;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* end social icon */

@media (max-width: 992px) {
    .header {
        padding: 12px 0;
    }

    .header .menu {
        position: fixed;
        right: 0;
        top: 0;
        width: 320px;
        height: 100%;
        /* background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgba(0, 0, 0, 0)); */
        padding: 15px 30px 30px;
        overflow-y: auto;
        z-index: 1;
        transform: translateX(100%);
        display: block;

    }

    .header .menu.open {
        transform: none;
    }

    .header .menu .head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;

    }

    .header .menu .close-menu-btn {
        height: 35px;
        width: 35px;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        cursor: pointer;
        border: none;
    }

    .header .menu .close-menu-btn::before,
    .header .menu .close-menu-btn::after {
        content: ' ';
        position: absolute;
        width: 80%;
        height: 2px;
        background-color: white;
    }

    .header .menu .close-menu-btn::before {
        transform: rotate(45deg);
    }

    .header .menu .close-menu-btn::after {
        transform: rotate(-45deg);
    }

    .header .menu>ul>li {
        display: block;
    }

    .header .menu>ul>li:not(:last-child) {
        margin-right: 0;
    }

    .header .menu>ul>li>a {
        padding: 12px 0;
    }

    .header .menu>ul>.dropdown>a {
        padding-right: 40px;
    }

    .header .menu .dropdown.active>i {
        transform: rotate(180deg);
    }

    .header .menu .sub-menu {
        position: static;
        opacity: 1;
        transform: none;
        visibility: visible;
        padding: 0;
        transition: none;
        box-shadow: none;
        background-color: transparent;
        display: none;
    }

    .header .menu .dropdown i {
        position: absolute;
        top: 20px;
    }

    .header .menu .dropdown .sub-menu.active {
        display: block;
    }

    .header .menu .sub-menu a {
        padding-left: 45px;
        height: auto;
    }

    .header__social-media-icons-wrapper .open-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
        cursor: pointer;
        position: relative;
        background-color: transparent;
    }

    .open-menu-btn {
        list-style: none
    }

    .open-menu-btn .line {
        height: 2px;
        width: 30px;
        margin-right: 20px;
        background-color: white;
        position: absolute;
    }

    .open-menu-btn .line-1 {
        transform: translateY(-8px);
    }

    .open-menu-btn .line-3 {
        transform: translateY(8px);
    }


    .menu {
        position: fixed;
        right: 0;
        top: 0;
        width: 150px;
        height: 100%;
        /* background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgba(0, 0, 0, 0)); */
        background-color: rgba(0, 0, 0, 0.7);
        padding: 15px 30px 30px;
        overflow-y: auto;
        z-index: 1;
        transform: translateX(100%);
    }
}

/* end header */