/* ========================================
   QLS Hero
   ======================================== */

.qls-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	font-family: Inter, system-ui, -apple-system, sans-serif;
}

/* ---- Background ---- */
.qls-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.qls-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.qls-hero__gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		#001b33 0%,
		rgba(32, 77, 132, 0.92) 45%,
		rgba(247, 179, 147, 0.75) 100%
	);
	opacity: 0.88;
}

/* ---- Content ---- */
.qls-hero__content {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 48px);
	box-sizing: border-box;
}

.qls-hero__inner {
	max-width: min(780px, 100%);
	padding: clamp(120px, 18vh, 200px) 0 clamp(60px, 8vh, 100px);
}

/* Badge */
.qls-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 100px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.03);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	margin-bottom: 28px;
	animation: qls-hero-fadeUp 0.8s ease-out both;
}

.qls-hero__badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #f7b393;
	box-shadow: 0 0 8px #f7b393;
}

/* Heading */
.qls-hero__heading {
	font-size: clamp(2.25rem, 5.5vw, 4.25rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.06;
	color: #fff;
	margin: 0 0 20px;
	animation: qls-hero-fadeUp 0.8s ease-out 0.12s both;
}

/* Text */
.qls-hero__text {
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.7;
	max-width: 560px;
	margin: 0 0 36px;
	animation: qls-hero-fadeUp 0.8s ease-out 0.24s both;
}

/* CTAs */
.qls-hero__ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	animation: qls-hero-fadeUp 0.8s ease-out 0.36s both;
}

.qls-hero__btn {
	display: inline-flex;
	align-items: center;
	padding: 13px 28px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.2s;
}

.qls-hero__btn--solid {
	background: #fff;
	color: #001b33;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qls-hero__btn--solid:hover {
	background: rgba(255, 255, 255, 0.9);
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.qls-hero__btn--outline {
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	font-weight: 500;
}

.qls-hero__btn--outline:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.4);
}

/* ---- Scrolling Logos ---- */
.qls-hero__logos {
	position: relative;
	z-index: 2;
	padding: 0 0 clamp(32px, 5vh, 56px);
	animation: qls-hero-fadeUp 0.8s ease-out 0.5s both;
}

.qls-hero__logos-label {
	text-align: center;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.2);
	font-weight: 600;
	margin-bottom: 16px;
}

.qls-hero__logos-track {
	position: relative;
	overflow: hidden;
	-webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.qls-hero__logos-scroll {
	display: flex;
	gap: 48px;
	width: max-content;
	animation: qls-hero-scroll 60s linear infinite;
}

.qls-hero__logo {
	flex-shrink: 0;
	white-space: nowrap;
	transition: opacity 0.3s;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

/* Text logos */
.qls-hero__logo--text {
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.18);
	letter-spacing: -0.01em;
}

.qls-hero__logo--text:hover {
	color: rgba(255, 255, 255, 0.45);
}

/* SVG logos */
.qls-hero__logo--svg img {
	height: 20px;
	width: auto;
	opacity: 0.25;
	filter: brightness(0) invert(1);
	transition: opacity 0.3s;
}

.qls-hero__logo--svg:hover img {
	opacity: 0.5;
}

/* ---- Animations ---- */
@keyframes qls-hero-fadeUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes qls-hero-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
	.qls-hero__inner {
		padding-top: clamp(100px, 16vh, 160px);
	}

	.qls-hero__logos-scroll {
		gap: 32px;
		animation-duration: 40s;
	}

	.qls-hero__logo {
		font-size: 12px;
	}
}

/* Pause animation on hover */
.qls-hero__logos-track:hover .qls-hero__logos-scroll {
	animation-play-state: paused;
}
