/* ========================================
   Million Maraka - Modern Stylesheet
   Gold & Dark Blue Theme - Complete Version
   ======================================== */

/* CSS Variables for easy theming */
:root {
	/* Colors - Gold & Dark Blue Theme */
	--primary-color: #0B1F3B;
	/* Dark navy blue - main background */
	--primary-dark: #07132A;
	/* Even darker blue for depth */
	--accent-color: #C6A43F;
	/* Rich gold - main accent */
	--accent-light: #E5C76B;
	/* Light gold for highlights */
	--text-light: #FFFFFF;
	/* White text */
	--text-dark: #0B1F3B;
	/* Dark blue for text on light backgrounds */
	--text-muted: #8A9BB5;
	/* Muted blue-grey */
	--gold: #C6A43F;
	/* Primary gold */
	--gold-light: #F0D878;
	/* Light shimmering gold */
	--gold-dark: #9E8328;
	/* Dark gold for depth */
	--border-color: #2A3F5A;
	/* Blue-grey borders */

	/* Spacing */
	--spacing-xs: 4px;
	--spacing-sm: 8px;
	--spacing-md: 16px;
	--spacing-lg: 24px;
	--spacing-xl: 32px;

	/* Layout */
	--sidebar-width: 300px;
	--grid-size: 1000px;
	--cell-size: 10px;

	/* Effects - shadows with gold tint */
	--shadow-sm: 0 2px 4px rgba(11, 31, 59, 0.2);
	--shadow-md: 0 4px 8px rgba(198, 164, 63, 0.3);
	--shadow-lg: 0 8px 16px rgba(11, 31, 59, 0.4);
	--transition-speed: 0.3s;
	--border-radius-sm: 4px;
	--border-radius-md: 8px;
	--border-radius-lg: 16px;
	--border-radius-circle: 50%;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	height: 100%;
	overflow-y: scroll;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Ubuntu', sans-serif;
	font-size: 9pt;
	line-height: 1.5;
	background-color: var(--primary-color);
	color: var(--text-light);
	min-height: 100vh;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--spacing-md);
	font-weight: 500;
	line-height: 1.2;
	color: #F0D878;
}

h1 {
	font-size: 2rem;
}

h2 {
	font-size: 1.75rem;
}

h3 {
	font-size: 1.5rem;
}

h4 {
	font-size: 1.25rem;
}

h5 {
	font-size: 1rem;
}

.gold {
	color: #C6A43F;
}

.red {
	color: #F0D878;
	font-weight: bold;
}

.red2 {
	font-size: 8pt;
	color: #E5C76B;
	font-weight: bold;
}

/* ========================================
   Links
   ======================================== */
a {
	color: #C6A43F;
	text-decoration: none;
	transition: all var(--transition-speed) ease;
}

a:hover {
	color: #F0D878;
}

/* ========================================
   Header - Desktop Optimized (All in one line)
   ======================================== */
.site-header {
	background: #0B1F3B;
	border-bottom: 2px solid #C6A43F;
	padding: 10px 0;
	width: 100%;
	box-shadow: 0 2px 10px rgba(198, 164, 63, 0.3);
	position: relative;
	z-index: 1000;
	flex-shrink: 0;
}

.header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

/* Hide header-row on desktop - we don't need it */
.header-row {
	display: contents;
	/* Makes children act as if they're direct children of header-container */
}

/* Site Title */
.site-title h1 {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.site-title h1 a {
	color: #C6A43F;
	text-decoration: none;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.site-title h1 a span {
	color: #F0D878;
	font-weight: 800;
}

/* Hide hamburger on desktop */
.mobile-menu-toggle {
	display: none;
}

/* Statistics - inline on desktop */
.site-stats {
	text-align: center;
	padding: 0 15px;
	margin: 0;
	border: none;
	flex: 1;
	max-width: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.stats-primary {
	font-size: 18px;
	font-weight: 700;
	color: #F0D878;
	white-space: nowrap;
}

.stats-price {
	font-size: 16px;
	font-weight: 600;
	color: #C6A43F;
	background: rgba(198, 164, 63, 0.15);
	padding: 4px 12px;
	border-radius: 20px;
	border: 1px solid #C6A43F;
	white-space: nowrap;
	letter-spacing: 0.5px;
}

.stats-price::before {
	content: "💰";
	margin-right: 5px;
	font-size: 14px;
}

#pixels-sold {
	color: #F0D878;
	font-size: 20px;
	font-weight: 700;
}

#total-pixels {
	color: #8A9BB5;
	font-size: 16px;
}

/* Navigation - inline on desktop */
.header-nav {
	flex-shrink: 0;
}

.header-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 25px;
}

.header-nav ul li a {
	color: #C6A43F;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	padding: 5px 0;
	position: relative;
	transition: color 0.3s ease;
	white-space: nowrap;
}

.header-nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: #F0D878;
	transition: width 0.3s ease;
}

.header-nav ul li a:hover::after,
.header-nav ul li a.active::after {
	width: 100%;
}

.header-nav ul li a:hover,
.header-nav ul li a.active {
	color: #F0D878;
}

/* ========================================
   Sidebar Navigation
   ======================================== */
.sidebar-nav {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1000;
}

.sidebar-nav ul {
	list-style: none;
	padding: 0;
}

.sidebar-nav ul li {
	margin: var(--spacing-sm) 0;
	transform: translateX(-270px);
	transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
	background: rgba(11, 31, 59, 0.85);
	backdrop-filter: blur(5px);
	width: 300px;
	padding: var(--spacing-sm) var(--spacing-md);
	text-align: right;
	border-radius: 0 30px 30px 0;
	border: 1px solid #C6A43F;
}

