:root {
	--ink: #1a1a2e;
	--paper: #faf9f7;
	--mist: #edecea;
	--stone: #b8b5b0;
	--sky: #218FCF;
	--sky-soft: #ddeff7;
	--muted: #5a5a6e;
	--sans: 'Open Sans', sans-serif;
}

/* ── Legacy style, BS3 override to be removed eventually ── */
.view-home ul li {
	margin-bottom: 0 !important;
}
.view-home h1,
.view-home h2,
.view-home h3 {
	color: var(--ink);
	margin-top: 0;
}
.view-home h2,
.view-home h3 {
	text-transform: none;
}
.view-home p {
	margin-bottom: 1rem;
}
/* -- end legacy style overrides ── */

html.view-home {
	scroll-behavior: smooth;
}

html.view-home body {
	font-family: var(--sans);
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

html.view-home ::selection {
	background: var(--sky);
	color: #fff;
}

.d-none {
	display: none !important;
}

/* ── LAYOUT ── */

#home-view {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.home-body {
	flex-grow: 1;
}

/* ── NAV ── */

.home-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.5rem;
	font-family: var(--sans);
	background: rgba(250, 249, 247, .92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--mist);
	transition: box-shadow .3s;
	z-index: 1030;
}

.home-nav-links {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 1rem;
	white-space: nowrap;
}

.home-nav.scrolled {
	box-shadow: 0 1px 20px rgba(0, 0, 0, .06);
}

.home-logo-img {
	height: 55px;
}

.home-unops-img {
	width: 100px;
	height: auto;
}

.home-nav a {
	text-decoration: none;
	color: var(--ink);
	font-size: .75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	transition: color .25s;
}

.home-nav a:hover {
	color: var(--sky);
}

.home-nav-btn {
	background: var(--sky-soft);
	color: var(--sky) !important;
	padding: .45rem 1.2rem;
	border-radius: 2rem;
	font-size: .75rem;
	letter-spacing: .08em;
	transition: all .3s;
}

.home-nav-btn:hover {
	background: var(--sky);
	color: #fff !important;
}

.home-nav-cta {
	background: var(--ink);
	color: var(--paper) !important;
	padding: .55rem 1.4rem;
	border-radius: 2rem;
	font-size: .75rem;
	letter-spacing: .1em;
	transition: all .3s;
}

.home-nav-cta:hover {
	background: var(--sky);
	color: #fff !important;
}

.home-nav-tools {
	background: var(--sky-soft);
	color: var(--sky) !important;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .9rem;
	transition: all .3s;
}

.home-nav-tools:hover {
	background: var(--sky);
	color: #fff !important;
}

/* ── FOOTER ── */

.home-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 3rem;
	background: var(--ink);
	color: var(--stone);
	font-size: .8rem;
}

.home-footer a {
	color: var(--sky);
	text-decoration: none;
}

.home-footer a:hover {
	text-decoration: underline;
}

.home-back-top {
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all .3s;
	color: var(--stone);
	text-decoration: none;
	font-size: .9rem;
}

.home-back-top:hover {
	border-color: var(--sky);
	color: var(--sky);
}

/* ── RESPONSIVE ── */

@media (max-width: 1200px) {
	.home-nav-section-link {
		display: none !important;
	}

	.home-nav-links {
		margin-left: auto !important;
		margin-right: 1rem !important;
	}
}

@media (max-width: 768px) {
	.home-nav-links {
		display: none !important;
	}

	.home-footer {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
		padding: 1.5rem !important;
	}

	.home-back-top {
		order: -1;
	}
}
/* ── HERO ── */

.home-hero {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding-top: 5rem;
	position: relative;
	overflow: hidden;
}

.home-hero-left {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 6% 5% 6% 6%;
}

