/* Demo bundles: @import here so Helix index.php stays stock on template updates. */

@import url("demo-landing.css");
@import url("demo-pages.css");
@import url("demo-fader.css");
@import url("demo-features.css");
@import url("demo-playground.css");
@import url("demo-playground-studio.css");
@import url("../../../administrator/components/com_testimonial_fader/assets/css/theme-studio-canvas.css");
@import url("../../../administrator/components/com_testimonial_fader/assets/css/theme-studio.css");
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,700;1,9..144,500&family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Figtree:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=Instrument+Serif:ital@0;1&family=Newsreader:ital,opsz,wght@0,6..72,500;1,6..72,500&family=Outfit:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:ital,wght@0,400;0,600;1,400&display=swap");

/* ---- Global typography (Figtree headings, DM Sans body) ---- */
body.site,
body.site input,
body.site select,
body.site textarea,
body.site button,
body.site .btn,
body.site .sp-module,
body.site #sp-footer,
body.site .mod-breadcrumbs,
body.site .jx-m-testimonials,
body.site .jx-c-testimonials,
body.site .jx-testimonial-wrapper,
body.site .tfader,
body.site .tf-form-wrapper {
	font-family: "DM Sans", system-ui, -apple-system, sans-serif;
}

body.site h1,
body.site h2,
body.site h3,
body.site h4,
body.site h5,
body.site h6,
.tp-hero__title,
.tp-page-hero__title,
.tp-section__title,
.tp-cta-band__title,
.tp-feature__title,
#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span,
.sp-menu-item a,
.offcanvas-menu .mod-menu a,
.offcanvas-menu ul.menu a {
	font-family: "Figtree", system-ui, -apple-system, sans-serif;
}

body.site {
	font-family: "DM Sans", system-ui, -apple-system, sans-serif;
}

#sp-main-body {
	padding: 40px 0;
}

#sp-logo {
	padding-left: 0;
}

#sp-header {
	margin: 0;
	box-shadow: none;
	transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

#sp-header.tp-header-scrolled {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	box-shadow: 0 2px 20px rgba(24, 25, 237, 0.08);
}

.itemid-101 #sp-header {
	background: #FAFBFF;
	border-bottom: 1px solid rgba(24, 25, 237, 0.06);
}

.itemid-101 #sp-header.tp-header-scrolled,
.tp-demo-page #sp-header.tp-header-scrolled {
	background: rgba(250, 251, 255, 0.95);
	backdrop-filter: blur(12px);
	box-shadow: 0 2px 16px rgba(24, 25, 237, 0.06);
}

.tp-demo-page #sp-header {
	background: #FAFBFF;
	border-bottom: 1px solid rgba(24, 25, 237, 0.06);
}

#sp-left .sp-module,
#sp-right .sp-module {
	margin-top: 50px;
	border: 1px solid #fff;
	padding: 30px;
	border-radius: 25px;
	background: #ffffff7d;
}

.sp-menu-item a.download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #1819ED;
	border: none;
	border-radius: 100px;
	padding: 11px 25px !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	min-height: 37px;
	color: #fff !important;
	box-shadow: 0 3px 11px rgba(24, 25, 237, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sp-menu-item a.download:hover,
.sp-menu-item a.download:focus,
.sp-menu-item a.download:active {
	background: #3D38FF;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(24, 25, 237, 0.35);
}

/* ---- Mega menu dropdown ---- */
#sp-header .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
	background: #ffffff;
	border: 1px solid rgba(24, 25, 237, 0.08);
	border-radius: 16px;
	box-shadow: 0 4px 8px rgba(15, 15, 20, 0.04), 0 16px 48px rgba(24, 25, 237, 0.12);
	padding: 12px 8px;
	min-width: 220px;
}

#sp-header .sp-megamenu-parent .sp-dropdown-mega .sp-dropdown-inner {
	padding: 20px 16px;
}

#sp-header .sp-megamenu-parent .sp-group-title.sp-menu-separator,
#sp-header .sp-megamenu-parent .sp-menu-separator > .sp-menu-heading,
#sp-header .sp-megamenu-parent .sp-menu-separator > span.sp-group-title {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #64647A;
	padding: 4px 12px 8px;
	margin: 0 0 4px;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(24, 25, 237, 0.06);
}

