/* Rael-Letson Colors and Base Styles */
:root {
	--white:#ffffff;
	--light-grey:#cbd4da;
	--dark-grey: #464747;
	--blue-grey:#5e7387;
	--grey:#84848c;
	--sky-blue:#679dc4;
	--light-blue:#75c8ea;
	--blue:#56addd;
	--rl-blue:#006FE8;
  	--hover-blue: #0077f6;
	--dark-blue:#002B6E;
	--font-family: "IBM Plex Sans";
	--font-size: 16px;
	--border-radius: 16px;
	--border: 0.25px solid #D0D1D1;
	--box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
	font-family: var(--font-family);
	font-size: var(--font-size);
	animation: softScaleUp 0.5s ease-out;
}

/* Group Styling */
.hero-section h1,
.features-section h2,
.demo-section h2,
.contact-form-section h2 {
	margin: 0 0 20px;
	font-size: 2.5rem;
	color: #262626;
}

.features-section h3,
.demo-section h3,
.contact-form-section h3 {
	margin-bottom: 40px;
	color: #262626;
}

.hero-section,
.features-section, 
.demo-section, 
.contact-form-section {
	padding: 50px 80px;
	text-align: center;
}

/* Navigation Bar */
.nav-bar {
	background-color: var(--white);
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	padding: 20px 0px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	box-sizing: border-box;
	height: 90px;
}

.logo {
	width: 160px;
	padding-top: 5px;
	margin-left: 30px;
}

.nav-links ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
}

.nav-links ul a {
	color: var(--dark-grey);
	text-decoration: none;
	margin: 0 35px;
	transition: color 0.3s ease;
}

.nav-links ul a:hover {
	color: var(--hover-blue);
}

.nav-login-button {
	margin-right: 30px;
	background-color: var(--rl-blue);
	color: var(--white);
	padding: 0.7rem 2rem;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.nav-login-button:hover {
	background-color:var(--hover-blue);
}

/* Hero Section */
.hero-section {
	position: relative;
	display: flex;
	text-align: left;
	justify-content: space-between;
	align-items: center;
	margin-top: 75px;
}
.hero-content h1 {
	font-weight: bolder;
}

.hero-content p {
	margin-bottom:45px;
}

.hero-content, .hero-image {
	max-width: 50%;
}

.overview-img {
	width: 625px;
}

.hero-buttons {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	align-items: flex-start;
}

.hero-login-button,
.hero-request-demo-button {
	width: 180px;
	padding: 15px;
	border-radius: 5px;
	text-decoration: none;
	text-align: center;
	color: var(--white);
	font-weight: bold;
	transition: background-color 0.3s ease;
	display: block;
}

.hero-request-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero-dev-label {
	margin-top: 8px;
	font-size: 0.75rem;
	padding: 3px 6px;
	width: fit-content;
	color: #374151;
	background: rgba(156, 163, 175, 0.15);
	border: 1px solid rgba(156, 163, 175, 0.35);
	border-radius: 999px;
}

.hero-login-button {
	background-color:var(--rl-blue);
}

.hero-login-button:hover {
	background-color:var(--hover-blue);
}

.hero-request-demo-button {
	color: var(--rl-blue);
	border: 1px solid var(--rl-blue);
	background-color: var(--white);
}

.hero-request-demo-button:hover {
	background-color:#E5F0F5;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 45px;
  transform: translateX(-50%);
  pointer-events: none;
}

.scroll-arrow-wrapper {
  animation: bounceArrow 1.5s infinite;
  display: flex;
  justify-content: center;
}

.scroll-arrow {
  width: 25px;
  height: 25px;
  border-right: 5px solid var(--rl-blue);
  border-bottom: 5px solid var(--rl-blue);
  transform: rotate(45deg);
}

@keyframes bounceArrow {
  0% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
}

/* Features Section */
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem 4rem;
}

.feature-item {
	text-align: center;
	padding: 1rem;
}

.feature-item i {
	font-size: 4rem;
	color: var(--rl-blue);
	background: #f0faff;
	padding: 1.5rem;
	border-radius: 50%;
	margin-bottom: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.feature-item .step-label {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rl-blue);
	background: #f0faff;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}

.feature-item h4 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #262626;
	margin: 0 0 0.75rem;
	line-height: 1.3;
}

.feature-item p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #464747;
	margin: 0;
}

/* Banner Section */
.banner-section {
	background-color: #001639;
	padding: 40px 0 40px;
	white-space: nowrap;
	overflow: hidden;
	position: relative;
}

