/* Header Styles */
.fa, .fas {
    font-weight: 100;
    font-size: 16px;
}
.surge-header {
    background-color: #0F3664;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    margin-right: 30px;
    margin-left: 15px;
}

.logo-image {
    height: 30px;
    width: auto;
}

/* Main Navigation */
.main-nav {
    flex-grow: 1;
}

.nav-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-items li {
    margin-right: 25px;
}

.nav-items a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
    padding: 8px 0;
}

.nav-items a:hover {
    color: #F9A826;
}

/* Header Tools */
.header-tools {
    display: flex;
    align-items: center;
}

/* Search Box */
@media (max-width: 575px) {
	.search-box {
		display:none;
	}
}

@media (min-width: 576px) {
	.search-box {
		position: relative;
		margin-right: 15px;
	}

	.search-box input {
		background-color: white;
		border: none;
		border-radius: 20px;
		padding: 8px 15px;
		width: 200px;
		font-size: 14px;
	}

	.search-btn {
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		background: none;
		border: none;
		color: #666;
		cursor: pointer;
	}
}
/* Language Selector */
.language-selector {
	display:none;
    /* display: flex;*/
    align-items: center;
}

.lang-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
}

.flag-icon {
    height: 16px;
    width: auto;
    margin-right: 5px;
}

.mega-dropdown:hover .findjobs-menu {
    display: flex;
}

.mega-dropdown:hover .findtalent-menu {
    display: flex;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-items {
        display: none;
    }

    .search-box input {
        width: 150px;
    }

    .findtalent-menu{
        left: -70%;
    }
}

/* Container setup */
.mega-dropdown {
    position: relative;
}

.findtalent-menu, .findjobs-menu {
    display: none; /* default hidden */
    flex-direction: row;
	position: absolute;
    top: 100%;
    background: rgba(20, 60, 104, .95);
    padding: 20px;
    border-radius: 10px;
    width: 800px;
    gap: 40px;
    z-index: 1000;
    max-width: 90vw;
    min-width: 320px;
    box-sizing: border-box;
    overflow-x: auto;
    right: 0;
    left: 0;
    inset-inline-end: 0;
}

.findtalent-menu.active, .findjobs-menu.active {
    display: flex;
	flex-direction: row;
}

/* Left side buttons */
.findjobs-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.findjobs-btn {
    background-color: #f8a62e; /* orange */
    color: #234269;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
}

.findjobs-btn:hover {
    background-color: #e19528;
}

/* Right side links */
.findjobs-right {
    display: flex;
    gap: 30px;
	background-color: #143C68;
	padding: 5px 25px;
	border-radius:10px
}

.findjobs-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.findjobs-column a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.findjobs-column a:hover {
    text-decoration: underline;
}

/* Hamburger styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.hamburger span {
    display: block;
    height: 4px;
    width: 28px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Show hamburger and hide nav on small screens */
@media (max-width: 991px) {
    .hamburger {
        display: flex;
    }
    .nav-items {
        display: flex;
        position: absolute;
        justify-content: space-around;
        top: 100%;
        left: 0;
        right: 0;
        background: #0F3664;
        z-index: 1050;
        padding: 20px 0;
        transform: translateY(-30px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .nav-items.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-items li {
        margin: 0 0 15px 0;
        text-align: center;
    }
    .findtalent-menu {
        left: -110%;
    }

    .findtalent-menu,
    .findjobs-menu {
        width: 90vw;
        min-width: unset;
        padding: 10px;
        gap: 20px;
    }
}








