/* Hero slider — home page only */

.wessal-hero {
	position: relative;
	width: 100%;
	min-height: 940px;
	overflow: hidden;
	background: #fff;
}

.wessal-hero__slides {
	position: absolute;
	inset: 0;
}

.wessal-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.wessal-hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.wessal-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.79) 0%,
		rgba(255, 255, 255, 0.67) 100%
	);
}

.wessal-hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 940px;
	padding: 120px 24px 80px;
	text-align: center;
}

.wessal-hero__label {
	margin: 0 0 8px;
	font-size: 30px;
	font-weight: 700;
	color: #000;
}

.wessal-hero__title {
	margin: 0 0 16px;
	font-size: 60px;
	line-height: 1.25;
	font-weight: 700;
	color: #10293d;
}

.wessal-hero__title span {
	color: #f5d133;
}

.wessal-hero__desc {
	max-width: 520px;
	margin: 0 0 32px;
	font-size: 18px;
	line-height: 1.6;
	color: #10293d;
}

.wessal-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.wessal-hero__btn {
	display: inline-block;
	padding: 12px 40px;
	font-size: 16px;
	font-weight: 700;
	line-height: 40px;
	text-decoration: none;
	transition: background-color 0.3s, color 0.3s;
}

.wessal-hero__btn--dark {
	background: #000;
	color: #ffd800;
}

.wessal-hero__btn--dark:hover {
	background: #10293d;
	color: #fff;
}

.wessal-hero__btn--yellow {
	background: #ffd800;
	color: #10293d;
}

.wessal-hero__btn--yellow:hover {
	background: #10293d;
	color: #fff;
}

.wessal-hero__loader {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.wessal-hero__loader::after {
	content: "";
	width: 48px;
	height: 48px;
	border: 4px solid #ffd800;
	border-top-color: transparent;
	border-radius: 50%;
	animation: wessal-hero-spin 0.8s linear infinite;
}

.wessal-hero.is-ready .wessal-hero__loader {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@keyframes wessal-hero-spin {
	to {
		transform: rotate(360deg);
	}
}

@media only screen and (max-width: 1024px) {
	.wessal-hero,
	.wessal-hero__content {
		min-height: 700px;
	}

	.wessal-hero__title {
		font-size: 48px;
	}
}

@media only screen and (max-width: 778px) {
	.wessal-hero__desc {
		display: none;
	}
}

@media only screen and (max-width: 480px) {
	.wessal-hero,
	.wessal-hero__content {
		min-height: 432px;
		padding-top: 100px;
	}

	.wessal-hero__label {
		font-size: 22px;
	}

	.wessal-hero__title {
		font-size: 36px;
	}
}
