@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,300');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Lexend', sans-serif;
}

section {
	width: 100%;
	max-width: 100vw;
	position: relative;
}

.hero {
	width: 100%;
	height: 100svh;
	max-width: 100vw;
	position: relative;
	scroll-margin-top: 60px;
}

.images {
	position: absolute;
	width: 100%;
	height: 100%;
	max-width: 100vw;
	max-height: 100vh;
	top: 0;
	left: 0;
	overflow: hidden;
}

.images img {
	position: absolute;
	width: 100%;
	height: 100%;
	max-width: 100vw;
	max-height: 100vh;
	object-fit: cover;
	object-position: center center;
	will-change: mask-image, -webkit-mask-image;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.images img:first-child {
	opacity: 1;
	mask-image: none !important;
	-webkit-mask-image: none !important;
	z-index: 1;
}

.images .mask-img {
	opacity: 1;
	z-index: 2;
	/* Initial state - fully masked (hidden) - will be animated by JS */
	mask-image: linear-gradient(90deg, transparent 50%, transparent 50%);
	-webkit-mask-image: linear-gradient(90deg, transparent 50%, transparent 50%);
}

.content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	z-index: 10;
	font-size: 20px;
	padding: 40px;
	text-align: center;
}

.hero-title {
	position: absolute;
	top: 60px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	padding: 0 40px;
}

.hero-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}

.hero-title h1 {
	font-size: clamp(48px, 10vw, 100px);
	font-weight: 800;
	color: #00A1E0;
	letter-spacing: -2px;
	margin: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	text-align: center;
}

