/* Get In Touch Page Styles */

.contact-section {
  background: linear-gradient(117deg, #eff6ff 0%, #ffffff 50%, #f9fafb 100%);
  padding: calc(var(--space-section) + 60px) 0 var(--space-section);
  min-height: 100vh;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.contact-header .subtitle {
  font-size: 1rem;
  color: var(--ink-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

/* Google Form iframe styling */
.contact-card iframe {
  width: 100%;
  min-height: 1200px;
  border: none;
  border-radius: 8px;
  display: block;
}

@media (max-width: 768px) {
  .contact-card {
    padding: 1rem;
  }
  
  .contact-card iframe {
    min-height: 1400px;
  }
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Form Sections */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  display: block;
}

.form-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0.5rem 0;
}

/* Checkbox Groups */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-section-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--ink);
  padding: 0.25rem 0;
  padding-left: 1rem;
}

.checkbox-item input[type="checkbox"],
.checkbox-item input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--brand);
}

.checkbox-item span {
  user-select: none;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.checkbox-grid .checkbox-item {
  padding-left: 0;
}

/* Radio Groups */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--ink);
  padding: 0.25rem 0;
}

.radio-item input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--brand);
}

.radio-item span {
  user-select: none;
}

/* Contact Information Section */
.contact-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f3f3f5;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--ink);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(21, 93, 252, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23717182' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* Phone Group */
.phone-group {
  display: flex;
  gap: 0.5rem;
}

.phone-code {
  width: 80px !important;
  flex-shrink: 0;
  text-align: center;
  background: #e8e8eb !important;
  cursor: not-allowed;
}

.phone-group input[type="tel"] {
  flex: 1;
}

/* Consent Section */
.consent-section {
  gap: 1rem;
}

.consent-checkbox {
  padding-left: 0;
  align-items: flex-start;
}

.consent-checkbox input {
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.consent-checkbox span {
  flex: 1;
  line-height: 1.5;
}

/* Submit Button */
.submit-btn {
  align-self: flex-start;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .contact-card {
    padding: 1.5rem;
  }

  .checkbox-item,
  .radio-item {
    font-size: 0.8125rem;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .contact-section {
    padding: calc(var(--space-section) + 80px) 0 var(--space-section);
  }

  .contact-card {
    padding: 3rem;
  }
}
