﻿/* Shared font/reset/variables/body/.container/.btn family/@keyframes/
   input/nav a moved to base.css (loaded before this file) - see
   that file. a's color is overridden to "inherit" here (base.css
   defaults to var(--blue)). */
a { text-decoration: none; color: inherit; }

/* Hero banner */
.hero-banner {
	background: url("img/hero-background.png") no-repeat center center;
	background-size: cover;
	min-height: calc(60vh - 80px);
	display: flex;
	align-items: center;
}

/* .hero-content h1/h2/p styling is shared in base.css */




/* =======================================================
OUR STRENGTHS
======================================================= */

.infrastructure-overview {
	padding: 100px 0 110px;
	background: #fff;
}


.performance-support {
	border-top: 1px solid var(--blue);
}


.infrastructure-overview .main_inbox {
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
}


/* =======================================================
INTRO
======================================================= */

.infrastructure-intro {
	max-width: 850px;
	margin: 0 auto 65px;
	text-align: center;
}


.our-strengths .infrastructure-intro .section-label {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeUp 0.8s ease forwards;
}

.our-strengths .infrastructure-intro h2 {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeUp 0.8s ease forwards;
	animation-delay: 0.2s;
}

.our-strengths .infrastructure-intro p {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeUp 0.8s ease forwards;
	animation-delay: 0.4s;
}


.infrastructure-intro .section-label {
	display: inline-block;
	margin-bottom: 18px;
	color: var(--blue);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}


