/* =============================================================
   FSI — Forming Solutions, Inc. — Template Styles
   Brand: #8cc640 (green) / #323232 (dark) / Lato font
   ============================================================= */

/* DO NOT REMOVE! */
* { 
	/* border: 1px solid red; */
}

html, body {
	overflow-x: hidden;
}

/* ----- Eddmond custom heading font ----- */
@font-face {
	font-family: 'Eddmond';
	src: url('../fonts/eddmond-bold-regular-webfont.woff2') format('woff2'),
	     url('../fonts/eddmond-bold-regular-webfont.woff') format('woff');
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: 'Eddmond';
	src: url('../fonts/eddmond-regular-webfont.woff2') format('woff2'),
	     url('../fonts/eddmond-regular-webfont.woff') format('woff');
	font-weight: 400;
	font-display: swap;
}

:root {
	--fsi-green:      #8cc640;
	--fsi-green-dark: #72a832;
	--fsi-dark:       #323232;
	--fsi-gray:       #f5f5f5;
	--fsi-text:       #444444;
}

/* ----- Base ----- */
body {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	color: var(--fsi-dark);
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Eddmond', Verdana, Arial, sans-serif;
	font-weight: 700;
	color: #353435;
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 1.4;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; font-weight: 400; text-transform: none; letter-spacing: normal; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

@media (max-width: 767.98px) {
	h2 { font-size: 22px; }
}

a {
	color: var(--fsi-green-dark);
}

a:hover {
	color: var(--fsi-green);
}

/* ----- Buttons ----- */
.btn-fsi {
	background-color: var(--fsi-green);
	color: #fff;
	border: 2px solid var(--fsi-green);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	transition: background-color .2s, border-color .2s;
}

.btn-fsi:hover,
.btn-fsi:focus {
	background-color: var(--fsi-green-dark);
	border-color: var(--fsi-green-dark);
	color: #fff;
}

.btn-fsi-outline {
	background: transparent;
	color: var(--fsi-green);
	border: 2px solid var(--fsi-green);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	transition: background-color .2s, color .2s;
}

.btn-fsi-outline:hover,
.btn-fsi-outline:focus {
	background-color: var(--fsi-green);
	color: #fff;
}

/* ----- Header ----- */
#site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

#header-topbar {
	background: #fff;
	border-bottom: 1px solid #e0e0e0;
}

.header-logo {
	max-height: 60px;
	width: auto;
}

.header-phone {
	color: var(--fsi-green) !important;
	font-family: 'Eddmond', Verdana, Arial, sans-serif;
	font-weight: 400;
	font-size: 1.1rem;
	text-decoration: none;
}

.header-phone:hover { color: var(--fsi-dark) !important; }

.header-email {
	color: var(--fsi-text);
	font-size: .9rem;
	text-decoration: none;
}

.header-email:hover { color: var(--fsi-green); }

/* ----- Navigation (bsResponsiveNav outputs id="navgroup1") ----- */
#navgroup1 {
	background-color: var(--fsi-dark) !important;
}

/* Nav template uses container-fluid — override to constrained container */
#navgroup1 .container-fluid {
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--bs-gutter-x, 1rem);
	padding-right: var(--bs-gutter-x, 1rem);
}

/* Mobile: white navbar background (collapses below md = 768px) */
@media (max-width: 767.98px) {
	#navgroup1 {
		background-color: #fff !important;
	}
	#navgroup1 .navbar-toggler {
		border-color: rgba(0,0,0,.25);
	}
	#navgroup1 .navbar-toggler-icon {
		filter: none;
	}
	#navgroup1 .nav-link {
		color: var(--fsi-dark) !important;
	}
	#navgroup1 .nav-link:hover,
	#navgroup1 .nav-link:focus {
		color: var(--fsi-green) !important;
	}
	#navgroup1 .nav-item {
		padding: .25rem 0;
	}
	#navgroup1 .dropdown-menu {
		padding: .5rem 0;
		background-color: #fff;
		border: none;
	}
	#navgroup1 .dropdown-item {
		padding: .5rem 1.25rem;
	}
}

/* Desktop: keep existing toggler styles (unused at lg+ but scoped safely) */
#navgroup1 .navbar-toggler {
	border-color: rgba(255,255,255,.4);
}

#navgroup1 .navbar-toggler-icon {
	filter: invert(1);
}

/* Hide brand logo on desktop — logo already shown in topbar */
@media (min-width: 992px) {
	#navgroup1 .navbar-brand {
		display: none;
	}
}

#navgroup1 .nav-link {
	color: rgba(255,255,255,.85);
	font-family: 'Eddmond', Verdana, Arial, sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: .875rem;
	padding: .4rem 1.75rem;
	transition: color .2s;
}

#navgroup1 .nav-link:hover,
#navgroup1 .nav-link:focus {
	color: var(--fsi-green);
}

#navgroup1 .nav-link.active {
	color: var(--fsi-green);
}

