body {
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding: 20px;
}

.form-container {
    background-color: #fff;
    padding: 30px;
    max-width: 600px;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h1 {
    color: #b8860b; /* Gold-ish color like the image */
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 8px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    font-size: 1rem;
}

textarea {
    resize: vertical; /* Allow vertical resizing */
}

select {
     /* Appearance for cross-browser consistency */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
     /* Add custom arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: .65em auto;
    padding-right: 30px; /* Make space for arrow */
}

/* Style for the required asterisk */
.required-star {
    color: #b8860b; /* Match heading color */
    margin-left: 2px;
}

/* Style for error messages */
.error-message {
    color: #d9534f; /* Red color for errors */
    font-size: 0.9em;
    display: block; /* Ensure it takes its own line */
    margin-top: 5px;
    min-height: 1em; /* Prevent layout shifts */
}

/* Style for fields with errors */
input.error-field,
select.error-field,
textarea.error-field {
    border-color: #d9534f;
    background-color: #f2dede;
}
.g-recaptcha.error-field > div{ /* Target inner div for border */
     border: 1px solid #d9534f !important;
     border-radius: 4px;
}

/* Honeypot hiding */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* General form messages area */
#form-messages {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
    font-weight: bold;
    display: none; /* Hide initially */
}
#form-messages.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
    display: block;
}
#form-messages.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
    display: block;
}


.submit-button {
    background-color: #6d4c41; /* Dark brown like the image */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
    width: auto; /* Or width: 100%; */
    margin: 20px auto 0 auto; /* Center button */
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #5d4037; /* Slightly darker brown on hover */
}