/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: transparent;
    z-index: 997;
    padding: 0;
    height: 100px;
    transition: all .5s;

}

#header.header-scrolled,
#header:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 5px rgb(0 0 0 / 10%);
}


#header .logo {
    font-size: 26px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#header .logo a {
    color: #FFFFFF;
}

#header .logo img {
    max-height: 65px;
    margin-right: 6px;
}

#header .logo .logo-white {
    display: block;
    opacity: 1;
    transition: all .5s;
}

#header.header-scrolled .logo .logo-white,
#header:hover .logo .logo-white {
    display: none;
    opacity: 0;
}

#header .logo .logo-main {
    display: none;
    opacity: 0;
    transition: all .5s;
}

#header.header-scrolled .logo .logo-main,
#header:hover .logo .logo-main {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    #header {
        height: min-content;
    }

    #header, #header.header-scrolled {
        padding: 10px 0;
    }

    #header .logo img {
        max-height: 50px;
    }

}

@media (max-width: 992px) {
    #header:hover .mobile-nav-toggle.bi-list {
        color: var(--primary-color);
    }
}

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .btn-navbar-contact {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 20px;
    }

    .header .navmenu {
        order: 3;
    }
}

body.pg-white #header .logo .logo-main {
    display: block;
    opacity: 1;
}

body.pg-white #header .logo .logo-white {
    display: none;
    opacity: 0;
}

body.pg-white #header {
    background-color: rgba(255, 255, 255, 0.8) !important;


}

body.pg-white .navbar a,
body.pg-white .navbar a:focus {
    color: initial;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar > ul > li {
    position: relative;
}

.navbar > ul > li.active a {
    color: var(--white-color);
}

.navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s;
    padding: 0px 15px;
    color: var(--nav-color);
    line-height: 100px;
}

.header-scrolled .navbar a,
#header:hover .navbar a {
    color: var(--text-color-primary)
}

.navbar a i, .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
    color: var(--bs-white);
}

.header-scrolled .navbar a:hover,
.header-scrolled .navbar li.active > a,
.header-scrolled .navbar .active:focus > a,
.header-scrolled .navbar li:hover > a,
#header:hover .navbar a:hover {
    color: var(--title-color);
}

.navbar.hover__v1 > ul > li > a:before {
    content: "";
    position: absolute;
    left: 20px;
    height: 2px;
    bottom: 3px;
    background-color: var(--primary-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
}

.navbar.hover__v1 a:hover:before, .navbar.hover__v1 li:hover > a:before, .navbar.hover__v1 .active:before {
    visibility: visible;
    width: 40px;
}

.navbar.hover__v2 a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--focus-color);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}

.navbar.hover__v2 a:hover::before, .navbar.hover__v2 li:hover > a::before, .navbar.hover__v2 li.active a::before {
    visibility: visible;
    transform: scaleX(0.6);
}

.navbar .dropdown ul {
    display: flex;
    left: 0;
    margin: 0 -28px;
    /* justify-content: flex-end; */
    position: relative;
}

.navbar .dropdown ul li {
    display: inline-block;
    float: none;
    width: auto;
}

.navbar .dropdown ul a {
    padding: 0 15px;
    margin: 0;
    text-transform: none;
    line-height: 60px;
    position: relative;
    font-size: 16px;
}


.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
    color: var(--primary-color);
}

.dropdown-menu-inner {
    display: block;
    position: absolute;
    height: 0;
    visibility: hidden;
    top: 100px;
    opacity: 1;
    transition: all .5s;
    overflow: hidden;
    transform: translateX(-50%);
    width: 200vw;
    background: rgba(255, 255, 255, 0.85);

}

.sub-nav {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 50%;
    white-space: nowrap;
    transition: all .5s;
}

.navbar .dropdown:hover > .dropdown-menu-inner {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: all .5s;
    box-shadow: 0 0 5px rgb(0 0 0 / 10%);
}

@media (min-width: 992px) {
    .sub-nav {
        height: 60px;
    }

    .navbar .dropdown:hover > .dropdown-menu-inner {
        height: 60px;
    }
}

/**
* Mobile Navigation
*/
.mobile-nav-toggle {
    color: var(--white-color);
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
    color: #fff;
}

.header-scrolled .mobile-nav-toggle.bi-list {
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 30%;
    bottom: 0;
    background: rgba(var(--primary-color-rgb), 0.8);
    transition: 0.5s;
    z-index: 999;
}

.navbar-mobile.hover__v2 > ul > li > a::before {
    position: absolute;
    width: 30px;
    left: 15px !important;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 20px;
    right: calc(var(--bs-gutter-x) * .5);
}


.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 0;
    bottom: 15px;
    left: 0;
    padding: 10px 0;
    overflow-y: auto;
    transition: 0.3s;
}

.navbar-mobile ul li {
    padding: 0;
}

.navbar-mobile a, .navbar-mobile a:focus {
    justify-content: center;
    padding: 10px 20px;
    font-size: 18px;
    color: #FFFFFF !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: normal;

}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
    color: var(--nav-color);
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 0 20px;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 5px 0;
    font-size: 14px;
    line-height: 24px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
    color: var(--primary-color);
}

.navbar-mobile a::before {
    display: none !important;
}

.navbar-mobile .dropdown-menu-inner {
    display: block;
    position: static;
    background: none;
    transform: none;
    width: 100%;
    height: auto;
    visibility: visible;
}

.navbar.navbar-mobile .sub-nav {
    position: relative;
    height: auto;
    left: 0;
}


.navbar.navbar-mobile .dropdown > .dropdown-active ul,
.navbar.navbar-mobile .dropdown > .dropdown-active ul li {
    display: block;
}

.header .btn-navbar-contact, .header .btn-navbar-contact:focus {
    color: var(--white-color);
    background: var(--focus-color);
    font-size: 16px;
    padding: 8px 26px;
    margin: 0;
    border-radius: 4px;
    transition: 0.3s;
}

.header .btn-navbar-contact:hover, .header .btn-navbar-contact:focus:hover {
    color: var(--white-color);
    background: rgba(var(--focus-color-rgb), 0.85);
}