.sidebar-nav ul li:hover {
	transform: translateX(-230px);
	background: rgba(198, 164, 63, 0.85);
}

.sidebar-nav ul li a {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--spacing-md);
	font-size: 1.1rem;
	color: #F0D878;
}

.sidebar-nav ul li i {
	width: 40px;
	height: 40px;
	background: #F0D878;
	color: #0B1F3B;
	border-radius: var(--border-radius-circle);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all var(--transition-speed) ease;
	box-shadow: var(--shadow-sm);
}

.sidebar-nav ul li:hover i {
	transform: rotate(360deg);
	background: #0B1F3B;
	color: #F0D878;
	box-shadow: var(--shadow-md);
}

/* ========================================
   Fixed Logo
   ======================================== */
.logo-fixed {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1000;
	animation: float 3s ease-in-out infinite;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

.logo-fixed img {
	max-width: 150px;
	height: auto;
	filter: drop-shadow(0 4px 8px rgba(198, 164, 63, 0.3));
	transition: transform var(--transition-speed);
}

.logo-fixed img:hover {
	transform: scale(1.05);
	filter: drop-shadow(0 4px 12px rgba(198, 164, 63, 0.5));
}

/* ========================================
   Main Container
   ======================================== */
.main-container {
	width: 100%;
	max-width: 1002px;
	margin: 0 auto;
	padding: 20px;
	position: relative;
}

/* ========================================
   Billboard
   ======================================== */
.billboard {
	margin-bottom: 20px;
	border-radius: var(--border-radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	position: relative;
}

.billboard-img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform var(--transition-speed);
}

.billboard-img:hover {
	transform: scale(1.02);
}

/* ========================================
   Pixel Container - Optimized for 1000x1000
   ======================================== */
.pixel-container {
	position: relative;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto 20px auto;
	background: #0B1F3B;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(198, 164, 63, 0.3);
	aspect-ratio: 1 / 1;
	animation: fadeIn 0.5s ease-out;
}

/* Loading state */
.pixel-container.loading {
	position: relative;
	min-height: 200px;
}

.pixel-container.loading::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	border: 3px solid rgba(198, 164, 63, 0.3);
	border-top-color: #F0D878;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	z-index: 10;
}

@keyframes spin {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* Pixel Grid - holds the image and overlays */
.pixel-grid {
	position: relative;
	width: 100%;
	height: 100%;
}

/* The image - fills container perfectly */
.pixel-map {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	pointer-events: all;
	-webkit-tap-highlight-color: transparent;
}

/* Image map areas */
.pixel-area {
	cursor: pointer;
	-webkit-tap-highlight-color: rgba(198, 164, 63, 0.3);
}

/* ========================================
   Pixel Overlay Elements
   ======================================== */
#f {
	position: absolute;
	border: 2px solid #F0D878;
	background: rgba(198, 164, 63, 0.15);
	pointer-events: none;
	z-index: 100;
	box-shadow: 0 0 20px rgba(240, 216, 120, 0.4);
	animation: pulse 1.5s ease-in-out infinite;
	display: none;
}

@keyframes pulse {

	0%,
	100% {
		border-color: #F0D878;
		box-shadow: 0 0 20px rgba(240, 216, 120, 0.4);
	}

	50% {
		border-color: #C6A43F;
		box-shadow: 0 0 30px rgba(198, 164, 63, 0.6);
	}
}

#een {
	position: absolute;
	border: 2px solid #F0D878;
	pointer-events: none;
	z-index: 200;
	transition: all 0.1s ease;
	display: none;
}

#neg {
	position: absolute;
	filter: invert(1);
	mix-blend-mode: difference;
	pointer-events: none;
	z-index: 150;
	opacity: 0.7;
	display: none;
}

/* Pixel overlay hover effect (desktop only) */
.pixel-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 50;
	display: none;
	mix-blend-mode: overlay;
	transition: all 0.1s ease;
}

/* Touch overlay elements (created by JavaScript) */
.touch-overlay {
	position: absolute;
	background: transparent;
	z-index: 20;
	display: block;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(198, 164, 63, 0.3);
	transition: background-color 0.1s ease, border 0.1s ease;
}

.touch-overlay.touch-active {
	background: rgba(198, 164, 63, 0.2) !important;
	border: 2px solid #F0D878 !important;
	border-radius: 4px;
}

/* Mobile tap message - outside container */
.mobile-tap-message {
	display: none;
	text-align: center;
	padding: 12px 20px;
	background: rgba(198, 164, 63, 0.15);
	color: #F0D878;
	font-size: 14px;
	border-radius: 8px;
	margin: 10px auto 20px auto;
	max-width: 1000px;
	border: 1px solid #C6A43F;
	backdrop-filter: blur(5px);
	animation: fadeIn 0.3s ease;
}

/* ========================================
   Coordinates Display
   ======================================== */
#coordinates,
#d {
	position: absolute;
	font-family: 'Ubuntu', sans-serif;
	font-size: 12px;
	padding: var(--spacing-sm) var(--spacing-md);
	background: rgba(11, 31, 59, 0.95);
	color: #F0D878;
	border-radius: 20px;
	backdrop-filter: blur(5px);
	border: 1px solid #C6A43F;
	box-shadow: var(--shadow-lg);
	pointer-events: none;
	display: none;
	/* THIS IS KEY - hidden by default */
	z-index: 9999;
	transition: all var(--transition-speed);
	white-space: nowrap;
}

#coordinates.active,
#d.active {
	background: rgba(198, 164, 63, 0.95);
	color: #0B1F3B;
	transform: scale(1.1);
}

