header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(13, 39, 74, 1);
	z-index: 1000;
	padding: 1vw;
	transition: all 0.3s ease-in-out;
	height: auto;
}

.container {
	display: flex;
	align-items: center;
	width: 90%;
	justify-content: space-between;
}

.logo {
	width: clamp(150px, 14vw, 250px);
	transition: all 0.3s ease-in-out;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: clamp(150px, 14vw, 250px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
    z-index: 1001;
	border-radius: 5px;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.logo-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s;
}

.dropdown-menu li {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-container:hover .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
}

.logo-container:hover .dropdown-menu li:nth-child(1) {
    transition-delay: 0.1s;
}
.logo-container:hover .dropdown-menu li:nth-child(2) {
    transition-delay: 0.2s;
}
.logo-container:hover .dropdown-menu li:nth-child(3) {
    transition-delay: 0.3s;
}
.logo-container:hover .dropdown-menu li:nth-child(4) {
    transition-delay: 0.4s;
}

.dropdown-menu li {
    transition-delay: 0s;
}

.dropdown-menu li a:hover {
    background-color: #0d274a;
	color: white;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
	text-align: center;
    display: block;
    padding: 12px 16px;
    color: #0d274a;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.3vw, 1.5rem);
    transition: background-color 0.3s;
}

nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.nav-links-mobile {
	display: none;
	list-style: none;
	justify-content: center;
	flex: 1;
}

.nav-links {
	display: flex;
	list-style: none;
	justify-content: center;
	align-items: center;
	flex: 1;
}

.nav-links li {
	margin: 0 15px;
	transition: all 0.3s ease-in-out;
}

.nav-links li:hover {
	transform: scale(1.1);
	transition: all 0.3s ease-in-out;
}

.nav-links a {
	text-decoration: none;
	color: #fff;
	font-size: clamp(0.9rem, 1.3vw, 1.5rem);
	transition: all 0.3s ease-in-out;
	cursor: pointer;
	text-shadow: 
		2px 2px 4px rgba(0, 0, 0, 0.7),
		-2px 2px 4px rgba(0, 0, 0, 0.7),
		2px -2px 4px rgba(0, 0, 0, 0.7),
		-2px -2px 4px rgba(0, 0, 0, 0.7);
	white-space: nowrap;
}

.nav-links-mobile li {
	margin: 0 15px;
}

.nav-links-mobile a {
	text-decoration: none;
	color: #fff;
	font-size: clamp(0.9rem, 1.3vw, 1.5rem);
	cursor: pointer;
}

.right-links {
	display: flex;
	list-style: none;
	align-items: center;
	transition: all 0.3s ease-in-out;
}

.right-links li {
	margin: 5px;
	transition: all 0.3s ease-in-out;
}

.right-links a {
    cursor: pointer;
    position: relative;
    padding: clamp(0.3rem, .5vw, 0.6rem) clamp(0.4rem, .6vw, 0.8rem);
    border-radius: 8px;
	border: 2px solid #0d274a;
    font-size: clamp(.9rem, 1vw, 1.5rem);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #0d274a;
	transition: all 0.2s ease-in-out;
    background: rgb(255,192,0);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.3);
}

.right-links a:hover {
    background: #0d274a;
    color: rgb(255,192,0);
	border: 2px solid rgb(255,192,0);
}

/* .right-links li:hover {
    transform: scale(1.02);
} */

.menu-icon {
	display: none;
}

@media (max-width: 769px) {
	.logo {
		width: clamp(120px, 40vw, 230px);
		transition: all 0.3s ease-in-out;
	}
	
	.nav-links,
	.right-links {
		display: none;
	}

	nav {
		justify-content: flex-end;
	}

	.menu-icon {
		display: block;
		font-size: 20px;
		cursor: pointer;
		z-index: 2;
	}
	.nav-links-mobile {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 40px;
		left: 0;
		width: 100%;
		background-color: rgba(0, 0, 0, 0.6);
		padding: 0px;
		overflow: hidden;
		max-height: 0;
		transition: max-height 0.5s ease, opacity 0.5s ease;
		opacity: 0;
	}

	.nav-links-mobile.active {
		padding: 0px;
		display: flex;
		max-height: 220px;
		transition: max-height 0.8s ease, opacity 0.8s ease;
		opacity: 1;
	}

	.nav-links-mobile li {
		margin: 10px 0;
		text-align: center;
		opacity: 0;
		transform: translateY(-20px);
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	.nav-links-mobile.active li {
		opacity: 1;
		transform: translateY(0);
	}

	.nav-links-mobile.active li:nth-child(1) {
		transition-delay: 0.1s;
	}
	.nav-links-mobile.active li:nth-child(2) {
		transition-delay: 0.15s;
	}
	.nav-links-mobile.active li:nth-child(3) {
		transition-delay: 0.2s;
	}
	.nav-links-mobile.active li:nth-child(4) {
		transition-delay: 0.25s;
	}
	.nav-links-mobile.active li:nth-child(5) {
		transition-delay: 0.3s;
	}
}