/* Keep header centered and balanced */
.site-header {
	width: 100%;
	max-width: 1200px;
/* Prevents stretching */
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
	padding: 15px 5%;
	gap: 20px;
/* Consistent spacing */
}

/* Fix layout for header elements */
.site-header .header-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

/* Keep text and logos at reasonable size */
.site-header img {
	max-width: 140px;
/* Prevent oversized logos */
	height: auto;
}

/* Navigation and social media links */
.site-header a {
	text-decoration: none;
	font-size: 18px;
	margin: 0 10px;
}

.site-header a:hover {
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.site-header {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}
	
	.site-header .header-row {
		flex-direction: row;
	/* Ensures items stay horizontal */
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	/* Closer spacing */
	}
	
	.site-header img {
		max-width: 110px;
	/* Slightly smaller logos */
		margin-bottom: 5px;
	}
	
	.site-header a {
		font-size: 16px;
		margin: 5px;
	}
}

@media (max-width: 768px) {
	.site-header {
		flex-direction: column;
		text-align: center;
		padding: 10px 5%;
	}
	
	.site-header .header-row {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 8px;
	}
	
	.site-header img {
		max-width: 80%;
	}
	
	.site-header a {
		font-size: 14px;
		display: block;
		margin: 5px 0;
	}
}

/* 🌍 Global Header Fix */
.site-header {
	width: 100%;
	max-width: 1200px;
/* Keeps it contained on large screens */
	display: flex;
	flex-wrap: nowrap;
/* Prevents random stacking */
	align-items: center;
	justify-content: space-between;
/* Ensures even spacing */
	margin: 0 auto;
	padding: 15px 5%;
}

/* 🔄 Make the Row Inside Header Consistent */
.site-header .header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	width: 100%;
	gap: 20px;
}

/* 🖼 Fix Logo and Image Sizes */
.site-header img {
	max-width: 140px;
/* Prevents oversized logos */
	height: auto;
}

/* 📌 Style Navigation Links */
.site-header a {
	text-decoration: none;
	font-size: 18px;
	margin: 0 15px;
}

.site-header a:hover {
	text-decoration: underline;
}

/* 🔧 FIX FOR SMALL MONITORS (1024px and below) */
@media (max-width: 1024px) {
	.site-header {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}
	
	.site-header .header-row {
		flex-direction: row;
	/* Ensures elements stay horizontal */
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}
	
	.site-header img {
		max-width: 100px;
	/* Prevents logos from getting too big */
		margin-bottom: 5px;
	}
	
	.site-header a {
		font-size: 16px;
		margin: 5px;
	}
}

/* 📱 MOBILE FIX (Below 768px) */
@media (max-width: 768px) {
	.site-header {
		flex-direction: column;
		text-align: center;
		padding: 10px 5%;
	}
	
	.site-header .header-row {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 8px;
	}
	
	.site-header img {
		max-width: 80%;
	}
	
	.site-header a {
		font-size: 14px;
		display: block;
		margin: 5px 0;
	}
}

/* 🌍 UNIVERSAL HEADER STYLES - FOR ALL SCREENS */
.site-header {
	width: 100%;
	max-width: 1200px;
/* Keeps it contained */
	display: flex;
	flex-direction: row;
/* Default: horizontal */
	align-items: center;
	justify-content: space-between;
/* Even spacing */
	margin: 0 auto;
	padding: 15px 5%;
	flex-wrap: wrap;
/* Allows wrapping when needed */
}

/* 🔄 Ensure Header Elements Stay Organized */
.site-header .header-container {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

/* 🖼 Fix Logo & Image Sizes */
.site-header img {
	max-width: 140px;
/* Prevents oversized logos */
	height: auto;
}

/* 📌 Style Navigation Links */
.site-header nav {
	display: flex;
	gap: 15px;
}

.site-header a {
	text-decoration: none;
	font-size: 18px;
	margin: 0 10px;
}

.site-header a:hover {
	text-decoration: underline;
}

/* 🖥 FIX FOR SMALL MONITORS (1024px and below) */
@media (max-width: 1024px) {
	.site-header {
		flex-direction: column;
	/* Stacks elements */
		text-align: center;
	}
	
	.site-header .header-container {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 15px;
	}
	
	.site-header img {
		max-width: 100px;
	}
	
	.site-header a {
		font-size: 16px;
		margin: 5px;
	}
}

/* 📱 FULL MOBILE RESPONSIVENESS (Below 768px) */
@media (max-width: 768px) {
	.site-header {
		flex-direction: column;
		text-align: center;
		padding: 10px 5%;
	}
	
	.site-header .header-container {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 10px;
	}
	
	.site-header img {
		max-width: 80%;
	}
	
	.site-header a {
		font-size: 14px;
		display: block;
		margin: 5px 0;
	}
}