#xcoord,
#ycoord {
	display: inline;
}

/* ========================================
   Footer
   ======================================== */
.footer {
	flex-shrink: 0;
	width: 100%;
	max-width: 1002px;
	margin: 20px auto 0 auto;
	padding: var(--spacing-md);
	background: #0B1F3B;
	color: #F0D878;
	text-align: center;
	border-radius: var(--border-radius-md);
	font-size: 8pt;
	box-shadow: 0 -4px 10px rgba(198, 164, 63, 0.3);
	border: 1px solid #C6A43F;
	backdrop-filter: blur(5px);
	clear: both;
}

/* Remove bottom margins from last elements */
.blog-container:last-child,
.list-container:last-child,
.contact-section:last-child,
.pixel-container:last-child {
	margin-bottom: 0;
}

/* ========================================
   Statistics Display
   ======================================== */
#stats {
	position: absolute;
	top: 4px;
	left: 880px;
	width: 116px;
	height: 37px;
	border: 0;
	padding: 2px 0 0;
	vertical-align: middle;
	text-align: center;
	line-height: 16px;
	background: rgba(11, 31, 59, 0.8);
	border-radius: var(--border-radius-sm);
	color: #F0D878;
	border: 1px solid #C6A43F;
}

#stat1 {
	color: #F0D878;
	font-weight: bold;
}

#statgreen {
	color: #C6A43F;
	font-weight: bold;
}

#statred {
	color: #F0D878;
	font-weight: bold;
}

#grey {
	color: #8A9BB5;
	font-weight: bold;
	font-size: 8pt;
}

#greybold {
	color: #E5C76B;
	font-weight: bold;
}

/* ========================================
   Contact Form Styles
   ======================================== */
#kontaktForma {
	padding: 90px;
	font-family: 'Ubuntu', sans-serif;
	font-size: 25px;
	color: #F0D878;
}

.kontaktValues {
	font-size: 16px;
	font-weight: normal;
	color: #C6A43F;
}

/* Form Inputs */
input[type="text"],
input[type="email"],
textarea {
	transition: all 300ms cubic-bezier(0.250, 0.100, 0.250, 1.000);
	border: 2px solid #C6A43F;
	padding: 10px;
	outline: none;
	font-size: 14px;
	font-family: 'Ubuntu Condensed', sans-serif;
	width: 220px;
	max-width: 100%;
	background: #FFFFFF;
	border-radius: var(--border-radius-sm);
	margin-bottom: 10px;
}

textarea {
	width: 80%;
	min-height: 125px;
	resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
	border-color: #F0D878;
	box-shadow: 0 0 8px rgba(198, 164, 63, 0.6);
}

/* Submit Button */
input[type="submit"] {
	background: linear-gradient(to bottom, #C6A43F 0%, #9E8328 100%);
	padding: 10px 20px;
	color: #0B1F3B;
	font-family: 'Helvetica Neue', sans-serif;
	font-size: 16px;
	font-weight: bold;
	border-radius: var(--border-radius-sm);
	border: none;
	cursor: pointer;
	transition: all var(--transition-speed);
}

input[type="submit"]:hover {
	background: linear-gradient(to bottom, #F0D878 0%, #C6A43F 100%);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

input[type="submit"]:active {
	transform: translateY(0);
}

/* ========================================
   Mode Buttons
   ======================================== */
.mode-btn {
	cursor: pointer;
	transition: all var(--transition-speed) ease;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
	border: 1px solid #C6A43F;
}

.mode-btn:hover {
	transform: translateY(-2px);
	filter: drop-shadow(0 4px 8px rgba(198, 164, 63, 0.4));
}

.mode-btn.active {
	transform: scale(1.1);
	filter: drop-shadow(0 0 10px #F0D878);
	border: 2px solid #F0D878;
}

/* ========================================
   Table Styles
   ======================================== */
table {
	border-collapse: collapse;
}

td {
	font-family: 'Ubuntu', sans-serif;
	font-size: 9pt;
	color: #E5C76B;
}

#tablebreak {
	background: var(--primary-color);
}

/* ========================================
   Menu Bar
   ======================================== */
#menuBar {
	background-color: #0B1F3B;
}

#menuBilboard {
	padding-left: 21px;
}

/* ========================================
   Page Content
   ======================================== */
#pagecontent {
	background: #0B1F3B;
	padding: 10px;
	width: 600px;
	text-align: left;
	vertical-align: top;
	border-radius: var(--border-radius-md);
	box-shadow: var(--shadow-sm);
	border: 1px solid #C6A43F;
	color: #F0D878;
}

#pageads {
	vertical-align: top;
	text-align: center;
	margin: 0 auto;
	padding-top: 10px;
}

/* ========================================
   Divider
   ======================================== */
hr.c {
	border: none;
	border-top: 1px dashed #C6A43F;
	width: 100%;
	margin: 10px 0;
	height: 1px;
}

/* ========================================
   Image Styles
   ======================================== */
#twee {
	position: absolute;
	top: 0;
	left: 0;
	border: none;
	z-index: 1;
}

#een {
	position: absolute;
	top: 0;
	left: 0;
	border: 2px solid black;
	display: none;
	z-index: 2;
}

#neg {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
	z-index: 3;
}

/* ========================================
   Mobile Responsive Styles
   ======================================== */

