/* Contact Form Custom Select Styling */
.contact-form .custom-select-box {
  position: relative;
  display: block;
  width: 100%;
  height: 60px;
  line-height: 28px;
  padding: 15px 50px 15px 30px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background-color: #07070f;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  transition: all 500ms ease;
  border-radius: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 20px;
}

.contact-form .custom-select-box:focus {
  border-color: #ffc107;
  background-color: transparent;
  outline: none;
}

.contact-form .custom-select-box:hover {
  border-color: rgba(255, 193, 7, 0.3);
}

.contact-form .custom-select-box option {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 10px;
}

.contact-form .custom-select-box option:hover {
  background-color: #2a2a2a;
}

/* Placeholder style for default option */
.contact-form .custom-select-box option[value=""] {
  color: rgba(255, 255, 255, 0.5);
}

/* Style when option is selected */
.contact-form .custom-select-box:valid {
  color: #ffffff;
}

/* Style when empty (showing placeholder) */
.contact-form .custom-select-box:invalid {
  color: rgba(255, 255, 255, 0.5);
}

/* Error state - only show when validation fails after submit */
.contact-form .custom-select-box.error {
  border-color: #ff4444 !important;
  background-color: rgba(255, 68, 68, 0.05);
}

/* Also apply error style to regular inputs for consistency */
.contact-form input.error,
.contact-form textarea.error {
  border-color: #ff4444 !important;
  background-color: rgba(255, 68, 68, 0.05);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .contact-form .custom-select-box {
    height: 55px;
    padding: 12px 45px 12px 25px;
    font-size: 15px;
    background-position: right 15px center;
    background-size: 18px;
  }
}
