/* Global Styles & Google Font */
body, h1, h2, p, label, input, textarea, button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Apply Hero Section */
.apply-hero {
  height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apply-overlay {
  background-color: rgba(78, 46, 28, 0.7); /* Dark Brown overlay */
  padding: 2.5rem 4rem;
  border-radius: 8px;
  text-align: center;
  color: #FFD700; /* Gold text */
}

.apply-overlay h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.apply-overlay p {
  font-size: 1.5rem;
}

/* Application Form Section */
.apply-form-section {
  padding: 4rem 2rem;
  background: #FFF; /* White background for clarity */
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.apply-form-section h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #4E2E1C;
  margin-bottom: 2rem;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.apply-form label {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #4E2E1C;
}

.apply-form input,
.apply-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.apply-form button.btn-submit {
  padding: 0.9rem;
  background: #FFD700; /* Gold button */
  color: #4E2E1C;      /* Dark Brown text */
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 1rem;
}

.apply-form button.btn-submit:hover {
  background: #FFC107;
  transform: scale(1.02);
}

/* Success & Error Messages */
.success-message, .error-message {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  text-align: center;
  font-weight: 700;
}

.success-message {
  background: #d4edda;
  color: #155724;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
}
