/**
 * Invenza Fullpage Scroll - front-end styles.
 */

html.ifs-enabled {
	scroll-behavior: auto;
}

/* Full viewport height sections. */
html.ifs-enabled.ifs-force-height .ifs-section {
	min-height: calc(100vh - var(--ifs-offset, 0px));
	min-height: calc(100dvh - var(--ifs-offset, 0px));
}

html.ifs-enabled.ifs-force-height .ifs-section > .elementor-container {
	min-height: inherit;
}

/* Entrance: initial hidden state. anime.js animates widgets to visible. */
html.ifs-enabled.ifs-entrance .ifs-section .elementor-widget {
	opacity: 0;
}

html.ifs-enabled.ifs-entrance .ifs-section .elementor-widget.ifs-has-split {
	opacity: 1;
}

/* Word-by-word text reveal. */
.ifs-word {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.12em;
	margin-bottom: -0.12em;
}

.ifs-word__in {
	display: inline-block;
	will-change: transform;
}

html.ifs-enabled.ifs-entrance .ifs-section .ifs-word__in {
	transform: translateY(110%);
}

/* Stop the enlarged section (scale on scroll up) from causing a sideways scrollbar. */
html.ifs-scaling {
	overflow-x: clip;
}

/* Dot navigation. */
.ifs-dots {
	position: fixed;
	top: 50%;
	z-index: 9999;
	display: none;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
}

html.ifs-enabled .ifs-dots {
	display: flex;
}

.ifs-dots.ifs-dots--right {
	right: 24px;
}

.ifs-dots.ifs-dots--left {
	left: 24px;
}

.ifs-dots .ifs-dots__btn {
	box-sizing: border-box;
	width: 12px;
	height: 12px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 2px solid var(--ifs-dot, #999);
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	appearance: none;
	transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.ifs-dots .ifs-dots__btn.ifs-active {
	border-color: var(--ifs-dot-active, #ff6a00);
	background: var(--ifs-dot-active, #ff6a00);
	transform: scale(1.3);
}

.ifs-dots .ifs-dots__btn:focus-visible {
	outline: 2px solid var(--ifs-dot-active, #ff6a00);
	outline-offset: 3px;
}
