
:root {
	--primary-accent: #333333; /* Antera's deep charcoal */
	--bg-light: #ffffff;
	--text-main: #333333;
	--text-muted: #666666;
	--transition-curve: cubic-bezier(0.22, 1, 0.36, 1);
	--glow-color: rgba(255, 255, 255, 0.8);
	--tooltip-bg: rgba(255, 255, 255, 0.95);
	--panel-bg: #0a0a0a;
	--accent-blue: #00f2ff;
}

body {
	opacity: 0.9;
	color: #000000;
	background-image: 
		linear-gradient(to bottom, rgba(236,236,236,0.8), rgba(236,236,236,0.5)),
		url('/images/bg1.png');
	background-color: rgba(136, 120, 136, 0.7);
	background-blend-mode: lighten;
	font-family: "Montserrat";
}

p {
	text-align: center,justify;
	font-optical-sizing: auto;
	font-weight: <weight>;
	font-style: normal;
	font-variation-settings: "width" 100;
}

h1 {
	font-size: 2.2rem;
	font-weight: 300;
	letter-spacing: 2px;
	line-height: 1.3;
	margin-bottom: 30px;
	color: black;
}

h1 b {
	font-weight: 600;
	color: #000;
}

.fade-in-text {
	animation: fadeIn 5s;
}

/* Animations */
@keyframes fadeInUp {
	to {
   		opacity: 1;
		transform: translateY(0);
	}
}

img {
	max-width: 100%;
	height: auto;
	width: auto;
}


.logo-td {
	padding-right: 20%;
}

.main-td {
	padding-left: 8%;
	padding-right: 30%;
	font-family: "Montserrat";
	font-size: 20px;

}

.main-svc {
	color: white;
	text-align: right;
	padding-top: 50px;
	padding-bottom: 50px;
	padding-left: 30%; 
	padding-right: 8%;
	background: linear-gradient(to left, rgba(156,56,122,1) 20%, transparent 100%),
                url('/images/tech.gif'); /* Deep space/tech imagery */
			background-size: cover;
			background-position: center;
	font-family: "Montserrat";
	font-size: 20px;
}

.main-svc h1 {
	color: white;
}

.svc-td {
	max-width: 500px;
	heigh: auto;
	table-layout: fixed;
	position: relative;
	border: none;
	padding-left: 3%;
	padding-right: 3%;
	font-family: "Montserrat";
	font-size: 16px;
	padding-bottom: 30px;
}

a:link {
	color: black;
}

a:visited {
	color: red;
}

h2 {
	font-size: 1.8rem;
	font-weight: 300;
	color: rgba(156,56,122,1);
}
h5 {
	color: white;
	font-weight: bold, strong;
}

