/* Main Navigation Styles */
nav>ul {
    width: 100%;
    display: inline-block;
    margin: 0;
    padding: 0 10px;
    font-size: 0;
    box-sizing: border-box;
}

.SH_nav_item {
    display: inline-block;
    padding: 0 16px;
    margin: 0;
    list-style: none;
    position: relative;
    vertical-align: middle;
}

.SH_nav_item>a {
    padding: 16px 0;
    display: inline-block;
    font-size: 12px;
    color: #E2E4F0;
    position: relative !important;
}

.SH_nav_item>a::after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #D1AF94;
    height: 3px;
    transition: width 0.3s, opacity 0.3s;
    border-radius: 5px;
    opacity: 0;
}

.SH_nav_item:hover>a::after {
    width: 100%;
    opacity: 1;
}

/* Dropdown Menu Styles */
.SH_nav_item ul {
    display: none;
    margin: 0;
    padding: 0;
    width: 200px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    transition: padding 0.3s, max-height 0.3s;
}

.SH_nav_item ul li {
    padding: 8px 16px;
    font-size: 12px;
    list-style: none;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.SH_nav_item ul li a {
    color: #363a40;
    transition: opacity 0.3s;
}

.SH_nav_item ul li a:hover {
    opacity: 0.5;
}

.SH_nav_item i {
    position: absolute;
    left: 10px;
    top: 25%;
    font-size: 12px;
    color: #70767f;
}

/* Hover Trigger Styles */
.SH_hover_trigger {
    position: absolute;
    top: 99%;
    right: 0;
    padding-top: 6px;
    transition: padding-top 0.3s;
}

.SH_nav_item:hover .SH_hover_trigger {
    padding-top: 6px;
}

.SH_nav_item:hover .SH_hover_trigger>ul {
    display: block;
    padding: 8px 0;
    max-height: 1000px !important;
    opacity: 1;
}

.SH_hover_trigger>ul>li:hover ul {
    display: block;
    position: absolute;
    top: -10px;
    right: 102%;
}

/* Mobile Top Bar Styles */
.SH_mobile_top_bar {
    display: none;
    position: fixed;
    width: 100%;
    padding: 16px 24px;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.23);
    z-index: 10;
}

.SH_mobile_top_bar svg {
    height: 24px;
    fill: #03120c;
    cursor: pointer;
    transition: opacity 0.3s;
}

.SH_mobile_top_bar svg:hover {
    opacity: 0.7;
}

/* Black Background Overlay */
.nav_black_bg {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 10;
}

/* Header Styles */
.SH_header {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    margin: auto;
    width: 90%;
    padding: 15px 16px;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.23);
    border-radius: 12px;
    z-index: 5;
    transition: all 0.3s;
    box-sizing: border-box;
    max-width: 1800px;
}

.SH_header_down {
    width: 100%;
    top: 0;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.9);
    max-width: 100%;
}

.SH_header_down .SH_it_link {
    left: 50px;
}

.SH_header_text:hover {
    opacity: 0.7;
}

.SH_header img {
    height: 44px;
    vertical-align: middle;
    font-weight: 600;
    transition: all 0.3s;
}

/* Close Icon Styles */
.SH_nav_close_icone {
    display: none;
    position: absolute;
    top: 9px;
    left: 14px;
    height: 24px;
    fill: #172A21;
    transition: opacity 0.3s;
}

.SH_nav_close_icone:hover {
    opacity: 0.6;
}

.menu-toggle {
    display: none;
}

/* Media Queries */
@media only screen and (max-width: 1250px) {

    .SH_header,
    nav {
        width: 96%;
    }
}

@media only screen and (max-width: 1160px) {
    .SH_header {
        position: absolute;
        bottom: 0;
        top: auto;
        box-shadow: none;
    }

    nav {
        position: static;
        background-color: #FFF;
        box-shadow: none;
        padding-top: 70px;
    }

    #SH_header {
        position: fixed;
        top: 0;
        right: -260px;
        width: 250px;
        height: 100vh;
        padding-bottom: 100px;
        background-color: white;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.23);
        transition: all 0.3s;
        z-index: 10;
    }

    .SH_mobile_top_bar {
        display: block;
    }

    .SH_nav_item a {
        color: #020D08;
        padding: 10px 0;
    }

    .SH_daydate {
        display: none;
    }

    .SH_nav_item {
        display: block;
    }

    .SH-search_C {
        width: 95%;
        max-width: 400px;
        top: -85px;
    }

    .SH-Input_C {
        width: 100%;
        box-sizing: border-box;
    }

    .SH_nav_close_icone {
        display: block;
    }

    .SH_hover_trigger {
        position: static;
    }

    .SH_nav_item ul {
        box-shadow: none;
    }

    .SH_nav_item:hover .SH_hover_trigger ul {
        padding-bottom: 20px;
        border-bottom: 1px solid #c9c9c9;
        border-radius: 0;
    }
}

@media only screen and (max-width: 780px) {
    .SH_header_text {
        display: none;
    }

    .SH_header img {
        height: 28px;
        transition: all 0.3s;
    }

    .SH_header_down img {
        margin-right: 30px;
    }

    .SH_header_down .SH_it_link {
        left: 35px;
    }

    .SH_header {
        font-size: 0;
        padding: 12px 14px;
    }

    .SH_it_link {
        padding: 7px;
    }

    .SH_it_link svg {
        margin: 0;
    }
}

@media only screen and (max-width: 1480px) {
    .SH_nav_item {
        padding: 0 10px;
    }

    .SH_nav_item a {
        font-size: 11px;
    }

    .SH_daydate {
        font-size: 10px;
    }

    .SH_it_link svg {
        height: 18px;
    }

    .SH_header {
        top: 60px;
        padding: 11px 16px;
    }
}

@media only screen and (max-width: 1480px) {}


.SH_hover_trigger>ul>li {
    position: relative;
    padding: 10px 16px;
    list-style: none;
    /*background-color: rgba(255, 255, 255, 0.9);*/
    /*border-radius: 8px;*/
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);*/
    transition: background-color 0.3s, transform 0.3s;
}

.SH_hover_trigger>ul>li:hover {
    /*background-color: rgba(209, 175, 148, 0.2);*/
    /*transform: translateY(-2px);*/
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
}

.SH_hover_trigger>ul>li:hover ul {
    display: block;
    position: absolute;
    top: -10px;
    right: 102%;
    margin-top: 8px;
    /*background-color: rgba(255, 255, 255, 0.95);*/
    border-radius: 8px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);*/
    /*transition: all 0.3s ease-in-out;*/
    opacity: 1;
    max-height: 400px;
    /* Fallback for smooth dropdown animation */
    overflow: hidden;
}

.SH_hover_trigger>ul>li:hover ul li {
    padding: 10px 14px;
    font-size: 12px;
    color: #363a40;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
}

.SH_hover_trigger>ul>li:hover ul li:hover {
    /*background-color: rgba(209, 175, 148, 0.1);*/
    /*color: #03120c;*/
    cursor: pointer;
}

@media only screen and (max-width: 1160px) {
    .SH_header {
        position: static;
    }

    .SH_header img {
        height: auto;
        width: 74%;
        position: absolute;
        top: 25px;
    }

    .SH-search_C {
        top: auto;
        bottom: 25px;
        width: 86%;
    }
}