:root {
	--font-main: "Monsterrat", sans-serif;
	--vertical-padding: 10vh;
	--horizontal-padding: 10vw;
	--blue-main: rgb(0, 119, 255);
	--blue-main-rgba: rgba(0, 119, 255, 0.8);
	--glow-radius: 0.8rem;
	--glow-spread: 0.1rem;
	--form-border-width: 0.15rem;
}

* {
	margin: 0;
	box-sizing: border-box;
}

/* *, */
/* *::after, */
/* *::before { */
/* box-sizing: border-box; */
/* } */

html, body {
	overflow-x: clip;
	background: #111;
	color: #fff;
	font-family: "Montserrat", sans-serif;
}

.hero {
	position: relative;
	width: 100vw;
	height: 60vh;
}

.centered-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	text-align: center;
}

#background-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
	pointer-events: none; /* no accidental interaction */
}

/* Prevents text from being selected when draggin inside divs */
.prevent-select {
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}

#main-logo {
	position: relative;
	z-index: 10;
	width: 30%;
}

.scroll-arrows {
	width: 60px;
	height: 72px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 5vh;
}


/* h2 { */
/* align-items: center; */
/* text-align: center; */
/* width: 80%; */
/* margin: 1rem auto; */
/* font-weight: 500; */
/* line-height: 1.2; */
/* } */

h3 {
	font-weight: 600;
	font-size: 1.8rem;
	line-height: 1.2;
	margin-bottom: 0.5rem;
	background: linear-gradient(to right, #30c3ff 0%, #0077ff 70%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 0.8rem rgba(0, 150, 255, 0.9);
}

p {
	font-weight: 400;
	line-height: 1.4;
}


.why-us {
	background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
	color: #f5f5f5;
	font-family: system-ui, sans-serif;
	text-align: center;
	padding: 6rem 1.5rem;
}

/* .why-us h2 { */
/* font-size: 1.75rem; */
/* margin-bottom: 2rem; */
/* color: #ffffff; */
/* letter-spacing: 0.5px; */
/* } */

.why-icon {
	margin: 2vh auto;
	width: 40%;
	height: auto;
	overflow: visible;
}

.why-us .why-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	min-width: 10rem;
	max-width: 50rem;
	margin: 3vh auto;
}

.why-us .why-box {
	background-color: #1e1e1e;
	border: 1px solid #2a2a2a;
	border-radius: 12px;
	padding: 1.5rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-us .why-box:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.why-us .why-box p {
	font-size: 1.05rem;
	color: #cccccc;
	line-height: 1.5;
	margin: 0;
}

/* SCROLL-LINKED ANIMATION (CSS only) */
@keyframes slideInX {
	0% {
		transform: translateX(40%);
		opacity: 0;
	}
	100% {
		transform: translateX(0%);
		opacity: 1;
	}
}

@supports (animation-timeline: view()) {
	.why-us-section .why-box {
		animation-name: slideInX;
		animation-duration: 1s;
		animation-timing-function: ease-out;
		animation-fill-mode: both;
		animation-timeline: view();
		animation-range: entry 0% cover 50%;
	}
}


#previews {
	/* background-image: url("../images/CopCarTunnelStock.jpg"); */
	background-image: url("../images/AbstractBackground1-Thinner-Extra.webp");
	display: block;
}

.template-derivative {
	padding: var(--vertical-padding) var(--horizontal-padding);
}

.base-template {
	padding-top: var(--vertical-padding);
	padding-bottom: var(--vertical-padding);
}

.about-logo {
	width: 80vw;
	margin-bottom: 0;
}

.bg-fill {
	background-size: cover;
	background-position: center;
}

#submit {
	background-image: url("../images/AbstractBackground3-Thinner.webp");
}

.form {
	min-width: 38rem;
	max-width: 70rem;
}

.form-items {
	display: block;
	width: 90%;
	margin: 1rem auto;
	padding: 1.0rem;
	font-size: 1rem;
	background-color: rgb(30, 34, 42);
	color: #EEE;
	transition: all .15s ease;
	font-weight: 600;
	font-family: "Montserrat", sans-serif;
	border-radius: 1.5rem;
}

.text-input, .big-text-input, .submit-button {
	border-width: var(--form-border-width);
	border-style: solid;
	border-color: var(--blue-main);
}

/* Reset the native focus outline */
input:focus,
textarea:focus,
select:focus {
	outline: none;
}