.fade-in {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 2s;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes expandLine {
	to { 
		max-width: 60%; 
		width: 60%; 
	}
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}


@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.loading {
  width: 100;
  height: 100;
  border-radius: 50%;
  border: 10px solid #ddd;
  border-top-color: orange;
  animation: loading 1s linear ;
}

@keyframes loading {
  to {
    transform: rotate(360deg);
  }
}

.hideMe {
  animation: fadeOut 3s forwards;
}



.logo img {
	height: 40px; /* Scaling the Antera logo */
	width: auto;
}

.site-header {
	background-color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	opacity: 0;
	animation: fadeIn 1s 0.5s var(--transition-curve) forwards;
}

/* Button Styling */
.btn {
	display: inline-block;
	padding: 15px 40px;
	border: 1px solid black;
	color: #000;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.8rem;
	font-weight: 600;
	transition: all 0.3s ease;
	background: transparent;
}

.btn:visited {
	color: #000;

}

.btn:hover {
	background: #fff;
	color: #000;
}

.nav-bottom-copy {
		text-align: right;
}

.nav-container {
	margin: 0 auto;
	padding: 0 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}
 

/* --- Desktop Navigation --- */
.nav-list {
	padding-bottom: 4px;
	color: var(--text-main);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.75rem;
	margin-left: 30px;
	font-weight: 400;

	list-style: none;
	display: flex;
	gap: 30px;
	margin: 0;
	padding: 0;
}

/* Hover Underline Animation (From earlier) */
.nav-link {
	text-decoration: none;
	position: relative;
	padding-bottom: 5px;
	transition: color 0.3s ease;
}

.nav-link:visited {
	color: var(--text-main);
}

.nav-link::after {
	 content: '';
	 position: absolute;
	 width: 100%;
	 height: 2px;
	 bottom: 0;
	 left: 0;
	 background-color: #bb22aa; /* Change this color to match Antera's branding */
	 transform: scaleX(0);
	 transform-origin: bottom right;
	 transition: transform 0.3s ease-out;
}

.nav-link:hover::after {
	 transform: scaleX(1);
	 transform-origin: bottom left;
}

.nav-list a[aria-current="page"] {
	color: #bb22aa;
	font-weight: 500;
	pointer-events: none;
}

.nav-link:hover {
	color: #bb22aa; /* Change this color to match Antera's branding */
}

/* --- Mobile Hamburger Button (Hidden on Desktop) --- */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}

.mobile-menu-toggle .bar {
	 display: block;
	 width: 25px;
	 height: 3px;
	 margin: 5px auto;
	 background-color: #333;
	 transition: all 0.3s ease-in-out;
	border-radius: 2px;
}

.article-updated {
	padding: 10px;
	border-left: 5px solid rgba(156,56,122,1);
}

.article-container {
	width: 100%;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	justify-content: center;
	align-items: center;
	padding: 50px;
}

.article-header {
	text-align: center;
}

.article-body {
	max-width: 1100px;
	width: auto;
	margin-top: 100px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {

	.article-body {
		max-width: 100%;
	}

	.mobile-menu-toggle { display: block; /* Show hamburger icon */ }
	
	.main-nav {
		 position: absolute;
		 top: 80px; /* Height of the header */
		 left: 0;
		 width: 100%;
		 background-color: #ffffff;
		 box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
		 border-top: 1px solid #eee;
		 
		 /* Hide menu by default */
		 max-height: 0;
		 overflow: hidden;
		 transition: max-height 0.4s ease-out;
	}

	 /* When the .active class is added via JS, expand the menu */
	 .main-nav.active {
		 max-height: 300px; /* Adjust if you add more links */
	 }

	 .nav-list {
		 flex-direction: column;
		 gap: 0;
		 text-align: center;
		 padding: 15px 0;
	 }

	 .nav-list li {
		 width: 100%;
	 }

	 .nav-link {
		 display: block;
		 padding: 15px 20px;
		 font-size: 1.1rem;
	 }

	 /* Disable the hover line animation on mobile, use background color instead */
	 .nav-link::after {
		 display: none; 
	 }

	 .nav-link:hover {
		 background-color: #f8f9fa;
	 }

	 /* Animate Hamburger to "X" when open */
	 .mobile-menu-toggle.active .bar:nth-child(2) {
		 opacity: 0;
	 }
	 .mobile-menu-toggle.active .bar:nth-child(1) {
		 transform: translateY(8px) rotate(45deg);
	 }
	 .mobile-menu-toggle.active .bar:nth-child(3) {
		 transform: translateY(-8px) rotate(-45deg);
	 }

	.cookie-content {
		 flex-direction: column;
		 text-align: left;
		 padding: 20px;
		 gap: 20px;
	 }

	 .cookie-buttons {
		 width: 100%;
		 flex-direction: column;
	 }

	.cookie-buttons button {
		width: 100%;
		padding: 12px;
	}

	h1 { font-size: 1.8rem; }
	.nav-bottom { display: block; }
	.nav-bottom-copy { text-align: left; display: block; }

}