.hero-subtitle {
	font-size: clamp(20px, 4vw, 32px);
	font-weight: 400;
	color: #fff;
	text-align: center;
	max-width: 900px;
	line-height: 1.4;
	opacity: 0.95;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-description {
	font-size: clamp(16px, 3vw, 22px);
	font-weight: 300;
	color: #fff;
	text-align: center;
	max-width: 800px;
	line-height: 1.6;
	opacity: 0.9;
	text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.content .top,
.content .bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.content .top-left,
.content .top-right {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.content .top-left p,
.content .top-right p {
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 400;
}

.content .center {
	width: 100%;
	max-width: clamp(300px, 90vw, 1200px);
	margin: auto;
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: center;
}

.content .center h1 {
	font-size: clamp(48px, 12vw, 120px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -2px;
	margin: 0;
}

.content .center p {
	font-size: clamp(24px, 5vw, 48px);
	font-weight: 300;
	letter-spacing: 2px;
	margin: 0;
	opacity: 0.95;
	line-height: 1.4;
}

html {
	padding: 0;
	margin: 0;
	overscroll-behavior: none;
	overflow: hidden;
}

body {
	padding: 0;
	margin: 0;
	overscroll-behavior: none;
	overflow: hidden;
}

/* Enable scrolling for contact page */
body.contact-page,
html.contact-page {
	overflow-y: auto;
	overflow-x: hidden;
}

canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	pointer-events: none;
	cursor: none;
}

body {
	cursor: none;
}

* {
	cursor: none !important;
}

.main-header {
	position: relative;
	width: 100%;
}

.main_nav {
	position: fixed;
	top: 0px;
	max-height: 70px;
	z-index: 999;
	width: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
	background: none;
	overflow: hidden;
	transition: all 0.3s ease;
	opacity: 0;
	top: -100px;
	backdrop-filter: blur(0px);
}

@media only screen and (max-width: 766px) {
	.main_nav {
		padding-top: 25px;
	}
}

.open-nav {
	max-height: 400px !important;
}

.sticky {
	background-color: rgba(255, 255, 255, 0.98);
	opacity: 1;
	top: 0px;
	backdrop-filter: blur(20px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	padding-top: 15px;
	padding-bottom: 15px;
}

.sticky nav ul a {
	color: #222;
}

.sticky nav ul a:hover {
	color: #e55d87;
	background: rgba(229, 93, 135, 0.1);
}

.sticky nav ul a:hover .nav-icon {
	color: #e55d87;
}

.sticky .mobile-toggle span {
	background: #222;
}

nav {
	width: 100%;
	margin-top: 0;
	display: flex;
	justify-content: center;
}

@media only screen and (max-width: 766px) {
	nav {
		width: 100%;
	}
}

nav ul {
	list-style: none;
	overflow: hidden;
	text-align: center;
}

@media only screen and (max-width: 766px) {
	nav ul {
		padding-top: 0px;
		margin-bottom: 22px;
		text-align: center;
		width: 100%;
	}
}

nav ul li {
	display: inline-block;
	margin-left: 20px;
	line-height: 1.5;
	letter-spacing: 1px;
}

nav ul li:first-child {
	margin-left: 0;
}

@media only screen and (max-width: 766px) {
	nav ul li {
		width: 100%;
		padding: 12px 0;
		margin: 0;
	}
	nav ul li:first-child {
		margin-top: 70px;
	}
	
	nav ul a {
		justify-content: center;
		padding: 10px 20px;
	}
	
	.nav-icon {
		width: 20px;
		height: 20px;
	}
}

nav ul a {
	text-transform: uppercase;
	font-size: 12px;
	text-decoration: none;
	color: #fff;
	font-weight: 400;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 8px;
}

nav ul a:hover {
	color: #5fc3e4;
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

.nav-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

nav ul a:hover .nav-icon {
	color: #5fc3e4;
	transform: scale(1.1);
}

.mobile-toggle {
	display: none;
	cursor: pointer;
	font-size: 20px;
	position: absolute;
	right: 22px;
	top: 0;
	width: 30px;
}

@media only screen and (max-width: 766px) {
	.mobile-toggle {
		display: block;
	}
}

.mobile-toggle span {
	width: 30px;
	height: 4px;
	margin-bottom: 6px;
	background: #fff;
	display: block;
}

.container {
	position: relative;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}


.mission-section {
	width: 100%;
	min-height: 100svh;
	background: #e55d87;
	background: -moz-linear-gradient(-45deg, #e55d87 0%, #5fc3e4 100%);
	background: -webkit-linear-gradient(-45deg, #e55d87 0%, #5fc3e4 100%);
	background: linear-gradient(135deg, #e55d87 0%, #5fc3e4 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 40px;
	position: relative;
	scroll-margin-top: 60px;
}

.mission-content {
	max-width: 1200px;
	width: 100%;
	text-align: center;
}

.mission-content h2 {
	font-size: clamp(36px, 8vw, 80px);
	font-weight: 800;
	margin-bottom: 20px;
	letter-spacing: -1px;
	color: #fff;
}

.mission-subtitle {
	font-size: clamp(20px, 4vw, 32px);
	font-weight: 600;
	margin-bottom: 60px;
	opacity: 0.95;
	letter-spacing: 1px;
	color: #fff;
}

.mission-details {
	display: flex;
	flex-direction: column;
	gap: 30px;
	max-width: 800px;
	margin: 0 auto;
}

.mission-details p {
	font-size: clamp(18px, 3vw, 24px);
	font-weight: 300;
	line-height: 1.8;
	opacity: 0.95;
	margin: 0;
	color: #fff;
}

.mission-details p strong {
	font-weight: 600;
	color: #fff;
	opacity: 1;
}

.block {
	width: 70px;
	height: 2px;
	background: #e55d87;
	background: -moz-linear-gradient(-45deg, #e55d87 0%, #5fc3e4 100%);
	background: -webkit-linear-gradient(-45deg, #e55d87 0%, #5fc3e4 100%);
	background: linear-gradient(135deg, #e55d87 0%, #5fc3e4 100%);
	margin: 0 auto 50px;
}

.mission-details p:first-child {
	font-size: clamp(20px, 3.5vw, 28px);
	margin-bottom: 10px;
}

.mission-content {
	position: relative;
}

.mission-content h2::after {
	content: '';
	display: block;
	width: 70px;
	height: 2px;
	background: #fff;
	margin: 20px auto;
}

.chaos-section {
	width: 100%;
	height: 60vh;
	position: relative;
	background: transparent;
	overflow: hidden;
	z-index: 1;
}

#c {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.last-section {
	width: 100%;
	height: 100svh;
	background: #e55d87;
	background: -moz-linear-gradient(-45deg, #e55d87 0%, #5fc3e4 100%);
	background: -webkit-linear-gradient(-45deg, #e55d87 0%, #5fc3e4 100%);
	background: linear-gradient(135deg, #e55d87 0%, #5fc3e4 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	scroll-margin-top: 60px;
}

.about-section,
.wrodium-section,
.research-section {
	width: 100%;
	min-height: 100svh;
	background: #fff;
	color: #222;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 40px;
	position: relative;
	scroll-margin-top: 60px;
}

.values-section {
	width: 100%;
	min-height: 100svh;
	background: #F5F5F5;
	color: #222;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 40px;
	position: relative;
	scroll-margin-top: 60px;
}

.about-content,
.wrodium-content,
.research-content,
.values-content {
	max-width: 1000px;
	width: 100%;
}

.about-content h2,
.wrodium-content h2,
.research-content h2 {
	font-size: clamp(36px, 8vw, 64px);
	font-weight: 800;
	margin-bottom: 40px;
	color: #222;
	text-align: center;
}

.values-content h2 {
	font-size: clamp(36px, 8vw, 64px);
	font-weight: 800;
	margin-bottom: 40px;
	color: #222;
	text-align: center;
}

.about-text {
	display: flex;
	flex-direction: column;
	gap: 25px;
	line-height: 1.8;
}

.about-text p {
	font-size: clamp(16px, 2.5vw, 20px);
	font-weight: 300;
	color: #222;
	opacity: 0.9;
}

.about-text p strong {
	color: #e55d87;
	font-weight: 600;
	opacity: 1;
}

.wrodium-intro,
.wrodium-closing {
	font-size: clamp(16px, 2.5vw, 20px);
	font-weight: 300;
	line-height: 1.8;
	color: #222;
	opacity: 0.9;
	margin-bottom: 40px;
}

.winsearch-embed {
	width: 100%;
	max-width: 1200px;
	height: 700px;
	margin-top: 40px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	background: #fff;
	position: relative;
}

.founder-label {
	position: absolute;
	top: 15px;
	left: 20px;
	z-index: 10;
	background: rgba(229, 93, 135, 0.95);
	color: #fff;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.wrodium-intro strong {
	color: #e55d87;
	font-weight: 600;
}

.wrodium-features {
	margin: 40px 0;
	padding: 40px;
	background: rgba(229, 93, 135, 0.1);
	border-left: 4px solid #e55d87;
}

.wrodium-features h3 {
	font-size: clamp(24px, 4vw, 32px);
	font-weight: 600;
	color: #222;
	margin-bottom: 20px;
}

.wrodium-features ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.wrodium-features li {
	font-size: clamp(16px, 2.5vw, 18px);
	font-weight: 300;
	line-height: 1.6;
	color: #222;
	opacity: 0.9;
	padding-left: 25px;
	position: relative;
}

.wrodium-features li:before {
	content: "→";
	position: absolute;
	left: 0;
	color: #e55d87;
	font-weight: 600;
}

.research-paper-image {
	width: 100%;
	max-width: 800px;
	margin: 0 auto 50px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-paper-image:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.research-paper-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.research-intro {
	font-size: clamp(16px, 2.5vw, 20px);
	font-weight: 300;
	line-height: 1.8;
	color: #222;
	opacity: 0.9;
	margin-bottom: 30px;
}

.research-intro strong {
	color: #5fc3e4;
	font-weight: 600;
}

.research-articles {
	margin: 30px 0;
	padding: 30px;
	background: rgba(95, 195, 228, 0.1);
	border-left: 4px solid #5fc3e4;
}

.research-articles p {
	font-size: clamp(16px, 2.5vw, 18px);
	font-weight: 400;
	color: #222;
	margin-bottom: 20px;
}

.research-articles ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.research-articles li {
	font-size: clamp(16px, 2.5vw, 18px);
	font-weight: 300;
	line-height: 1.6;
	color: #222;
	opacity: 0.9;
	padding-left: 25px;
	position: relative;
}

.research-articles li:before {
	content: "•";
	position: absolute;
	left: 0;
	color: #5fc3e4;
	font-weight: 600;
	font-size: 1.5em;
}

.research-content p:last-child {
	font-size: clamp(16px, 2.5vw, 18px);
	font-weight: 300;
	line-height: 1.8;
	color: #222;
	opacity: 0.85;
	margin-top: 30px;
}

.values-content {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.value-item {
	padding: 40px;
	background: #fff;
	border: 1px solid rgba(229, 93, 135, 0.3);
	border-radius: 8px;
	border-left: 4px solid #e55d87;
}

.value-item h3 {
	font-size: clamp(24px, 4vw, 32px);
	font-weight: 600;
	color: #e55d87;
	margin-bottom: 15px;
}

.value-item p {
	font-size: clamp(16px, 2.5vw, 18px);
	font-weight: 300;
	line-height: 1.8;
	color: #222;
	opacity: 0.9;
}

.last-section-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	max-width: 1000px;
	padding: 40px;
	padding-top: 150px;
}

.last-section-content h1 {
	font-size: clamp(48px, 8vw, 120px);
	font-weight: 800;
}

.last-bio {
	font-size: clamp(16px, 2.5vw, 20px);
	font-weight: 300;
	line-height: 1.8;
	color: #fff;
	opacity: 0.95;
	text-align: center;
	max-width: 800px;
	margin-bottom: 40px;
}

.contact-link {
	margin-top: 30px;
}

.contact-link a {
	color: #fff;
	font-size: clamp(18px, 3vw, 24px);
	font-weight: 600;
	text-decoration: none;
	padding: 15px 40px;
	border: 2px solid #fff;
	border-radius: 8px;
	transition: all 0.3s ease;
	display: inline-block;
}

.contact-link a:hover {
	background: #fff;
	color: #e55d87;
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.contact-section {
	width: 100%;
	min-height: 100svh;
	background: #e55d87;
	background: -moz-linear-gradient(-45deg, #e55d87 0%, #5fc3e4 100%);
	background: -webkit-linear-gradient(-45deg, #e55d87 0%, #5fc3e4 100%);
	background: linear-gradient(135deg, #e55d87 0%, #5fc3e4 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 150px 40px 100px;
	position: relative;
	scroll-margin-top: 60px;
}

.contact-content {
	max-width: 1200px;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

.contact-content h1 {
	font-size: clamp(48px, 8vw, 120px);
	font-weight: 800;
	margin-bottom: 20px;
	color: #fff;
}

.contact-intro {
	font-size: clamp(18px, 3vw, 24px);
	font-weight: 300;
	line-height: 1.8;
	color: #fff;
	opacity: 0.95;
	max-width: 600px;
}

.calendar-embed {
	width: 100%;
	max-width: 1200px;
	height: 800px;
	min-height: 700px;
	margin-top: 20px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	background: #fff;
}

/* Ensure contact page content is scrollable */
.contact-page .contact-section {
	min-height: calc(100svh + 200px);
	padding-bottom: 150px;
}

/* Responsive */
@media (max-width: 768px) {
	.content {
		padding: 20px;
	}

	.hero-title {
		top: 40px;
		padding: 0 20px;
	}

	.hero-title h1 {
		font-size: clamp(36px, 10vw, 70px);
	}

	.hero-subtitle {
		font-size: clamp(18px, 5vw, 24px);
	}

	.hero-description {
		font-size: clamp(14px, 4vw, 18px);
	}

	.about-section,
	.wrodium-section,
	.research-section,
	.values-section {
		padding: 60px 20px;
	}

	.wrodium-features,
	.research-paper-image {
		margin-bottom: 40px;
		border-radius: 8px;
	}
	
	.winsearch-embed {
		height: 600px;
		margin-top: 30px;
		border-radius: 8px;
	}
	
	.founder-label {
		font-size: 12px;
		padding: 6px 12px;
		top: 10px;
		left: 15px;
	}
	
	.research-articles {
		padding: 30px 20px;
	}

	.value-item {
		padding: 30px 20px;
	}

	.mission-section {
		padding: 60px 20px;
	}
	
	.contact-section {
		padding: 80px 20px 60px;
	}
	
	.contact-content h1 {
		margin-bottom: 15px;
	}
	
	.contact-intro {
		margin-bottom: 20px;
	}
	
	.calendar-embed {
		height: 600px;
		margin-top: 20px;
		border-radius: 8px;
	}
	
	.contact-link a {
		padding: 12px 30px;
		font-size: clamp(16px, 4vw, 20px);
	}

	.mission-content h2 {
		font-size: clamp(28px, 10vw, 60px);
	}

	.mission-subtitle {
		font-size: clamp(18px, 5vw, 24px);
		margin-bottom: 40px;
	}

	.mission-details {
		gap: 20px;
	}

	.mission-details p {
		font-size: clamp(16px, 4vw, 20px);
	}
}