/* Mobile optimizations for pixel container */
@media (max-width: 768px) {
	.pixel-container {
		border-radius: 8px;
		margin-bottom: 10px;
		box-shadow: 0 2px 10px rgba(198, 164, 63, 0.2);
	}

	.mobile-tap-message {
		display: block;
		font-size: 13px;
		padding: 10px 15px;
		margin-top: 5px;
	}

	/* Disable hover overlay on mobile */
	.pixel-overlay {
		display: none !important;
	}

	/* Make touch targets larger */
	.touch-overlay {
		min-width: 44px;
		min-height: 44px;
	}

	/* Fix for image map on mobile */
	img[usemap] {
		max-width: 100%;
		height: auto;
		display: block;
		pointer-events: all;
	}

	.pixel-area {
		cursor: pointer;
		-webkit-tap-highlight-color: rgba(198, 164, 63, 0.3);
	}

	.pixel-area:active {
		opacity: 0.7;
		background: rgba(198, 164, 63, 0.2);
	}

	/* Ensure map is rendered */
	map {
		display: block;
	}
}

/* Desktop styles */
@media (min-width: 769px) {
	.pixel-container {
		max-width: 1000px;
	}
}

/* Small mobile devices */
@media (max-width: 480px) {
	.mobile-tap-message {
		font-size: 12px;
		padding: 8px 12px;
	}

	.mobile-tap-message::before {
		content: "👆 ";
		font-size: 14px;
	}
}

/* Mobile header styles */
@media (max-width: 768px) {
	.header-container {
		flex-direction: column;
		align-items: stretch;
		padding: 0 15px;
	}

	/* Show header-row as flex on mobile */
	.header-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}

	/* Show hamburger on mobile */
	.mobile-menu-toggle {
		display: flex;
		background: transparent;
		border: 2px solid #C6A43F;
		border-radius: 8px;
		width: 44px;
		height: 44px;
		padding: 10px;
		cursor: pointer;
		flex-direction: column;
		justify-content: space-around;
	}

	.mobile-menu-toggle span {
		display: block;
		width: 100%;
		height: 3px;
		background: #C6A43F;
		border-radius: 3px;
		transition: all 0.3s ease;
	}

	/* Hamburger Animation */
	.mobile-menu-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.mobile-menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}

	.mobile-menu-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -7px);
	}

	/* Adjust title size for mobile */
	.site-title h1 {
		font-size: 22px;
	}

	/* Statistics - stacked on mobile */
	.site-stats {
		flex-direction: column;
		gap: 8px;
		width: 100%;
		padding: 12px 0;
		margin: 8px 0;
		border-top: 1px solid rgba(198, 164, 63, 0.3);
		border-bottom: 1px solid rgba(198, 164, 63, 0.3);
		max-width: none;
	}

	.stats-primary {
		font-size: 16px;
	}

	.stats-price {
		font-size: 14px;
		padding: 3px 10px;
	}

	/* Navigation - collapsible on mobile */
	.header-nav {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s ease-out;
		background: #0B1F3B;
		width: 100%;
	}

	.header-nav.open {
		max-height: 300px;
		transition: max-height 0.5s ease-in;
	}

	.header-nav ul {
		flex-direction: column;
		gap: 0;
		padding: 0;
	}

	.header-nav ul li {
		width: 100%;
		text-align: center;
		border-top: 1px solid rgba(198, 164, 63, 0.2);
	}

	.header-nav ul li:last-child {
		border-bottom: 1px solid rgba(198, 164, 63, 0.2);
	}

	.header-nav ul li a {
	min-width: 80px; /* Adjust this value */
    text-align: center;
    display: inline-block;
		padding: 15px;
		font-size: 18px;
	}

	.header-nav ul li a::after {
		display: none;
	}

	.header-nav ul li a:hover,
	.header-nav ul li a.active {
		background: rgba(198, 164, 63, 0.15);
		color: #F0D878;
	}
}

/* Small mobile devices - additional */
@media (max-width: 480px) {
	.site-title h1 {
		font-size: 20px;
	}

	.stats-primary {
		font-size: 14px;
	}

	.stats-price {
		font-size: 13px;
		padding: 2px 8px;
	}

	#pixels-sold {
		font-size: 18px;
	}

	#total-pixels {
		font-size: 14px;
	}

	.header-nav ul li a {
		padding: 12px;
		font-size: 16px;
	}

	#kontaktForma {
		padding: 20px;
		font-size: 18px;
	}

	input[type="text"],
	input[type="email"],
	textarea {
		width: 100%;
	}

	textarea {
		width: 100%;
	}

	.sidebar-nav ul li {
		width: 180px;
		transform: translateX(-150px);
		padding: var(--spacing-xs) var(--spacing-sm);
	}

	.sidebar-nav ul li:hover {
		transform: translateX(-110px);
	}

	.sidebar-nav ul li a {
		font-size: 0.8rem;
	}

	.sidebar-nav ul li i {
		width: 25px;
		height: 25px;
		font-size: 0.8rem;
	}

	.logo-fixed img {
		max-width: 80px;
	}

	.footer {
		font-size: 6pt;
	}

	#coordinates,
	#d {
		font-size: 10px;
		padding: var(--spacing-xs) var(--spacing-sm);
	}
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
	.header-container {
		padding: 0 15px;
	}

	.site-title h1 {
		font-size: 24px;
	}

	.stats-primary {
		font-size: 16px;
	}

	.header-nav ul {
		gap: 15px;
	}

	.header-nav ul li a {
		font-size: 14px;
	}

	.sidebar-nav ul li {
		width: 260px;
		transform: translateX(-230px);
	}

	.sidebar-nav ul li:hover {
		transform: translateX(-190px);
	}

	#stats {
		left: auto;
		right: 10px;
	}
}

/* ========================================
   Animation Keyframes
   ======================================== */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideIn {
	from {
		transform: translateX(-100%);
	}

	to {
		transform: translateX(0);
	}
}

