/* Nebulica-Thin Font for Welcome Title */
@font-face {
	font-family: 'Nebulica-Thin';
	font-style: normal;
	font-weight: 100;
	font-display: swap;
	src: url("../fonts/nube/Nebulica-Thin.woff2") format("woff2"),
		url("../fonts/nube/Nebulica-Thin.woff") format("woff");
}

/* Body */
.body {
		max-width: 100vw;
		overflow-x: hidden;
}

/* Container */
@media (min-width: 1440px) {
		.container {
				max-width: 1440px !important;
		}
}

/* Header */
@media (min-width: 992px) {
		#header .header-nav-main nav > ul > li > a {
				font-weight: 300;
				font-size: 16px;
				padding-left: 1.3rem !important;
				padding-right: 1.3rem !important;
		}
}

@media (max-width: 1280px) {
		#header .header-nav-main nav > ul > li > a {
				padding-left: 1rem !important;
				padding-right: 1rem !important;
		}
}

/* Font Size */
.custom-font-size-1 {
		font-size: clamp(28px, 4px + 0.05 * 100vw, 64px);
		line-height: 1.1;
}

/* Hero */
.custom-hero-bg {
		position: absolute;
		width: 100vw;
		height: 100vh;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		opacity: 0;
		transition: opacity 300ms;
}

.custom-hero-bg svg {
		width: 100vw;
		height: 100vh;
}

.custom-hero-bg.loaded {
		opacity: 1;
}

.custom-stop-color-1 {
		stop-color: #a8ff78;
}

.custom-hero-font-1 {
		font-size: clamp(28px, 0px + 0.0583333333 * 100vw, 110px);
		line-height: 1.1;
}

.custom-hero-font-2 {
		font-size: clamp(18px, 0px + 0.0583333333 * 100vw, 70px);
		line-height: 1.1;
}

.custom-hero-heading {
		position: absolute;
		width: 100%;
		bottom: 0;
		text-align: center;
		-webkit-mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0) 100%);
		mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 991px) {
		.custom-hero-heading {
				bottom: 80px;
		}
}

.custom-hero-heading strong {
		text-transform: uppercase;
		font-size: 13cqw;
		line-height: 13cqw;
}

/* Page Header */
.page-header .custom-hero-bg {
		height: 500px;
}

.page-header .custom-hero-bg svg {
		height: 500px;
}

@keyframes arrowMove {
		0% {
				margin-top: 0;
		}
		50% {
				margin-top: -30px;
		}
		100% {
				margin-top: 0;
		}
}

/* Elements */
.custom-el-1 {
		opacity: 0.1;
		align-items: center;
		display: flex;
		justify-content: center;
		flex-direction: column;
		animation: arrowMove 3000ms linear;
		animation-iteration-count: infinite;
}

.custom-el-1 img {
		margin-bottom: -100px;
}

.custom-el-pos-1 {
		top: 55%;
		left: -60px;
}

.custom-el-2 {
		opacity: 0.1;
		align-items: center;
		display: flex;
		justify-content: center;
		flex-direction: column;
		animation: arrowMove 3000ms linear;
		animation-iteration-count: infinite;
}

.custom-el-2 img {
		margin-bottom: -47px;
}

.custom-el-pos-2 {
		top: 80%;
		right: -30px;
}

.custom-el-3 {
		width: 100%;
		height: 100%;
		max-width: 220px;
		max-height: 220px;
		min-height: 220px;
		position: relative;
		overflow: hidden;
}

.custom-el-3 .custom-el-3-img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
}

.custom-el-3 .custom-el-3-img img {
		transition: transform 2s;
		will-change: transform;
}

.custom-el-3-pos-1 {
		top: 30%;
		z-index: 1;
}

.custom-el-3-pos-2 {
		top: -30%;
}

.custom-el-4-pos {
		margin-top: -15px;
}

.custom-el-pos-5 {
		left: -60px;
		top: 35%;
}

