/* Override global fixed-top for this page only */
.fixed-top {
	transform: translateY(-100%);
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fixed-top.nav-visible {
	/*	transform: translateY(0);*/
	transform: none;
}

body {
	padding-top: 0 !important;
}

/* Top center cinematic title */
#hero-title {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	text-align: center;
	padding: 2.5rem 2rem 3rem;
	pointer-events: none;
	width: 100%;
}

#hero-title::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
	pointer-events: none;
	z-index: -1;
	/* this never moves, never fades */
}

#hero-title .hero-eyebrow {
	font-size: var(--font-size-xs);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #fdba16;
	font-weight: 600;
	margin-bottom: 0.5rem;
	opacity: 1;
	text-shadow: 0px 1px 6px rgba(0, 0, 0, 0.4);
	transform: translateY(0);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

#hero-title h1 {
	font-size: var(--font-size-lg);
	font-weight: 600;
	color: #ffffff;
	letter-spacing: 0.03em;
	line-height: 1.3;
	margin: 0;
	opacity: 1;
	text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);
	transform: translateY(0);
	transition: opacity 0.4s ease 0.12s, transform 0.4s ease 0.12s;
	/* h1 delays slightly */
}

#hero-title h1 span {
	color: #fdba16;
	font-weight: 500;
}

/* faded state — only eyebrow and h1 move, not the container */
#hero-title.faded .hero-eyebrow {
	opacity: 0;
	transform: translateY(-12px);
	/* exits upward */
}

#hero-title.faded h1 {
	opacity: 0;
	transform: translateY(-12px);
	/* exits upward */
}


html {
	scroll-behavior: smooth;
}

/* ── HERO SCROLLER ── */
#hero {
	position: relative;
	height: 400vh;
	z-index: 1022;
}

#sticky-scene {
	position: sticky;
	top: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

#scrolly-canvas {
	display: block;
	width: 100%;
	height: 100%;
}

/* ── SCROLL INDICATOR ── */
#scroll-hint {
	position: absolute;
	bottom: 3rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	opacity: 1;
	transition: opacity 0.6s ease;
	pointer-events: none;
	z-index: 10;
}

#scroll-hint span {
	font-size: 0.85rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
}

#scroll-hint .arrow {
	width: 18px;
	height: 18px;
	border-right: 1.5px solid rgba(255, 255, 255, 0.8);
	border-bottom: 1.5px solid rgba(255, 255, 255, 0.8);
	transform: rotate(45deg);
	animation: bounce 1.4s ease-in-out infinite;
}

@keyframes bounce {

	0%,
	100% {
		transform: rotate(45deg) translateY(0);
	}

	50% {
		transform: rotate(45deg) translateY(5px);
	}
}

#overlay-container {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 1280px;
	/* match your site's container width */
	height: 100%;
	pointer-events: none;
}

/* ── LEFT-BOTTOM STORY TEXT — premium glass card ── */
#story-text {
	position: absolute;
	bottom: 50px;
	left: 25px;
	min-width: 280px;
	min-height: 180px;
	z-index: 10;
	pointer-events: none;
	/* remove position: relative — it was duplicated and overriding absolute */
}