/* Apply animations */
.billboard {
	animation: slideIn 0.5s ease-out;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {

	.sidebar-nav,
	.logo-fixed,
	#coordinates,
	#d,
	.mode-btn,
	.mobile-menu-toggle,
	.mobile-tap-message,
	.touch-overlay {
		display: none !important;
	}

	body {
		background: white;
		color: black;
		display: block;
	}

	.pixel-container {
		box-shadow: none;
		border: 1px solid #ccc;
		aspect-ratio: auto;
	}
}

/* ========================================
   Accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
area:focus {
	outline: 2px solid #F0D878;
	outline-offset: 2px;
}

/* Touch device optimizations */
.touch-device .pixel-area {
	cursor: pointer;
}

.touch-device .pixel-area:active {
	opacity: 0.7;
}

/* ========================================
   High contrast mode support
   ======================================== */
@media (prefers-contrast: high) {
	:root {
		--primary-color: #000033;
		--accent-color: #FFD700;
		--text-light: #FFFFFF;
		--text-dark: #000000;
	}

	#f {
		border: 4px solid #FFD700;
	}

	#een {
		border: 4px solid #FFD700;
	}

	.pixel-container {
		border: 2px solid #F0D878;
		box-shadow: none;
	}

	.touch-overlay.touch-active {
		border: 3px solid #F0D878 !important;
	}
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.text-gold {
	color: #C6A43F;
}

.text-gold-light {
	color: #F0D878;
}

.bg-dark-blue {
	background-color: #0B1F3B;
}

.border-gold {
	border: 1px solid #C6A43F;
}

.hidden {
	display: none !important;
}

.visible {
	display: block !important;
}

/* Spacing utilities */
.mt-1 {
	margin-top: var(--spacing-xs);
}

.mt-2 {
	margin-top: var(--spacing-sm);
}

.mt-3 {
	margin-top: var(--spacing-md);
}

.mt-4 {
	margin-top: var(--spacing-lg);
}

.mt-5 {
	margin-top: var(--spacing-xl);
}

.mb-1 {
	margin-bottom: var(--spacing-xs);
}

.mb-2 {
	margin-bottom: var(--spacing-sm);
}

.mb-3 {
	margin-bottom: var(--spacing-md);
}

.mb-4 {
	margin-bottom: var(--spacing-lg);
}

.mb-5 {
	margin-bottom: var(--spacing-xl);
}

.p-1 {
	padding: var(--spacing-xs);
}

.p-2 {
	padding: var(--spacing-sm);
}

.p-3 {
	padding: var(--spacing-md);
}

.p-4 {
	padding: var(--spacing-lg);
}

.p-5 {
	padding: var(--spacing-xl);
}

/* ========================================
   Browser Compatibility
   ======================================== */

/* Fallback for backdrop-filter */
@supports not (backdrop-filter: blur(5px)) {

	.sidebar-nav ul li,
	#coordinates,
	#d,
	.footer,
	.mobile-tap-message {
		background: rgba(0, 0, 0, 0.8);
	}
}

