
:root {
	--nfs-primary: #38bba1;
	--nfs-secondary: #171014;
	--nfs-black: #100e0f;
	--nfs-dark-green: #057d67;
	
	--transition: .35s ease-in-out;
}


html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	scroll-behavior: smooth;
	width: 100%;
	background: var(--nfs-black);
	color: #fff;
}


.filter-secondary {
	filter: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(1763%) hue-rotate(273deg) brightness(94%) contrast(96%);
}

nav {
	width: 100%;
	height: auto;
	padding: 35px 0;
	font-style: italic;
	display: flex;
	align-items: flex-end;
	border-bottom: 3px solid #fff;
	margin-bottom: 100px;
	position: relative;
	transition: all 0.3s ease;
}

nav .inner {
	display: flex;
	width: auto;
}

nav .div {
	display: inline-flex;
}
nav a {
	color: #fff;
	font-size: 32px;
	
}
nav a:hover {
	color: var(--nfs-primary);
	text-decoration: none;
}
nav a.active {
	color: var(--nfs-primary);
}

.nav-wrap {
	position: relative;
	transition: all 0.3s ease;
	background: var(--nfs-secondary);
	background: var(--nfs-black);
}

.nav-wrap.fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
	border-bottom: 3px solid #fff;
	transition: all 0.3s ease;
	
}


nav.fixed {
	/*position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: var(--nfs-secondary);*/
	padding-top: 10px !important;
	padding-bottom: 20px !important;
	transition: all 0.3s ease;
	margin-bottom: 0px !important;
	border-bottom: 0 !important;
}

nav .logo img {
	transition: all 0.3s ease;
}

nav.fixed .logo img {
	width: 85px;
	transition: all 0.3s ease;
}





.hover12 figure {
	background: #1abc9c;
}
.hover12 figure img {
	opacity: 1;
	-webkit-transition: var(--transition);
	transition: var(--transition);
}
.hover12 figure:hover img {
	opacity: .5;
}














