* {
	margin: 0;
	padding: 0;
	font-family: 'Ubuntu', sans-serif;
	font-size: 100%;
}

body, html {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	font-family: 'Ubuntu', sans-serif;
	font-size: 100%;
	overflow: hidden;
}

.logo {
	max-width: 200px;
	height: auto;
}

#vanta-bg {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #333;
}

.vanta-content {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
}

.vanta-content p {
	color: #1b1c1d;
	font-family: 'DM Sans', sans-serif;
	font-weight: 600;
}

.vanta-footer {
	position: fixed;
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	bottom: 0;
	text-align: center;
	padding: 0;
}

.vanta-footer p {
	font-family: 'Mulish', Sans-Serif;
	font-size: 1rem;
	font-weight: 400;
	color: rgb(54, 54, 54);
	letter-spacing: 0.12px;
	margin-bottom: 0.5rem;
}

.vanta-footer p a {
	color: rgb(20, 20, 20);
	text-decoration: underline;
}

.nav{
	width: 100%;
	height: 80px;
	position: absolute;
	top: 0; left: 0;
	z-index: 100;
}

.navbar {
	display: flex;
	gap: 15px;
}

.nav-content {
	width: 100%;
	max-width: 1100px;
	height: 100%;
	margin:auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: end;
	-webkit-justify-content: flex-end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

@media screen and (max-width: 768px) {
	.nav-content {
		justify-content: center;
		padding: 0 0px;
	}

	.navbar {
		gap: 2x;
		flex-wrap: wrap;
		justify-content: center;
	}

	.button-wrap button span {
		font-size: 0.9em;
		padding-inline: 1em;
		padding-block: 0.7em;
	}
}

@media screen and (max-width: 480px){
	.nav-content{
		-webkit-justify-content: space-around;
		-ms-flex-pack: distribute;
		justify-content: space-around;
	}

	.navbar a {
		font-size: 1.4rem;
		padding: 4px 6px;
		margin-left: 0;
	}

	.vanta-footer p {
		font-size: 12px;
		margin-bottom: 0.3rem;
	}
}

@media screen and (max-width: 320px){
	.nav-content{
		-webkit-justify-content: space-around;
		-ms-flex-pack: distribute;
		justify-content: space-around;
	}

	.navbar a{
		font-size: 1.3rem;
		padding: 4px 6px;
		margin-left: 0;
	}

	.vanta-footer p {
		font-size: 12px;
		margin-bottom: 0.2rem;
	}
}

/* Modal Overlay */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4); /* Slightly lighter overlay */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Modal Content */
.modal-content {
	background: linear-gradient(
		135deg, /* Adjusted angle for a different light reflection */
		rgba(255, 255, 255, 0.15), /* Lighter background */
		rgba(255, 255, 255, 0.35), /* More transparent */
		rgba(255, 255, 255, 0.15)
	);
	border-radius: 15px;
	padding: 30px;
	max-width: 600px;
	width: 90%;
	position: relative;
	box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.15), /* Softer, slightly larger shadow */
				inset 0 0.125em 0.125em rgba(255, 255, 255, 0.6), /* Lighter inner top shadow */
				inset 0 -0.125em 0.125em rgba(100, 100, 100, 0.2); /* Softer inner bottom shadow */
	backdrop-filter: blur(12px); /* Slightly stronger blur for clarity */
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.4); /* Lighter, more defined border */
	transform: translateY(-20px) scale(0.95); /* Slightly scaled down for entry animation */
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;

	/* Max height and overflow for internal scrolling on smaller screens */
	max-height: 85vh; /* Limit modal height to prevent it from going off screen */
	overflow-y: auto; /* Enable vertical scrolling if content exceeds max-height */
	overscroll-behavior: contain; /* Prevents body from scrolling when modal scrolls */
}

.modal-overlay.active .modal-content {
	transform: translateY(0) scale(1); /* Return to normal scale */
	opacity: 1;
}

.modal-title {
	font-family: 'Poppins', sans-serif;
	font-size: 1.8em;
	color: #2c2c2c; /* Slightly darker for better contrast */
	margin-bottom: 20px;
	text-align: center;
	font-weight: 700; /* Make the title bolder */
}

.modal-content p {
	font-family: 'Mulish', sans-serif;
	font-size: 1.05em; /* Slightly adjusted text size */
	line-height: 1.7; /* Increased line height for readability */
	color: #444; /* Lighter text color */
	margin-bottom: 18px; /* Slightly more space between paragraphs */
}

.modal-content p:last-child {
	margin-bottom: 0;
}

/* Close Button */
.close-button {
	all: unset;
	cursor: pointer;
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 2.2em; /* Slightly larger for easier tapping */
	color: #444; /* Darker for better visibility */
	background: none;
	border: none;
	line-height: 1;
	padding: 5px; /* Add padding for a larger hit area */
	transition: color 0.2s ease, transform 0.2s ease;
	display: flex; /* Use flex to center the X if padding makes it off-center */
	align-items: center;
	justify-content: center;
	border-radius: 50%; /* Make it circular */
	/* Add a subtle glass effect to the close button itself */
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.close-button:hover {
	color: #000;
	transform: scale(1.1);
	background: rgba(255, 255, 255, 0.3); /* Lighter on hover */
}

/* Prevent scrolling when modal is active */
body.modal-open {
	overflow: hidden;
}

/* Media Queries for Mobile Responsiveness */
@media screen and (max-width: 768px) {
	.modal-content {
		padding: 25px; /* Reduced padding for smaller screens */
		width: 95%; /* Take up more width */
		max-height: 90vh; /* Allow more vertical space for content */
		border-radius: 12px; /* Slightly smaller border-radius */
	}
	.modal-title {
		font-size: 1.6em; /* Adjust title size */
		margin-bottom: 15px;
	}
	.modal-content p {
		font-size: 0.95em; /* Adjust paragraph text size for readability */
		line-height: 1.6;
		margin-bottom: 12px;
	}
	.close-button {
		font-size: 2em; /* Adjust close button size */
		top: 10px;
		right: 15px;
	}
}

@media screen and (max-width: 480px) {
	.modal-content {
		padding: 20px 15px; /* More horizontal padding adjustment */
		width: 98%; /* Maximize width on very small screens */
		border-radius: 10px;
	}
	.modal-title {
		font-size: 1.4em;
		margin-bottom: 10px;
	}
	.modal-content p {
		font-size: 0.9em;
		line-height: 1.5;
		margin-bottom: 10px;
	}
	.close-button {
		font-size: 1.8em;
		top: 8px;
		right: 12px;
	}
}