/* Design tokens */
:root {
	--font-family-base: "Poppins", sans-serif;
	--color-background: #ede8e2;
	--color-heading-primary: #4a5c4e;
	--color-heading-secondary: #2c2825;
	--color-text-primary: #333c36;
	--color-border: #d1cec9;
	--color-nav-item: #6b7c6b;
	--color-card-stripe: #3c493f;
	--color-card-flower: #597060;
	--color-text-inverse: #ffffff;
	--nav-surface: rgba(248, 246, 244, 0.8);
	--shadow-soft: 0 2px 15px rgba(0, 0, 0, 0.1);
	--underline-color: var(--color-heading-primary);
}

* {
	margin: 0;
	padding: 0;
	font-family: var(--font-family-base);
	box-sizing: border-box;
}

h1 {
	font-weight: 600;
	font-size: 3rem;
	line-height: 120%;
	letter-spacing: -0.01em;
	color: var(--color-heading-primary);
	margin: 0;

	@media (max-width: 800px) {
		font-size: 1.5rem;
	}
}

h2 {
	font-weight: 600;
	font-size: 30px;
	line-height: 120%;
	letter-spacing: -0.02em;
	color: var(--color-heading-secondary);
}

h3 {
	font-weight: 600;
	font-size: 22px;
	line-height: 120%;
	letter-spacing: -0.01em;
	color: var(--color-heading-secondary);
}

p {
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 150%;
	letter-spacing: -0.01em;
	color: var(--color-text-primary);
	margin: 0;
	padding: 0;

	@media (max-width: 800px) {
		font-size: 1rem;
	}
}

p.bold {
	font-weight: 600;
	font-size: 1rem;
	line-height: 150%;
	letter-spacing: -0.01em;
}

body {
	background-color: var(--color-background);
	margin: 0;
	padding: 0;
}

/*nav bar styles */
.navbar {
	background-color: transparent;
	width: 100%;
	z-index: 1000;
	top: 0;
	right: 0;
	left: 0;
	position: absolute;
}

.nav-desktop-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;

	@media (max-width: 480px) {
		display: none;
	}
}

.nav-mobile-container {
	display: flex;
	justify-content: space-between;
	padding: 16px;
	background-color: var(--color-background);
	box-shadow: 0px 4px 4px 0px #00000014;

	a {
		text-decoration: none;
		color: var(--color-text-primary);
	}

	@media (min-width: 480px) {
		display: none;
	}
}

.dropdown-content {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: var(--color-background);
	z-index: 1000;
	/* margin: 0 1rem; */
}

.dropdown-content.show {
	display: block;
}

.dropdown-content a {
	color: var(--color-text-primary);
	padding: 1.5rem 1.5rem;
	text-decoration: none;
	display: block;
	font-size: 1.1rem;
}

.dropdown-content a:first-child {
	border-top: 1px solid var(--color-border);
	border-width: 80%;
}

.dropdown-content a:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

/* Desktop Navigation */
.nav-menu {
	display: flex;
	align-items: center;
	justify-items: space-around;
	background-color: var(--nav-surface);
	border-radius: 25px;
	box-shadow: var(--shadow-soft);
	list-style: none;
	padding: 0.5rem 1rem;
	margin: 1rem;
}

.nav-item {
	padding: 0.5rem 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	border-radius: 20px;
	color: var(--color-nav-item);
	font-weight: 500;
}

.nav-item a,
div.section-contact a {
	text-decoration: none;
	color: inherit;
	position: relative;
	display: inline-block;
}

.nav-item a::after,
div.section-contact a::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background-color: var(--underline-color);
	transition: width 0.3s ease;
}

.nav-item a:hover::after,
div.section-contact a:hover::after {
	width: 100%;
}

div.section-intro {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	top: 0;
	right: 0;
	left: 0;
	z-index: 2;
	position: relative;
	margin-bottom: 11rem;
	gap: 30px;

	@media (max-width: 480px) {
		flex-direction: column-reverse;
		align-items: center;
		justify-content: center;
		position: static;
		z-index: 0;
		margin-top: 9rem;
		margin-bottom: 128px;
	}

	.text-container {
		display: flex;
		flex-direction: column;
		flex: 1;
		padding-left: 2rem;
		gap: 19px;

		@media (max-width: 480px) {
			align-items: center;
			justify-content: center;
			align-content: center;
			width: 100%;
			padding: 100px 20px 0 20px;
			text-align: center;

			h1 {
				font-size: 1.75rem;
			}

			p {
				font-size: 1.2rem;
			}
		}
	}
}

img.intro-image {
	width: 50%;
	height: 50%;
}

.intro-image-mobile {
	display: none;
}

@media (max-width: 480px) {
	img.intro-image {
		display: none;
	}

	img.intro-image-mobile {
		display: block;
		width: 60%;
	}
}

