:root {
  --blue: #1A73E8;
  --black: #0D0D0D;
  --gray: #2E2E2E;
  --white: #FFFFFF;
}

body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  background: #0D0D0D;
  color: var(--white);
}

header, footer {
  background: #0D0D0D;
  border-bottom: 1px solid #2E2E2E;
  padding: 16px 64px;
}

/* ---------------- NAVIGATION FIX ---------------- */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between; /* keeps name left, links grouped right */
}

nav span {
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 40px; /* pushes links away from the name */
}

.nav-links {
  display: flex;
  gap: 24px; /* spacing between links */
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

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

/* ---------------- MAIN CONTENT ---------------- */

.main-container {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 48px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.hero-text h1 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 2.4rem;
}

.hero-text p {
  font-size: 1.1rem;
  color: #cccccc;
}

.hero-cta button {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

.hero-cta button:hover {
  background: #1559b0;
}

.section {
  margin-top: 40px;
}

.section h2 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #111111;
  border: 1px solid #2E2E2E;
  border-radius: 6px;
  padding: 16px;
}

.card h3 {
  margin-top: 0;
}

form {
  display: grid;
  gap: 12px;
  max-width: 500px;
}

input, select, textarea {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #444;
  background: #111;
  color: var(--white);
}

button[type="submit"] {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 4px;
}

button[type="submit"]:hover {
  background: #1559b0;
}

.footer-text {
  font-size: 0.85rem;
  color: #aaaaaa;
}