.home-hero-stats {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.home-hero h1 {
	font-weight: 800;
	font-size: clamp(2rem, 3.5vw, 3rem);
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: uppercase;
	margin-bottom: 1.75rem;
}

.home-hero p {
	max-width: 32rem;
	margin-bottom: 2.5rem;
}

.home-stat-num {
	font-weight: 800;
	font-size: 2.6rem;
	color: var(--sky);
	display: block;
	line-height: 1;
}

.home-stat-label {
	font-size: .75rem;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: .1em;
	margin-top: .35rem;
	display: block;
}

.home-hero-right {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.home-hero-right .carousel-item:has(iframe) {
	background:
		repeating-linear-gradient(
			90deg,
			transparent,
			transparent 40px,
			rgba(255, 255, 255, .04) 40px,
			rgba(255, 255, 255, .04) 41px
		),
		var(--sky);
}

.home-hero-right .carousel {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
}

.home-hero-right .carousel-inner,
.home-hero-right .carousel-item {
	height: 100%;
}

.home-hero-right .carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-hero-video-slide {
	position: absolute;
	inset: 0;
	background: var(--sky);
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-hero-video-slide iframe {
	width: 80%;
	aspect-ratio: 16 / 9;
	border: none;
	border-radius: .5rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.home-hero-right .carousel-control-prev,
.home-hero-right .carousel-control-next {
	border: none;
	outline: none;
	box-shadow: none;
}

.home-hero-right .carousel-indicators {
	bottom: 1rem;
}

.home-hero-right .carousel-indicators button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	opacity: .5;
}

.home-hero-right .carousel-indicators button.active {
	opacity: 1;
}

/* ── SECTIONS ── */

.view-home section {
	padding: 7rem 6%;
}

.view-home section:nth-of-type(odd) {
	background: var(--paper);
}

.view-home section:nth-of-type(even) {
	background: var(--mist);
}

.home-narrow {
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
}

/* ── SHARED: section heading ── */

.home-section-heading {
	font-weight: 700;
	font-size: clamp(2rem, 3.5vw, 3rem);
	letter-spacing: -.02em;
	margin-bottom: 1rem;
}

.home-section-header {
	text-align: center;
	margin: 0 auto 4rem;
}

.home-section-header p {
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.8;
}

.home-section-divider {
	width: 3rem;
	height: 2px;
	background: var(--sky);
	margin: 1.5rem auto 2rem;
}

/* ── SHARED: body text ── */

.home-body-text,
.home-hero p,
.home-about-left p,
.home-deliver-text p,
.home-section-header p,
.home-products-copy p {
	font-size: 1rem;
	color: var(--muted);
	line-height: 1.8;
}

.home-body-text a,
.home-products-copy a {
	color: var(--sky);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ── SHARED: hover card ── */

.home-card {
	background: #fff;
	border: 1px solid var(--mist);
	border-radius: .5rem;
	padding: 2rem 1.75rem;
	transition: all .35s;
}


.home-card h3,
.home-card h4 {
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: .75rem;
}

.home-card p {
	font-size: .88rem;
	color: var(--muted);
	line-height: 1.75;
	margin-bottom: .75rem;
}

/* ── SHARED: grids ── */

.home-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

.home-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

/* ── SHARED: sky-background section ── */

.home-sky-section {
	background: var(--sky) !important;
	color: #fff;
}

.home-sky-section .home-section-heading {
	color: #fff;
}

.home-sky-section .home-section-header p {
	color: rgba(255, 255, 255, .8);
}

.home-sky-section .home-section-divider {
	background: #fff;
}

/* ── SHARED: circular icon button ── */

.home-icon-btn {
	background: rgba(255, 255, 255, .8);
	border: none;
	border-radius: 50%;
	width: 2.25rem;
	height: 2.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
}

.home-icon-btn:hover {
	background: #fff;
}

/* ── ABOUT ── */

.home-about-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	margin: 0 auto;
	align-items: start;
}

.home-about-left h2 {
	margin-bottom: 0;
}

.home-about-subtitle {
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--sky);
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.home-about-steps {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2.5rem;
}

.home-about-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;
}

.home-about-step i {
	width: 3.5rem;
	height: 3.5rem;
	background: var(--sky-soft);
	color: var(--sky);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
}

.home-about-step span {
	font-size: .7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--stone);
}

.home-about-step-arrow {
	color: var(--stone);
	font-size: .7rem;
	margin-bottom: 1.2rem;
}

.home-about-right {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.home-about-card {
	padding-left: 1.5rem;
	border-left: 3px solid var(--sky);
}

.home-about-card h3 {
	font-weight: 700;
	font-size: 1.05rem !important;
	margin-bottom: .5rem;
}

.home-about-card p {
	font-size: .85rem !important;
	color: var(--muted);
	line-height: 1.75;
}

/* ── PRODUCTS ── */

.home-products-stats {
	display: grid;
	grid-template-columns: repeat(4, auto);
	justify-content: center;
	gap: 1rem 4rem;
	margin-bottom: 3.5rem;
}

.home-products-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1rem;
	margin-bottom: 3rem;
}

.home-product-pill {
	aspect-ratio: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	padding: 1rem;
	border-color: transparent;
	text-align: center;
}

.home-product-pill i {
	color: var(--ink);
	font-size: 2rem;
}

.home-product-pill span {
	font-size: .7rem;
	font-weight: 600;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: .05em;
}

.home-products-copy {
	column-count: 2;
	column-gap: 3rem;
}

.home-products-copy p {
	margin-bottom: 1rem;
}

/* ── ELIGIBILITY ── */

.home-elig-banner {
	width: 100%;
	height: 12rem;
	object-fit: cover;
	display: block;
}

.home-elig-section .home-section-header {
	text-align: left;
	margin-bottom: 2rem;
}

.home-elig-section .home-section-divider {
	margin-left: 0;
}

.home-elig-content {
	margin-bottom: 3rem;
}

/* ── EXPERTISE ── */

.home-expertise-card h4 {
	letter-spacing: -.01em;
}

.home-cips-logo {
	display: block;
	max-width: 8rem;
	margin-top: 1rem;
}

/* ── NEWS ── */

.home-news-list {
	max-width: 56rem;
	margin: 0 auto;
}

.home-news-item {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding: 1.5rem;
	margin-bottom: 1rem;
	border-radius: .5rem;
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
	transition: box-shadow .3s;
	cursor: pointer;
}

.home-news-item:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.home-news-item:hover .home-news-title {
	color: var(--sky);
}

.home-news-thumb {
	width: 7rem;
	height: 7rem;
	object-fit: cover;
	border-radius: .375rem;
	flex-shrink: 0;
}

.home-news-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: .4rem;
	transition: color .3s;
}

