/* =========================================================
   Hero Banner Slider for Elementor  –  frontend styles
   ========================================================= */

.hbs-slider {
	/* layout tokens (overridden by Elementor controls) */
	--hbs-h: 580px;
	--hbs-split: 68%;
	--hbs-circle: 41%;
	--hbs-ring: 26px;
	--hbs-cw: 620px;
	--hbs-angle: 105deg;
	--hbs-bleed: 18%;
	--hbs-pad-t: 52px;
	--hbs-pad-b: 42px;
	--hbs-pad-l: 5.5%;
	--hbs-cgap: 0px;

	/* colour tokens */
	--hbs-l1: #15185f;
	--hbs-l2: #0a58b0;
	--hbs-r1: #ffca00;
	--hbs-r2: #ffee00;
	--hbs-ringa: #ffca00;
	--hbs-ringb: #12388f;
	--hbs-glow: #1fa2ff;
	--hbs-line: #ffffff;
	--hbs-dot: #0d1b6b;
	--hbs-ink: #0d1b6b;

	--hbs-speed: 900ms;

	position: relative;
	width: 100%;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.hbs-slider *,
.hbs-slider *::before,
.hbs-slider *::after {
	box-sizing: border-box;
}

/* ---------- Colour themes (per slide) ---------- */
.hbs-slide.hbs-theme-sunset   { --hbs-l1:#2a0a6b; --hbs-l2:#8a1fb8; --hbs-r1:#ff8a00; --hbs-r2:#ffc933; --hbs-ringa:#ff8a00; --hbs-ringb:#2a0a6b; --hbs-glow:#ff4fa3; --hbs-dot:#2a0a6b; }
.hbs-slide.hbs-theme-emerald  { --hbs-l1:#032e26; --hbs-l2:#0b8a63; --hbs-r1:#b4e000; --hbs-r2:#e6ff4d; --hbs-ringa:#b4e000; --hbs-ringb:#032e26; --hbs-glow:#2df0b0; --hbs-dot:#032e26; }
.hbs-slide.hbs-theme-crimson  { --hbs-l1:#2a0716; --hbs-l2:#b3123f; --hbs-r1:#ffb400; --hbs-r2:#ffe066; --hbs-ringa:#ffb400; --hbs-ringb:#2a0716; --hbs-glow:#ff6b6b; --hbs-dot:#2a0716; }
.hbs-slide.hbs-theme-midnight { --hbs-l1:#050b24; --hbs-l2:#17357a; --hbs-r1:#19d3e6; --hbs-r2:#8ff3ff; --hbs-ringa:#19d3e6; --hbs-ringb:#050b24; --hbs-glow:#5b8cff; --hbs-dot:#050b24; }

/* ---------- Track & slides ---------- */
.hbs-track {
	position: relative;
	display: grid;
	overflow: hidden;
}

.hbs-slide {
	grid-area: 1 / 1;
	position: relative;
	min-height: var(--hbs-h);
	overflow: hidden;
	visibility: hidden;
	will-change: transform, opacity;
}

.hbs-slide.is-active,
.hbs-slide.is-leaving {
	visibility: visible;
}

.hbs-slide.is-leaving {
	z-index: 1;
}

.hbs-slide.is-active {
	z-index: 2;
}

/* ---------- Backgrounds ---------- */
.hbs-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(var(--hbs-angle), var(--hbs-l1) 0%, var(--hbs-l2) 100%);
}

.hbs-bg-right {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: calc(100% - var(--hbs-split));
	background: linear-gradient(160deg, var(--hbs-r1) 0%, var(--hbs-r1) 35%, var(--hbs-r2) 100%);
}

/* ---------- Decorative shapes ---------- */
.hbs-shapes {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

.hbs-s {
	position: absolute;
	display: block;
}

/* soft glow circles */
.hbs-s1,
.hbs-s2,
.hbs-s3 {
	aspect-ratio: 1;
	border-radius: 50%;
	background: linear-gradient(155deg, var(--hbs-glow) 0%, transparent 72%);
}

.hbs-s1 { left: -16%; top: 36%; width: 44%; opacity: .34; }
.hbs-s2 { left: 34%;  top: 8%;  width: 34%; opacity: .30; }
.hbs-s3 { left: 30%;  top: 60%; width: 26%; opacity: .26; }

.hbs-s-outline {
	left: 27%;
	top: -9%;
	width: 6.2%;
	aspect-ratio: 1;
	border: 2px solid var(--hbs-line);
	border-radius: 50%;
}

.hbs-s-stripes {
	left: 45%;
	top: -13%;
	width: 10%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: repeating-linear-gradient(118deg, var(--hbs-line) 0 2px, transparent 2px 7px);
}

.hbs-s-pill1,
.hbs-s-pill2 {
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.42) 100%);
	transform: rotate(-28deg);
}

.hbs-s-pill1 { right: 2%;  top: 6%;  width: 8.5%; height: 34%; }
.hbs-s-pill2 { right: -3%; top: 34%; width: 9%;   height: 46%; opacity: .7; }

.hbs-s-dots {
	right: 4.2%;
	bottom: 40px;
	width: 78px;
	height: 130px;
	background-image: radial-gradient(circle, var(--hbs-dot) 3px, transparent 3.6px);
	background-size: 26px 26px;
	background-position: 0 0;
}

@supports selector(:has(*)) {
	.hbs-slider:has(.hbs-nav--bottom-right) .hbs-s-dots { bottom: 110px; }
}

/* ---------- Content ---------- */
.hbs-inner {
	position: relative;
	z-index: 2;
	display: flex;
	min-height: var(--hbs-h);
}

.hbs-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	width: calc(var(--hbs-split) - var(--hbs-circle) / 2 - var(--hbs-cgap));
	padding: var(--hbs-pad-t) 0 var(--hbs-pad-b) var(--hbs-pad-l);
}

.hbs-main {
	margin: auto 0;
	padding-bottom: 28px;
	max-width: var(--hbs-cw);
}

.hbs-tagline {
	display: flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	max-width: 100%;
	margin: 0 0 18px;
	padding: 0;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .3px;
}

.hbs-tagline::before {
	content: "";
	flex: none;
	background-color: #ffd400;
}

.hbs-tagline--text::before {
	width: 28px;
	height: 2px;
	border-radius: 2px;
}

.hbs-tagline--pill {
	padding: 7px 16px 7px 14px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	background-color: rgba(255, 255, 255, .12);
}

.hbs-tagline--pill::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.hbs-title {
	margin: 0 0 22px;
	padding: 0;
	color: #fff;
	font-size: 58px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.01em;
}

.hbs-desc {
	margin: 0 0 34px;
	color: #fff;
	font-size: 15px;
	line-height: 1.6;
	max-width: 60ch;
}

.hbs-btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.hbs-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 26px;
	border: 2px solid transparent;
	border-radius: 999px;
	background-color: transparent;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .3s ease, border-color .3s ease, color .3s ease, gap .3s ease, box-shadow .3s ease;
}

.hbs-btn--primary {
	background-color: #fff;
	color: #0d1b6b;
}

.hbs-btn--secondary {
	border-color: rgba(255, 255, 255, .85);
	color: #fff;
}

.hbs-btn .hbs-ico {
	width: 18px;
	height: 18px;
	flex: none;
	transition: transform .3s ease;
}

.hbs-btn--primary:hover {
	gap: 14px;
	background-color: #ffd400;
}

.hbs-btn--primary:hover .hbs-ico {
	transform: translateX(2px);
}

.hbs-btn--secondary:hover {
	background-color: #fff;
	border-color: #fff;
	color: #0d1b6b;
}

/* ---------- Stats ---------- */
.hbs-stats {
	--hbs-stat-pad: 30px;
	--hbs-divider: rgba(255, 255, 255, .28);
	display: flex;
	flex-wrap: nowrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hbs-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	margin: 0;
	padding: 2px var(--hbs-stat-pad);
	list-style: none;
	border-left: 1px solid var(--hbs-divider);
}

.hbs-stat:first-child {
	padding-left: 0;
	border-left: 0;
}

.hbs-stat:last-child {
	padding-right: 0;
}

.hbs-stat-num {
	color: #fff;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.01em;
	font-variant-numeric: tabular-nums;
}

.hbs-stat-label {
	max-width: 15ch;
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
	line-height: 1.35;
}

/* keyboard focus */
.hbs-slider a:focus-visible,
.hbs-slider button:focus-visible {
	outline: 3px solid #ffd400;
	outline-offset: 3px;
}

/* ---------- Circle image ---------- */
.hbs-media {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.hbs-disc {
	position: absolute;
	left: var(--hbs-split);
	bottom: 0;
	width: var(--hbs-circle);
	aspect-ratio: 1;
	transform: translate(-50%, var(--hbs-bleed));
}

.hbs-circle {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	border-radius: 50%;
	background-color: #fff;
	box-shadow: 8px -8px 38px rgba(120, 70, 0, .34);
}

.hbs-circle img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

/* two-tone ring: yellow on the left, blue on the right, only the lower ~55% shows */
.hbs-ring {
	position: absolute;
	inset: calc(var(--hbs-ring) * -1);
	z-index: 1;
	border-radius: 50%;
	background: linear-gradient(90deg, var(--hbs-ringa) 50%, var(--hbs-ringb) 50%);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--hbs-ring)), #000 calc(100% - var(--hbs-ring) + 1px));
	mask: radial-gradient(farthest-side, transparent calc(100% - var(--hbs-ring)), #000 calc(100% - var(--hbs-ring) + 1px));
	-webkit-clip-path: inset(45% 0 0 0);
	clip-path: inset(45% 0 0 0);
}

/* ---------- Entrance choreography (one sequence per slide) ---------- */
@keyframes hbsRise {
	from { opacity: 0; transform: translate3d(0, 28px, 0); }
	to   { opacity: 1; transform: none; }
}

@keyframes hbsDisc {
	from { opacity: 0; transform: scale(.88); }
	to   { opacity: 1; transform: none; }
}

@keyframes hbsZoom {
	from { transform: scale(1.16); }
	to   { transform: scale(1); }
}

.hbs-slide.is-active .hbs-a {
	animation: hbsRise .85s cubic-bezier(.2, .7, .2, 1) both;
	animation-delay: calc(.28s + var(--d, 0) * .1s);
}

.hbs-slide.is-active .hbs-circle {
	animation: hbsDisc .9s cubic-bezier(.2, .7, .2, 1) .15s both;
}

.hbs-slide.is-active .hbs-circle img {
	animation: hbsZoom 2s cubic-bezier(.2, .7, .2, 1) both;
}

/* ---------- Navigation capsule ---------- */
.hbs-nav {
	position: absolute;
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 7px 7px 20px;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, .82);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 8px 28px rgba(9, 20, 80, .22);
}