.banner-section p {
	text-align: center;
	color: white;
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Demo Section */
.demo-section {
	background-color: #F5F6F6;
	padding-bottom: 50px;
}
.demo-video {
	box-shadow: var(--box-shadow);
	border: 2px solid var(--light-grey);
	border-radius: 14px;
}

/* Contact Form */
.contact-form-section form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
	border: 2px solid var(--light-grey);
    margin: 0 auto;
    width: 80%;
    max-width: 80vw;
	display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form-section input,
.contact-form-section select,
.contact-form-section textarea {
	outline-color: var(--rl-blue);
	font-family: var(--font-family);
    border-radius: 5px;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid var(--light-grey);
}

.contact-form-section .select-container {
	position: relative;
	display: flex;
	justify-content: center;
}

.contact-form-section select {
	-webkit-appearance: none; /* Remove default arrow on iOS */
    -moz-appearance: none; /* Remove default arrow on Firefox */
    appearance: none; /* Remove default arrow */
	width: 100%;
}

.contact-form-section .select-icon {
	width: 50px;
	height: 100%;
	position: absolute;
	right: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 0 5px 5px 0;
	pointer-events: none;
	font-size: 30px;
	color: grey;
}

.contact-form-section textarea {
    height: 150px;
    resize: vertical;
}

.contact-form-section button {
    background-color: var(--rl-blue);
    color: var(--white);
	font-size: 1.0rem;
    border: none;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
	font-family: var(--font-family);
	margin-top: 10px;
}

#contact-form button:hover {
    background-color: var(--hover-blue);
}

#messagePopup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    width: auto;
    text-align: center;
    z-index: 1000;
}

#messagePopup p {
	font-size: 1.2rem;
    margin-bottom: 50px;
}

#messagePopup button {
    padding: 15px 100px;
    font-size: 16px;
    color: white;
    background-color: var(--rl-blue);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
}

#messagePopup button:hover {
    background-color: var(--hover-blue);
}

/* Footer */
footer {
	background-color: var(--white);
	color: var(--dark-grey);
	text-align: center;
	padding: 0 15px 15px;
	margin-top: auto;
  }
  
footer p {
	font-size: 0.8rem;
	margin: 0;
}
  
.footer-logo {
	width: 120px;
	margin-bottom: 6px;
}
  
.legal-disclaimer {
	font-size: 10px;
	font-style: italic;
	color: #4f4f4f;
	text-align: center;
}

/* Animation */
@keyframes softScaleUp {
	from {
		transform: scale(0.98);
		opacity: 0;
   }
	to {
		transform: scale(1);
		opacity: 1;
   }
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes slide-reverse {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Media Queries */
@media (max-width: 1024px) {
	body {
		text-align: center;
	}
	.hero-section h1,
	.features-section h2,
	.demo-section h2,
	.contact-form-section h2 {
		font-size: 1.8rem;
	}

	.features-section h3,
	.demo-section h3,
	.contact-form-section h3,
	.hero-content p {
		margin-bottom: 30px;
	}
	.hero-section{
		margin-top: 100px;
	}
	.hero-section,
	.features-section,
	.demo-section,
	.contact-form-section {
		padding: 30px 60px;
	}

	.logo {
		width: 135px;
		margin-left: 25px;
    }

	.nav-login-button {
		margin-right: 25px;
    }

	.nav-links ul a {
		margin: 0 15px;
		font-size: 1rem;
	}

    .hero-section {
		flex-direction: column;
	}
	
	.hero-content {
		max-width: 100%;
		text-align: center;
    }

    .hero-image {
		margin-top: 50px;
		max-width: 100%;
    }

    .hero-buttons {
		justify-content: center;
    }

	.features-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
    }

	.banner-section {
		padding: 20px;
	}

	.banner-section p {
		font-size: 0.8rem;
	}

	.demo-video {
		height: 350px;
    }

    .contact-form-section form {
		min-width: 90vw;
		margin: 0 auto;
	}

	#messagePopup {
		padding: 20px;
	}

	#messagePopup p {
		margin-bottom: 20px;
	}

	footer {
		margin-top: 20px;
	}
}

@media (max-width: 480px) {
	.hero-section,
	.features-section,
	.demo-section,
	.contact-form-section {
		padding: 20px;
	}

	.nav-links ul {
		display: none;
	}

	.hero-login-button,
	.hero-request-demo-button {
		width: 150px;
		padding: 10px;
	}

	.overview-img {
		width: 350px;
		max-width: 90vw;
	}

	.banner-section::after,
	.banner-section::before {
		width: 50px;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.demo-video {
		height: 180px;
	}

	.contact-form-section form {
		padding: 15px;
		min-width: 90vw;
	}

	.contact-form-section select {
        background-color: var(--white);
        color: var(--dark-grey);
        border: 1px solid var(--light-grey);
        width: 100%;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

	.footer-logo {
		width: 100px;
	}
}