/* ==========================================================================
   Cryo Hero Slider — Frontend Styles
   ========================================================================== */

.chs-hero-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: inherit;
}

.chs-slides-wrapper {
	position: relative;
	width: 100%;
}

.chs-slide {
	position: relative;
	display: none;
	width: 100%;
	min-height: 640px;
	background-color: #0b1a33;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.chs-slide.chs-active {
	display: block;
}

/* Fade transition helper classes (applied via JS) */
.chs-slide.chs-fade-in {
	animation: chsFadeIn linear forwards;
}

@keyframes chsFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.chs-overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 22, 51, 0.72);
	z-index: 1;
}

.chs-slide-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: inherit;
    padding: 60px 15px 100px;
    box-sizing: border-box;
    max-width: 1240px;
    margin: 0 auto;
}

.chs-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 640px;
	width: 100%;
	text-align: left;
}

.chs-small-heading {
	color: #7fb8ff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0 0 18px;
	line-height: 1.4;
}

.chs-heading {
	color: #ffffff;
	font-size: 46px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 20px;
}

.chs-heading-highlight {
	display: block;
	color: #4db8ff;
}

.chs-description {
	color: #d4dcee;
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 32px;
	max-width: 100%;
}

.chs-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.chs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 30px;
	border-radius: 50px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
	cursor: pointer;
}

.chs-btn:hover {
	transform: translateY(-2px);
}

.chs-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.chs-btn-icon svg,
.chs-btn-icon i {
	width: 1em;
	height: 1em;
	font-size: 14px;
}

.chs-btn-primary {
	background-color: #2f8dff;
	color: #ffffff;
	border: 1px solid transparent;
}

.chs-btn-primary:hover {
	background-color: #1c73e0;
	color: #ffffff;
}

.chs-btn-secondary {
	background-color: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.chs-btn-secondary:hover {
	background-color: #ffffff;
	color: #0b2547;
}

/* Floating stat badge */
.chs-badge {
	position: absolute;
	right: 60px;
	bottom: 90px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	background-color: rgba(18, 40, 77, 0.55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	max-width: 240px;
}

.chs-badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	color: #4db8ff;
	font-size: 20px;
}

.chs-badge-icon svg,
.chs-badge-icon i {
	width: 1em;
	height: 1em;
}

.chs-badge-text {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.chs-badge-text span {
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

/* Navigation: arrows + dots */
.chs-nav-controls {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	transform: translateX(-50%);
}

.chs-nav-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.2s ease;
	flex-shrink: 0;
}

.chs-nav-arrow:hover {
	background-color: rgba(255, 255, 255, 0.28);
}

.chs-nav-arrow svg {
	width: 18px;
	height: 18px;
	pointer-events: none;
}

.chs-dots {
	display: flex;
	align-items: center;
	gap: 10px;
}

.chs-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.2s ease;
}

.chs-dot.chs-active {
	background-color: #ffffff;
	transform: scale(1.15);
}

.chs-hero-slider:not(.chs-has-arrows) .chs-nav-controls {
	gap: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.chs-slide-inner {
		padding: 50px 40px 110px;
	}

	.chs-heading {
		font-size: 38px;
	}

	.chs-badge {
		right: 40px;
	}
}

@media (max-width: 767px) {
	.chs-slide {
		min-height: 560px;
	}

	.chs-slide-inner {
		padding: 40px 24px 130px;
		align-items: flex-start;
	}

	.chs-content {
		max-width: 100%;
	}

	.chs-heading {
		font-size: 30px;
	}

	.chs-description {
		font-size: 15px;
	}

	.chs-btn {
		padding: 14px 22px;
		font-size: 14px;
	}

	.chs-badge {
		left: 24px;
		right: 24px;
		bottom: 78px;
		max-width: none;
		width: calc(100% - 48px);
		justify-content: flex-start;
	}

	.chs-nav-controls {
		bottom: 18px;
	}
}

@media (max-width: 480px) {
	.chs-slide {
		min-height: 620px;
	}

	.chs-heading {
		font-size: 26px;
	}

	.chs-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.chs-btn {
		width: 100%;
	}

	.chs-badge-text span {
		white-space: normal;
	}
}
