@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap");

:root {
  --text-color: #1a1c20;
  --background-color: #eeeff1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden; /* Add this line to prevent horizontal scrolling */
}

header {
  background-color: var(--text-color); /* Changed to match footer color */
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Add this line for a subtle shadow */
}

.header-shadow {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow when scrolling */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px; /* Increase max-width */
  margin: 0 auto;
  padding: 0 2rem; /* Increase padding */
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: white; /* Changed to white for better contrast */
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #ccc; /* Changed to light gray for better contrast */
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: white; /* Added hover effect */
}

.sign-in,
.cta,
.demo {
  background-color: white;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0.75rem 1.5rem; /* Increased padding */
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 1.1rem; /* Increased font size */
  display: inline-block;
  margin-top: 0rem; /* Increased top margin */
}

.sign-in:hover,
.cta:hover,
.demo:hover {
  background-color: #f0f0f0;
  transform: scale(1.05); /* Added slight scale effect on hover */
}

main {
  width: 100%;
  max-width: 100%; /* Change this to 100% */
  margin: 0;
  padding: 0;
  margin-top: 60px; /* Add this line to account for the fixed header */
}

section {
  margin-bottom: 0; /* Remove bottom margin */
  padding: 4rem 0; /* Remove horizontal padding */
  width: 100%;
}

h1,
h2 {
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta,
.demo {
  margin-top: 1rem;
}

footer {
  background-color: var(--text-color);
  color: white;
  padding: 4rem 0 0 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  width: 100%;
}

.footer-newsletter,
.footer-links,
.footer-contact {
  flex: 1;
  margin-right: 2rem;
}

.footer-newsletter h3 {
  margin-bottom: 0.5rem;
}

.footer-newsletter p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #ccc;
}

.newsletter-form {
  display: flex;
  max-width: 400px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  background-color: #444;
  color: white;
  transition: background-color 0.3s ease;
}

.newsletter-form input::placeholder {
  color: #999;
}

.newsletter-form input:focus {
  outline: none;
  background-color: #555;
}

.newsletter-form button {
  background-color: white;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 0 5px 5px 0;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.newsletter-form button:hover {
  background-color: #f0f0f0;
}

.footer-links ul,
.footer-contact ul {
  list-style-type: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding: 1rem 0;
  font-size: 0.9rem;
  width: 100%;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.copyright {
  color: #ccc;
}

.legal-links {
  display: flex;
  gap: 1rem;
}

.legal-links a {
  color: #ccc;
  text-decoration: none;
}

.legal-links a:hover {
  color: white;
}

/* Add these new styles */
#welcome,
#about,
#features,
#software {
  padding-left: 0; /* Align content with the left edge */
}

#features ul {
  padding-left: 1.5rem; /* Add some padding for the feature list */
}

/* Alternating colors for sections */
section:nth-child(odd) {
  background-color: #f8f8f8; /* Light gray */
}

section:nth-child(even) {
  background-color: var(--background-color); /* White */
}

/* Constrain content width within sections */
#welcome > *,
#about > *,
#features > *,
#software > * {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
  text-align: center; /* Add this line to center the text */
}

/* Center the feature list items */
#features ul {
  padding-left: 0; /* Remove left padding */
  list-style-position: inside; /* Place bullets inside */
}

/* Center buttons */
.cta,
.demo {
  display: inline-block; /* Change to inline-block for proper centering */
  margin-top: 1rem;
}

/* Add these new styles for the section images */
.section-image {
  max-width: 100%;
  height: auto;
  margin-top: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Update the section content styles for alternating layout */
#welcome > *,
#about > *,
#features > *,
#software > * {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Adjust spacing for better layout */
section {
  padding: 6rem 0; /* Increase vertical padding */
}

/* Create alternating layout */
section:nth-child(even) .section-content {
  flex-direction: row-reverse;
}

/* Style the content and image containers */
.section-text,
.section-image-container {
  flex: 1;
  max-width: 45%;
}

.section-text {
  text-align: center;
}

.section-text h2 {
  font-size: 2.5rem;
}

.section-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Center the feature list items */
#features ul {
  list-style-position: inside;
  margin-bottom: 2rem;
}

/* Adjust button alignment */
.cta,
.demo {
  display: inline-block;
  margin-top: 1rem;
}
