/* Hypercognito Slider — Frontend Styles */
.hc-slider-container * { box-sizing: border-box; }

.hc-slider-container {
	position: relative;
	width: 100%;
	height: var(--hc-slider-height, 85vh);
	min-height: 480px;
	overflow: hidden;
	font-family: var(--hc-body-font, 'Open Sans', sans-serif);
	background-color: rgb(var(--hc-overlay-r,14), var(--hc-overlay-g,28), var(--hc-overlay-b,65));
}

.hc-slide {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1), visibility 1.2s;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-left: 8%;
}

.hc-slide.active { opacity: 1; visibility: visible; z-index: 2; }

.hc-slide-bg {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 1;
	transform: scale(1);
	transition: transform 7s ease-out;
}
.hc-slide-bg-video { object-fit: cover; }

.hc-slide::before {
	content: "";
	position: absolute; inset: 0;
	background: rgba(var(--hc-overlay-r,14), var(--hc-overlay-g,28), var(--hc-overlay-b,65), var(--hc-overlay-alpha, 0.45));
	z-index: 2;
}

.hc-slide.active .hc-slide-bg { transform: scale(1.12); }

.hc-slide-content {
	position: relative;
	z-index: 5;
	max-width: 650px;
	background: rgba(var(--hc-overlay-r,14), var(--hc-overlay-g,28), var(--hc-overlay-b,65), var(--hc-card-alpha,0.6));
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,0.12);
	padding: 50px;
	border-radius: 12px;
	box-shadow: 0 25px 50px rgba(0,0,0,0.4);
	color: var(--hc-text-color, #fff);
}

.hc-slide-heading {
	font-family: var(--hc-heading-font, 'Montserrat', sans-serif);
	font-size: 3.2rem;
	font-weight: 800;
	text-transform: uppercase;
	margin: 0 0 20px 0;
	letter-spacing: 1.5px;
	line-height: 1.2;
	color: var(--hc-text-color, #fff);
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.16,1,0.3,1) 0.3s;
}
.hc-slide.active .hc-slide-heading { opacity: 1; transform: translateY(0); }

.hc-slide-desc {
	font-size: 1.1rem;
	line-height: 1.65;
	margin: 0 0 35px 0;
	color: var(--hc-text-color, #fff);
	opacity: 0.9;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.8s ease-out 0.6s;
}
.hc-slide.active .hc-slide-desc { opacity: 1; transform: translateY(0); }

.hc-slide-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.8s ease-out 0.8s;
}
.hc-slide.active .hc-slide-buttons { opacity: 1; transform: translateY(0); }

.hc-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 4px;
	letter-spacing: 1px;
	transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1);
	box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}
.hc-btn i { font-size: 1.1rem; transition: transform 0.3s ease; }

