@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

.rsl-hero {
	--rsl-blue: #0b47a1;
	--rsl-blue-bright: #1469d4;
	--rsl-white: #fff;
	position: relative;
	isolation: isolate;
	width: 100%;
	height: clamp(590px, 78vh, 840px);
	min-height: 650px;
	overflow: hidden;
	background: #071422;
	color: var(--rsl-white);
	font-family: "Poppins", Arial, sans-serif;
}

.rsl-hero.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.rsl-hero *,
.rsl-hero *::before,
.rsl-hero *::after {
	box-sizing: border-box;
}

.rsl-hero__slides,
.rsl-hero__slide,
.rsl-hero__slide img,
.rsl-hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.rsl-hero__slides {
	z-index: -3;
}

.rsl-hero__slide {
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.1s ease, visibility 1.1s ease;
}

.rsl-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.rsl-hero__slide img {
	display: block;
	object-fit: cover;
	transform: scale(1.015);
	filter: saturate(.92) contrast(1.04);
	will-change: transform;
}

.rsl-hero__slide.is-active img {
	animation: rsl-hero-zoom-in 4s cubic-bezier(.18, .62, .32, 1) both;
}

@keyframes rsl-hero-zoom-in {
	from {
		transform: scale(1.015);
	}
	to {
		transform: scale(1.09);
	}
}

.rsl-hero__shade {
	z-index: -2;
	background:
		linear-gradient(90deg, rgba(3, 15, 31, .91) 0%, rgba(5, 24, 46, .77) 38%, rgba(6, 30, 54, .24) 69%, rgba(5, 23, 40, .28) 100%),
		linear-gradient(0deg, rgba(2, 13, 26, .62) 0%, transparent 45%);
}

.rsl-hero__inner {
	display: flex;
	align-items: center;
	width: min(1180px, calc(100% - 48px));
	height: 100%;
	margin: 0 auto;
	padding: 80px 0 105px;
}

.rsl-hero__content {
	max-width: 790px;
}

.rsl-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 18px;
	color: #a8cfff;
	font-size: clamp(.75rem, 1.2vw, .86rem);
	font-weight: 600;
	letter-spacing: .18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.rsl-hero__eyebrow::before {
	width: 42px;
	height: 2px;
	background: var(--rsl-blue-bright);
	content: "";
}

.rsl-hero__logo-wrap {
	position: absolute;
	top: 30px;
	right: max(24px, calc((100% - 1180px) / 2));
	z-index: 1;
	display: flex;
	width: clamp(220px, 21vw, 305px);
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	line-height: 0;
}

.rsl-hero__logo {
	display: block;
	width: 100%;
	height: auto;
	filter:
		drop-shadow(0 2px 3px rgba(255, 255, 255, .18))
		drop-shadow(0 12px 24px rgba(2, 13, 26, .32));
}

.rsl-hero__description {
	max-width: 690px;
	margin: 25px 0 0;
	color: rgba(255, 255, 255, .87);
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	font-weight: 400;
	line-height: 1.65;
}

.rsl-hero__button {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 52px;
	margin-top: 34px;
	padding: 14px 23px;
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 3px;
	background: var(--rsl-blue);
	box-shadow: 0 12px 32px rgba(2, 16, 34, .25);
	color: var(--rsl-white);
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.rsl-hero__button:hover,
.rsl-hero__button:focus-visible {
	background: var(--rsl-blue-bright);
	box-shadow: 0 16px 35px rgba(2, 16, 34, .36);
	color: var(--rsl-white);
	transform: translateY(-2px);
}

.rsl-hero__button:focus-visible,
.rsl-hero__arrow:focus-visible,
.rsl-hero__dot:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.rsl-hero__nav {
	position: absolute;
	right: max(24px, calc((100% - 1180px) / 2));
	bottom: 34px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.rsl-hero__arrow,
.rsl-hero__dot {
	margin: 0;
	border: 0;
	color: #fff;
	cursor: pointer;
}

.rsl-hero__arrow {
	display: grid;
	width: 43px;
	height: 43px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .32);
	border-radius: 50%;
	background: rgba(5, 24, 45, .54);
	font: 500 1.08rem/1 "Poppins", Arial, sans-serif;
	place-items: center;
	transition: border-color .2s ease, background-color .2s ease;
}

.rsl-hero__arrow:hover {
	border-color: rgba(255, 255, 255, .8);
	background: rgba(11, 71, 161, .88);
}

.rsl-hero__dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rsl-hero__dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .42);
	transition: width .25s ease, background-color .25s ease;
}

.rsl-hero__dot.is-active {
	width: 27px;
	background: #fff;
}

@media (max-width: 700px) {
	.rsl-hero {
		height: min(760px, 88svh);
		min-height: 620px;
	}

	.rsl-hero__shade {
		background:
			linear-gradient(90deg, rgba(3, 15, 31, .84) 0%, rgba(4, 19, 37, .63) 72%, rgba(5, 23, 40, .36) 100%),
			linear-gradient(0deg, rgba(2, 13, 26, .72) 0%, transparent 58%);
	}

	.rsl-hero__inner {
		align-items: flex-end;
		width: calc(100% - 40px);
		padding: 80px 0 128px;
	}

	.rsl-hero__logo-wrap {
		top: 20px;
		right: 20px;
		width: clamp(165px, 48vw, 215px);
	}

	.rsl-hero__description {
		margin-top: 20px;
		font-size: .98rem;
		line-height: 1.58;
	}

	.rsl-hero__button {
		margin-top: 26px;
	}

	.rsl-hero__nav {
		right: 20px;
		bottom: 25px;
		left: 20px;
		justify-content: space-between;
	}

	.rsl-hero__arrow {
		width: 40px;
		height: 40px;
	}

	.rsl-hero__slide:nth-child(3) img {
		object-position: center 45% !important;
	}
}

@media (min-width: 701px) {
	  .rsl-hero__slide:nth-child(1) img,
	.rsl-hero__slide:nth-child(2) img {
		    object-position: center 35%;
	}
	.rsl-hero__slide:nth-child(3) img {
		    object-position: center 30%;
	}
	  .rsl-hero__slide:nth-child(4) img,
	.rsl-hero__slide:nth-child(5) img {
		    object-position: center 38%;
	}
	.rsl-hero__slide:nth-child(6) img {
		    object-position: center 36%;
	}
}
	}
	}
	}
	}
}

@media (prefers-reduced-motion: reduce) {
	.rsl-hero__slide,
	.rsl-hero__slide img,
	.rsl-hero__button,
	.rsl-hero__arrow,
	.rsl-hero__dot {
		animation: none !important;
		transition-duration: .01ms !important;
	}
}