.story-slide {
	position: absolute;
	bottom: 0;
	left: 0;
	opacity: 0;
	transform: translateX(-24px);
	transition: opacity 0.55s ease, transform 0.55s ease;
	pointer-events: none;
	flex-direction: column;
	justify-content: center;
	background: rgb(0 0 0 / 40%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 18px;
	padding: 18px 22px;
	max-width: 450px;
}

.story-slide.visible {
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
}

.story-slide.gone {
	opacity: 0;
	transform: translateX(24px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.story-slide .label {
	font-size: var(--font-size-xxs);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #fdba16;
	margin-bottom: 0.4rem;
	font-weight: 600;
}

.story-slide h2 {
	font-size: var(--font-size-xs);
	font-weight: 400;
	line-height: 1.3;
	color: #f5f5f0;
	margin-bottom: 0.4rem;
}

.story-slide p {
	font-size: var(--font-size-xxs);
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.6;
	font-weight: 300;
	margin-bottom: 0;
}

.story-slide::before {
	content: '';
	display: block;
	width: 28px;
	height: 1.5px;
	background: #fdba16;
	margin-bottom: 0.65rem;
}

/* ── RIGHT-BOTTOM STATS — inside hero, premium glass card ── */
#stats-bar {
	position: absolute;
	bottom: 52px;
	right: 25px;
	z-index: 10;
	background: rgb(0 0 0 / 20%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 18px;
	padding: 18px 22px;
	color: white;
	min-width: 210px;
	pointer-events: auto;
}

.stat-title {
	font-size: var(--font-size-xxs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.stat-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	padding: 0.38rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
	border-bottom: none;
}

.stat-value {
	font-size: var(--font-size-xxs);
	font-weight: 700;
	color: #fdba16;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.stat-label {
	font-size: var(--font-size-xxs);
	color: rgba(255, 255, 255, 0.8);
	letter-spacing: 0.1em;
	text-align: right;
}

.stat-label img {
	height: 32px;
	width: 32px;
}

/* ── LOADING SCREEN ── */
#loader {
	position: fixed;
	inset: 0;
	background: #0a0a0a;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	transition: opacity 0.6s ease;
}

#loader .brand {
	font-size: 1rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #fdba16;
}

#loader-bar-wrap {
	width: 180px;
	height: 1px;
	background: rgba(255, 255, 255, 0.1);
}

#loader-bar {
	height: 1px;
	width: 0%;
	background: #fdba16;
	transition: width 0.1s linear;
}

#loader-pct {
	font-size: 0.65rem;
	letter-spacing: 0.2em;
	color: #888888;
}

@media (min-width: 1380px) {
	.story-slide {
		max-width: 500px;
	}

	#story-text {
		min-width: 500px;
	}

	.story-slide .label {
		font-size: var(--font-size-sm);
	}

	.story-slide h2 {
		font-size: var(--font-size-md);
	}

	.story-slide p {
		font-size: var(--font-size-xs);
	}

	#hero-title .hero-eyebrow {
		font-size: var(--font-size-sm);
	}

	#hero-title h1 {
		font-size: var(--font-size-xl);
	}

	.stat-title,
	.stat-value,
	.stat-label {
		font-size: var(--font-size-xs);
	}
}


.gallery-section {
	background: #16213e;
	padding: 50px 0 75px 0;
	overflow: hidden;
}

.gallery-columns-wrap {
	display: flex;
	justify-content: center;
	gap: 14px;
	max-height: 500px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
	mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.gallery-col {
	display: flex;
	flex-direction: column;
	width: 300px;
	flex-shrink: 0;
	overflow: hidden;
}

.gallery-col-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	animation: galleryScrollUp linear infinite;
	will-change: transform;
}

.gallery-col:nth-child(1) .gallery-col-inner {
	animation-duration: 32s;
}

.gallery-col:nth-child(2) .gallery-col-inner {
	animation-duration: 40s;
}

.gallery-col:nth-child(3) .gallery-col-inner {
	animation-duration: 36s;
}

.gallery-col:nth-child(4) .gallery-col-inner {
	animation-duration: 28s;
}

@keyframes galleryScrollUp {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(-50%);
	}
}

.gallery-img-wrap {
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	background: #ddd;
	line-height: 0;
}

.gallery-img-wrap img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 14px;
}

/* 4 cols: 1280px+ */
/* 3 cols: 769px–1279px */
@media (max-width: 1279px) {
	.gallery-col:nth-child(4) {
		display: none;
	}

	.gallery-col {
		width: 240px;
	}
}

/* 2 cols: 769px–1024px */
@media (max-width: 1024px) {

	.gallery-col:nth-child(3),
	.gallery-col:nth-child(4) {
		display: none;
	}

	.gallery-col {
		width: 260px;
	}
}

/* 1 col: mobile */
@media (max-width: 768px) {

	.gallery-col:nth-child(2),
	.gallery-col:nth-child(3),
	.gallery-col:nth-child(4) {
		display: none;
	}

	.gallery-col {
		width: 100%;
		max-width: 340px;
	}
}

