/* Contact Section Background */
.contact-bg {
  background-color: #0055ac;
}

/* Contact Section - Oval Icon Styling */
.contact-icon-oval {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 4rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-icon-oval svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

/* Form inputs and textarea white background */
.contact-form-container input:not([type="hidden"]):not([type="checkbox"]),
.contact-form-container textarea {
  background-color: #fff;
}

/* Override browser autofill yellow */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  -webkit-text-fill-color: #333333 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Project type dropdown */
#project-type {
  background-color: #fff;
  color: #333;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  border-width: 1px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%239ca3af" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M6 8.828a1 1 0 0 1-.707-.293l-4-4a1 1 0 1 1 1.414-1.414L6 6.11l3.293-3.292a1 1 0 0 1 1.497 1.32l-.083.094l-4 4A1 1 0 0 1 6 8.828"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25em 1.25em;
  height: 52px; /* 48px, matches py-3 on input */
}
#project-type:focus {
  outline: none;
  border-color: #0059b3;
}
#project-type option[disabled][selected] {
  color: #9ca3af;
}

/* Button styles */
.btn-primary {
  background-color: var(--primary-color);
  -webkit-transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}
.btn-primary:hover {
  background-color: var(--primary-darker);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

/* Google Places Autocomplete Dropdown Styles */
.pac-container {
  z-index: 9999 !important;
  border-radius: 6px;
}
.pac-item {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  line-height: 1.5 !important;
  cursor: pointer;
  font-size: 1.1rem !important;
}
.pac-item-query {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
}
.pac-item .pac-matched,
.pac-item span {
  font-size: 1.1rem !important;
}

/* Service Glass Style */
.contact {
  background: linear-gradient(
    135deg,
    rgba(250, 250, 250, 0.95) 0%,
    rgba(217, 232, 255, 0.95) 100%
  );
}

/* Enlarge the select dropdown for mobile */
@media (max-width: 767px) {
  #project-type {
    font-size: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}