section {
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

section:nth-child(odd) { background: #111; color: white; }
section:nth-child(even) { background: #eee; color: black; }

section, h1, p {
	color: #111;
}







.section {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
}



.section-primary {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	background: var(--nfs-primary);
	color: #fff;
}
.section-primary h2 {
	color: var(--nfs-secondary);
}



.pt-6, .py-6 {
	padding-top: 3.5rem !important;
}
.pt-7, .py-7 {
	padding-top: 4rem !important;
}
.pb-6, .py-6 {
	padding-bottom: 3.5rem !important;
}
.pb-7, .py-7 {
	padding-bottom: 4rem !important;
}

.mb-6 {
	margin-bottom: 3.5rem !important;
}
.mb-7 {
	margin-bottom: 4rem !important;
}
.mb-8 {
	margin-bottom: 4.5rem !important;
}
.mb-9 {
	margin-bottom: 5rem !important;
}
.mb-10 {
	margin-bottom: 5.5rem !important;
}
.mt-6 {
	margin-top: 3.5rem !important;
}
.mt-7 {
	margin-top: 4rem !important;
}
.mt-8 {
	margin-top: 4.5rem !important;
}
.mt-9 {
	margin-top: 5rem !important;
}
.mt-10 {
	margin-top: 5.5rem !important;
}




.z-10 {
	z-index: 10;
}

.text-uppercase {
	text-transform: uppercase;
}


h1,h2,h3,h4,h5 {
	color: #fff;
}

h1 {
	font-size: 70px;
	font-weight: 900;
}

h2 {
	font-size: 70px;
	font-weight: 900;
}

h3 {
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 0px;
}

p {
	color: #fff;
}


.button-dark {
	background: var(--nfs-secondary);
	background: var(--nfs-black);
	padding: 8px 15px;
	border: 1px solid var(--nfs-primary);
	color: #fff;
	display: inline-flex;
	width: auto;
	border-radius: 5px;
	cursor: pointer;
}

.button-light {
	background: #fff;
	padding: 8px 15px;
	border: 1px solid var(--nfs-primary);
	color: var(--nfs-secondary);
	color: var(--nfs-black);
	display: inline-flex;
	width: auto;
	border-radius: 5px;
	cursor: pointer;
}


.button-xl {
	font-size: 60px;
	font-weight: bold;
	text-transform: uppercase;
	padding: 5px 15px 10px 15px !important;
}

.button-xxl {
	font-size: 80px;
	font-weight: black;
	text-transform: uppercase;
	padding: 5px 15px 10px 15px !important;
}



.icon-row {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.icon-row div {
	padding: 20px;
	text-align: center;
	cursor: pointer;
	transition: var(--transition);
}

.icon-row h3 {
	transition: var(--transition) !important;
}


.icon-row div:hover a {
	text-decoration: none;
	transition: var(--transition);
}
.icon-row div:hover h3 {
	text-decoration: none;
	color: var(--nfs-dark-green) !important;
	transition: var(--transition);
}

.icon-row div:hover img {
	animation: shake 1.25s;animation-iteration-count: infinite;
}


@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}




.portfolio {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.portfolio-card {
	display: flex;
	width: 31.5%;
	flex-direction: column;
	flex: 0 0 auto;
}

.portfolio-card .image {
	margin-bottom: 35px;
	width: 100%;
	border: 5px solid var(--nfs-primary);
	border-radius: 25px;
	overflow: hidden;
	aspect-ratio: 1/1;
}




/* SERVICES */

	.service-row .service-text {
		border: 2px solid var(--nfs-primary);
		border-radius: 20px;
		font-size: 24px;
		line-height: 52px;
		letter-spacing: -1px;
		font-weight: lighter;
		max-width: 580px;
	}
	
	.service-text {
		opacity: 0;
		transform: translateX(-30px);
		transition: all 0.4s ease;
		display: inline-block;
	}
	
	.service-row.active .service-text {
		max-width: 580px;
		opacity: 1;
		transform: translateX(0);
	}


	
/* SERVICES */




.footer {
	width: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	
}

.footer span, .footer i {
	color: var(--nfs-secondary);
	color: var(--nfs-black);
}




.home-subtext {
	font-size: 50px;
	font-weight: 400;
	font-style: italic;
}
















/* ---------- SECTION 1 / 3 ---------- */
.split {
	display: flex;
	width: 100%;
	height: 100%;
}

.split .image {
	flex: 1;
	background-size: cover;
	background-position: center;
	width: 50%;
}

.split .content {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 7.5rem;
	font-size: 1.8rem;
	width: 50%;
}

/* ---------- SECTION 2 ---------- */
.triple {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	
}

.triple > div {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	border-radius: 10px;
	padding: 2rem;
	box-sizing: border-box;
	background: #fff;
	max-width: 25%;
	aspect-ratio: 1/1;
	
}

.triple > div p {
	color: #111 !important;
}


.quad {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	width: 100%;
	height: 100%;
	margin: auto;
	max-width: 50vw;   /* cap width */
	max-height: 80vh;
	gap: 1rem;
}

.quad .box {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	padding: 2rem;
	box-sizing: border-box;
	flex-direction: column;
}

.quad .img {
	background-size: cover;
	background-position: center;
}

.quad .text {
	background: rgba(255,255,255,0.9);
}




/* Visuals */
section:nth-child(1) .image {
	background-image: url('https://picsum.photos/1000/1000?random=1');
}
section:nth-child(3) .image {
	background-image: url('https://picsum.photos/1000/1000?random=2');
}
section:nth-child(1) { background: #fafafa; }
section:nth-child(2) { background: #222; color: white; }
section:nth-child(3) { background: #f0f0f0; }






.btn {
	background: linear-gradient(180deg, #f5f5f5, #ddd);
	color: #222;
	border: 1px solid #ccc;
	border-radius: 8px;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.15s ease;
	box-shadow: 0 4px 0 #bbb;
}

.btn:hover {
	transform: translateY(2px);
	box-shadow: 0 2px 0 #999;
	background: linear-gradient(180deg, #e8e8e8, #d0d0d0);
}

.btn:active {
	transform: translateY(4px);
	box-shadow: 0 0 0 #888 inset;
	background: linear-gradient(180deg, #d5d5d5, #c0c0c0);
}
