.get-in-touch-main {
  min-height: 100vh;
  background: #1a1a1a;
}

.contact-hero {
  position: relative;
  overflow: hidden;
}

/* Content Section */
.contact-content {
  color: #ffffff;
}

/* Benefits List */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #DC2626;
  flex-shrink: 0;
  margin-top: 8px;
}

/* Form Wrapper */
.contact-form-wrapper {
  background: #ffffff;
  width: 100%;
  padding: 40px 32px;
  border-radius: 8px;
  max-height: 85vh;
  overflow-y: auto;
}

/* Custom Scrollbar for Form */
.contact-form-wrapper::-webkit-scrollbar {
  width: 6px;
}

.contact-form-wrapper::-webkit-scrollbar-track {
  background: rgba(26, 26, 26, 0.05);
  border-radius: 3px;
}

.contact-form-wrapper::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.3);
  border-radius: 3px;
}

.contact-form-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 38, 38, 0.5);
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #1a1a1a;
  opacity: 1;
}

/* Form Row - for First Name & Last Name */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  position: relative;
}

/* Error message styling */
.form-error {
  display: none;
  color: #DC2626;
  font-size: 14px;
  margin-top: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-error.show {
  display: block;
  opacity: 1;
}

.form-group.has-error .form-input {
  border-bottom-color: #DC2626;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  color: #1a1a1a;
  opacity: 1;
  padding: 12px 0;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: #DC2626;
  border-bottom-width: 2px;
}

/* Invalid state for inputs */
.form-input:invalid:not(:placeholder-shown),
.form-input.is-invalid {
  border-bottom-color: #DC2626;
}

.form-input:valid:not(:placeholder-shown) {
  border-bottom-color: #16a34a;
}

/* Input placeholder - biến mất khi focus */
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(26, 26, 26, 0.5);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
  opacity: 0;
}

/* Custom Searchable Select for Country */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-search {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  padding-bottom: 12px;
  transition: border-color 0.3s ease;
}

.custom-select-search:focus-within {
  border-bottom-color: #DC2626;
  border-bottom-width: 2px;
  padding-bottom: 11px;
}

.search-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.custom-select-input {
  width: 100%;
  border: none;
  background: transparent;
  color: #1a1a1a;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  padding-right: 8px;
}

.custom-select-input::placeholder {
  color: rgba(26, 26, 26, 0.5);
  opacity: 1;
}

.custom-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.custom-select-dropdown.show {
  display: block;
}

.custom-select-option {
  padding: 12px 16px;
  cursor: pointer;
  color: #1a1a1a;
  font-size: 15px;
  transition: background-color 0.2s ease;
}

.custom-select-option:hover {
  background-color: #f5f5f5;
}

.custom-select-option.selected {
  background-color: #fee2e2;
  color: #DC2626;
  font-weight: 500;
}

.custom-select-option.hidden {
  display: none;
}

/* Scrollbar for dropdown */
.custom-select-dropdown::-webkit-scrollbar {
  width: 6px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.3);
  border-radius: 3px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 38, 38, 0.5);
}

/* Select Dropdown Styling (for other selects) */
.form-select, .custom-select-input {
  appearance: none;
  cursor: pointer;
  padding-right: 24px;
  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='%23DC2626' 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 center;
  background-size: 20px;
  color: #1a1a1a;
  opacity: 1;
}

/* When no value selected (placeholder state) */
.form-select.is-placeholder {
  color: rgba(26, 26, 26, 0.5);
  opacity: 1;
}

/* Focus state - ẩn placeholder option khi đang focus */
.form-select:focus.is-placeholder {
  color: #1a1a1a;
}

.form-select option {
  background: #ffffff;
  color: #1a1a1a;
  opacity: 1;
}

.form-select option:first-child {
  color: rgba(26, 26, 26, 0.5);
}

.form-select option:not(:first-child) {
  color: #1a1a1a;
}

/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Submit Button */
.form-submit {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.submit-btn {
  min-width: 200px;
}

/* Form Message */
.form-message {
  text-align: center;
  margin-top: 16px;
  padding: 12px;
  border-radius: 4px;
}

.form-message.text-blue-600 {
  color: #2563eb;
}

.form-message.text-green-600 {
  color: #16a34a;
}

/* Decorative Footer Pattern */
.decorative-footer-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-image: 
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.3;
}

.decorative-footer-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, #1a1a1a, transparent);
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .contact-content {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 0;
  }

  .benefits-list {
    margin-bottom: 40px;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
    max-height: none;
  }

  /* Stack form-row vertically on mobile */
  .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 14px;
  }

  .submit-btn {
    width: 100%;
    min-width: auto;
  }
}
