/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: white;
}

/* Header */
header {
  background: #0066cc;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Headings */
h1 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: #0066cc;
}

h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #0066cc;
}

h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.8rem;
  color: #0066cc;
}

/* Sections */
section {
  margin-bottom: 2.5rem;
}

section > h2 {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0066cc;
}

/* Lists */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Links */
a {
  color: #0066cc;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

a:hover {
  border-bottom-color: #0066cc;
}

/* Buttons */
.button {
  display: inline-block;
  background: #0066cc;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  text-decoration: none;
}

.button:hover {
  background: #0052a3;
  border-bottom: none;
}

button {
  background: #0066cc;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #0052a3;
}

/* Form Styles */
form {
  background: #f5f5f5;
  padding: 2rem;
  border-radius: 4px;
  margin-top: 1.5rem;
}

form h3 {
  margin-top: 0;
  color: #0066cc;
}

.form-section {
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-row.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.form-row.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

label .required {
  color: #d9534f;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="file"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

input[type="file"] {
  padding: 0.5rem;
}

.form-hint {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

/* Work History Blocks */
.work-history-item {
  background: white;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.work-history-item h4 {
  color: #0066cc;
  margin: 0 0 1rem;
}

/* Honeypot field - hidden */
input[name="_gotcha"] {
  display: none;
}

/* Required field indicator */
.required {
  color: #d9534f;
}

/* Home page - Role cards */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.role-card {
  background: #f5f5f5;
  padding: 2rem;
  border-radius: 4px;
  border-left: 4px solid #0066cc;
  transition: transform 0.2s, box-shadow 0.2s;
}

.role-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.role-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.role-card p {
  margin-bottom: 1.5rem;
  color: #666;
}

.role-card .button {
  display: block;
  text-align: center;
}

/* Thank you page */
.thank-you-container {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  margin: -2rem -1rem 2rem;
  border-radius: 4px;
}

.thank-you-container h1 {
  color: white;
  margin: 0 0 1rem;
  font-size: 2.5rem;
}

.thank-you-container p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  main {
    padding: 1rem 0.75rem;
  }

  form {
    padding: 1.5rem;
  }

  .form-row.cols-2,
  .form-row.cols-3 {
    grid-template-columns: 1fr;
  }

  .role-grid {
    grid-template-columns: 1fr;
  }

  .thank-you-container h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 1.25rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  main {
    padding: 1rem 0.5rem;
  }

  form {
    padding: 1rem;
  }
}