/* Custom Marquee */
.custom-marquee-1 .js-marquee-wrapper,
.custom-marquee-1 .js-marquee,
.custom-marquee-1 .js-marquee > span {
		display: flex;
}

/* Custom Avatar */
.custom-avatar-1 {
		width: 70px;
		height: 70px;
		position: relative;
}

.custom-avatar-1-info {
		position: absolute;
		top: -30px;
		text-align: center;
		font-size: 12px;
		white-space: nowrap;
		letter-spacing: -0.5px;
		font-weight: 300;
		margin-left: -15px;
		opacity: 0.5;
}

.custom-avatar-1-info .animated-icon {
		transform: rotate(120deg);
		float: left;
		margin-right: 5px;
}

/* Custom Popover */
.custom-popover-1 {
		text-align: center;
		font-size: 16px;
		font-weight: 300;
		letter-spacing: -1px;
}

/* Custom Btn */
.custom-btn-1 {
		width: 200px;
		height: 200px;
		line-height: 190px;
		border-radius: 100%;
		white-space: nowrap;
}

/* Custom Grid */
.custom-grid-1 {
		margin-top: -70px;
		position: relative;
}

.custom-grid-1 .container {
		margin: 0 auto;
}

.custom-grid-1 .container .row {
		margin: 0;
}

.custom-grid-1 .container .row > * {
		padding: 0;
		background-color: var(--light);
		min-height: 220px;
		align-items: center;
		overflow: hidden;
}

@media (max-width: 991px) {
		.custom-grid-1 .container .row > * {
				border: 1px solid var(--grey-100);
		}
}

@media (min-width: 992px) {
		.custom-grid-1 .container .row > *:nth-child(1),
		.custom-grid-1 .container .row > *:nth-child(3),
		.custom-grid-1 .container .row > *:nth-child(6),
		.custom-grid-1 .container .row > *:nth-child(8) {
				background-color: var(--grey-100);
		}
}

