: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: 0.95rem;
	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;
}

.text-input, .big-text-input, .submit-button {
	display: block;
	width: 100%;
	margin: 1rem auto;
	padding: 1.0rem;
	font-size: 1rem;
	border-radius: 1.5rem;
	border-width: var(--form-border-width);
	border-style: solid;
	border-color: var(--blue-main);
	background-color: rgb(30, 34, 42);
	color: #EEE;
	transition: all .15s ease;
	font-weight: 600;
	font-family: "Montserrat", sans-serif;
}

/* 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: 5vh auto;
}

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

.honey {
	display: none;
}

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

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

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

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

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