/* Contact Page Styles */

/* Page Header */
.page-header {
  background-color: #f9fafb;
  padding: 4rem 1rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
}

.page-description {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 42rem;
  margin: 0 auto;
}

/* Contact Form Section */
.contact-form-section {
  padding: 4rem 1rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 62rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr 2fr;
  }
}

/* Contact Options */
.contact-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-option {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.contact-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background-color: #e0f2fe;
  color: #2563eb;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.contact-option h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.contact-option p {
  color: #4b5563;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.contact-link {
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Form Container */
.form-container {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.contact-form h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.375rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: #111827;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group-hidden {
  display: none;
}

.form-privacy {
  margin-bottom: 2rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  background-color: #2563eb;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.submit-button:hover {
  background-color: #1d4ed8;
}

.submit-button:disabled {
  background-color: #93c5fd;
  cursor: not-allowed;
}

.loading-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#submission-response {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  text-align: center;
}

#submission-response.success {
  background-color: #d1fae5;
  color: #065f46;
}

#submission-response.error {
  background-color: #fee2e2;
  color: #b91c1c;
}

.hidden {
  display: none;
}

/* Thank You Page Styles */
.thank-you-section {
  padding: 5rem 1rem;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  border-radius: 1rem;
  padding: 3rem 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.thank-you-icon {
  color: #10b981;
  margin-bottom: 1.5rem;
}

.thank-you-content h1 {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 1.5rem;
}

.thank-you-message {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.response-time {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 2rem;
  padding: 0.75rem;
  background-color: #f3f4f6;
  border-radius: 0.5rem;
}

.return-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Success Message */
.form-success {
  padding: 2rem;
  text-align: center;
}

.success-icon {
  color: #10b981;
  margin-bottom: 1.5rem;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

.form-success p {
  color: #4b5563;
  margin-bottom: 1rem;
}

.success-note {
  display: inline-block;
  font-size: 0.875rem;
  color: #1e40af;
  background-color: #e0f2fe;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

/* Utility classes */
.hidden {
  display: none;
} 