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

/* Base styles */
body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  background-color: #fefefe;
  color: #111;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  font-size: 1rem;
}

main {
  max-width: 1300px;
  margin: 40px auto;
  padding: 120px 40px 40px; /* increased side padding */
}

h1, h2, h3 {
  font-family: 'Georgia', serif;
  margin-bottom: 20px;
}

p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
  color: inherit;
}

/* Form styles */
form {
  max-width: 600px;
  margin-top: 20px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 15px;
  font-family: inherit;
  background-color: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button[type="submit"] {
  background-color: #000;
  color: white;
  padding: 12px 24px;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #444;
}

form input[name="first_name"],
form input[name="last_name"] {
  width: calc(50% - 10px);
  display: inline-block;
  margin-right: 10px;
}

form input[name="last_name"] {
  margin-right: 0;
}

img {
  margin: 6px;
  float: right;
  vertical-align: middle;
  object-fit: contain; 
  margin-top: 40px; 
  align-self: center;     /* has effect in flex/grid, safe to leave */
}