:root {
    --the-dark-blue: #002b49;
}

#homeSlider {
	margin-top: 5em;
}
.header-container {
	position: fixed;
	width: 100%;
	z-index: 9;
	background: var(--the-white);
	min-height: 131px;
	display: flex;
	align-items: center;
	transition: all 0.3s ease;
	top: 0;
}

.header-container.scrolled {
	background: rgba(255,255,255,0.8) !important;
	min-height: 90px; /* smaller height */
	max-height: 90px;
}

/* Logo */
.header-logo img {
	height: 80px;
	transition: all 0.3s ease;
}
.header-container.scrolled .main-logo img {
	height: 82px;
	transition: all 0.3s ease;
}
/* =========================
   GLOBAL RESET
========================= */
.mst-flex {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    gap: 1em;
}

.main-navigation {
    position: relative;
}

.the-primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
#menu-terms-menu li::before, .footer-menu li::before {
	display: none !important;
}
.the-primary-menu li {
    position: relative;
}

.the-primary-menu a {
    text-decoration: none;
    color: var(--the-dark-blue);
    font-weight: 500;
    transition: 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
}

.the-primary-menu a:hover {
    opacity: 0.7;
}

.icon-burger-menu::before {
    content: '\e808';
    font-size: 1.5em;
}

.icon-close::before {
    content: '\e812';
    font-size: 1.5em;
}
.the-primary-menu .sub-menu li a:hover {
	padding-left: 5px !important;
	color: var(--thelighter-blue) !important;
}
 .the-primary-menu li a:hover{
     color: var(--thelighter-blue) !important;
 }
.menu-item-has-children>a::after {
    content: '\e813' !important;
    margin-left: 6px;
    font-size: 12px;
    font-family: 'yasam' !important;
    font-size: 10px;
    position: relative;
    top: -3px !important;
}

/* Hide mobile elements by default */
.menu-toggle,
.menu-close,
.menu-overlay {
    display: none;
}

#menu-primary-menu>li:last-of-type>a {
    border: 1.5px solid var(--the-dark-blue);
    padding: 10px 10px;
    border-radius: 5px;
}


/* =========================
   DESKTOP MENU ( > 1301px )
========================= */

@media (min-width: 1451px) {
    .menu-item-has-children>a::after {
        content: '\e813' !important;
        margin-left: 6px;
        font-size: 12px;
        font-family: 'yasam' !important;
        font-size: 10px;
        position: relative !important;
        top: -3px;
    }

    .main-navigation {
        display: flex;
        align-items: center;
    }

    #menu-primary-menu {
        display: flex;
        gap: 1.5em;
    }

    .the-primary-menu {
        display: flex;
        gap: 40px;
        align-items: center;
    }

    .the-primary-menu li a {
        padding: 10px 0;
        display: inline-block;
    }

    /* Desktop Dropdown */
    .the-primary-menu .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 260px;
        background: #ffffff;
        padding: 20px;
        list-style: none;
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        z-index: 1;
    }

    .the-primary-menu .sub-menu li {
        margin-bottom: 0px;
    }

    .the-primary-menu .sub-menu li:last-child {
        margin-bottom: 0;
    }

    .the-primary-menu li:hover>.sub-menu {
        display: block;
    }

    /* Optional dropdown arrow */
    .menu-item-has-children>a::after {
        content: '\25BE';
        margin-left: 6px;
        font-size: 9px;
    }
 
}


/* =========================
   MOBILE MENU ( ≤ 1000px )
========================= */

@media (max-width: 1450px) {

    /* Show hamburger */
    .menu-toggle {
        display: block;
        font-size: 26px;
        cursor: pointer;
        z-index: 10001;
    }
    #menu-primary-menu > li:last-of-type > a {
    	display: inline-block;
    	margin-top: 3px;
    }
    .the-primary-menu a {
	font-size: 13px;
	text-transform: capitalize;
    }
    /* Overlay */
    .menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.4s ease;
        z-index: 9998;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Off Canvas Container */
    .nav-menu-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        z-index: 9999;

        transform: translateX(-100%);
        transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
        will-change: transform;

        padding: 80px 30px;
        overflow-y: auto;
    }

    .nav-menu-container.active {
        transform: translateX(0);
    }

    /* Close button */
    .menu-close {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 24px;
        cursor: pointer;
    }

    /* Vertical layout */
    .the-primary-menu {
	display: flex;
	flex-direction: row-reverse;
	gap: 13px;
	align-items: center;
}

    .the-primary-menu li {
        width: 100%;
    }

    .the-primary-menu li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Mobile Submenu */
    .the-primary-menu .sub-menu {
        display: none;
        padding-left: 15px;
        list-style: none;
        margin-top: 10px;
    }

    .the-primary-menu .sub-menu li a {
        font-size: 16px;
        padding: 8px 0;
        border-bottom: none;
    }

    /* Dropdown arrow */
    .menu-item-has-children>a::after {
        content: '\25BE';
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .menu-item-has-children.open>a::after {
        transform: rotate(180deg);
    }

    /* Lock scroll */
    .no-scroll {
        overflow: hidden;
    }
}
.search-and-language {
	display: flex;
	gap: 10px;
	position: relative;
	top: -3px;
}
.search-trigger {
	position: relative;
	top: -3px;
}