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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f0f2f5; /* Lighter background */
  color: #333;
}

/* Header & Navigation */
header {
  background-color: #1a1a2e; /* Darker navy tone */
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}
nav {
  display: flex;
  gap: 1em;
  justify-content: center;
}
nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 0.5em 1em;
  border-radius: 4px;
  transition: background 0.3s;
  background-color: #16213e; /* Dark navy */
}
nav a:hover {
  background-color: #0f3460; /* Slightly lighter navy */
}
.nav-links {
  display: flex;
  gap: 1em;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 0.5em 1em;
  border-radius: 4px;
  transition: background 0.3s;
  background-color: #16213e; /* Dark navy */
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.4s;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      position: absolute;
      top: 60px;
      left: 0;
      background-color: #1a1a2e;
  }
  .nav-links a {
      padding: 1rem;
      text-align: center;
      width: 100%;
  }
  .nav-links.active {
      display: flex;
  }
  .hamburger {
      display: flex;
  }
}

/* Container */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #1a1a2e, #16213e); /* Darker gradient */
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
  border-radius: 4px;
  margin-top: 1rem;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0.5rem auto 1.5rem;
}
.hero .hero-btn {
  background-color: #e94560; /* Modern red color */
  color: #2c3e50;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}
.hero .hero-btn:hover {
  background-color: #d72345; /* Slightly darker red */
}

/* "How It Works" Section */
.how-it-works {
  background-color: #fff;
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  text-align: center;
}
.how-it-works h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}
.how-it-works p {
  font-size: 1rem;
  color: #555;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}
.step {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 250px;
  background-color: #f0f2f5; /* Lighter background */
  padding: 1rem;
  border-radius: 4px;
  border: 1px solid #ddd;
  text-align: center;
}
.step h3 {
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.95rem;
  color: #555;
}

/* "Why Choose Us" Section */
.why-choose {
  background-color: #f0f2f5; /* Lighter background */
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.why-choose h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}
.why-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.why-item {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
}
.why-item h3 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
}
.why-item p {
  font-size: 0.95rem;
  color: #555;
}

/* Notarize Section */
.notarize-section {
  background-color: #fff;
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.notarize-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.notarize-section p {
  margin-bottom: 1rem;
}
.notarize-section form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Sign-up Section */
.signup-section {
  background-color: #fff;
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.signup-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.signup-section form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Form Inputs & Buttons */
label {
  margin-bottom: 0.25rem;
}
input[type="text"],
input[type="email"],
input[type="file"],
textarea {
  padding: 0.5rem;
  border: 1px solid #bbb; /* Slightly darker border */
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}
textarea {
  resize: vertical;
  height: 5rem;
}
button {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  background-color: #1a1a2e; /* Darker navy */
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s;
}
button:hover {
  background-color: #0f3460; /* Slightly lighter navy */
}

/* Footer */
footer {
  background-color: #f1f1f1;
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  border-top: 1px solid #ddd;
}
footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}
footer a {
  margin: 0 0.5rem;
  font-size: 0.9rem;
  color: #007bff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Upload Page */
.upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f0f2f5;
}

.upload-container h2 {
  margin-bottom: 1rem;
}

.upload-container form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 300px;
  max-width: 90%;
}

.upload-container input[type="email"] {
  padding: 0.5rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

.upload-container button {
  padding: 0.75rem;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  background-color: #1a1a2e;
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s;
}

.upload-container button:hover {
  background-color: #0f3460;
}

.upload-container .nav-links {
  margin-top: 1rem;
  text-align: center;
}

.upload-container .nav-links a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: blue;
}

.error-message {
  color: red;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.upload-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.upload-content .form-section,
.upload-content .preview-section {
  flex: 1;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .upload-content {
    flex-direction: column;
  }
}

/* App Container */
.AppContainer {
  font-family: Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Upload Section */
.upload-section {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.upload-header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.upload-header p {
  font-size: 1rem;
  color: #555;
}

.upload-steps {
  margin: 2rem 0;
  text-align: left;
}

.upload-steps h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.upload-steps ol {
  list-style: decimal inside;
  padding-left: 1rem;
}

.upload-steps li {
  margin-bottom: 0.5rem;
}

.upload-box {
  background: #fff;
  padding: 1.5rem;
  border: 1px dashed #007bff;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
}

.upload-box h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.upload-box p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.upload-box form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.upload-box input[type="file"] {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.upload-box button {
  padding: 0.75rem;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.upload-box button:hover {
  background-color: #0056b3;
}