/* Ensure full height layout and sticky footer */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

main {
  flex: 1; /* This ensures that the content takes up the remaining space */
}

/* Existing styles... */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #220901;
  padding: 10px 20px;
  color: #fff;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.nav-title {
  font-size: 18px;
  font-weight: bold;
}

.nav-right a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
}

.nav-right a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-section {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #5A2A1F;
  text-align: center;
  margin-bottom: 20px;
}

p {
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"], input[type="email"], textarea {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  font-size: 16px;
}

button {
  padding: 10px;
  background-color: #621707;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
}

button:hover {
  background-color: #70362a;
}

.privacy-note {
  font-size: 12px;
  text-align: center;
  margin-top: 10px;
}

footer {
  text-align: center;
  font-size: 14px;
  color: white;
  background-color: #941B0C;
  padding: 10px;
  position: relative;
  bottom: 0;
  width: 100%;
}

@media (max-width: 768px) {
  .nav-right {
    display: none;
  }
}

@media (max-width: 1024px) {

  .nav-right {
    display: none;
  }
}

/* Message Container Styles */
.form-message {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  display: none;
  font-size: 1rem;
}

/* Success Message */
.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Error Message */
.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