/*	Gallery Section End */
.bg-darkblue {
	background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.txt-orange {
	color: #fdbb17 !important;
}

.ourbestfindiv {
	background: #3688CC;
	background: linear-gradient(180deg, rgba(54, 136, 204, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.whyfinlandbtmeffect {
	background: #ffffff;
	background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(218, 224, 230, 1) 100%);
	height: 100px;
}

.whyfinlandbtmeffect2 {
	background: #ffffff;
	background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(218, 224, 230, 1) 100%);
	height: 100px;
	z-index: -1
}

#skydiv {
	height: 350px;
	background: url(./4.webp) repeat-x;
	margin-bottom: -125px;
	background-position: center;
}

.videobrdr .plyr--video {
	border-radius: 10px;
	border: 2px dashed #16213e;
}

.fntrvlessentials .panel-default > .panel-heading {
	color: #ffffff;
	background: linear-gradient(135deg, #1a3a52, #2d5f7f);
	border-color: #1a3a52;
	border-radius: 5px;
	transition: all 0.3s ease;
}

.fntrvlessentials .panel-default > .panel-heading:hover {
	color: #ffffff;
	background: linear-gradient(135deg, #2d5f7f, #1a3a52);
	transition: all 0.3s ease;
	border-color: #1a3a52;
	border-radius: 5px;
}

.fntrvlessentials .panel-title > a,
.fntrvlessentials .panel-title > a:hover,
.fntrvlessentials .panel-title > a:focus {
	background: transparent;
	color: #ffffff;
}

.fntrvlessentials .subtitle {
	color: #ffffff;
}

#grdforvideo {
	background: #3688CC;
	background: linear-gradient(0deg, rgba(54, 136, 204, 1) 0%, rgb(255 255 255 / 0%) 100%);
	position: absolute;
	height: 200px;
	display: block;
	width: 100%;
	margin-top: -199px;
}

#overlay-container {
	z-index: 1;
}

.artgraddiv,
.articleboxshdw img,
.br-12 {
	border-radius: 12px;
}

.articleboxshdw {
	border-radius: 12px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	border: 2px solid transparent;
}

.articleboxshdw:hover {
	border-color: #ff9500;
	color: #ff9500;
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-strip-inner {
	margin: 0 auto;
	text-align: center;
	font-size: clamp(16px, 2vw, 20px);
	font-weight: 400;
	line-height: 1.65;
	color: #ffffff;
	padding-top: 25px;
}

.about-strip-inner strong {
	font-weight: 700;
}

.inline-img {
	display: inline-block;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
	vertical-align: middle;
	margin: 0 6px;
}

.about-strip-accent {
	color: #396756;
	font-weight: 600;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.info-card {
	background: linear-gradient(135deg, #1a3a52, #2d5f7f);
	color: white;
	padding: 25px;
	border-radius: 12px;
	transition: all 0.4s ease;
}

.info-card:hover {
	transform: scale(1.05) rotateZ(-2deg);
	box-shadow: 0 10px 30px rgba(26, 58, 82, 0.3);
}

.info-card h4 {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.info-card p {
	font-size: 0.9rem;
	opacity: 0.95;
	line-height: 1.6;
	margin-bottom: 0;
}

.t-wrap {
	position: relative;
	width: 100%;
	max-width: 100%;
	height: 600px;
	overflow: hidden;
}

.t-card {
	position: absolute;
	left: 50%;
	top: 50%;
	cursor: pointer;
	border: 2px solid #d0d0d0;
	padding: 28px;
	background: #ffffff;
	color: #1a1a1a;
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		background 0.4s ease,
		border-color 0.4s ease,
		box-shadow 0.4s ease;
	clip-path: polygon(50px 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, calc(100% - 50px) 100%, 50px 100%, 0 100%, 0 0);
	height: 400px;
}

.t-card.is-center {
	background: #1a3a52;
	border-color: #1a3a52;
	box-shadow: 0px 8px 0px 4px #c0c0c0;
}

.t-card .corner-slash {
	position: absolute;
	right: -2px;
	top: 48px;
	width: 70.7px;
	height: 2px;
	background: #d0d0d0;
	transform: rotate(45deg);
	transform-origin: right top;
}

.t-card img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	object-position: top;
	display: block;
	margin-bottom: 14px;
	box-shadow: 3px 3px 0 #000000;
	border-radius: 50%;
}

.t-card .t-quote {
	font-size: var(--font-size-xxs);
	font-weight: 400;
	line-height: 1.55;
	color: #1a1a1a;
	transition: color 0.4s ease;
	max-height: 210px;
	overflow-y: auto;
}

/* width */
.t-card .t-quote::-webkit-scrollbar {
	width: 4px;
	height: 4px;
}

/* Track */
.t-card .t-quote::-webkit-scrollbar-track {
	background: #f1f1f1;
}

/* Handle */
.t-card .t-quote::-webkit-scrollbar-thumb {
	background: #755509;
}

/* Handle on hover */
.t-card .t-quote::-webkit-scrollbar-thumb:hover {
	background: #d3d3d3;
}

.t-card.is-center .t-quote {
	color: #ffffff;
}

.t-card .t-author {
	position: absolute;
	bottom: 28px;
	left: 28px;
	right: 28px;
	font-size: var(--font-size-xxs);
	font-style: italic;
	color: #888888;
	transition: color 0.4s ease;
	text-transform: capitalize;
}

.t-card.is-center .t-author {
	color: rgba(200, 200, 200, 0.85);
}

.t-nav {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 999;
}

.t-btn {
	width: 52px;
	height: 52px;
	border: 2px solid #d0d0d0;
	background: #ffffff;
	color: #939393;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
}

.t-btn:hover {
	background: #1a1a1a;
	color: #ffffff;
}

.t-btn i {
	pointer-events: none;
}

@media (max-width:578px) {
	.t-wrap {
		height: 400px;
	}

	.t-card {
		padding: 10px;
		height: 220px;
	}

	.t-card .t-quote {
		max-height: 110px;
	}

	.t-card .t-author {
		margin-bottom: 0;
	}

	.t-card img,
	.t-btn {
		height: 40px;
		width: 40px;
	}
	.whyfinlandbtmeffect2{
		height: 25px;
	}
	.info-grid{
		margin-top: 20px;
	}
}

.verifyformtopdivgreen {
	border-radius: 12px;
}

.more-tours-section {
	background: linear-gradient(135deg, #f8f9fa, #dcf3fb);
}

.tours-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
	margin-top: 40px;
}

.tour-tag {
	background: white;
	padding: 20px 15px;
	text-align: center;
	border-radius: 12px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	text-decoration: none;
	color: #1a3a52;
	font-weight: 600;
	border: 2px solid transparent;
}

.tour-tag:hover {
	border-color: #ff9500;
	color: #ff9500;
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.countryflagdiv {
	border-radius: 12px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	border: 2px solid transparent;
}

.countryflagdiv:hover {
	border-color: #01ba03;
	color: #01ba03;
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.bg-finland1 {
	position: relative;
}

.z-index-2 {
	z-index: 2;
}

.bg-light-gray2 {
	background: url(./5.webp) repeat-x;
	background-color: #dae0e6 !important;
	background-position: center bottom;
	background-size: 100%;
}

.bg-light-gray2 .stepper::before {
	background: #b6c2cd;
}

.whyfinlanddivbtm:before {
	content: "";
	opacity: 1;
	background: transparent url(./3.webp) no-repeat;
	display: block;
	background-position: bottom right;
	height: 100%;
	position: absolute;
	width: 100%;
	right: 0;
	bottom: -100px;
	max-height: 550px;
	background-size: contain;
	z-index: 1;
}

@media (min-width: 1320px) {
	.bg-light-gray2 {
		background-size: 50% auto;
	}

	.whyfinlanddivbtm:before {
		bottom: -170px;
	}

	.bg-finland1:before {
		content: "";
		opacity: 1;
		background: transparent url(./1.webp) no-repeat;
		display: block;
		background-position: bottom right;
		height: 100%;
		position: absolute;
		width: 100%;
		right: 0;
		bottom: -80px;
		max-height: 270px;
		background-size: contain;
		animation: moveUpDown 3s ease-in-out infinite;
	}

	.bg-finland1:after {
		content: "";
		opacity: 1;
		background: transparent url(./2.webp) no-repeat;
		display: block;
		background-position: bottom left;
		height: 100%;
		position: absolute;
		width: 100%;
		left: 0;
		bottom: -90px;
		max-height: 270px;
		background-size: contain;
	}
}