.hc-btn-primary {
	background-color: var(--hc-primary, #DA1F32);
	color: #fff;
	border: 2px solid var(--hc-primary, #DA1F32);
}
.hc-btn-primary:hover {
	background-color: transparent;
	color: var(--hc-primary, #DA1F32);
	transform: translateY(-4px);
	box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.hc-btn-secondary {
	background-color: transparent;
	color: var(--hc-text-color, #fff);
	border: 2px solid var(--hc-text-color, #fff);
}
.hc-btn-secondary:hover {
	background-color: var(--hc-text-color, #fff);
	color: rgb(var(--hc-overlay-r,14), var(--hc-overlay-g,28), var(--hc-overlay-b,65));
	transform: translateY(-4px);
	box-shadow: 0 8px 15px rgba(255,255,255,0.25);
}

.hc-btn:hover i { transform: scale(1.15) rotate(5deg); }

.hc-slider-dots {
	position: absolute;
	bottom: 30px; left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: 12px;
}
.hc-dot {
	width: 12px; height: 12px;
	background-color: rgba(255,255,255,0.3);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}
.hc-dot.active, .hc-dot:hover {
	background-color: var(--hc-primary, #DA1F32);
	transform: scale(1.25);
	box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.hc-slider-arrows { z-index: 10; }
.hc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.4);
	color: #fff;
	width: 46px; height: 46px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	backdrop-filter: blur(6px);
}
.hc-arrow:hover { background: var(--hc-primary, #DA1F32); border-color: var(--hc-primary, #DA1F32); }
.hc-arrow-prev { left: 20px; }
.hc-arrow-next { right: 20px; }

.hc-slider-logo {
	position: absolute;
	z-index: 20;
	max-width: 140px;
}
.hc-slider-logo img { max-width: 100%; height: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.hc-logo-top-left { top: 24px; left: 24px; }
.hc-logo-top-right { top: 24px; right: 24px; }
.hc-logo-bottom-left { bottom: 24px; left: 24px; }
.hc-logo-bottom-right { bottom: 24px; right: 24px; }

@media (max-width: 768px) {
	.hc-slider-container { height: 75vh; }
	.hc-slide { padding-left: 5%; padding-right: 5%; justify-content: center; }
	.hc-slide-content { padding: 30px 20px; text-align: center; border-radius: 8px; }
	.hc-slide-heading { font-size: 2rem; }
	.hc-slide-desc { font-size: 0.95rem; }
	.hc-slide-buttons { flex-direction: column; width: 100%; gap: 10px; }
	.hc-btn { justify-content: center; width: 100%; }
	.hc-arrow { width: 38px; height: 38px; }
	.hc-slider-logo { max-width: 90px; }
}

.hc-slider-empty-notice {
	padding: 16px;
	background: #fff3cd;
	border: 1px solid #ffe69c;
	color: #664d03;
	border-radius: 4px;
}

/* ===================================================================
   SPLIT LAYOUT (text + image side-by-side)
   =================================================================== */

.hc-split-wrapper * { box-sizing: border-box; }

.hc-split-wrapper {
	background-color: transparent;
	color: #1e293b;
	width: 100%;
	font-family: var(--hcs-body-font, 'Open Sans', sans-serif);
}

.hc-split-container {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	background: var(--hcs-bg, #ffffff);
	border: 1px solid rgba(28, 40, 78, 0.08);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(28, 40, 78, 0.08);
}

.hc-split-track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
	width: 100%;
}

.hc-split-slide {
	min-width: 100%;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	padding: 50px;
	gap: 40px;
	background: linear-gradient(135deg, var(--hcs-bg, #fff) 0%, #f8fafc 100%);
}

.hc-split-content { display: flex; flex-direction: column; align-items: flex-start; }

.hc-split-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--hcs-accent, #00b67a);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 15px;
	background: color-mix(in srgb, var(--hcs-accent, #00b67a) 12%, transparent);
	padding: 6px 14px;
	border-radius: 30px;
}

.hc-split-title {
	font-family: var(--hcs-heading-font, 'Montserrat', sans-serif);
	font-size: 38px;
	font-weight: 800;
	color: var(--hcs-dark, #1c284e);
	line-height: 1.2;
	margin: 0 0 20px 0;
	transition: color 0.3s ease;
}
.hc-split-title:hover { color: var(--hcs-accent, #00b67a); }

.hc-split-desc {
	font-size: 16px;
	line-height: 1.7;
	color: var(--hcs-desc, #64748b);
	margin: 0 0 30px 0;
}

.hc-split-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.hc-split-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 26px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hc-split-btn-primary {
	background-color: var(--hcs-accent, #00b67a);
	color: #ffffff;
	border: 2px solid var(--hcs-accent, #00b67a);
}
.hc-split-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); filter: brightness(0.92); }

.hc-split-btn-outline {
	background-color: transparent;
	color: var(--hcs-dark, #1c284e);
	border: 2px solid #cbd5e1;
}
.hc-split-btn-outline:hover {
	border-color: var(--hcs-accent, #00b67a);
	color: var(--hcs-accent, #00b67a);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(28, 40, 78, 0.1);
}

.hc-split-image-wrap {
	position: relative;
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 15px 35px rgba(28, 40, 78, 0.12);
	transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.hc-split-image-wrap:hover { transform: translateY(-5px); }

.hc-split-image {
	width: 100%;
	height: 340px;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}
.hc-split-image-wrap:hover .hc-split-image { transform: scale(1.05); }

.hc-split-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(28, 40, 78, 0.7);
	color: #ffffff;
	border: none;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
}
.hc-split-nav:hover { background: var(--hcs-accent, #00b67a); transform: translateY(-50%) scale(1.1); }
.hc-split-prev { left: 15px; }
.hc-split-next { right: 15px; }

.hc-split-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 15px 0 25px 0;
	background: var(--hcs-bg, #ffffff);
	border: none;
}

.hc-split-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #cbd5e1;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}
.hc-split-dot.active { background: var(--hcs-accent, #00b67a); width: 30px; border-radius: 6px; }

@media (max-width: 900px) {
	.hc-split-slide { grid-template-columns: 1fr; padding: 30px 20px; text-align: center; }
	.hc-split-content { align-items: center; }
	.hc-split-buttons { justify-content: center; }
}

@media (max-width: 768px) {
	.hc-split-title { font-size: 28px; }
	.hc-split-image { height: 240px; }
}

/* ===================================================================
   REVO LAYOUT (full-screen dark, centered, typewriter heading)
   =================================================================== */

.hc-revo-container * { box-sizing: border-box; }

.hc-revo-container {
	position: relative;
	width: 100%;
	height: var(--hcr-height, 100vh);
	min-height: 480px;
	overflow: hidden;
	background: #0f0f0f;
	font-family: var(--hcr-body-font, 'Segoe UI', sans-serif);
}

.hc-revo-slide {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hc-revo-slide.active { opacity: 1; visibility: visible; z-index: 2; }

.hc-revo-bg {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform 0.8s ease;
	filter: brightness(var(--hcr-brightness, 0.6));
	z-index: 1;
}
.hc-revo-bg-video { object-fit: cover; }
.hc-revo-slide:hover .hc-revo-bg { transform: scale(1.08); }

.hc-revo-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	width: 100%;
	max-width: 900px;
	padding: 0 20px;
}

.hc-revo-heading {
	font-family: var(--hcr-heading-font, 'Segoe UI', sans-serif);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	margin: 0 auto 20px auto;
	white-space: nowrap;
	overflow: hidden;
	border-right: 3px solid var(--hcr-accent, #ff6b6b);
	width: 0;
	animation: hcRevoTyping 3s steps(var(--hcr-steps, 20), end) forwards, hcRevoBlink 0.75s step-end infinite;
	text-shadow: 0 4px 10px rgba(0,0,0,0.5);
	transition: color 0.3s ease, transform 0.3s ease;
	display: inline-block;
	max-width: 92vw;
}
.hc-revo-heading:hover { color: var(--hcr-accent, #ff6b6b); transform: scale(1.02); }

.hc-revo-text {
	font-size: clamp(1rem, 2vw, 1.2rem);
	margin: 0 0 30px 0;
	color: #ddd;
	transition: color 0.3s ease;
	padding: 0 10px;
}
.hc-revo-text:hover { color: #ffffff; }

.hc-revo-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.hc-revo-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 35px;
	font-size: clamp(0.9rem, 1.5vw, 1rem);
	font-weight: 600;
	color: #fff;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hc-revo-btn-primary {
	background: linear-gradient(135deg, var(--hcr-accent, #ff6b6b), color-mix(in srgb, var(--hcr-accent, #ff6b6b) 70%, white));
	box-shadow: 0 4px 15px rgba(0,0,0,0.35);
}
.hc-revo-btn-primary:hover {
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 8px 25px rgba(0,0,0,0.5);
	filter: brightness(1.08);
}

.hc-revo-btn-secondary {
	background: transparent;
	border: 2px solid rgba(255,255,255,0.5);
}
.hc-revo-btn-secondary:hover {
	border-color: var(--hcr-accent, #ff6b6b);
	color: var(--hcr-accent, #ff6b6b);
	transform: translateY(-5px) scale(1.05);
}

.hc-revo-logo {
	position: absolute;
	top: 20px; left: 20px;
	z-index: 10;
	width: 50px; height: 50px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	animation: hcRevoRevolve 8s linear infinite;
	cursor: pointer;
	border: 2px solid rgba(255,255,255,0.3);
}
.hc-revo-logo img { width: 100%; height: 100%; object-fit: cover; }
.hc-revo-logo:hover { animation-play-state: paused; }

.hc-revo-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	padding: 12px 16px;
	font-size: 1.1rem;
	cursor: pointer;
	z-index: 10;
	transition: background 0.3s, transform 0.3s;
	border-radius: 5px;
}
.hc-revo-nav:hover { background: color-mix(in srgb, var(--hcr-accent, #ff6b6b) 80%, transparent); transform: translateY(-50%) scale(1.1); }
.hc-revo-prev { left: 15px; }
.hc-revo-next { right: 15px; }

.hc-revo-dots {
	position: absolute;
	bottom: 24px; left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: 8px;
}
.hc-revo-dot {
	width: 10px; height: 10px;
	background: rgba(255,255,255,0.35);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}
.hc-revo-dot.active {
	background: var(--hcr-accent, #ff6b6b);
	transform: scale(1.25);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

@keyframes hcRevoTyping { from { width: 0; } to { width: var(--hcr-final-width, 100%); } }
@keyframes hcRevoBlink { from, to { border-color: transparent; } 50% { border-color: var(--hcr-accent, #ff6b6b); } }
@keyframes hcRevoRevolve { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 768px) {
	.hc-revo-heading {
		white-space: normal;
		border-right: none;
		width: 100% !important;
		animation: hcRevoFadeIn 1.2s ease forwards;
	}
	@keyframes hcRevoFadeIn {
		from { opacity: 0; transform: translateY(10px); }
		to { opacity: 1; transform: translateY(0); }
	}
	.hc-revo-nav { padding: 10px 14px; font-size: 1rem; }
	.hc-revo-logo { width: 42px; height: 42px; top: 15px; left: 15px; }
}