.infrastructure-intro h2 {
	margin: 0 0 25px;
	color: var(--navy);
	font-size: clamp(2.4rem, 4vw, 3.6rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
}


.infrastructure-intro p {
	max-width: 800px;
	margin: 0 auto 18px;
	color: var(--navy-dark);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.8;
}


/* =======================================================
STRENGTH CARDS
======================================================= */

.infrastructure-strengths {
	display: grid;

	grid-template-columns: repeat(4, 1fr);

	gap: 24px;

	width: 100%;
	max-width: 1300px;

	margin: 0 auto;
}


/* Individual card */

.infrastructure-strength-card {
	position: relative;

	display: flex;
	flex-direction: column;

	padding: 32px 28px;

	background: #fff;

	border: 1px solid var(--blue);
	border-radius: var(--radius);

	box-shadow: 0 4px 4px rgba(0, 0, 0, .20);

	box-sizing: border-box;

	transition:
	transform .25s ease,
	box-shadow .25s ease;

	&:hover {
		transform: translateY(-6px);

		box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
	}

	/* Heading */
	& h3 {
		margin: 0 0 14px;

		color: var(--navy);

		font-size: 20px;
		font-weight: 700;

		line-height: 1.3;
	}

	/* Description */
	& p {
		margin: 0;

		color: var(--navy-dark);

		font-size: 15px;
		font-weight: 300;

		line-height: 1.7;
	}
}


/* Number */

.strength-number {
	margin-bottom: 20px;
	color: var(--blue);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .08em;
}


/* =======================================================
RESPONSIVE
======================================================= */

@media (max-width: 1100px) {

	.infrastructure-strengths {
		grid-template-columns: repeat(2, 1fr);
	}

}


@media (max-width: 768px) {

	.infrastructure-overview {
		padding: 70px 0 80px;
	}

	.infrastructure-intro {
		margin-bottom: 45px;
	}

	.infrastructure-intro h2 {
		font-size: 32px;
	}

	.infrastructure-intro p {
		font-size: 16px;
	}

	.infrastructure-strengths {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.infrastructure-strength-card {
		padding: 28px 24px;
	}

}
/* =======================================================
INFRASTRUCTURE FEATURES
======================================================= */

.infrastructure-features {
	position: relative;
	padding: 100px 0;
	background-color: #fff;
	overflow: hidden;
	border-top: 1px solid var(--blue);
}

.infrastructure-features .main_inbox {
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
}


/* =======================================================
FEATURE ROW
======================================================= */

.infrastructure-feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 90px;
	padding: 90px 0;
	border-bottom: 1px solid var(--blue);
	scroll-margin-top: var(--header-height, 93px);

	&:first-child {
		padding-top: 20px;
	}

	&:last-child {
		border-bottom: none;
	}
}


/* Reverse row */

.infrastructure-feature--reverse {
	grid-template-columns: 1fr 1fr;
}


/* =======================================================
FEATURE CONTENT
======================================================= */

.infrastructure-feature-content {
	max-width: 650px;
}



/* Main heading */

.infrastructure-feature-content h2 {
	margin: 0 0 24px;
	color: var(--navy);
	font-size: 2.5rem;
	line-height: 1.15;
	font-weight: 700;
}


/* Intro */

.infrastructure-feature-intro {
	margin: 0 0 42px;
	max-width: 600px;
	color: var(--navy-dark);
	font-size: 19px;
	line-height: 1.7;
	font-weight: 300;
}


/* =======================================================
INFORMATION BLOCKS
======================================================= */

.infrastructure-info {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.infrastructure-info-item {
	padding-left: 22px;
	border-left: 1px solid var(--blue);
}

.infrastructure-info-item h3 {
	margin: 0 0 8px;
	color: var(--navy);
	font-size: 19px;
	font-weight: 700;
}

.infrastructure-info-item p {
	margin: 0;
	color: var(--navy-dark);
	font-size: 16px;
	line-height: 1.7;
	font-weight: 300;
}


/* =======================================================
VISUAL CONTAINER
======================================================= */


.infrastructure-feature-visual-column {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}


.infrastructure-feature-visual {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	padding: 35px;
	background: linear-gradient(
	100deg,
	var(--navy) 0%,
	var(--navy) 88%,
	var(--navy-dark) 100%
	);

	border: 1px solid var(--blue);
	border-radius: 12px;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
	transition:
	transform .25s ease,
	box-shadow .25s ease;

	&:hover {
		transform: translateY(-5px);
		box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
	}
}



.hyper-v-logo {
	display: block;
	width: 160px;
	height: auto;
	object-fit: contain;
	margin-top: 10px;
}

/* =======================================================
HYPER-V VISUAL
======================================================= */

.hyperv-visual {
	width: 100%;
	max-width: 480px;
	text-align: center;
}

.hyperv-visual-title {
	text-align: center;
	margin-bottom: 22px;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}


/* Physical server */

.visual-server {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	background: var(--blue-light);
	border: 2px solid var(--navy);
	border-radius: 12px;
}


/* VPS boxes */

.visual-vps {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--blue);
	border-radius: 8px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, .08);

	& strong {
		color: var(--navy);
		font-size: 16px;
	}

	& span {
		color: var(--blue);
		font-size: 14px;
	}
}


/* Caption */

.visual-caption {
	margin-top: 22px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}





/* =======================================================
RAID 60 VISUAL
======================================================= */

.infrastructure-feature:not(.infrastructure-feature--reverse) {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	column-gap: 140px;
}

.infrastructure-feature-visual-raid {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	padding: 35px;
	background: linear-gradient(
	100deg,
	var(--navy) 0%,
	var(--navy) 88%,
	var(--navy-dark) 100%
	);
	border: 1px solid var(--blue);
	border-radius: 12px;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
	transition:
	transform .25s ease,
	box-shadow .25s ease;

	&:hover {
		transform: translateY(-5px);
		box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
	}
}


/* The actual RAID diagram */
.raid-visual {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
}

.raid-visual-title {
	text-align: center;
	margin-bottom: 22px;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}

/* RAID groups */
.raid-groups {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	width: 100%;
}

/* Individual RAID group */
.raid-group {
	width: 100%;
	padding: 18px;
	background: var(--blue-light);
	border: 1px solid var(--blue);
	border-radius: 10px;
	box-sizing: border-box;
}

