/* ============================================================
   SchedMD Homepage Styles
   Colors: Slurm Blue #2f98d4 | Dark Blue #164885 | Grey #e7e7e7
   Font: Arial
   ============================================================ */

/* Reset & Base */
/* ---------------------------------------- */

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: #333333;
	background: #ffffff;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #2f98d4;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

ul {
	list-style: none;
}

/* Container */
/* ---------------------------------------- */

.container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ============================================================
   NVIDIA Acquisition Banner
   ============================================================ */

.nvidia-banner {
	background: #76b900; /* NVIDIA green */
	color: #ffffff;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	padding: 10px 24px;
}

.nvidia-banner a {
	color: #ffffff;
	text-decoration: underline;
	font-weight: bold;
}

.nvidia-banner a:hover {
	text-decoration: none;
}

/* ============================================================
   Site Header
   ============================================================ */

.site-header {
	background: #164885;
	border-bottom: none;
	padding: 16px 0;
}

.site-header__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

.site-logo-link {
	display: inline-block;
}

.site-logo-img {
	height: 65px;
	width: auto;
}

/* ============================================================
   Hero Section
   ============================================================ */

.hero {
	background-color: #164885;
	color: #ffffff;
	padding: 32px 0 72px;
}

.hero__inner {
	display: flex;
	align-items: center;
	gap: 48px;
	flex-wrap: wrap;
}

.hero__image {
	flex: 0 0 auto;
}

.hero__img {
	max-height: 260px;
	width: auto;
	border-radius: 6px;
}

.hero__text {
	flex: 1;
	min-width: 260px;
}

.hero__title {
	font-size: 40px;
	font-weight: bold;
	line-height: 1.2;
	margin-bottom: 20px;
	color: #ffffff;
}

.hero__subtitle {
	font-size: 20px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   In-Page Navigation
   ============================================================ */

.inpage-nav {
	background: #ffffff;
	border-bottom: 2px solid #e7e7e7;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.inpage-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.inpage-nav__list li a {
	display: block;
	padding: 16px 28px;
	font-size: 15px;
	font-weight: bold;
	color: #333333;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-bottom: 3px solid transparent;
	transition: color 0.2s, border-color 0.2s;
	text-decoration: none;
}

.inpage-nav__list li a:hover {
	color: #2f98d4;
	border-bottom-color: #2f98d4;
	text-decoration: none;
}

/* ============================================================
   Page Sections
   ============================================================ */

.page-section {
	padding: 64px 0;
}

.page-section--white {
	background: #ffffff;
}

.page-section--grey {
	background: #e7e7e7;
}

.page-section--dark {
	background: #111111;
	color: #ffffff;
}

.section-title {
	font-size: 28px;
	font-weight: bold;
	color: #164885;
	margin-bottom: 20px;
	line-height: 1.2;
}

.section-logo {
	height: 280px;
	width: auto;
	margin: -30px auto 0;
}

/* Center-aligned content sections */
#overview,
#slurm,
#slinky,
#support {
	text-align: center;
}

#overview .section-title,
#slurm .section-title,
#slinky .section-title,
#support .section-title {
	margin-left: auto;
	margin-right: auto;
}

#support > .container > .btn {
	display: block;
	width: fit-content;
	margin: 8px auto 0;
}

/* Section body text — constrained width for readability */
#overview p,
#slurm p,
#slinky p,
#support > .container > p {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	color: #444444;
	margin-bottom: 20px;
}

/* Arrow-style links */
.link-list {
	margin-top: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.link-list li {
	margin-bottom: 8px;
}

.arrow-link {
	font-weight: bold;
	color: #2f98d4;
	font-size: 15px;
}

.arrow-link::after {
	content: " ›";
}

.arrow-link:hover {
	color: #164885;
	text-decoration: none;
}

/* ============================================================
   Support Services Grid
   ============================================================ */

.support-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
	margin-top: 40px;
}

.support-card {
	background: #ffffff;
	border-radius: 6px;
	padding: 32px 24px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}


.support-card__icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 16px;
}

.support-card__icon svg {
	width: 100%;
	height: 100%;
}

.support-card__title {
	font-size: 16px;
	font-weight: bold;
	color: #164885;
	line-height: 1.3;
}

/* CTA Button */
.btn {
	display: inline-block;
	background: #2f98d4;
	color: #ffffff;
	font-weight: bold;
	font-size: 15px;
	padding: 14px 28px;
	border-radius: 4px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 8px;
	transition: background 0.2s;
}

.btn:hover {
	background: #164885;
	text-decoration: none;
}

/* ============================================================
   Testimonial Section
   ============================================================ */

.testimonial {
	text-align: center;
	max-width: 800px;
}

.testimonial__quote p {
	font-size: 22px;
	line-height: 1.5;
	font-style: italic;
	color: #ffffff;
	margin-bottom: 16px;
}

.testimonial__cite {
	font-style: normal;
	font-size: 15px;
	color: rgba(255,255,255,0.7);
	font-weight: bold;
}

/* ============================================================
   Contact Section
   ============================================================ */

.contact-section {
	border-top: 1px solid #e7e7e7;
}

.contact {
	display: flex;
	align-items: center;
	gap: 48px;
	flex-wrap: wrap;
}

.contact__logo-link {
	flex-shrink: 0;
}

.contact__logo {
	height: 48px;
	width: auto;
}

.contact__details {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.contact__item {
	font-size: 17px;
	color: #333333;
	font-weight: bold;
}

.contact__item:hover {
	color: #2f98d4;
	text-decoration: none;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
	background: #164885;
}

.footer__nav {
	padding: 48px 24px;
	display: flex;
	gap: 64px;
	flex-wrap: wrap;
	max-width: 1100px;
	margin: 0 auto;
}

.footer__col {
	flex: 1;
	min-width: 180px;
}

.footer__heading {
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255,255,255,0.6);
	margin-bottom: 16px;
}

.footer__links li {
	margin-bottom: 10px;
}

.footer__links a {
	color: #ffffff;
	font-size: 15px;
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 0.2s;
}

.footer__links a:hover {
	opacity: 1;
	text-decoration: underline;
}

.footer__copyright {
	background: #164885;
	border-top: 1px solid rgba(255,255,255,0.15);
	padding: 20px 24px;
	text-align: center;
	color: rgba(255,255,255,0.7);
	font-size: 13px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media screen and (max-width: 700px) {
	.hero {
		padding: 48px 0;
	}

	.hero__title {
		font-size: 28px;
	}

	.hero__subtitle {
		font-size: 17px;
	}

	.inpage-nav__list li a {
		padding: 12px 16px;
		font-size: 13px;
	}

	.section-title {
		font-size: 22px;
	}

	.support-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.footer__nav {
		flex-direction: column;
		gap: 32px;
		padding: 36px 24px;
	}
}

@media screen and (max-width: 400px) {
	.support-grid {
		grid-template-columns: 1fr;
	}
}