/* Services dropdown — desktop only */
@media (min-width: 768px) {
	#navgroup1 .dropdown-menu {
		background: var(--fsi-dark);
		border: 1px solid rgba(255,255,255,.1);
		border-radius: 0;
	}

	#navgroup1 .dropdown-item {
		color: rgba(255,255,255,.8);
		font-family: 'Lato', sans-serif;
		font-size: .85rem;
		font-weight: 400;
		text-transform: none;
		letter-spacing: .02em;
		padding: .65rem 1.25rem;
	}

	#navgroup1 .dropdown-item:hover {
		background: rgba(140,198,64,.15);
		color: var(--fsi-green);
	}
}


section {
	min-height: 550px;
}

/* ----- Hero ----- */
#hero {
	position: relative;
	min-height: 560px;
	height: 60vh;
	overflow: hidden;
}
.hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
	opacity: 1;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(50,50,50,.75) 30%, rgba(50,50,50,.2));
	display: flex;
	align-items: center;
}

.hero-headline {
	color: #fff;
	font-size: clamp(1.6rem, 4vw, 2.75rem);
	font-weight: 900;
	line-height: 1.2;
	max-width: 620px;
	text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

#hero .hero-headline {
	max-width: 100% !important;
	line-height: 4rem;
	/* border:1px solid blue; */
}


.text-fsi-green { color: var(--fsi-green); }

/* Inner page hero */
.page-hero {
	min-height: 450px;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
}

.page-hero-overlay {
	width: 100%;
	padding: 4rem 0;
}

.page-hero h1 {
	color: #fff;
	font-size: clamp(2rem, 4vw, 3rem);
	text-shadow: 0 2px 6px rgba(0,0,0,.5);
	margin: 0 0 14px;
	letter-spacing: 3px;
}

.page-hero p {
	color: #fff;
	font-size: 1.5em;
}

.hero-separator {
	content: '';
	display: block;
	width: 66%;
	height: 3px;
	background: var(--fsi-green);
	margin: 12px auto 0;
	transform: skewX(-45deg);
}

@media (min-width: 768px) {
	.hero-separator {
		width: 33%;
	}
}

.no-min-height {
	min-height: auto !important;
}

/* ----- Section headings ----- */
.section-heading {
	font-size: 1.875rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--fsi-dark);
}

@media (max-width: 767.98px) {
	.section-heading { font-size: 1.35rem; }
}

.section-subheading {
	color: #666;
	font-size: 1.1rem;
}

.section-intro {
	background-color: var(--fsi-green);
	position: relative;
}

.section-intro::after {
	content: '';
	position: absolute;
	bottom: -24px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 28px solid transparent;
	border-right: 28px solid transparent;
	border-top: 24px solid var(--fsi-green);
	z-index: 1;
}

.section-intro p {
	font-size: 1.5rem;
}

/* ----- Service Cards ----- */
.section-services {
	/* background: var(--fsi-dark); */
}

.section-services .section-heading,
.section-services .section-subheading {
	/* color: #fff; */
}

.section-services .section-subheading {
	color: rgba(255,255,255,.7);
}

.service-cards {
	margin-top: 38px;
}

.service-cards .col {
	padding-top: 38px;
}

.service-card {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 2px 12px rgba(0,0,0,.12);
	transition: transform .2s, box-shadow .2s;
	position: relative;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.service-icon {
	display: block;
	position: absolute;
	top: -38px;
	left: 50%;
	transform: translateX(-50%);
}

/* ----- Industries ----- */
.section-industries {
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	position: relative;
	min-height: 480px;
}

.industry-item i {
	color: var(--fsi-green);
}

.industry-item ul li {
	color: rgba(255,255,255,.8);
}

/* ----- Process Timeline ----- */
.fsi-timeline {
	position: relative;
	padding: 1rem 0 2rem;
}

/* Center vertical line */
.fsi-timeline::before {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--fsi-green);
	z-index: 0;
}

.fsi-timeline__item {
	display: grid;
	grid-template-columns: 1fr 100px 1fr;
	gap: 0 2rem;
	margin-bottom: 3rem;
	align-items: center;
}

.fsi-timeline__panel {
	overflow: visible;
}

/* Center node */
.fsi-timeline__node {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: .75rem 0;
}

