/* Homepage background and custom styles from previous inline CSS */
body {
  background: linear-gradient(rgba(10,26,47,0.7), rgba(10,26,47,0.7)), url('../img/imghomepage.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
}
.navbar {
  background: #1a237e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-radius: 0 0 16px 16px;
}
.navbar img {
  height: 48px;
  margin-right: 1rem;
}
.navbar-title {
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}
.navbar nav {
  display: flex;
  gap: 2rem;
  font-size: 1.1rem;
}
.navbar nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.navbar nav a:hover {
  color: #90caf9;
}
.login-btn {
  background: #3949ab;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 2rem;
  transition: background 0.2s;
}
.login-btn:hover {
  background: #1976d2;
}
.main-content {
  background: rgba(255,255,255,0.96);
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(10,26,47,0.08);
}
.invest-btn {
  background: #3949ab;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 2rem;
  font-size: 1.1rem;
  cursor: pointer;
  margin: 1.5rem 0 2rem 0;
  transition: background 0.2s;
  display: inline-block;
}
.invest-btn:hover {
  background: #1976d2;
}
@media (max-width: 700px) {
  .main-content { padding: 1rem; }
  .navbar { flex-direction: column; align-items: flex-start; }
  .navbar nav { gap: 1rem; }
  .navbar-title { font-size: 1.3rem; }
}
/* Modern, clean investment site styles */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f4f6fa;
  color: #222;
  margin: 0;
  padding: 0;
}
header {
  background: #1a237e;
  color: #fff;
  padding: 2rem 0 1rem 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
nav {
  margin: 1rem 0;
}
nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 1.5rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover {
  color: #ffb300;
}
main {
  max-width: 900px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem;
}
footer {
  text-align: center;
  color: #888;
  padding: 1.5rem 0;
  background: #e3e6f0;
  margin-top: 2rem;
  font-size: 0.95rem;
}
.button {
  background: #3949ab;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.button:hover {
  background: #283593;
}
/* Modal Styles */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
}
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  min-width: 300px;
  max-width: 90vw;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
  position: relative;
}
.close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
}
input, textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
@media (max-width: 700px) {
  main {
    max-width: 98vw;
    padding: 0.5rem;
  }
  header, footer {
    padding: 1rem 0.5rem;
  }
  .modal-content {
    padding: 1rem;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  nav { flex-direction: column; gap: 0.5rem; }
  .button { width: 100%; }
}
