/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, Helvetica, Arial, sans-serif;
}

/* BODY – warm, classic, modern */
body {
  background: #faf9f7; /* Very soft warm white (classic paper feel) */
  color: #2d2d2d; /* Deep charcoal – elegant and readable */
  line-height: 1.7;
  padding: 20px;
}

/* NAVBAR – clean white card */
nav {
  background: white;
  padding: 18px;
  margin-bottom: 28px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

nav a {
  margin: 0 18px;
  text-decoration: none;
  color: #2d2d2d;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #1a56db; /* Rich navy hover – modern & classy */
}

/* PAGE CONTAINER – subtle warmth */
.container {
  max-width: 900px;
  margin: auto;
  background: #fffdfb; /* Barely warm white – feels premium */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.09);
}

/* HEADINGS – sophisticated navy */
h1 {
  color: #1e40af; /* Deep classic blue */
  font-size: 2.2rem;
  font-weight: 700;
}

.dark-theme h1 {
  color: white;
}

h2 {
  margin: 28px 0 12px;
  color: #1e40af;
  font-weight: 600;
}

.dark-theme h2 {
  color: white;
}

/* FORM ELEMENTS */
form label {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  color: #2d2d2d;
}

input,
textarea,
button {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* BUTTON – modern rich blue */
button {
  background: #1e40af; /* Elegant deep blue */
  color: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  transition: background 0.25s ease;
}

button:hover {
  background: #1e2f8a; /* Slightly darker on hover */
}

/* RESPONSIVE */
@media (max-width: 600px) {
  nav a {
    display: block;
    margin: 12px 0;
    font-size: 1.1rem;
  }

  .container {
    padding: 25px 20px;
  }
}

/* DARK THEME */
.dark-theme {
  background-color: #1e1e1e;
  color: white;
}

.dark-theme nav {
  background: #333;
}

.dark-theme .container {
  background: #444;
  color: white;
}

.dark-theme a {
  color: #fff;
}

.dark-theme label {
  color: #fff;
}

.main-div {
  margin-bottom: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