.home-news-summary {
	font-size: .85rem;
	color: var(--muted);
	line-height: 1.65;
	margin-bottom: .75rem;
}

.home-news-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.home-news-btn {
	color: var(--sky);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .02em;
}

.home-news-read-time {
	font-size: .7rem;
	color: var(--stone);
	display: flex;
	align-items: center;
	gap: .3rem;
}

.home-news-pagination {
	display: flex;
	justify-content: center;
	gap: .5rem;
	margin-top: 2rem;
}

.home-news-page-btn {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	border: none;
	background: none;
	color: rgba(255, 255, 255, .6);
	font-size: .85rem;
	font-weight: 600;
	cursor: pointer;
}

.home-news-page-btn.active {
	background: #fff;
	color: var(--sky);
}

/* ── NEWS MODAL ── */

/* BS5 JS carousel/modal base styles (BS5 CSS removed, BS3 uses different classes).
   BS5 JS uses .carousel-item / .show, BS3 CSS uses .item / .in. */
.view-home .carousel {
	position: relative;
}
.view-home .carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.view-home .carousel-item {
	position: relative;
	display: none;
	float: left;
	width: 100%;
	margin-right: -100%;
	backface-visibility: hidden;
	transition: transform .6s ease-in-out;
}
.view-home .carousel-item.active,
.view-home .carousel-item-next,
.view-home .carousel-item-prev {
	display: block;
}
.view-home .carousel-item-next:not(.carousel-item-start),
.view-home .active.carousel-item-end {
	transform: translateX(100%);
}
.view-home .carousel-item-prev:not(.carousel-item-end),
.view-home .active.carousel-item-start {
	transform: translateX(-100%);
}
.view-home .carousel-control-prev,
.view-home .carousel-control-next {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 15%;
	padding: 0;
	color: #fff;
	background: none;
	border: 0;
	opacity: .5;
	cursor: pointer;
}
.view-home .carousel-control-prev { left: 0; }
.view-home .carousel-control-next { right: 0; }
.view-home .carousel-control-prev-icon,
.view-home .carousel-control-next-icon {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: 100% 100%;
}
.view-home .carousel-control-prev-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.view-home .carousel-control-next-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.view-home .carousel-indicators {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	padding: 0;
	margin: 0 auto 1rem;
	list-style: none;
}
.view-home .carousel-indicators button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	background-color: #fff;
	opacity: .5;
	margin: 0 3px;
	padding: 0;
	cursor: pointer;
}
.view-home .carousel-indicators button.active {
	opacity: 1;
}

/* Modal base styles for BS5 JS (.show class, not .in) */
.view-home .modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1055;
	display: none;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
}
.view-home .modal-dialog {
	position: relative;
	width: auto;
	max-width: 100rem;
	margin: 1.75rem auto;
	pointer-events: none;
}
.view-home .modal.fade { opacity: 0; transition: opacity .15s linear; }
.view-home .modal.show { opacity: 1; }
.view-home .modal.fade .modal-dialog {
	transform: translate(0, -50px);
	transition: transform .3s ease-out;
}
.view-home .modal.show .modal-dialog {
	transform: none;
}
.view-home .modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 0;
	pointer-events: auto;
	background-color: #fff;
	border: none;
	border-radius: .5rem;
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
	outline: 0;
}
.view-home .modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1050;
	width: 100vw;
	height: 100vh;
	background-color: #000;
}
.view-home .modal-backdrop.fade { opacity: 0; }
.view-home .modal-backdrop.show { opacity: .5; }