/* Group title */
.raid-group-title {
	display: block;
	margin: 0 0 14px;
	color: var(--navy);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

/* Drive blocks */
.raid-drives {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 5px;
	width: 100%;
}

.raid-drives span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 4px;
	background: #fff;
	border: 1px solid var(--blue);
	border-radius: 5px;

	color: var(--navy);
	font-size: 9px;
	font-weight: 600;
	text-align: center;

	box-sizing: border-box;

	/* Parity drives */
	&:nth-last-child(-n+2) {
		background: var(--blue-light);
		border-color: var(--navy);
	}
}


/* =======================================================
MEMORY VISUAL
======================================================= */
.infrastructure-feature-visual-memory {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	padding: 35px;
	background: linear-gradient(
	100deg,
	var(--navy) 0%,
	var(--navy) 88%,
	var(--navy-dark) 100%
	);
	border: 1px solid var(--blue);
	border-radius: 12px;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
	transition:
	transform .25s ease,
	box-shadow .25s ease;

	&:hover {
		transform: translateY(-5px);
		box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
	}
}



.memory-visual {
	width: 100%;
	max-width: 500px;
}

.memory-visual-title {
	text-align: center;
	margin-bottom: 22px;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}


/* Memory bar */

.memory-bar {
	display: flex;

	width: 100%;
	height: 80px;

	overflow: hidden;

	border: 2px solid var(--navy);
	border-radius: 10px;

	background: #f5f7fa;
}


/* Allocated */

.memory-used {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 65%;

	background: var(--blue);

	color: #fff;

	font-size: 15px;
	font-weight: 600;
}


/* Available */

.memory-available {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35%;
	background: var(--blue-light);
	color: var(--navy);
	font-size: 14px;
	font-weight: 600;
}


/* Memory labels */

.memory-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 12px;
	color: var(--blue-light);
	font-size: 13px;
}


/* =======================================================
RESPONSIVE
======================================================= */

@media (max-width: 1000px) {

	.infrastructure-feature {
		grid-template-columns: 1fr;
		gap: 50px;

		padding: 70px 0;
	}

	.infrastructure-feature--reverse {
		grid-template-columns: 1fr;
	}

	/*
	Keep content first on mobile
	*/

	.infrastructure-feature-content {
		max-width: 100%;
	}

	.infrastructure-feature-visual {
		width: 100%;
		max-width: 650px;
		margin: 0 auto;
	}

}


@media (max-width: 768px) {

	.infrastructure-features {
		padding: 60px 0;
	}

	.infrastructure-feature {
		padding: 60px 0;
		gap: 40px;
	}

	.infrastructure-feature:first-child {
		padding-top: 0;
	}

	.infrastructure-feature-content h2 {
		font-size: 32px;
	}

	.infrastructure-feature-intro {
		font-size: 17px;
		margin-bottom: 32px;
	}

	.infrastructure-feature-visual {
		min-height: 340px;
		padding: 25px;
	}

	.raid-groups {
		grid-template-columns: 1fr;
	}

	.raid-drives span {
		min-height: 50px;
	}

}


@media (max-width: 480px) {

	.infrastructure-features .main_inbox {
		width: 92%;
	}

	.infrastructure-feature-content h2 {
		font-size: 28px;
	}

	.infrastructure-info-item {
		padding-left: 16px;
	}

	.infrastructure-feature-visual {
		padding: 18px;
	}

	.visual-server {
		padding: 18px;
	}

	.visual-vps {
		padding: 14px;
		flex-direction: column;
		gap: 5px;
	}

	.memory-bar {
		height: 65px;
	}

}



/* =======================================================
DATA CENTER SECTION
======================================================= */

.datacenter-section {
	width: 100%;
	background: #fff;
	border-top: 90px solid var(--navy);
	scroll-margin-top: var(--header-height, 93px);
}


/* Main layout */

.datacenter-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	min-height: 500px;
}


/* =======================================================
LEFT - IMAGE
======================================================= */

.datacenter-image {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 500px;
	overflow: hidden;

	& img {
		display: block;
		width: 100%;
		height: 100%;
		min-height: 500px;
		object-fit: cover;
	}
}


/* =======================================================
RIGHT - CONTENT
======================================================= */