.custom-grid-1 .custom-grid-1-item {
		position: relative;
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-img {
		transition: opacity 300ms;
		opacity: 0;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-img img {
		transition: transform 2s;
		will-change: transform;
		transform: scale(0.75);
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-img:after {
		content: "";
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		position: absolute;
		opacity: 0.7;
		background-color: var(--dark);
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-text {
		position: relative;
		z-index: 1;
}

.custom-grid-1 .custom-grid-1-item:hover .custom-grid-1-img {
		opacity: 1;
}

.custom-grid-1 .custom-grid-1-item:hover .custom-grid-1-img img {
		transform: scale(1);
}

.custom-grid-1 .custom-grid-1-item:hover h3 {
		color: var(--light) !important;
}

/* Custom Projects */
@media (max-width: 991px) {
		.custom-projects-1 .border-end {
				border: 0 !important;
		}
}

/* Custom Border Radius */
.custom-border-radius-1 {
		border-radius: 0 100px 0 100px;
}

.custom-border-radius-2 {
		border-radius: 100px 0 0 0;
}

.custom-border-radius-3 {
		border-radius: 100px 100px 100px 0;
}

.custom-border-radius-4 {
		border-radius: 200px 10px 10px 10px;
}

.custom-border-radius-5 {
		border-radius: 0 0 100px 0;
}

/* Custom Section */
.custom-section-1 {
		margin-top: -70px;
		padding-top: 70px;
}

/* Custom Carousel */
@media (min-width: 1200px) {
		.custom-carousel-1 > .owl-carousel {
				width: calc( 100vw - ( ( 100vw - 1400px ) / 2 ));
		}
}

/* Custom Content */
.custom-page-content {
		margin-top: -70px;
}

/* Custom Padding */
.custom-padding-top-1 {
		padding-top: 70px;
}

.custom-padding-bottom-1 {
		padding-bottom: 70px;
}

/* Footer */
#footer {
		margin-top: -70px;
}

/* Video Unmute Button */
.nova-video-bg {
		position: relative;
}

.video-unmute-btn {
		position: absolute;
		bottom: 30px;
		right: 30px;
		z-index: 10;
		width: 50px;
		height: 50px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.15);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		border: 2px solid rgba(255, 255, 255, 0.3);
		color: #fff;
		font-size: 18px;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.3s ease;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-unmute-btn:hover {
		background: rgba(255, 255, 255, 0.25);
		border-color: rgba(255, 255, 255, 0.5);
		transform: scale(1.1);
		box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.video-unmute-btn:active {
		transform: scale(0.95);
}

.video-unmute-btn i {
		transition: all 0.2s ease;
}

/* Pulse animation to draw attention when muted */
.video-unmute-btn.pulse-animation {
		animation: pulse 2s infinite;
}

@keyframes pulse {
		0% {
				box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0.7);
		}
		50% {
				box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(255, 255, 255, 0);
		}
		100% {
				box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0);
		}
}

@media (max-width: 768px) {
		.video-unmute-btn {
				width: 45px;
				height: 45px;
				font-size: 16px;
				bottom: 20px;
				right: 20px;
		}
}

/* ===== WELCOME OVERLAY STYLES ===== */
.welcome-overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background: rgba(0, 0, 0, 0.85);
		backdrop-filter: blur(10px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.5s ease, visibility 0.5s ease;
		z-index: 10;
		perspective: 1000px;
		overflow: hidden;
}

.welcome-overlay::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-image: url('../images/backgrounds/fluid-pattern.jpg');
		background-size: cover;
		background-position: center;
		opacity: 0.3;
		animation: fluidMove 60s ease-in-out infinite;
		z-index: 1;
}

@keyframes fluidMove {
		0%, 100% {
				transform: translate(0, 0) scale(1.1) rotate(0deg);
		}
		25% {
				transform: translate(-3%, 2%) scale(1.15) rotate(1deg);
		}
		50% {
				transform: translate(2%, -3%) scale(1.12) rotate(-0.5deg);
		}
		75% {
				transform: translate(-2%, 3%) scale(1.13) rotate(0.5deg);
		}
}

.welcome-overlay.active {
		opacity: 1;
		visibility: visible;
}

.welcome-title {
		font-family: 'LT Eyesight', sans-serif !important;
		font-size: clamp(24px, 4.8vw, 72px);
		font-weight: 900 !important;
		color: #a8d5e2;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		margin: 0;
		padding: 0 20px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: clamp(5px, 0.8vw, 15px);
		perspective: 1500px;
		transform-style: preserve-3d;
		position: relative;
		z-index: 2;
}

.welcome-title-small {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: clamp(6px, 0.8vw, 17px);
		font-size: 0.7em;
}

.welcome-title-large {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: clamp(9px, 1.2vw, 24px);
}

.welcome-title .word {
		display: inline-block;
		white-space: nowrap;
		transform-style: preserve-3d;
		font-family: 'LT Eyesight', sans-serif !important;
		font-weight: 900 !important;
}

.welcome-title .letter {
		display: inline-block;
		opacity: 0;
		transform: translate3d(var(--start-x), var(--start-y), var(--start-z)) 
							 rotateX(var(--rotate-x)) 
							 rotateY(var(--rotate-y)) 
							 rotateZ(var(--rotate-z));
		animation: scatterIn 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
		transition: color 0.3s ease, transform 0.15s ease-out;
	cursor: default;
	font-family: 'LT Eyesight', sans-serif !important;
	font-weight: 900 !important;
	position: relative;
		will-change: transform;
}

.welcome-title .letter:hover {
		color: #7fc8e0;
}

@keyframes scatterIn {
		0% {
				opacity: 0;
				transform: translate3d(var(--start-x), var(--start-y), var(--start-z)) 
									 rotateX(var(--rotate-x)) 
									 rotateY(var(--rotate-y)) 
									 rotateZ(var(--rotate-z));
		}
		60% {
				opacity: 1;
		}
		100% {
				opacity: 1;
				transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
		}
}

/* Welcome Buttons */
.welcome-buttons {
		display: flex;
		gap: 18px;
		margin-top: 36px;
		opacity: 0;
		transform: translateY(30px);
		transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
		position: relative;
		z-index: 2;
}

.welcome-buttons.visible {
		opacity: 1;
		transform: translateY(0);
}

.welcome-btn {
		position: relative;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 11px 24px;
		font-size: 11px;
		font-weight: 300;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		border: none;
		border-radius: 30px;
		cursor: pointer;
		overflow: hidden;
		transition: all 0.3s ease;
		text-decoration: none;
		font-family: 'Unbounded', sans-serif;
}

.welcome-btn::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		width: 0;
		height: 0;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.2);
		transform: translate(-50%, -50%);
		transition: width 0.6s ease, height 0.6s ease;
}

