*, *::before, *::after
{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root
{
	--primary: #6DB31E;
	--primary-hsl: 84, 73%, 42%;
	--primary-dark: hsl(84, 73%, 28%);
	--primary-light: hsl(84, 73%, 95%);
	--primary-fg: #fff;
	--bg: #fff;
	--fg: hsl(150, 15%, 20%);
	--muted: hsl(150, 10%, 45%);
	--muted-bg: hsl(150, 30%, 96%);
	--border: hsl(150, 20%, 90%);
	--card: #fff;
	--accent: hsl(84, 73%, 97%);
	--radius: 0.75rem;
}

html
{
	scroll-behavior: smooth;
}

body
{
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--fg);
	background: var(--bg);
	line-height: 1.6;
	overflow-x: hidden;
}

@keyframes float
{
	0%
	{
		transform: translateY(0px);
	}

	50%
	{
		transform: translateY(-12px);
	}

	100%
	{
		transform: translateY(0px);
	}

}

a
{
	text-decoration: none;
	color: inherit;
}

img
{
	max-width: 100%;
	height: auto;
}

.container
{
	width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
}

/* ---- Scroll animations ---- */

:where(.js) .anim
{
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

:where(.js) .anim.visible
{
	opacity: 1;
	transform: translateY(0);
}

.anim-d1
{
	transition-delay: 0.1s;
}

.anim-d2
{
	transition-delay: 0.2s;
}

.anim-d3
{
	transition-delay: 0.25s;
}

.anim-d4
{
	transition-delay: 0.35s;
}

/* ---- Nav ---- */

.nav
{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: var(--primary);
	box-shadow: 0 2px 10px rgba(0,0,0,0.15);
	transition: box-shadow 0.3s;
}

.nav-logo
{
	display: inline-flex;
	align-items: center;
}

.nav-logo img
{
	display: block;
	width: 160px;
	height: auto;
	object-fit: contain;
	padding: 10px;
}

.nav-inner
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
}