#sp-header .sp-megamenu-parent .sp-mega-group .sp-menu-item > a,
#sp-header .sp-megamenu-parent .sp-dropdown-items .sp-menu-item > a {
	display: block;
	border-radius: 10px;
	padding: 9px 12px;
	font-size: 14px;
	font-weight: 500;
	color: #0F0F14;
	transition: background 0.15s ease, color 0.15s ease;
}

#sp-header .sp-megamenu-parent .sp-mega-group .sp-menu-item > a:hover,
#sp-header .sp-megamenu-parent .sp-mega-group .sp-menu-item > a:focus,
#sp-header .sp-megamenu-parent .sp-dropdown-items .sp-menu-item > a:hover,
#sp-header .sp-megamenu-parent .sp-dropdown-items .sp-menu-item > a:focus {
	background: #F4F5FF;
	color: #1819ED;
}

#sp-header .sp-megamenu-parent .sp-mega-group .sp-menu-item.current-item > a,
#sp-header .sp-megamenu-parent .sp-dropdown-items .sp-menu-item.current-item > a {
	background: rgba(24, 25, 237, 0.08);
	color: #1819ED;
	font-weight: 600;
}

#sp-header .sp-megamenu-parent > li > a:hover,
#sp-header .sp-megamenu-parent > li:hover > a {
	color: #1819ED;
}

.btn.btn-cutom,
.btn.btn-custom {
	background: #1819ED;
	border: none;
	border-radius: 100px;
	padding: 14px 28px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	font-size: 15px;
	box-shadow: 0 4px 16px rgba(24, 25, 237, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.btn-cutom:hover,
.btn.btn-custom:not(.btn-custom--outline):hover {
	background: #3D38FF;
	border-color: #3D38FF;
	color: #fff !important;
}

/* Reusable outline button */
.btn.btn-custom.btn-custom--outline {
	background: #ffffff;
	color: #0F0F14 !important;
	border: 1px solid rgba(24, 25, 237, 0.12);
	box-shadow: 0 1px 3px rgba(15, 15, 20, 0.06);
}

.btn.btn-custom.btn-custom--outline:hover,
.btn.btn-custom.btn-custom--outline:focus {
	background: #F4F5FF !important;
	color: #1819ED !important;
	border-color: rgba(24, 25, 237, 0.25) !important;
	box-shadow: 0 4px 12px rgba(24, 25, 237, 0.1);
	transform: translateY(-1px);
}

.btn.btn-custom.btn-custom--outline:active {
	background: #E8EAFF !important;
	color: #0B0C8C !important;
}

hr {
	color: #1819ED;
}

/* Homepage: full-width layout, hide sidebar */
.itemid-101 #sp-left {
	display: none !important;
}

.itemid-101 #sp-right {
	display: none !important;
}

.itemid-101 #sp-component {
	flex: 0 0 100%;
	max-width: 100%;
}

.itemid-101 .row > #sp-component.col-lg-9,
.itemid-101 .row > #sp-component.col-md-9 {
	flex: 0 0 100%;
	max-width: 100%;
}

.itemid-101 #sp-main-body {
	padding: 0;
	background: #FAFBFF;
}

.itemid-101 #sp-component .sp-column {
	padding-top: 0;
}

.itemid-101 .article-header,
.itemid-101 .article-info,
.itemid-101 .page-header,
.itemid-101 .article-can-edit,
.itemid-101 .article-details > h1,
.itemid-101 .article-details .page-header {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	overflow: hidden;
}

.itemid-101 [itemprop="articleBody"] {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 8px;
}

/* ---- Shared CTA band (homepage + demo pages) ---- */
.tp-cta-band {
	text-align: center;
	padding: 72px 40px;
	margin: 16px -15px 64px;
	background:
		radial-gradient(ellipse 80% 60% at 50% 120%, rgba(99, 102, 241, 0.4) 0%, transparent 60%),
		linear-gradient(135deg, var(--tp-brand-dark) 0%, var(--tp-brand) 55%, #4338CA 100%);
	border-radius: 28px;
	color: var(--tp-white);
	position: relative;
	overflow: hidden;
}

.tp-cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 32px 32px;
	opacity: 0.5;
}

.tp-cta-band > * {
	position: relative;
	z-index: 1;
}