.welcome-btn:hover::before {
		width: 300px;
		height: 300px;
}

.welcome-btn-primary {
		background: linear-gradient(135deg, #36a8e5 0%, #13385b 100%);
		color: #ffffff;
		box-shadow: 0 10px 30px rgba(54, 168, 229, 0.4);
}

.welcome-btn-primary:hover {
		transform: translateY(-3px);
		box-shadow: 0 15px 40px rgba(54, 168, 229, 0.6);
}

.welcome-btn-secondary {
		background: rgba(255, 255, 255, 0.1);
		color: #ffffff;
		border: 2px solid rgba(255, 255, 255, 0.3);
		backdrop-filter: blur(10px);
}

.welcome-btn-secondary:hover {
		background: rgba(255, 255, 255, 0.2);
		border-color: rgba(255, 255, 255, 0.5);
		transform: translateY(-3px);
		box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.welcome-btn i {
		font-size: 10px;
		transition: transform 0.3s ease;
		position: relative;
		z-index: 1;
}

.welcome-btn span {
		position: relative;
		z-index: 1;
}

.welcome-btn-primary:hover i {
		transform: rotate(180deg);
}

.welcome-btn-secondary:hover i {
		transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
		.welcome-title {
				font-size: clamp(20px, 4vw, 60px);
				gap: clamp(8px, 1vw, 20px);
		}
		
		.welcome-buttons {
				gap: 15px;
				margin-top: 30px;
		}
		
		.welcome-btn {
				padding: 10px 20px;
				font-size: 10px;
		}
		
		.welcome-btn i {
				font-size: 9px;
		}
}

@media (max-width: 768px) {
		.welcome-title {
				font-size: clamp(18px, 6vw, 36px);
				gap: clamp(6px, 2vw, 12px);
				padding: 0 15px;
		}
		
		.welcome-buttons {
				flex-direction: column;
				gap: 12px;
				margin-top: 24px;
				width: 90%;
				max-width: 280px;
		}
		
		.welcome-btn {
				width: 100%;
				justify-content: center;
				padding: 10px 18px;
				font-size: 10px;
				gap: 6px;
		}
		
		.welcome-btn i {
				font-size: 8px;
		}
}

@media (max-width: 480px) {
		.welcome-title {
				font-size: clamp(16px, 5vw, 28px);
				gap: clamp(5px, 1.5vw, 10px);
				padding: 0 10px;
		}
		
		.welcome-buttons {
				gap: 10px;
				margin-top: 20px;
				max-width: 240px;
		}
		
		.welcome-btn {
				padding: 9px 16px;
				font-size: 9px;
				border-radius: 25px;
		}
		
		.welcome-btn i {
				font-size: 7px;
		}
}

@media (max-width: 360px) {
		.welcome-title {
				font-size: clamp(14px, 4.5vw, 24px);
				gap: 4px;
		}
		
		.welcome-btn {
				padding: 8px 14px;
				font-size: 8px;
		}
		
		.welcome-btn i {
				font-size: 6px;
		}
}
