/* --- Form Container --- */
.gs-contact-form {
  max-width: 700px;
  padding: 1rem;
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 4px 14px currentColor;
  margin: 1rem auto;
}
p {
  font-size: 1.3em;
}

/* --- Two-column layout --- */
.gs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
}

/* Collapse to one column on small screens */
@media (max-width: 600px) {
  .gs-row {
    grid-template-columns: 1fr;
  }
  .gs-contact-form {
    margin-bottom: 20px;
  }
}

/* --- Floating Label Wrapper --- */
.gs-field {
  position: relative;
  margin-bottom: 1.5rem;
}

/* --- Inputs & Textareas --- */
.astra-dark-mode-enable input[type="text"],
.gs-field input,
.gs-field textarea,
.gs-field .astra-dark-mode-enable input[type="text"] {
  color: var(--ast-global-color-4) !important;
  width: 100%;
  padding: 1rem 0.75rem 0.5rem;
  font-size: 1em;
  border: 2px solid currentColor !important;
  border-radius: 6px;
  background: transparent !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* --- Floating Labels --- */
.gs-field label {
  position: absolute;
  left: 0.75rem;
  top: 0.9rem;
  font-size: 1em;
  font-weight: 400;
  color: var(--ast-global-color-2);
  pointer-events: none;
  transition: all 0.2s ease;
}

/* When input is focused or has content */
.gs-field input:focus + label,
.gs-field textarea:focus + label,
.gs-field input:not(:placeholder-shown) + label,
.gs-field textarea:not(:placeholder-shown) + label {
  top: -0.55rem;
  left: 0.6rem;
  font-size: 1em;
  font-weight: 500;
  background: var(--ast-global-color-1);
  padding: 0 0.25rem;
  color: var(--ast-global-color-2);
}

/* --- Focus States --- */
.gs-field input:focus,
.gs-field textarea:focus {
  outline: none;
  border-color: var(--ast-border-color-0);
  border: 2px solid var(--ast-border-color-0) !important;
  box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.25) !important;
  background-color: transparent;
}

/* --- Submit Button --- */
.gs-submit-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1em;
  font-weight: 600;
  color: #fff;
  background: #0073e6;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
}

.gs-submit-button:hover {
  background: #005bbd;
}

.gs-submit-button:active {
  transform: scale(0.97);
}

/* --- Success / Error Messages --- */
.gs-form-message {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95em;
}

.gs-success {
  background: #e6f7e6;
  color: #1a7f1a;
  border: 1px solid #b6e3b6;
}

.gs-error {
  background: #fdeaea;
  color: #b30000;
  border: 1px solid #f5b5b5;
}
.gs-map-container {
  padding-top: 1rem;
  border: 2px solid black;
}