.fsi-timeline__node-circle {
	width: 86px;
	height: 86px;
	background: #fff;
	border: 3px solid var(--fsi-green);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	margin-top: .5rem;
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* Content card */
.fsi-timeline__card {
	background: var(--fsi-dark);
	border: none;
	border-radius: 6px;
	padding: 2rem 2rem 1.75rem;
	position: relative;
}

.fsi-timeline__card h3 {
	font-size: 1.1rem;
	color: #fff;
	margin-bottom: .75rem;
}

.fsi-timeline__card p {
	font-size: .95rem;
	color: rgba(255,255,255,.8);
	margin-bottom: 1.25rem;
}

.fsi-timeline__card .btn-fsi-outline {
	color: var(--fsi-green);
	border-color: var(--fsi-green);
}

.fsi-timeline__card .btn-fsi-outline:hover,
.fsi-timeline__card .btn-fsi-outline:focus {
	background: var(--fsi-green);
	color: #fff;
}

/* Arrow pointer toward center line */
.fsi-timeline__item--left .fsi-timeline__card::after {
	content: '';
	position: absolute;
	right: -10px;
	top: 24px;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 10px solid var(--fsi-dark);
}

.fsi-timeline__item--right .fsi-timeline__card::after {
	content: '';
	position: absolute;
	left: -10px;
	top: 24px;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-right: 10px solid var(--fsi-dark);
}

/* Mobile: collapse to single column with node on left */
@media (max-width: 767px) {
	.fsi-timeline::before {
		left: 43px;
	}

	.fsi-timeline__item {
		grid-template-columns: 86px 1fr;
		grid-template-rows: auto;
		gap: 0 1rem;
	}

	.fsi-timeline__node {
		grid-column: 1;
		grid-row: 1;
	}

	.fsi-timeline__item--left .fsi-timeline__panel--left,
	.fsi-timeline__item--right .fsi-timeline__panel--right {
		grid-column: 2;
		grid-row: 1;
	}

	.fsi-timeline__item--left .fsi-timeline__panel--right,
	.fsi-timeline__item--right .fsi-timeline__panel--left {
		display: none;
	}

	.fsi-timeline__item--left .fsi-timeline__card::after,
	.fsi-timeline__item--right .fsi-timeline__card::after {
		display: none;
	}
}

/* ----- What We Offer rows ----- */
.section-wwrow {
    background-color: var(--fsi-dark);
}

.section-wwrow h2 {
    color: var(--fsi-green);
}

.section-wwrow p {
    color: #fff;
}

.section-wwrow.bg-light {
    background-color: #fff;
}

.section-wwrow.bg-light h2,
.section-wwrow.bg-light p {
    color: var(--fsi-dark);
}


.section-wwrow-img-col {
	position: relative;
	overflow: hidden;
	min-height: 420px;
}

/* .section-wwrow-body {
    padding-right: 30% !important;
}

.section-wwrow.bg-light .section-wwrow-body {
    padding-right: 46px !important;
    padding-left: 30% !important;
} */

.section-wwrow-body {
    max-width: 600px;
}

.section-wwrow-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.section-wwrow-img-col:hover .section-wwrow-img {
	transform: scale(1.03);
}

/* ----- Service Detail ----- */
.service-detail-list {
	padding-left: 1.25rem;
	line-height: 2;
}

.service-detail-list li {
	margin-bottom: .25rem;
}


.gallery-img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 3px;
	transition: opacity .2s;
}

.gallery-thumb:hover .gallery-img {
	opacity: .85;
}

.gallery-video-wrap video {
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* ----- Contact ----- */
.contact-photo {
	object-fit: cover;
	flex-shrink: 0;
}

/* ----- Footer ----- */
#site-footer {
	background: var(--fsi-dark);
	color: rgba(255,255,255,.75);
}

#footer-cc-strip {
	background: var(--fsi-green);
	padding: .75rem 0;
	color: var(--fsi-dark);
	font-size: .875rem;
	font-family: 'Eddmond', Verdana, Arial, sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .08em;
}

a.footer-phone,
a.footer-phone:link,
a.footer-phone:visited {
	color: var(--fsi-green) !important;
	font-family: 'Eddmond', Verdana, Arial, sans-serif;
	font-weight: 700;
	font-size: 1.1rem;
}

a.footer-phone:hover,
a.footer-phone:focus {
	color: #fff !important;
}

.footer-logo {
	max-width: 180px;
	height: auto;
	opacity: .9;
}

.footer-link {
	color: rgba(255,255,255,.75);
	text-decoration: none;
	transition: color .15s;
}

.footer-link:hover {
	color: var(--fsi-green);
}

.footer-nav {
	line-height: 2;
}

.footer-nav .footer-link {
	font-family: 'Eddmond', Verdana, Arial, sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: .8rem;
}

.footer-divider {
	border-color: rgba(255,255,255,.15);
}

.footer-copy {
	color: rgba(255,255,255,.4);
	font-size: .85rem;
}

/* Consulting page */
.consult-photo-col {
	background-size: cover;
	background-position: center;
	min-height: 340px;
}

/* Utility */
.bg-stripes {
	background-image: url('/sites/fsi/version/2026/assets/img/background-stripes-o35.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

/* Reviews */
.review-card {
	background: #fff;
	border-radius: 4px;
}
.review-stars {
	color: var(--fsi-green);
	font-size: 1.1rem;
	letter-spacing: 2px;
}
.review-body {
	font-size: .95rem;
	line-height: 1.7;
	color: #555;
}
.review-body > p:first-child::before {
	content: '\201C';
}
.review-body > p:last-child::after {
	content: '\201D';
}
.review-author {
	font-size: .88rem;
	color: #333;
}