.tp-cta-band__title {
	font-size: clamp(1.75rem, 3.5vw, 2.35rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0 0 14px;
	color: var(--tp-white);
}

.tp-cta-band__desc {
	font-size: 17px;
	opacity: 0.88;
	margin: 0 0 12px;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

.tp-cta-band__price {
	font-size: 14px;
	opacity: 0.75;
	margin: 0 0 32px;
}

.tp-cta-band .btn-custom {
	background: var(--tp-white);
	color: var(--tp-brand) !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tp-cta-band .btn-custom:not(.btn-custom--outline):hover {
	background: #F8F9FF;
	color: var(--tp-brand-dark) !important;
}

.tp-cta-band .btn-custom--outline {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: var(--tp-white) !important;
	box-shadow: none;
}

.tp-cta-band .btn-custom--outline:hover,
.tp-cta-band .btn-custom--outline:focus {
	background: rgba(255, 255, 255, 0.16) !important;
	border-color: rgba(255, 255, 255, 0.6) !important;
	color: var(--tp-white) !important;
}

.tp-cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

@media (max-width: 767px) {
	.tp-cta-band {
		padding: 48px 24px;
		margin-bottom: 48px;
	}
}

/* ---- Offcanvas / mobile burger menu ---- */
.offcanvas-menu {
	width: min(320px, 90vw) !important;
	background: #FAFBFF !important;
	box-shadow: -12px 0 40px rgba(15, 15, 20, 0.14);
	border-left: 1px solid rgba(24, 25, 237, 0.08);
}

/* Match Helix hide offset to our wider panel (default theme uses -300px) */
body.offcanvs-position-right:not(.offcanvas-active) .offcanvas-menu {
	right: calc(-1 * min(320px, 90vw)) !important;
}

body.offcanvs-position-left:not(.offcanvas-active) .offcanvas-menu {
	left: calc(-1 * min(320px, 90vw)) !important;
}

.offcanvas-menu.left-1 > .d-flex:first-child {
	padding: 20px 20px 16px !important;
	border-bottom: 1px solid rgba(24, 25, 237, 0.08);
	margin-bottom: 0;
	background: #FAFBFF;
}

.offcanvas-menu .close-offcanvas {
	position: static !important;
	right: auto !important;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(24, 25, 237, 0.06);
	transition: background 0.15s ease;
}

.offcanvas-menu .close-offcanvas:hover,
.offcanvas-menu .close-offcanvas:focus {
	background: rgba(24, 25, 237, 0.12);
}

.offcanvas-menu .close-offcanvas .burger-icon span {
	background: #0F0F14;
}

.offcanvas-menu .offcanvas-inner {
	padding: 16px 14px 32px !important;
}

.offcanvas-menu .offcanvas-inner .header-modules:empty {
	display: none !important;
	margin: 0 !important;
}

.offcanvas-menu .offcanvas-inner .sp-module,
.offcanvas-menu .offcanvas-inner .sp-module-content {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

.offcanvas-menu .mod-menu,
.offcanvas-menu .offcanvas-inner ul.menu {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none;
}

.offcanvas-menu .mod-menu > li,
.offcanvas-menu .offcanvas-inner ul.menu > li {
	border: none !important;
	margin: 0;
	padding: 0;
	overflow: visible;
}

.offcanvas-menu .mod-menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > a {
	display: block;
	padding: 12px 16px !important;
	border-radius: 12px;
	font-family: "Figtree", system-ui, sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	color: #0F0F14 !important;
	opacity: 1 !important;
	transition: background 0.15s ease, color 0.15s ease;
	position: relative;
}

.offcanvas-menu .mod-menu > li > a:hover,
.offcanvas-menu .mod-menu > li > a:focus,
.offcanvas-menu .offcanvas-inner ul.menu > li > a:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li > a:focus {
	background: #F4F5FF !important;
	color: #1819ED !important;
	opacity: 1 !important;
}

.offcanvas-menu .mod-menu > li.current > a,
.offcanvas-menu .mod-menu > li.active > a,
.offcanvas-menu .mod-menu > li.default.current > a,
.offcanvas-menu .offcanvas-inner ul.menu > li.current > a {
	background: rgba(24, 25, 237, 0.08) !important;
	color: #1819ED !important;
	font-weight: 700 !important;
}

.offcanvas-menu .menu-separator {
	display: block;
	padding: 16px 16px 6px !important;
	font-family: "Figtree", system-ui, sans-serif;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8B8FA3 !important;
	line-height: 1.2 !important;
	cursor: default;
}

.offcanvas-menu .mod-menu__sub,
.offcanvas-menu ul.menu-child {
	padding: 4px 0 8px 10px !important;
	margin: 0 0 6px 14px !important;
	border-left: 2px solid rgba(24, 25, 237, 0.15) !important;
	list-style: none !important;
}

.offcanvas-menu .mod-menu__sub li,
.offcanvas-menu ul.menu-child li {
	margin: 0;
	padding: 0;
}

.offcanvas-menu .mod-menu__sub a,
.offcanvas-menu ul.menu-child a {
	display: block;
	padding: 9px 14px !important;
	border-radius: 10px;
	font-family: "Figtree", system-ui, sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	color: #3D3D50 !important;
	opacity: 1 !important;
	transition: background 0.15s ease, color 0.15s ease;
}

.offcanvas-menu .mod-menu__sub a:hover,
.offcanvas-menu .mod-menu__sub a:focus,
.offcanvas-menu ul.menu-child a:hover,
.offcanvas-menu ul.menu-child a:focus {
	background: #F4F5FF !important;
	color: #1819ED !important;
}

.offcanvas-menu .mod-menu__sub li.current > a,
.offcanvas-menu .mod-menu__sub li.active > a {
	background: rgba(24, 25, 237, 0.08) !important;
	color: #1819ED !important;
	font-weight: 600 !important;
}

.offcanvas-menu .menu-deeper.menu-parent > a,
.offcanvas-menu li.menu-parent > a {
	padding-right: 44px !important;
}

.offcanvas-menu .menu-toggler {
	right: 8px !important;
	padding: 8px 12px !important;
}

.offcanvas-menu li.menu-parent-open > a {
	background: rgba(24, 25, 237, 0.06) !important;
	color: #1819ED !important;
}

.offcanvas-menu .mod-menu > li > a.btn.btn-custom,
.offcanvas-menu .offcanvas-inner ul.menu > li > a.btn.btn-custom,
.offcanvas-menu .mod-menu > li > a.download,
.offcanvas-menu .offcanvas-inner ul.menu > li > a.download {
	display: block !important;
	margin-top: 16px !important;
	padding: 11px 25px !important;
	text-align: center !important;
	background: #1819ED !important;
	color: #fff !important;
	border-radius: 100px !important;
	font-weight: 600 !important;
	font-size: 11px !important;
	min-height: 37px;
	box-shadow: 0 3px 11px rgba(24, 25, 237, 0.25) !important;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.offcanvas-menu .mod-menu > li > a.btn.btn-custom:hover,
.offcanvas-menu .mod-menu > li > a.btn.btn-custom:focus,
.offcanvas-menu .offcanvas-inner ul.menu > li > a.btn.btn-custom:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li > a.btn.btn-custom:focus,
.offcanvas-menu .mod-menu > li > a.download:hover,
.offcanvas-menu .mod-menu > li > a.download:focus,
.offcanvas-menu .offcanvas-inner ul.menu > li > a.download:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li > a.download:focus {
	background: #3D38FF !important;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(24, 25, 237, 0.35) !important;
}

body.offcanvas-active .offcanvas-overlay {
	background: rgba(15, 15, 20, 0.4) !important;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

/* ---- Playground menu highlight + full-width layout ---- */
.tp-playground-page #sp-left,
.tp-playground-page #sp-right {
	display: none !important;
}

.tp-playground-page #sp-component {
	flex: 0 0 100%;
	max-width: 100%;
}

.tp-playground-page .row > #sp-component.col-lg-9,
.tp-playground-page .row > #sp-component.col-md-9 {
	flex: 0 0 100%;
	max-width: 100%;
}

.tp-playground-page #sp-component .sp-column {
	padding-top: 0;
}

#sp-header .sp-megamenu-parent > li.alias-playground > a,
#sp-header .sp-megamenu-parent > li.alias-playground > span {
	background: rgba(24, 25, 237, 0.08);
	color: #1819ed !important;
	border-radius: 999px;
	padding-left: 16px !important;
	padding-right: 16px !important;
	font-weight: 700;
}

#sp-header .sp-megamenu-parent > li.alias-playground > a:hover {
	background: rgba(24, 25, 237, 0.14);
	color: #1819ed !important;
}

.offcanvas-menu .mod-menu > li.alias-playground > a,
.offcanvas-menu .offcanvas-inner ul.menu > li.alias-playground > a {
	background: rgba(24, 25, 237, 0.08) !important;
	color: #1819ed !important;
	font-weight: 700 !important;
}