.hbs-nav--bottom-right  { right: var(--hbs-nav-x, 4.2%); bottom: var(--hbs-nav-y, 26px); }
.hbs-nav--top-right     { right: var(--hbs-nav-x, 4.2%); top: var(--hbs-nav-y, 26px); }
.hbs-nav--bottom-center { left: 50%; bottom: var(--hbs-nav-y, 26px); transform: translateX(-50%); }

.hbs-nav--sides {
	inset: 0;
	padding: 0 18px;
	justify-content: space-between;
	background: none;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	pointer-events: none;
}

.hbs-nav--sides .hbs-info { display: none; }
.hbs-nav--sides .hbs-prev { order: 1; }
.hbs-nav--sides .hbs-next { order: 2; }
.hbs-nav--sides .hbs-arrow { pointer-events: auto; box-shadow: 0 6px 18px rgba(9, 20, 80, .3); }

/* without arrows the capsule needs symmetric padding */
.hbs-nav:not(:has(.hbs-arrow)) { padding-right: 20px; }

.hbs-info {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-right: 4px;
}

.hbs-counter {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	color: #0d1b6b;
	font-size: 14px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: .02em;
}

.hbs-counter .hbs-sep,
.hbs-counter .hbs-total {
	opacity: .55;
}

.hbs-track-line {
	position: relative;
	display: block;
	width: 84px;
	height: 3px;
	border-radius: 3px;
	overflow: hidden;
	background-color: rgba(13, 27, 107, .2);
}