.datacenter-content {
	padding: 80px 5% 80px 80px;
	max-width: 700px;

	& .section-label {
		display: block;
		margin-bottom: 15px;
		color: var(--blue);
		font-size: 14px;
		font-weight: 600;
		letter-spacing: .1em;
		text-transform: uppercase;
	}

	/* Main heading */
	& h2 {
		margin: 0 0 24px;
		color: var(--navy);
		font-size: 36px;
		font-weight: 700;
		line-height: 1.2;
	}
}


/* Image location label */

.datacenter-image-label {
	position: absolute;
	bottom: 20px;
	left: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	background: rgba(2, 103, 181, .92);
	border-radius: 8px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	margin-left: 60px;
}

/* Small line beside Osaka */

.datacenter-label-line {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
}


/* =======================================================
RIGHT - CONTENT
======================================================= */




/* Introduction */

.datacenter-intro {
	margin: 0 0 40px;
	color: var(--navy-dark);
	font-size: 17px;
	line-height: 1.7;
	font-weight: 300;
}


/* =======================================================
DATA CENTER FEATURES
======================================================= */

.datacenter-feature {
	display: flex;
	align-items: flex-start;
	gap: 18px;

	margin-bottom: 28px;

	/* Feature heading */
	& h3 {
		margin: 0 0 6px;

		color: var(--navy);
		font-size: 18px;
		font-weight: 700;
	}

	/* Feature text */
	& p {
		margin: 0;

		color: var(--navy-dark);
		font-size: 15px;
		line-height: 1.6;
		font-weight: 300;
	}
}


/* Icon */

.datacenter-feature-icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;

	&:hover{
		transform: translateY(-6px);

		box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
	}
}


.datacenter-feature-number {
	color: var(--blue);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em;
}

/* =======================================================
LOCATION / BOTTOM CALLOUT
======================================================= */

.datacenter-location {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid var(--blue);

	& strong {
		text-align: center;
		color: var(--navy);
		font-size: 20px;
		font-weight: 700;
	}

	& span {
		color: var(--navy);
		font-size: 18px;
	}

	& p {
		font-weight: 300;
		margin-top: 40px;
		color: var(--navy-dark);
		text-align: center;
	}
}



/* =======================================================
RESPONSIVE
======================================================= */

@media (max-width: 900px) {

	.datacenter-section {
		padding: 80px 0;
	}

	.datacenter-layout {
		grid-template-columns: 1fr;
		gap: 55px;
	}

	.datacenter-content {
		max-width: 700px;
	}

	.datacenter-image img {
		height: 420px;
	}

}


@media (max-width: 600px) {

	.datacenter-section {
		padding: 65px 0;
	}

	.datacenter-layout {
		width: 92%;
		gap: 40px;
	}

	.datacenter-image img {
		height: 320px;
	}

	.datacenter-content h2 {
		font-size: 30px;
	}

	.datacenter-intro {
		font-size: 16px;
	}

	.datacenter-feature {
		gap: 14px;
	}

	.datacenter-network-highlights {
		flex-direction: column;
		align-items: center;
	}

	.datacenter-network-highlight {
		flex: none;
		width: 100%;
	}

}

/* =======================================================
NETWORK HIGHLIGHTS
======================================================= */

.datacenter-network-highlights {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 22px;
	margin-top: 35px;
}


/* Individual highlight */

.datacenter-network-highlight {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
	flex: 1 1 0;
	min-width: 0;
}


/* Icon */




/* Icon image */

.datacenter-highlight-icon img {
	width: 40px;
	height: 40px;
	padding-bottom: 4px;

}


/* Text */

.datacenter-highlight-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 3px;

	& h3 {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		max-width: 200px;
		margin: 0;
		color: var(--navy);
		font-size: 17px;
		line-height: 1.3;
		font-weight: 700;
	}

	& p {
		margin: 0;

		color: var(--navy-dark);
		font-size: 14px;
		line-height: 1.5;
		font-weight: 300;
	}
}


/* Buttons */

.datacenter-buttons {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 40px;
}
