/* Form — modern dark card style */
.c-form{display:flex;flex-direction:column;gap:12px;}
.c-field{
  display:flex;flex-direction:column;
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:12px;
  padding:16px 20px;
  position:relative;
  transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.c-field:focus-within {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.02);
}

.c-label {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 8px;
}

.c-input, .c-textarea {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  caret-color: #fff;
  resize: none;
  cursor: none;
  width: 100%;
  padding: 4px 0;
}

/* Custom Dropdown Styling */
select.c-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='rgba(255,255,255,0.3)'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px;
  padding-right: 24px;
  cursor: pointer;
  color: #fff;
}

select.c-input option {
  background: #111;
  color: #fff;
  padding: 20px;
}

select.c-input:invalid {
  color: rgba(255, 255, 255, 0.2);
}

.c-field:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

#other_project_field {
  margin-top: 8px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#other_project_field.visible {
  opacity: 1;
  max-height: 100px;
  margin-top: 0;
}

@keyframes fieldFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.c-submit {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  background: #fff;
  padding: 22px;
  border: none;
  border-radius: 12px;
  cursor: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 700;
}

.c-submit:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.15);
}

.c-submit:active {
  transform: translateY(-2px);
}

.c-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.2);
}