/* Fallback for aspect-ratio */
@supports not (aspect-ratio: 1/1) {
	.pixel-container {
		height: 0;
		padding-bottom: 100%;
		position: relative;
	}

	.pixel-grid {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
}

/* ========================================
   Contact Page - Modern Design
   ======================================== */
.contact-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.contact-section {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 30px;
	margin: 40px 0;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 20px;
	padding: 30px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(198, 164, 63, 0.2);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Left Column - Info */
.contact-info {
	padding: 20px;
	background: linear-gradient(145deg, #0B1F3B, #07132A);
	border-radius: 16px;
	border: 1px solid #C6A43F;
}

.contact-info h2 {
	font-size: 32px;
	margin-bottom: 15px;
	color: #F0D878;
	position: relative;
	padding-bottom: 15px;
}

.contact-info h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background: #C6A43F;
	border-radius: 3px;
}

.contact-description {
	font-size: 16px;
	color: #E5C76B;
	margin-bottom: 30px;
	line-height: 1.6;
}

.info-cards {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 30px;
}

.info-card {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px;
	background: rgba(198, 164, 63, 0.1);
	border-radius: 12px;
	border: 1px solid rgba(198, 164, 63, 0.2);
	transition: all 0.3s ease;
}

.info-card:hover {
	transform: translateX(10px);
	background: rgba(198, 164, 63, 0.15);
	border-color: #C6A43F;
}

.info-icon {
	width: 50px;
	height: 50px;
	background: #C6A43F;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #0B1F3B;
	box-shadow: 0 4px 10px rgba(198, 164, 63, 0.3);
}

.info-content h3 {
	font-size: 16px;
	color: #8A9BB5;
	margin-bottom: 5px;
}

.info-content p {
	font-size: 18px;
	color: #F0D878;
	font-weight: 600;
}

.social-links {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.social-link {
	width: 45px;
	height: 45px;
	background: rgba(198, 164, 63, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #C6A43F;
	font-size: 20px;
	transition: all 0.3s ease;
	border: 1px solid #C6A43F;
}

.social-link:hover {
	background: #C6A43F;
	color: #0B1F3B;
	transform: translateY(-5px);
}

/* Right Column - Form */
.contact-form-container {
	padding: 30px;
	background: #0B1F3B;
	border-radius: 16px;
	border: 1px solid #C6A43F;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form-container h2 {
	font-size: 28px;
	color: #F0D878;
	margin-bottom: 25px;
}

/* Alert Messages */
.alert {
	padding: 15px 20px;
	border-radius: 10px;
	margin-bottom: 25px;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	animation: slideIn 0.3s ease;
}

.alert.success {
	background: rgba(46, 204, 113, 0.2);
	border: 1px solid #2ecc71;
	color: #2ecc71;
}

.alert.error {
	background: rgba(231, 76, 60, 0.2);
	border: 1px solid #e74c3c;
	color: #e74c3c;
}

/* Form Styles */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group label {
	font-size: 14px;
	color: #E5C76B;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

.form-group label i {
	color: #C6A43F;
	font-size: 16px;
}

.form-group input,
.form-group textarea {
	padding: 15px;
	background: rgba(255, 255, 255, 0.05);
	border: 2px solid rgba(198, 164, 63, 0.3);
	border-radius: 12px;
	color: #F0D878;
	font-size: 16px;
	transition: all 0.3s ease;
	font-family: 'Ubuntu', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #F0D878;
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 20px rgba(240, 216, 120, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: rgba(138, 155, 181, 0.5);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.char-counter {
	text-align: right;
	font-size: 12px;
	color: #8A9BB5;
	margin-top: 5px;
}

#charCount {
	color: #F0D878;
	font-weight: 600;
}

/* Submit Button */
.submit-btn {
	background: linear-gradient(135deg, #C6A43F, #9E8328);
	color: #0B1F3B;
	border: none;
	padding: 16px 30px;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 10px;
	border: 2px solid transparent;
}

.submit-btn i {
	font-size: 18px;
	transition: transform 0.3s ease;
}

.submit-btn:hover {
	background: linear-gradient(135deg, #F0D878, #C6A43F);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(198, 164, 63, 0.4);
}

.submit-btn:hover i {
	transform: translateX(5px);
}

.submit-btn:active {
	transform: translateY(0);
}

/* ========================================
   Company List Page
   ======================================== */
.list-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.list-container {
	background: rgba(11, 31, 59, 0.95);
	border-radius: 20px;
	padding: 30px;
	margin: 30px 0;
	border: 1px solid #C6A43F;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
}

.list-title {
	font-size: 36px;
	color: #F0D878;
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	gap: 15px;
	position: relative;
	padding-bottom: 15px;
}

.list-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100px;
	height: 3px;
	background: #C6A43F;
	border-radius: 3px;
}

.list-title i {
	color: #C6A43F;
	font-size: 32px;
}

/* Alphabet Navigation */
.alphabet-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 40px;
	padding: 15px;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 12px;
	justify-content: center;
	border: 1px solid rgba(198, 164, 63, 0.2);
}

.alphabet-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 2px solid #C6A43F;
	color: #C6A43F;
	font-weight: 700;
	font-size: 18px;
	border-radius: 8px;
	transition: all 0.3s ease;
	text-decoration: none;
}

.alphabet-link:hover {
	background: #C6A43F;
	color: #0B1F3B;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(198, 164, 63, 0.4);
}

.alphabet-link.active {
	background: #C6A43F;
	color: #0B1F3B;
	border-color: #F0D878;
	box-shadow: 0 0 20px #C6A43F;
}

.all-link {
	width: auto;
	padding: 0 15px;
	margin-left: 10px;
	background: rgba(198, 164, 63, 0.1);
}

/* Letter Groups */
.letter-group {
	margin-bottom: 40px;
}

.letter-header {
	font-size: 32px;
	color: #F0D878;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(198, 164, 63, 0.3);
	position: relative;
	padding-left: 15px;
}

.letter-header::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: #C6A43F;
	border-radius: 5px;
}

/* Company Cards */
.company-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 20px;
}

.company-card {
	background: linear-gradient(145deg, #0F2747, #0A1C36);
	border-radius: 16px;
	padding: 20px;
	border: 1px solid rgba(198, 164, 63, 0.3);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.company-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #C6A43F, #F0D878, #C6A43F);
	transform: translateX(-100%);
	transition: transform 0.5s ease;
}

.company-card:hover {
	transform: translateY(-5px);
	border-color: #C6A43F;
	box-shadow: 0 10px 30px rgba(198, 164, 63, 0.2);
}

.company-card:hover::before {
	transform: translateX(100%);
}

.company-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 15px;
}

.company-name {
	font-size: 20px;
	color: #F0D878;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.company-name i {
	color: #C6A43F;
	font-size: 18px;
}

.company-letter {
	width: 35px;
	height: 35px;
	background: #C6A43F;
	color: #0B1F3B;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
}

.company-details {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.company-description {
	color: #E5C76B;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.company-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 10px 0;
}

.meta-item {
	background: rgba(198, 164, 63, 0.1);
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 13px;
	color: #8A9BB5;
	display: flex;
	align-items: center;
	gap: 5px;
}

.meta-item i {
	color: #C6A43F;
	font-size: 12px;
}

.meta-item.price {
	background: #C6A43F;
	color: #0B1F3B;
	font-weight: 700;
}

.meta-item.price i {
	color: #0B1F3B;
}

.company-coords {
	font-size: 13px;
	color: #8A9BB5;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	border-top: 1px dashed rgba(198, 164, 63, 0.3);
	border-bottom: 1px dashed rgba(198, 164, 63, 0.3);
}

.company-coords i {
	color: #C6A43F;
}

.company-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: linear-gradient(135deg, #C6A43F, #9E8328);
	color: #0B1F3B;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
	margin-top: 5px;
	border: 2px solid transparent;
}

.company-link:hover {
	background: linear-gradient(135deg, #F0D878, #C6A43F);
	transform: translateX(5px);
	gap: 12px;
	border-color: #F0D878;
}

.company-link i {
	font-size: 14px;
}

/* No Results */
.no-results {
	text-align: center;
	padding: 60px 20px;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 16px;
	border: 2px dashed #C6A43F;
}

.no-results i {
	font-size: 60px;
	color: #C6A43F;
	margin-bottom: 20px;
	opacity: 0.5;
}

.no-results p {
	font-size: 20px;
	color: #E5C76B;
	margin-bottom: 20px;
}

.reset-link {
	display: inline-block;
	padding: 12px 30px;
	background: #C6A43F;
	color: #0B1F3B;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.reset-link:hover {
	background: #F0D878;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(198, 164, 63, 0.4);
}

/* List Stats */
.list-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 40px;
	padding: 20px;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 16px;
	border: 1px solid rgba(198, 164, 63, 0.3);
}

.stat-box {
	text-align: center;
	padding: 20px;
	background: rgba(11, 31, 59, 0.8);
	border-radius: 12px;
	border: 1px solid #C6A43F;
}

.stat-value {
	display: block;
	font-size: 36px;
	font-weight: 700;
	color: #F0D878;
	margin-bottom: 5px;
}

.stat-label {
	font-size: 14px;
	color: #8A9BB5;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ========================================
   Blog & Press Page
   ======================================== */
.blog-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.blog-container {
	background: rgba(11, 31, 59, 0.95);
	border-radius: 20px;
	padding: 40px;
	margin: 30px 0;
	border: 1px solid #C6A43F;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
}

/* Blog Header */
.blog-header {
	text-align: center;
	margin-bottom: 50px;
}

.blog-title {
	font-size: 42px;
	color: #F0D878;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.blog-title i {
	color: #C6A43F;
}

.blog-subtitle {
	font-size: 18px;
	color: #E5C76B;
	max-width: 600px;
	margin: 0 auto;
}

/* Featured Article */
.featured-article {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	background: linear-gradient(145deg, #0F2747, #0A1C36);
	border-radius: 20px;
	padding: 30px;
	margin-bottom: 50px;
	border: 2px solid #C6A43F;
	position: relative;
	overflow: hidden;
}

.featured-article::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 20% 50%, rgba(198, 164, 63, 0.1), transparent 50%);
	pointer-events: none;
}

.featured-content {
	position: relative;
	z-index: 1;
}

.article-tag {
	display: inline-block;
	padding: 5px 15px;
	background: #C6A43F;
	color: #0B1F3B;
	font-weight: 700;
	font-size: 12px;
	border-radius: 20px;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.featured-content h2 {
	font-size: 32px;
	color: #F0D878;
	margin-bottom: 20px;
	line-height: 1.3;
}

.article-excerpt {
	font-size: 16px;
	color: #E5C76B;
	line-height: 1.8;
	margin-bottom: 20px;
}

.article-meta {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
	color: #8A9BB5;
	font-size: 14px;
}

.article-meta i {
	color: #C6A43F;
	margin-right: 5px;
}

.featured-image {
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(135deg, #C6A43F, #9E8328);
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #0B1F3B;
	font-weight: 700;
	position: relative;
	z-index: 1;
}

.featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Section Titles */
.section-title {
	font-size: 28px;
	color: #F0D878;
	margin: 40px 0 30px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(198, 164, 63, 0.3);
}

.section-title i {
	color: #C6A43F;
}

/* Articles Grid */
.articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 25px;
	margin-bottom: 50px;
}

.blog-card {
	background: rgba(255, 255, 255, 0.02);
	border-radius: 16px;
	padding: 25px;
	border: 1px solid rgba(198, 164, 63, 0.2);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.blog-card:hover {
	transform: translateY(-5px);
	border-color: #C6A43F;
	box-shadow: 0 10px 30px rgba(198, 164, 63, 0.15);
	background: rgba(198, 164, 63, 0.05);
}

.card-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
	font-size: 13px;
}

.card-source {
	color: #C6A43F;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.card-date {
	color: #8A9BB5;
}

.card-title {
	font-size: 20px;
	color: #F0D878;
	margin-bottom: 15px;
	line-height: 1.4;
}

.card-excerpt {
	font-size: 14px;
	color: #E5C76B;
	line-height: 1.6;
	margin-bottom: 20px;
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #C6A43F;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: gap 0.3s ease;
}

.card-link:hover {
	gap: 12px;
	color: #F0D878;
}

/* Blog Posts */
.blog-posts {
	display: flex;
	flex-direction: column;
	gap: 25px;
	margin-bottom: 50px;
}

.blog-post {
	display: flex;
	gap: 25px;
	padding: 25px;
	background: rgba(255, 255, 255, 0.02);
	border-radius: 16px;
	border: 1px solid rgba(198, 164, 63, 0.2);
	transition: all 0.3s ease;
}

.blog-post:hover {
	border-color: #C6A43F;
	background: rgba(198, 164, 63, 0.05);
}

.post-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 80px;
	padding: 10px;
	background: #C6A43F;
	border-radius: 12px;
	color: #0B1F3B;
	text-align: center;
}

.post-date .day {
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}

.post-date .month {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
}

.post-date .year {
	font-size: 12px;
	opacity: 0.8;
}

.post-content {
	flex: 1;
}

.post-title {
	font-size: 22px;
	color: #F0D878;
	margin-bottom: 10px;
}

.post-excerpt {
	font-size: 15px;
	color: #E5C76B;
	line-height: 1.6;
	margin-bottom: 15px;
}

.post-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #8A9BB5;
	font-size: 13px;
}

.post-footer i {
	color: #C6A43F;
	margin-right: 5px;
}

.post-link {
	color: #C6A43F;
	text-decoration: none;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 5px;
	transition: gap 0.3s ease;
}

.post-link:hover {
	gap: 10px;
	color: #F0D878;
}

/* Newsletter Section */
.newsletter-section {
	text-align: center;
	padding: 50px;
	background: linear-gradient(145deg, #0F2747, #0A1C36);
	border-radius: 20px;
	border: 2px solid #C6A43F;
	margin-top: 40px;
}

.newsletter-section h3 {
	font-size: 28px;
	color: #F0D878;
	margin-bottom: 15px;
}

.newsletter-section p {
	font-size: 16px;
	color: #E5C76B;
	margin-bottom: 30px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.newsletter-form {
	display: flex;
	max-width: 500px;
	margin: 0 auto;
	gap: 10px;
}

.newsletter-form input {
	flex: 1;
	padding: 15px 20px;
	border: 2px solid #C6A43F;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	color: #F0D878;
	font-size: 16px;
	outline: none;
	transition: all 0.3s ease;
}

.newsletter-form input:focus {
	border-color: #F0D878;
	box-shadow: 0 0 20px rgba(198, 164, 63, 0.3);
}

.newsletter-form button {
	padding: 15px 30px;
	background: linear-gradient(135deg, #C6A43F, #9E8328);
	border: none;
	border-radius: 12px;
	color: #0B1F3B;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
}

.newsletter-form button:hover {
	background: linear-gradient(135deg, #F0D878, #C6A43F);
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(198, 164, 63, 0.4);
}

/* Read More Button */
.read-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 25px;
	background: #C6A43F;
	color: #0B1F3B;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.read-more-btn:hover {
	background: #F0D878;
	gap: 15px;
	transform: translateX(5px);
}

/* ========================================
   Responsive Fixes for Blog & List Pages
   ======================================== */
@media (max-width: 768px) {
	.blog-container {
		padding: 20px;
	}

	.blog-title {
		font-size: 32px;
	}

	.featured-article {
		grid-template-columns: 1fr;
	}

	.articles-grid {
		grid-template-columns: 1fr;
	}

	.blog-post {
		flex-direction: column;
	}

	.post-date {
		flex-direction: row;
		gap: 10px;
		min-width: auto;
		padding: 5px 15px;
	}

	.newsletter-section {
		padding: 30px 20px;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.list-title {
		font-size: 28px;
	}

	.alphabet-nav {
		padding: 10px;
	}

	.alphabet-link {
		width: 35px;
		height: 35px;
		font-size: 16px;
	}

	.all-link {
		width: auto;
		padding: 0 12px;
	}

	.company-cards {
		grid-template-columns: 1fr;
	}

	.letter-header {
		font-size: 28px;
	}

	.list-stats {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.stat-value {
		font-size: 28px;
	}

	.contact-section {
		grid-template-columns: 1fr;
		padding: 20px;
		gap: 20px;
	}

	.contact-info h2 {
		font-size: 28px;
	}

	.contact-form-container h2 {
		font-size: 24px;
	}

	.info-card {
		padding: 15px;
	}

	.info-icon {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.info-content p {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.blog-title {
		font-size: 28px;
	}

	.featured-content h2 {
		font-size: 24px;
	}

	.post-title {
		font-size: 20px;
	}

	.list-container {
		padding: 20px;
	}

	.alphabet-link {
		width: 30px;
		height: 30px;
		font-size: 14px;
	}

	.company-name {
		font-size: 18px;
	}

	.meta-item {
		font-size: 12px;
		padding: 4px 8px;
	}

	.contact-section {
		padding: 15px;
	}

	.contact-info,
	.contact-form-container {
		padding: 20px;
	}

	.submit-btn {
		padding: 14px 20px;
		font-size: 16px;
	}
}

/* ========================================
   FINAL MOBILE LAYOUT FIX - Clean and balanced
   ======================================== */
@media (max-width: 768px) {

	/* Force body to proper flex layout */
	body {
		display: flex !important;
		flex-direction: column !important;
		min-height: 100vh !important;
		margin: 0 !important;
		padding: 0 !important;
		background-color: var(--primary-color);
	}

	/* Header at top */
	header {
		flex: 0 0 auto !important;
	}

	/* Main takes content height with balanced padding */
	main {
		flex: 0 0 auto !important;
		display: block !important;
		width: 100% !important;
		padding: 10px 10px 40px 10px !important;
		/* Extra bottom padding to use some gap */
		box-sizing: border-box !important;
	}

	/* Footer at bottom with natural gap */
	footer {
		flex: 0 0 auto !important;
		margin: 0 !important;
		margin-top: auto !important;
		/* Push to bottom */
		width: 100% !important;
		padding: 15px var(--spacing-md) !important;
		box-shadow: 0 -4px 15px rgba(198, 164, 63, 0.2) !important;
	}

	/* Enhanced mobile message */
	.mobile-tap-message {
		margin: 8px 0 0 0 !important;
		padding: 12px !important;
		font-weight: 500 !important;
		border: 2px solid #F0D878 !important;
		background: rgba(198, 164, 63, 0.2) !important;
	}

	/* Pixel container spacing */
	.pixel-container {
		margin-bottom: 8px !important;
	}

	/* Remove any body classes from affecting layout */
	body.touch-device {
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Ensure last elements have no bottom margin */
	.mobile-tap-message:last-child {
		margin-bottom: 0 !important;
	}

	.pixel-container:last-child {
		margin-bottom: 0 !important;
	}
}

/* Even smaller phones */
@media (max-width: 480px) {
	main {
		padding: 8px 8px 30px 8px !important;
	}

	.mobile-tap-message {
		padding: 10px !important;
		font-size: 12px !important;
	}

	.footer {
		padding: 12px !important;
		font-size: 6pt !important;
	}
}

/* ========================================
   End of Stylesheet
   ======================================== */