.contact-page-wrapper {
  min-height: 70vh;
  padding: 0 6rem;
  background: #1a0029;
}

.contact-page-wrapper h2 {
  margin-bottom: 20px;
}

.contact-form-wrapper h2 i.teal,
.contact-form-wrapper h2 .teal {
  color: #14ffe4;
}

.contact-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-content-card {
  background: linear-gradient(135deg, #2d1f3d 0%, #1a0029 100%);
  border: 1px solid rgba(20, 255, 228, 0.3);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 0 20px rgba(20, 255, 228, 0.3);
  margin-bottom: 2rem;
}

.contact-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-left-col {
  flex: 1 1 45%;
  min-width: 300px;
  position: -webkit-sticky;
  position: sticky;
  top: 145px;
  align-self: flex-start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.contact-right-col {
  flex: 1 1 45%;
  min-width: 300px;
}

.contact-heading {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 0 14px rgba(20, 255, 228, 0.7);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-subheading {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.contact-description {
  font-size: 1rem;
  color: #cfcfcf;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.contact-info-section {
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.contact-info-icon {
  color: #14ffe4;
  font-size: 1.3rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  color: #cfcfcf;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.contact-info-text {
  color: #14ffe4;
  font-size: 1.1rem;
  text-decoration: underline;
  transition: color 0.3s ease;
  display: block;
}

.contact-info-text:hover {
  color: #0ed6bf;
}

.contact-social-section {
  margin-top: 2rem;
}

.contact-social-icon-wrapper {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 255, 228, 0.1);
  border: 1px solid #14ffe4;
  color: #14ffe4;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-social-link:hover {
  background: #14ffe4;
  color: #000;
  box-shadow: 0 0 15px rgba(20, 255, 228, 0.7);
  transform: translateY(-2px);
}

.contact-form-wrapper {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #14ffe4 !important;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 0 !important;
  box-shadow: 0 0 20px rgba(20, 255, 228, 0.3) !important;
}

.contact-form-text {
  font-size: 0.95rem;
  color: #cfcfcf;
  line-height: 1.6;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(20, 255, 228, 0.2);
}

.contact-helpline-link {
  color: #14ffe4;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.contact-helpline-link:hover {
  color: #0ed6bf;
}

/* Custom Form Styles */
.contact-form {
  width: 100%;
}

.contact-form-field {
  margin-bottom: 0.8rem;
}

.contact-form-label {
  display: block;
  color: #cfcfcf;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-form-label .required {
  color: #14ffe4;
}

.contact-form-input,
.contact-form-textarea,
.contact-form-select {
  width: 100%;
  background: none !important;
  color: #fff !important;
  border: 1px solid rgba(20, 255, 228, 0.35) !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease !important;
  box-sizing: border-box;
}

.contact-form-input:focus,
.contact-form-textarea:focus,
.contact-form-select:focus {
  border-color: #14ffe4 !important;
  box-shadow: 0 0 0 3px rgba(20, 255, 228, 0.15) !important;
  outline: none !important;
  background: none !important;
}

/* Autocomplete styling - transparent background with white text */
.contact-form-input:-webkit-autofill,
.contact-form-input:-webkit-autofill:hover,
.contact-form-input:-webkit-autofill:focus,
.contact-form-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px transparent inset !important;
  box-shadow: 0 0 0 30px transparent inset !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  background-color: transparent !important;
  background: transparent !important;
  border: 1px solid rgba(20, 255, 228, 0.35) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.contact-form-input:-webkit-autofill:focus {
  border-color: #14ffe4 !important;
  box-shadow: 0 0 0 3px rgba(20, 255, 228, 0.15) !important;
}

/* Autocomplete dropdown styling */
input:-webkit-autofill::first-line {
  color: #fff !important;
  font-size: 1rem !important;
}

/* Style the browser autocomplete dropdown list */
input.contact-form-input::-webkit-contacts-auto-fill-button,
input.contact-form-input::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}

/* Override autocomplete dropdown background */
input.contact-form-input::-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(14, 7, 22, 0.8) inset !important;
  -webkit-text-fill-color: #fff !important;
}

/* Autocomplete suggestion list styling - this targets the browser's dropdown */
input[list]::-webkit-calendar-picker-indicator,
input::-webkit-list-button {
  filter: invert(1);
}

/* Try to style the autocomplete dropdown itself */
input.contact-form-input::autofill {
  background-color: transparent !important;
  color: #fff !important;
}

/* Additional autocomplete overrides */
.contact-form-input:-webkit-autofill {
  background-color: transparent !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Disable autocomplete styling completely and use custom */
.contact-form-input {
  -webkit-autofill-previewed: transparent;
  -webkit-autofill-selected: transparent;
}

.contact-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-select {
  display: none;
}

.custom-dropdown {
  position: relative;
  width: 100%;
}

.custom-dropdown-trigger {
  width: 100%;
  background: #0e0716 !important;
  color: #fff !important;
  border: 1px solid rgba(20, 255, 228, 0.35) !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease !important;
  box-sizing: border-box;
  min-height: 44px;
}

.custom-dropdown-trigger span {
  flex: 1;
  text-align: left;
}

.custom-dropdown-trigger:hover,
.custom-dropdown-trigger.active {
  border-color: #14ffe4 !important;
  box-shadow: 0 0 0 3px rgba(20, 255, 228, 0.15) !important;
}

.custom-dropdown-trigger::after {
  content: '▼';
  font-size: 0.75rem;
  color: #14ffe4;
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}

.custom-dropdown-trigger.active::after {
  transform: rotate(180deg);
}

.custom-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(20, 255, 228, 0.35);
  border-radius: 10px;
  margin-top: 0.25rem;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.custom-dropdown-option {
  padding: 0.75rem 1rem;
  color: #000;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.custom-dropdown-option:last-child {
  border-bottom: none;
}

.custom-dropdown-option:hover {
  background: #1a0029 !important;
  color: #fff !important;
}

.custom-dropdown-option.selected {
  background: #14ffe4;
  color: #000;
  font-weight: 600;
}

.contact-form-mailing-section {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.contact-form-mailing-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contact-form-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-form-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #14ffe4;
}

.contact-form-checkbox-label {
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1.4;
}

.contact-form-mailing-note {
  color: #fff;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  line-height: 1.4;
  font-style: italic;
  font-weight: bold;
}

.contact-form-submit {
  background: #14ffe4 !important;
  color: #000 !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0.5rem 2rem !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  width: 48%;
  margin-top: 1rem;
}

.contact-form-submit:hover {
  background: #0ed6bf !important;
  box-shadow: 0 0 16px rgba(20, 255, 228, 0.6) !important;
  transform: translateY(-1px) !important;
}

.contact-form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-form-message.success {
  background: rgba(20, 255, 228, 0.1);
  border: 1px solid #14ffe4;
  color: #14ffe4;
}

.contact-form-message.error {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid #ff4444;
  color: #ff4444;
}

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form-other-field {
  margin-top: 1rem;
  display: none;
}

.contact-form-other-field.show {
  display: block;
}

.contact-form-error {
  display: block !important;
  color: #14ffe4 !important;
  font-size: 0.85rem !important;
  margin-top: 0.25rem !important;
  min-height: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

input.contact-form-input:-webkit-autofill,
input.contact-form-input:-webkit-autofill:hover,
input.contact-form-input:-webkit-autofill:focus,
textarea.contact-form-textarea:-webkit-autofill,
textarea.contact-form-textarea:-webkit-autofill:hover,
textarea.contact-form-textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  background-color: transparent !important;
  background-clip: text !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  border: 1px solid rgba(20, 255, 228, 0.35) !important;
  transition: background-color 9999s ease-in-out 0s;
}

@media (max-width: 991.98px) {
  .contact-page-wrapper {
    padding: 0 1rem;
  }

  .contact-row {
    flex-direction: column;
    gap: 2rem;
  }
  
  .contact-left-col,
  .contact-right-col {
    flex: 1 1 100%;
  }
  
  .contact-left-col {
    position: static;
  }
  
  .contact-heading {
    font-size: 2rem;
    text-align: center;
  }
  
  .contact-subheading {
    text-align: center;
  }
  
  .contact-description {
    text-align: center;
  }
  
  .contact-content-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .contact-page-wrapper {
    padding: 0;
  }

  .contact-heading {
    font-size: 1.75rem;
  }
  
  .contact-content-card {
    padding: 1.5rem 1rem;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem 1rem;
  }
}
