.legal-section {
  /* Add extra top padding so content clears the fixed 80px navbar */
  padding: 120px 0 60px;
  background-color: #f8f9fa;
  min-height: calc(
    100vh - 80px - 300px
  ); /* Viewport height minus navbar and footer */
}

.legal-section h1 {
  color: #1a237e;
  margin-bottom: 30px;
  text-align: center;
}

.legal-content {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.last-updated {
  color: #666;
  font-style: italic;
  margin-bottom: 30px;
  text-align: right;
}

.legal-content section {
  margin-bottom: 30px;
}

.legal-content h2 {
  color: #1a237e;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.legal-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.legal-content ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #333;
}

.legal-content a {
  color: #1a237e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-content a:hover {
  color: #3f51b5;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 20px;
    margin: 0 15px;
  }

  .legal-section {
    padding: 100px 0 40px; /* Maintain clearance under fixed navbar on mobile */
  }
}
