/* ============================================================
   ICPS Homepage — Hero section
   Replicates Figma node 10:3514 (ICPS-WEBSITE-ASSETS)
   Palette: navy #001F3F · accent #FF1744 · font Poppins
   ============================================================ */

/* Header "Contact Us" action button — navy pill per design (not the accent red) */
#Top_bar a.action_button,
#Top_bar a.action_button:visited {
	background: #001f3f !important;
	color: #ffffff !important;
	border-radius: 999px !important;
}
#Top_bar a.action_button:hover {
	background: #00305f !important;
}

.icps-hero {
	background: #ffffff;
	padding: 32px 0 24px;
}

.icps-hero__container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 48px;
}

.icps-hero__card {
	position: relative;
	min-height: 720px;
	border-radius: 36px;
	overflow: hidden;
	background: #001f3f;
	display: flex;
}

/* --- background slides (cross-fade) + gradient overlays --- */
.icps-hero__bgs { position: absolute; inset: 0; z-index: 0; }
.icps-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center right;
	opacity: 0;
	transition: opacity 1s ease;
	transform: scale(1.04);
}
.icps-hero__bg.is-active { opacity: 1; transform: scale(1); transition: opacity 1s ease, transform 7s ease; }
.icps-hero__overlay { position: absolute; inset: 0; z-index: 1; }
.icps-hero__overlay--h {
	background: linear-gradient(to right,
		rgba(0,31,63,0.90) 0%,
		rgba(0,31,63,0.60) 50%,
		rgba(0,31,63,0.20) 100%);
}
.icps-hero__overlay--v {
	background: linear-gradient(to top,
		rgba(0,31,63,0.80) 0%,
		rgba(0,0,0,0.00) 50%,
		rgba(0,31,63,0.30) 100%);
}

/* --- content column --- */
.icps-hero__content {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 56px;
	color: #fff;
	font-family: "Poppins", sans-serif;
}

/* top row : eyebrow + counter/arrows */
.icps-hero__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.icps-hero__eyebrow { display: flex; align-items: center; }
.icps-hero__line {
	display: inline-block;
	width: 48px; height: 2px;
	background: #ff1744;
	margin-right: 12px;
}
.icps-hero__eyebrow-text {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 4.8px;
	text-transform: uppercase;
	color: rgba(255,255,255,0.70);
	white-space: nowrap;
}
.icps-hero__nav { display: flex; align-items: center; }
.icps-hero__count {
	font-size: 12px;
	letter-spacing: 3.6px;
	text-transform: uppercase;
	color: rgba(255,255,255,0.60);
	margin-right: 24px;
	white-space: nowrap;
}
.icps-hero__count em { color: #ff1744; font-style: normal; }
.icps-hero__arrow {
	width: 40px; height: 40px;
	display: inline-grid; place-items: center;
	border: 1px solid rgba(255,255,255,0.20);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background .2s, border-color .2s;
}
.icps-hero__arrow + .icps-hero__arrow { margin-left: 8px; }
.icps-hero__arrow:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); }
.icps-hero__arrow svg { width: 14px; height: 14px; }

/* middle : cross-fading slide text blocks (stacked in one grid cell) */
.icps-hero__middles { position: relative; display: grid; align-items: center; padding: 40px 0; }
.icps-hero__middle {
	grid-area: 1 / 1;
	max-width: 896px;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .6s ease, transform .6s ease;
	pointer-events: none;
}
.icps-hero__middle.is-active { opacity: 1; transform: none; pointer-events: auto; }
.icps-hero__title {
	margin: 0;
	font-weight: 600;
	font-size: 72px;
	line-height: 1.05;
	letter-spacing: -1.8px;
	color: #fff;
}
.icps-hero__title em { color: #ff1744; font-style: italic; }
.icps-hero__lead {
	margin: 32px 0 0;
	max-width: 672px;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.625;
	color: rgba(255,255,255,0.75);
}
.icps-hero__actions {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.icps-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: none;
	transition: transform .15s ease, background .2s, border-color .2s;
}
.icps-hero__btn svg { width: 20px; height: 20px; }
.icps-hero__btn:hover { transform: translateY(-2px); }
.icps-hero__btn--primary {
	background: #fff;
	color: #001f3f !important;
	padding: 20px 32px;
}
.icps-hero__btn--primary:hover { background: #f1f3f6; }
.icps-hero__btn--ghost {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.25);
	color: #fff !important;
	padding: 20px 32px;
}
.icps-hero__btn--ghost:hover { border-color: rgba(255,255,255,0.6); }

/* bottom : trust pill + progress bar */
.icps-hero__bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding-top: 48px;
}
.icps-hero__pill {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.20);
	border-radius: 999px;
	padding: 11px 17px;
	font-size: 12px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
}
.icps-hero__pill svg { width: 14px; height: 14px; flex: 0 0 auto; }
.icps-hero__progress {
	display: flex;
	gap: 8px;
	width: 448px;
	max-width: 448px;
}
.icps-hero__progress .seg {
	flex: 1 1 0;
	height: 4px;
	border-radius: 999px;
	background: rgba(255,255,255,0.20);
	overflow: hidden;
}
.icps-hero__progress .seg i { display: block; height: 100%; background: #fff; width: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
	.icps-hero__title { font-size: 60px; }
}
@media (max-width: 1024px) {
	.icps-hero { padding: 24px 0 16px; }
	.icps-hero__container { padding: 0 24px; }
	.icps-hero__card { min-height: 0; }
	.icps-hero__content { padding: 40px; }
	.icps-hero__middles { padding: 48px 0; }
	.icps-hero__title { font-size: 48px; letter-spacing: -1px; }
	.icps-hero__lead { font-size: 18px; }
	.icps-hero__progress { width: 320px; }
}
@media (max-width: 680px) {
	.icps-hero { padding: 16px 0 8px; }
	.icps-hero__container { padding: 0 16px; }
	.icps-hero__card { border-radius: 24px; }
	.icps-hero__content { padding: 28px; }
	.icps-hero__top { gap: 12px; }
	.icps-hero__nav { display: none; }
	.icps-hero__middles { padding: 40px 0 8px; }
	.icps-hero__title { font-size: 34px; letter-spacing: -0.5px; }
	.icps-hero__lead { font-size: 16px; margin-top: 24px; }
	.icps-hero__actions { margin-top: 32px; }
	.icps-hero__btn { flex: 1 1 100%; justify-content: center; padding: 16px 24px; }
	.icps-hero__bottom { flex-direction: column; align-items: stretch; gap: 20px; padding-top: 36px; }
	.icps-hero__progress { width: 100%; max-width: none; }
}
