html,
body {
	height: 100%;
}

body {
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--white);
	margin: 0;
	padding: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	position: relative; /* Add this */
}

.container {
	max-width: 95vw;
	margin: 0 auto;
	padding: 0 10px;
}

.container-white-page .container {
	background-color: var(--white);
	color: var(--text-color); /* Ensure text is visible */
}

/* Rainbow Bar */
.rainbow-bar {
	height: 4px;
	width: 100%;
	background: linear-gradient(
		to right,
		#ff0000 /* Red */,
		#ff7f00 /* Orange */,
		#ffff00 /* Yellow */,
		#00ff00 /* Green */,
		#0000ff /* Blue */,
		#4b0082 /* Indigo */,
		#8f00ff /* Violet */
	);
	position: absolute; /* Change to absolute */
	top: 0;
	left: 0;
	z-index: 1001;
}

/* Header Styles */
.site-header {
	background: var(--white);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
	width: 100%;
	z-index: 10;
	padding: 0;
	position: relative;
}

/* Ensure gradient bar is visible in hero-white-page */
.hero-white-page .top-gradient-bar {
	display: block !important;
	visibility: visible !important;
}

.header-content {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
	gap: 2rem;
}

/* logo container to take more space */
.header-content > div:first-child {
	flex: 0 0 auto;
	min-width: 200px;
	padding-left: 0.5rem;
	flex-grow: 1;
}

/* Navigation container */
.header-content > div:last-child {
	min-width: 200px;
	padding-right: 1rem;
}

.logo {
	display: flex;
	align-items: center;
	gap: 2rem;
	/* a gap between the logo image and the site name */
}

.logo img {
	height: 30px;
}

main {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	background-color: var(--white);
	/* Remove padding-top since header is no longer fixed */
	padding-top: 0;
	margin-top: 0;
}

.main-white-page main {
	background-color: var(--white);
	color: var(--text-color); /* Ensure text is visible */
}

/* Added to remove underline/hyperlink from website name*/
.no-underline {
	text-decoration: none;
}

.no-underline:hover,
.no-underline:focus,
.no-underline:active {
	text-decoration: none;
}

/* Center the brand section */
.navbar-brand {
	display: flex;
	align-items: center;
}

/* Style the logo text - Updated to match SpectrumX theme */
.navbar-brand .system-name {
	font-size: 1.2rem;
	font-weight: 300;
	color: #495057;
}

@media (max-width: 768px) {
	.navbar-brand {
		/* Reset any mobile-specific styles */
	}
}

/* Navigation */
.main-nav {
	display: flex;
	gap: 2rem;
	padding: 0;
}

.main-nav ul {
	list-style: none;
	display: flex;
	gap: 1.5rem;
	margin-bottom: 0;
	padding-left: 0;
}

.main-nav a {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 500;
	transition: color 0.3s;
	align-content: center;
}

.main-nav a:hover {
	color: var(--secondary-color);
}

h2 {
	text-align: center;
}

.center-heading {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100px; /* Adjust based on your layout */
	text-align: center;
}

.styled-paragraph {
	margin-bottom: 1.0rem;
	line-height: 1.6;
}

.centered-list {
	text-align: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Page wrapper for sticky footer */
.page-wrapper {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding-top: 4px; /* Add padding to account for gradient bar */
}

/* Footer */
.site-footer {
	background: #000;
	width: 100%;
	color: var(--white);
	padding: 1rem 0;
	margin-top: auto; /* This pushes the footer to the bottom when content is short */
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	gap: 2rem;
}

.footer-logos {
	display: flex;
	gap: 2rem;
}

.footer-logos img {
	height: 40px;
}

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