.home-news-modal-close {
	position: absolute;
	top: .75rem;
	right: .75rem;
	z-index: 10;
	font-size: 1.1rem;
	color: #333;
}

.home-news-modal-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 34rem;
}

.home-news-modal-left {
	background: #000;
	border-radius: .375rem 0 0 .375rem;
	overflow: hidden;
	display: flex;
	align-items: stretch;
	min-width: 0;
}

.home-news-carousel {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.home-news-carousel .carousel-inner {
	height: 100%;
}

.home-news-carousel .carousel-item {
	position: relative;
	height: 100%;
	min-height: 34rem;
}

.home-news-carousel .carousel-backdrop {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: blur(20px) brightness(.6);
	transform: scale(1.15);
}

.home-news-carousel .carousel-item img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.home-news-carousel .carousel-control-prev,
.home-news-carousel .carousel-control-next {
	top: 50%;
	transform: translateY(-50%);
	bottom: auto;
	width: 2.25rem;
	height: 2.25rem;
	opacity: 1;
}

.home-news-carousel .carousel-control-prev {
	left: .75rem;
}

.home-news-carousel .carousel-control-next {
	right: .75rem;
}


.home-news-modal-left.d-none + .home-news-modal-right {
	grid-column: 1 / -1;
}

.home-news-modal-right {
	padding: 3rem;
	overflow-y: auto;
	max-height: 80vh;
	font-size: .95rem;
	line-height: 1.8;
	color: var(--muted);
}

.home-news-modal-title {
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--ink);
	margin-bottom: 1.25rem;
}

.home-news-modal-content img {
	max-width: 100%;
	height: auto;
	border-radius: .25rem;
}

.home-news-modal-content blockquote {
	border-left: 3px solid var(--sky);
	padding: 1rem 1.5rem 1rem 2rem;
	margin: 1.5rem 0;
	font-style: italic;
	color: var(--sky);
	font-size: 1rem;
	line-height: 1.7;
}

.home-news-modal-content blockquote p {
	margin: 0 0 .5rem;
	color: var(--sky);
}

.home-news-modal-content blockquote p:last-child {
	margin-bottom: 0;
	font-weight: 700;
}

/* ── WHERE WE DELIVER ── */

.home-deliver-inner {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 3rem;
	align-items: center;
}

.home-deliver-text .home-section-divider {
	margin: 0 0 2rem;
}

.home-deliver-text p {
	color: rgba(255, 255, 255, .9);
	margin-bottom: 1.25rem;
}

.home-deliver-map img {
	width: 100%;
	opacity: .6;
	display: block;
}

/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
	.home-hero {
		grid-template-columns: 1fr;
	}

	.home-hero-right {
		min-height: 50vh;
	}

	.home-about-layout {
		grid-template-columns: 1fr;
	}

	.home-grid-4 {
		grid-template-columns: 1fr 1fr;
	}

	.home-products-stats {
		grid-template-columns: repeat(2, auto);
	}

	.home-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.home-products-copy {
		column-count: 1;
	}

	.home-deliver-inner {
		grid-template-columns: 1fr;
	}

	.home-deliver-map {
		max-width: 32rem;
	}

	.home-news-item {
		flex-direction: column;
	}

	.home-news-thumb {
		width: 100%;
		height: 12rem;
	}

	.home-news-modal-layout {
		grid-template-columns: 1fr;
	}

	.home-news-modal-left {
		border-radius: .375rem .375rem 0 0;
	}

	.home-news-carousel .carousel-item {
		min-height: 20rem;
	}

	.home-news-modal-right {
		max-height: none;
		padding: 2rem 1.5rem;
	}
}

@media (max-width: 576px) {
	.home-products-grid {
		gap: .5rem;
	}

	.home-product-pill {
		aspect-ratio: auto;
		gap: .4rem;
		padding: .75rem .5rem;
	}

	.home-product-pill i {
		font-size: 1.25rem;
	}

	.home-product-pill span {
		font-size: .55rem;
	}

	.home-grid-2,
	.home-grid-4 {
		grid-template-columns: 1fr;
	}
}