div.section-info,
div.section-about {
	border-width: 1px 0;
	border-style: solid;
	border-color: var(--color-border);
	padding: 3.75rem 2rem;
}

div.section-info {
	display: flex;
	justify-content: space-around;
	width: 100%;
	gap: 30px;

	h1 {
		flex: 1;
	}

	div {
		flex: 1;
	}

	@media (max-width: 480px) {
		flex-direction: column;

		h1 {
			margin-bottom: 1rem;
		}

		p {
			margin-bottom: 1rem;
		}
	}
}

div.section-cards {
	display: flex;
	justify-content: space-around;
	width: 100%;
	gap: 24px;
	padding: 11rem 2rem;

	@media (max-width: 650px) {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 5rem 2rem;
	}
}

div.card-stripe,
div.card-flower {
	border-radius: 32px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1;
	min-height: 428px;
	background-repeat: no-repeat;
	background-size: cover;

	@media (max-width: 480px) {
		gap: 60px;
		min-height: 428px;
	}
}

div.card-stripe {
	background-color: var(--color-card-stripe);
	background-image: url("assets/backgrounds/card_stripe_background.svg");
}

div.card-flower {
	background-color: var(--color-card-flower);
	background-image: url("assets/backgrounds/card_flower_background.svg");
}

h1.card-heading {
	font-weight: 600;
	line-height: 120%;
	letter-spacing: -0.01em;
	color: var(--color-text-inverse);
	margin-bottom: 1em;
}

p.cardtext {
	font-weight: 500;
	line-height: 150%;
	letter-spacing: -0.01em;
	color: var(--color-text-inverse);
}

div.section-partner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 30px;
	width: 100%;
	text-align: center;
	margin-bottom: 11rem;
	margin-top: 11rem;

	p {
		max-width: 650px;
	}

	@media (max-width: 480px) {
		padding: 5.5rem 1.25rem;
		margin-bottom: 0;
		margin-top: 0;
	}
}

img.partner-image {
	height: 285px;

	@media (max-width: 480px) {
		width: 50%;
		height: auto;
	}
}

div.section-about {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;

	@media (max-width: 480px) {
		gap: 2rem;
		padding-bottom: 3.5rem;
	}
}

div.family {
	display: flex;
	margin-bottom: 4rem;
	gap: 2rem;

	h1 {
		flex: 1;
	}

	p {
		flex: 1;
	}

	@media (max-width: 480px) {
		flex-direction: column;
		justify-content: center;
	}
}

img.headshot-image {
	/* height: 70%; */
	width: 45%;
	object-fit: cover;

	@media (max-width: 900px) {
		width: 180px;
		height: 200px;
	}

	@media (max-width: 480px) {
		width: 100%;
		height: auto;
	}
}

div.about {
	display: flex;
	gap: 2rem;

	h1 {
		flex: 1;
	}

	p {
		flex: 1;
	}
}

.investors-grid {
	display: grid;
	gap: 2rem;
	margin-top: 2rem;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(1, 1fr);

	@media (max-width: 900px) {
		gap: 1rem;
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}
}

div.photo-bio {
	display: flex;
	flex-direction: row;
	height: 100%;
	padding: 0.5rem;

	@media (max-width: 480px) {
		flex-direction: column;
	}
}

div.bio {
	display: flex;
	flex-direction: column;
	margin-left: 24px;
	flex: 1;

	p {
		font-size: 1rem;
	}

	@media (max-width: 480px) {
		margin-left: 0;
		margin-top: 1rem;
	}
}

div.section-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 7.5rem 2rem;
	width: 100%;

	h1 {
		margin-bottom: 25px;
	}
}

div.contact-links {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 2rem;
	width: 100%;

	@media (max-width: 480px) {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 2rem;
	}
}

div.contact {
	display: flex;
	justify-content: space-between;
	gap: 1rem;

	a {
		font-weight: 600;
		font-size: 1rem;
		line-height: 150%;
		letter-spacing: -0.01em;
		text-decoration: none;
		color: var(--color-text-primary);
	}

	@media (max-width: 480px) {
		flex-direction: column;
		justify-content: center;
	}
}

img.contact-logo {
	width: 10%;
	height: 10%;

	@media (max-width: 480px) {
		width: 40%;
	}
}

div.social {
	@media (max-width: 480px) {
		display: flex;
	}
}

div.footer {
	border-top: 1px solid var(--color-border);
	display: flex;
	padding: 2rem;
	justify-content: space-between;
	width: 100%;

	p {
		font-size: 0.8rem;
	}
}

div.copyright {
	display: flex;
	gap: 12px;
}

p.rights {
	@media (max-width: 480px) {
		display: none;
	}
}