.text-input:focus,
.big-text-input:focus,
select:focus {
	box-shadow: 0 0 var(--glow-radius) var(--glow-spread) var(--blue-main-rgba),
	inset 0 0 var(--glow-radius) var(--blue-main-rgba);
	transition: all .15s ease;
}

.big-text-input {
	height: 8rem;
	resize: vertical;
}

.audio-input {
	margin: 0.5rem auto;
}

.submit-button {
	background-color: var(--blue-main);
	color: white;
	border: none;
	cursor: pointer;
	margin: 3vh auto;
}

.submit-button:hover {
	background-color: white;
	color: var(--blue-main);
	border-width: var(--border-radius);
}

/* =========================
   FILE UPLOAD DROPZONE
========================= */

.audio-input {
	padding: 1.2rem;
}

.optional-text {
	opacity: 0.65;
	font-weight: 500;
	font-size: 0.9rem;
}

.upload-zone {
	position: relative;
	margin-top: 0.85rem;
	border: 2px dashed rgba(255,255,255,0.16);
	border-radius: 1.5rem;
	background:
		linear-gradient(
			180deg,
			rgba(255,255,255,0.03),
			rgba(255,255,255,0.01)
		);
	transition:
		border-color .2s ease,
		background .2s ease,
		transform .15s ease,
		box-shadow .2s ease;
	overflow: hidden;
	cursor: pointer;
}

.upload-zone:hover {
	border-color: var(--blue-main);
	background:
		linear-gradient(
			180deg,
			rgba(255,255,255,0.05),
			rgba(255,255,255,0.02)
		);

	box-shadow:
		0 0 var(--glow-radius)
		var(--glow-spread)
		var(--blue-main-rgba);
}

.upload-zone.dragover {
	border-color: var(--blue-main);
	transform: scale(1.01);

	box-shadow:
		0 0 18px rgba(0,140,255,0.35),
		inset 0 0 12px rgba(0,140,255,0.18);
}

.file-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

.upload-zone-content {
	position: relative;
	z-index: 1;
	padding: 2rem 1.25rem;
	text-align: center;
	pointer-events: none;
}

.upload-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 1rem;
	color: var(--blue-main);
	opacity: 0.95;
}

.upload-main-text {
	font-size: 1.05rem;
	font-weight: 700;
	color: #FFF;
	margin-bottom: 0.4rem;
}

.upload-sub-text {
	font-size: 0.92rem;
	opacity: 0.65;
	font-weight: 500;
}

.selected-file {
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: rgba(255,255,255,0.06);
	font-size: 0.9rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	word-break: break-word;
	max-width: 100%;
}

#upload-progress-wrapper {
	margin-top: 1rem;
}

#upload-progress {
	width: 100%;
	height: 0.7rem;
	border: none;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(255,255,255,0.08);
}

#upload-progress::-webkit-progress-bar {
	background: rgba(255,255,255,0.08);
	border-radius: 999px;
}

#upload-progress::-webkit-progress-value {
	background: var(--blue-main);
	border-radius: 999px;
}

#upload-progress::-moz-progress-bar {
	background: var(--blue-main);
	border-radius: 999px;
}

#upload-progress-text {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	opacity: 0.8;
	text-align: right;
}

.success-icon {
	width: 1.8rem;
	color: #FFF;
}

.success-message {
	margin-top: 1.5rem;
	font-size: 1.5rem;
}

.success-message-text {
	display: block;
}

.hidden {
	display: none !important;
}

.honey {
	display: none;
}

.last-section {
	margin-bottom: 10vh;
}

/* =========================
   MOBILE
========================= */

@media (min-width: 700px) {
	.why-us .why-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	#main-logo {
		width: 100%;
	}

	.why-us {
		padding: 2.4rem 1.5rem;
	}

	.why-icon {
		width: 30%;
		margin-top: 0;
		margin-bottom: 2vh;
	}

	.why-us .why-grid {
		max-width: 70vw;
		gap: 2rem;
	}

	.why-us .why-box p {
		font-size: 0.95rem;
	}

	.why-heading {
		font-size: 18pt;
	}


	.form {
		width: 100%;
		max-width: 100%;
		min-width: 100%;
	}

	/* .form { */
		/* min-width: unset; */
		/* width: 100%; */
	/* } */

	.form-items {
		padding: 1rem;
		border-radius: 1.25rem;
	}

	.upload-zone-content {
		padding: 1.5rem 1rem;
	}

	.upload-main-text {
		font-size: 1rem;
	}

	.upload-sub-text {
		font-size: 0.85rem;
	}
}