.nav-right
{
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav-link
{
	padding: 8px 16px;
	font-size: 0.8rem;
	font-weight: 700;
	color: rgba(255,255,255,0.9);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 6px;
	transition: all 0.2s;
	background: none;
	border: none;
	cursor: pointer;
}

.nav-link:hover
{
	color: #ffffff;
	background: rgba(255,255,255,0.15);
}

.nav-sep
{
	width: 1px;
	height: 24px;
	background: rgba(255,255,255,0.3);
	margin: 0 8px;
}

.nav-social
{
	font-size: 25px;
	padding: 8px;
	color: rgba(255,255,255,0.8);
	border-radius: 6px;
	transition: all 0.2s;
	display: inline-flex;
}

.nav-social:hover
{
	color: #fff;
	background: rgba(255,255,255,0.15);
}

.nav-social svg
{
	width: 20px;
	height: 20px;
}

.mobile-toggle
{
	display: none;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 8px;
	border-radius: 6px;
}

.mobile-toggle:hover
{
	background: rgba(255,255,255,0.15);
}

.mobile-menu
{
	display: none;
	padding: 12px 0;
	border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-menu .nav-link
{
	display: block;
	width: 100%;
	text-align: left;
	padding: 12px 16px;
}

.mobile-menu.open
{
	display: block;
}

.fa-bars
{
	font-size: 20px;
}

@media (max-width: 768px)
{
	.nav-right
	{
		display: none;
	}

	.mobile-toggle
	{
		display: block;
	}

}

/* ---- Hero ---- */

.hero
{
	min-height: 100vh;
	display: flex;
	align-items: center;
	min-width: 100%;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	padding-top: 64px;
	overflow: hidden;
}

.hero-grid
{
	display: flex;
	justify-content: center;
	gap: 5em;
	align-items: center;
}

.hero-text
{
	padding: 40px;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero-text h1
{
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 800;
	margin-bottom: 1.25rem;
	line-height: 1.1;
	animation: fadeSlideUp 0.6s ease-out both;
}

.hero-text p
{
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	opacity: 0.95;
	margin-bottom: 2rem;
	line-height: 1.5;
	max-width: 500px;
	animation: fadeSlideUp 0.6s 0.15s ease-out both;
	text-align: center;
}

.hero-logo,
.hero-mockup img
{
	padding: 40px;
}

.hero-mockup
{
	display: flex;
	justify-content: center;
}

.hero-mockup-placeholder
{
	width: 280px;
	height: 560px;
	background: rgba(255,255,255,0.12);
	border-radius: 32px;
	border: 3px solid rgba(255,255,255,0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	backdrop-filter: blur(8px);
	box-shadow: 0 30px 60px rgba(0,0,0,0.25);
	transition: transform 0.4s;
}

.hero-mockup-placeholder:hover
{
	transform: scale(1.03);
}

.hero-mockup-inner
{
	text-align: center;
	color: rgba(255,255,255,0.8);
}

.hero-mockup-inner svg
{
	width: 64px;
	height: 64px;
	margin-bottom: 1rem;
	opacity: 0.6;
}

.hero-mockup-inner p
{
	font-size: 1rem;
	font-weight: 600;
}

.hero-mockup-notch
{
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 28px;
	background: rgba(0,0,0,0.5);
	border-radius: 14px;
}

@media (max-width: 768px)
{
	.hero-grid
	{
		text-align: center;
	}

	.hero-text p
	{
		margin-left: auto;
		margin-right: auto;
	}

	.hero-mockup-placeholder
	{
		width: 220px;
		height: 440px;
	}

}

@keyframes fadeSlideUp
{
	from
	{
		opacity: 0;
		transform: translateY(25px);
	}

	to
	{
		opacity: 1;
		transform: translateY(0);
	}

}

.store-buttons
{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 1.5rem;
	animation: fadeSlideUp 0.6s 0.3s ease-out both;
}

@media (max-width: 768px)
{
	.store-buttons
	{
		justify-content: center;
	}

}

.store-btn
{
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: hsl(0, 0%, 0%);
	color: #fff;
	padding: 12px 24px 12px 16px;
	border-radius: 12px;
	transition: all 0.2s;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.store-btn i
{
	font-size: 30px;
}

.store-btn:hover
{
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.store-btn-text
{
	text-align: left;
}

.store-btn-text small
{
	display: block;
	font-size: 0.75rem;
	opacity: 0.9;
	line-height: 1.2;
}

.store-btn-text strong
{
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.2;
}

.btn-cta
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--primary-light);
	color: var(--primary-dark);
	padding: 16px 36px;
	border-radius: var(--radius);
	font-size: 1.15rem;
	font-weight: 700;
	transition: all 0.2s;
	box-shadow: 0 4px 20px rgba(0,0,0,0.2);
	border: none;
	cursor: pointer;
}

.btn-cta:hover
{
	box-shadow: 0 8px 30px rgba(0,0,0,0.3);
	scale: 1.02;
}

.btn-cta svg
{
	transition: transform 0.2s;
}

.btn-cta:hover svg
{
	transform: translateX(4px);
}

.about-project-button-div
{
	display: flex;
	justify-content: center;
}

/* ---- Sections ---- */

.section
{
	padding: 5rem 0;
}

.section-alt
{
	background: linear-gradient(180deg, var(--bg) 0%, var(--accent) 100%);
}

.section-title
{
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	text-align: center;
	margin-bottom: 0.75rem;
}

.section-line
{
	height: 4px;
	width: 96px;
	background: var(--primary);
	margin: 0 auto 2.5rem;
	border-radius: 2px;
}

/* ---- Cards ---- */

.card
{
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	transition: all 0.3s;
}

.card:hover
{
	box-shadow: 0 12px 40px rgba(0,0,0,0.1);
	transform: translateY(-4px);
}

/* ---- Project ---- */

.project-text
{
	max-width: 800px;
	margin: 0 auto 3rem;
}

.project-text p
{
	font-size: 1.15rem;
	line-height: 1.8;
	margin-bottom: 1.25rem;
	text-align: justify;
	color: var(--muted);
}

.project-grid
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
	max-width: 1100px;
	margin: 0 auto 7rem;
}

.project-card
{
	padding: 2rem;
}

.project-card-icon
{
	color: var(--primary);
	margin-bottom: 1rem;
	font-size: 40px
}

.project-card h3
{
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.project-card p
{
	color: var(--muted);
	font-size: 1rem;
}

/* Accordion */

.acc-list
{
	max-width: 800px;
	margin: 0 auto;
}

.acc
{
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 10px;
	background: var(--card);
}

.acc summary
{
	padding: 1.15rem 1.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background 0.2s;
}

.acc summary:hover
{
	background: var(--muted-bg);
}

.acc summary::after
{
	content: "+";
	font-size: 1.5rem;
	color: var(--primary);
	font-weight: 700;
}

.acc[open] summary::after
{
	content: "\2212";
}

.acc summary::-webkit-details-marker
{
	display: none;
}

.acc-body
{
	padding: 0 1.5rem 1.5rem;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.7;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.acc-body-refs
{
	font-size: 0.9rem;
}

.acc-body p
{
	margin-bottom: 1rem;
	text-align: justify;
}

.acc-body a
{
	color: var(--primary);
	font-weight: 600;
}

.partners{
	width: 50%;

}

/* ---- Gallery ---- */

.gx
{
	position:relative;
	overflow:hidden;
	background:radial-gradient(60% 50% at 85% 10%,rgba(122,181,29,.10),transparent 70%),radial-gradient(50% 40% at 0% 90%,rgba(122,181,29,.08),transparent 70%)
}

.gx-lead
{
	text-align:center;
	color:#6b7280;
	max-width:520px;
	margin:-.5rem auto 3.5rem;
	font-size:1.05rem
}

.gx-head
{
	max-width:1100px;
	margin:0 auto 1.5rem
}

.gx-head h3
{
	font-size:1.6rem;
	font-weight:700;
	color:#1f2a1a;
	margin:.4rem 0 0;
	letter-spacing:-.01em
}

.gx-tag
{
	display:inline-block;
	font-size:.72rem;
	font-weight:700;
	letter-spacing:.14em;
	text-transform:uppercase;
	color:#5a8f12;
	background:rgba(122,181,29,.12);
	padding:.35rem .8rem;
	border-radius:999px
}

.gx-head-row
{
	display:flex;
	flex-wrap:nowrap;
	align-items:flex-end;
	justify-content:space-between;
	gap:1rem;
	margin-top:5rem
}

.gx-webgrid
{
	max-width:1100px;
	margin:0 auto;
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:2rem
}

.gx-web
{
	margin:0;
	border-radius:16px;
	overflow:hidden;
	background:#fff;
	border:1px solid rgba(0,0,0,.06);
	transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s
}

.gx-web:hover
{
	transform:translateY(-8px);
	box-shadow:0 40px 70px -25px rgba(40,70,10,.45),0 10px 24px -10px rgba(0,0,0,.15)
}

.gx-web-bar
{
	display:flex;
	align-items:center;
	gap:6px;
	padding:11px 14px;
	background:#f5f7f2;
	border-bottom:1px solid rgba(0,0,0,.05)
}

.gx-web-bar i
{
	width:10px;
	height:10px;
	border-radius:50%;
	background:#d5dccb
}

.gx-web-bar span
{
	margin-left:12px;
	flex:1;
	font-size:.72rem;
	color:#8a9381;
	background:#fff;
	border-radius:6px;
	padding:4px 10px;
	max-width:220px
}

.gx-web img
{
	display:block;
	padding: 10px;
	width:100%;
	object-position:top;
}

.gx-nav
{
	display:flex;
	gap:.6rem;
	flex-shrink:0
}

.gx-nav button
{
	width:46px;
	height:46px;
	border-radius:50%;
	border:1px solid rgba(122,181,29,.35);
	background:#fff;
	color:#5a8f12;
	display:grid;
	place-items:center;
	cursor:pointer;
	transition:all .25s
}

.gx-nav button:hover
{
	background:#7ab51d;
	color:#fff;
	border-color:#7ab51d
}

.gx-nav svg
{
	width:20px;
	height:20px
}

.gx-track
{
	max-width:1100px;
	margin:0 auto;
	display:flex;
	gap:24px;
	overflow-x:auto;
	scroll-snap-type:x mandatory;
	padding:10px 4px 30px;
	scrollbar-width:none
}

.gx-track::-webkit-scrollbar
{
	display:none
}

.gx-app
{
	margin:0;
	flex:0 0 calc((100% - 72px)/4);
	scroll-snap-align:start;
	border-radius:22px;
	overflow:hidden;
	background:#f4f6f1;
	border:1px solid rgba(0,0,0,.06);
	transition:transform .4s cubic-bezier(.2,.8,.2,1)
}

.gx-app:hover
{
	transform:translateY(-8px) scale(1.02)
}

.gx-app img
{
	display:block;
	width:100%;
	aspect-ratio:9/19;
	object-fit:cover;
	object-position:top
}

.gx-dots
{
	display:flex;
	justify-content:center;
	gap:8px
}

.gx-dots button
{
	width:8px;
	height:8px;
	border-radius:999px;
	border:0;
	background:#d5dccb;
	cursor:pointer;
	transition:all .3s;
	padding:0
}

.gx-dots button.on
{
	width:28px;
	background:#7ab51d
}

@media(max-width:900px)
{
	.gx-app
	{
		flex-basis:calc((100% - 48px)/3)
	}

}

@media(max-width:700px)
{
	.gx-webgrid
	{
		grid-template-columns:1fr
	}

	.gx-head h3
	{
		font-size:1.3rem
	}

	.gx-head-row
	{
		margin-top:3.5rem
	}

	.gx-nav button
	{
		width:40px;
		height:40px
	}

	.gx-track
	{
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap:16px;
		padding-bottom:20px
	}

	.gx-app
	{
		max-width: 70%
	}

}

@media(max-width:400px)
{
	.gx-app
	{
		flex-basis:145px
	}

}

/* ---- Team Carousel ---- */

.carousel-wrapper
{
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
}

.carousel-viewport
{
	overflow: hidden;
}

.carousel-track
{
	display: flex;
	transition: transform 0.5s ease;
}

.carousel-slide
{
	flex: 0 0 33.333%;
	padding: 0 12px;}

@media (max-width: 1012px)
{
	.carousel-slide
	{
		min-width: 50%;
	}

	.hero-mockup
	{
		display: none;
	}

}

@media (max-width: 600px)
{
	.carousel-slide
	{
		min-width: 100%;
	}

}

.team-card
{
	padding: 2rem;
	text-align: center;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.team-avatar
{
	width: 80px;
	height: 80px;
;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.team-avatar img
{
	border-radius: 50%
}

.team-card h3
{
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.team-card .role
{
	color: var(--muted);
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}

.team-card .institution
{
	color: var(--primary);
	font-weight: 600;
	font-size: 0.9rem;
	margin-top: auto;
}

.carousel-btn
{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--card);
	border: 1px solid var(--border);
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	z-index: 2;
}

.carousel-btn:hover
{
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	background: var(--muted-bg);
}

.carousel-btn:disabled
{
	opacity: 0.4;
	cursor: default;
}

.carousel-btn svg
{
	width: 20px;
	height: 20px;
	color: var(--fg);
}

.carousel-prev
{
	left: -30px;
}

.carousel-next
{
	right: -30px;
}

@media (max-width: 768px)
{
	.carousel-prev
	{
		left: 4px;
	}

	.carousel-next
	{
		right: 4px;
	}

}

/* ---- Contact ---- */

.contact-cards
{
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.contact-card
{
	padding: 2.5rem;
}

.contact-inner
{
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.contact-inner svg
{
	width: 40px;
	height: 40px;
	color: var(--primary);
	flex-shrink: 0;
	margin-top: 4px;
}

.contact-card h3
{
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.contact-card h3.contact-title-lg
{
	font-size: 1.5rem;
}

.contact-card p.contact-lead
{
	margin-bottom: 0.75rem;
}

.contact-card p
{
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.contact-card a.email
{
	color: var(--primary);
	font-size: 1.15rem;
	font-weight: 600;
}

.contact-card a.email:hover
{
	text-decoration: underline;
}

.fa-regular
{
	color: var(--primary);
	font-size: 40px;
}

/* ---- Footer ---- */

.footer
{
	background: var(--card);
	border-top: 1px solid var(--border);
	padding: 1.5rem 0;
}

.footer-inner
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.footer-inner p
{
	color: var(--muted);
	font-size: 0.9rem;
}

.footer-links
{
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	font-size: 0.875rem;
}

.footer-links a
{
	color: var(--muted);
	transition: color 0.2s;
}

.footer-links a:hover
{
	color: var(--fg);
}

/* ---- Reduced motion ---- */

@media (prefers-reduced-motion: reduce)
{
	html
	{
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after
	{
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	:where(.js) .anim
	{
		opacity: 1;
		transform: none;
	}
}