.hbs-bar {
	position: absolute;
	inset: 0;
	display: block;
	border-radius: 3px;
	background-color: #0d1b6b;
	transform: scaleX(0);
	transform-origin: left center;
}

.hbs-dots {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.hbs-dot {
	appearance: none;
	-webkit-appearance: none;
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background-color: rgba(13, 27, 107, .2);
	cursor: pointer;
	transition: width .35s ease, background-color .35s ease;
}

.hbs-dot.is-active {
	width: 24px;
	background-color: #0d1b6b;
}

.hbs-pause {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #0d1b6b;
	cursor: pointer;
}

.hbs-pause .hbs-ico { width: 16px; height: 16px; }
.hbs-pause .hbs-i-play { display: none; }
.hbs-pause[aria-pressed="true"] .hbs-i-play { display: inline-flex; }
.hbs-pause[aria-pressed="true"] .hbs-i-pause { display: none; }

.hbs-arrow {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: #0d1b6b;
	color: #fff;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease, transform .25s ease, opacity .25s ease;
}

.hbs-arrow .hbs-ico {
	width: 20px;
	height: 20px;
	stroke-width: 2.2;
	transition: transform .25s ease;
}

.hbs-arrow:hover:not(:disabled) {
	background-color: #ffd400;
	color: #0d1b6b;
}

.hbs-arrow.hbs-prev:hover:not(:disabled) .hbs-ico { transform: translateX(-2px); }
.hbs-arrow.hbs-next:hover:not(:disabled) .hbs-ico { transform: translateX(2px); }
.hbs-arrow:active:not(:disabled) { transform: scale(.94); }
.hbs-arrow:disabled { opacity: .35; cursor: not-allowed; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1024px) {
	.hbs-slider { --hbs-pad-t: 44px; --hbs-pad-b: 36px; --hbs-pad-l: 5%; }
	.hbs-stat-num { font-size: 30px; }
	.hbs-stats { --hbs-stat-pad: 20px; }
	.hbs-s-dots { bottom: 34px; width: 52px; height: 104px; background-size: 26px 26px; }
	.hbs-s-stripes,
	.hbs-s-outline { opacity: .9; }
}

/* =========================================================
   Mobile – stacked layout, half-circle rising from the bottom
   ========================================================= */
@media (max-width: 767px) {
	.hbs-slide { min-height: 0; }

	.hbs-bg-right { display: none; }

	.hbs-inner {
		flex-direction: column;
		min-height: 0;
	}

	.hbs-slider { --hbs-pad-t: 44px; --hbs-pad-b: 24px; --hbs-pad-l: 24px; }

	.hbs-content {
		width: 100%;
		padding: var(--hbs-pad-t) var(--hbs-pad-l) var(--hbs-pad-b);
	}

	.hbs-main { padding-bottom: 24px; max-width: none; }
	.hbs-title { margin-bottom: 16px; }
	.hbs-tagline { margin-bottom: 14px; font-size: 13px; }
	.hbs-desc { margin-bottom: 24px; }
	.hbs-btns { gap: 10px; }
	.hbs-btn { padding: 10px 20px; font-size: 13px; }
	.hbs-stats { --hbs-stat-pad: 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
	.hbs-stat-num { font-size: 26px; }
	.hbs-stat-label { max-width: none; }

	.hbs-media {
		position: relative;
		inset: auto;
		height: min(62vw, 270px);
		overflow: hidden;
		background: linear-gradient(160deg, var(--hbs-r1) 0%, var(--hbs-r2) 100%);
	}

	.hbs-disc {
		left: 50%;
		bottom: auto;
		top: 20px;
		width: min(84vw, 360px);
		transform: translateX(-50%);
	}

	.hbs-ring { inset: -14px; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px)); mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px)); }

	.hbs-s1 { left: -30%; top: 20%; width: 80%; }
	.hbs-s2 { left: 40%;  top: -8%; width: 70%; }
	.hbs-s3 { display: none; }
	.hbs-s-outline { left: 9%;  top: -7%; width: 15%; }
	.hbs-s-stripes { left: 30%; top: -11%; width: 22%; }
	.hbs-s-pill1,
	.hbs-s-pill2,
	.hbs-s-dots { display: none; }

	/* nav moves to the top-right corner so it never covers the photo */
	.hbs-nav,
	.hbs-nav--bottom-right,
	.hbs-nav--bottom-center,
	.hbs-nav--top-right,
	.hbs-nav--sides {
		inset: 14px 14px auto auto;
		transform: none;
		width: auto;
		padding: 5px 5px 5px 14px;
		background-color: rgba(255, 255, 255, .85);
		box-shadow: 0 8px 22px rgba(9, 20, 80, .22);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		pointer-events: auto;
		justify-content: flex-end;
	}

	.hbs-slider:has(.hbs-nav) .hbs-content { padding-top: calc(var(--hbs-pad-t) + 40px); }

	.hbs-nav--sides .hbs-info { display: flex; }
	.hbs-nav--sides .hbs-prev,
	.hbs-nav--sides .hbs-next { order: 0; box-shadow: none; }
	.hbs-nav:not(:has(.hbs-arrow)) { padding-right: 14px; }
	.hbs-track-line { width: 44px; }
	.hbs-arrow { width: 40px; height: 40px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	.hbs-slider *,
	.hbs-slider *::before,
	.hbs-slider *::after {
		animation: none !important;
		transition-duration: .01ms !important;
	}
}
