/* Contact Page Styles */

.contact-page {
  background-color: white;
  min-height: 100vh;
}

.contact-main {
  padding-bottom: 5rem;
  background-color: white;
  min-height: 100vh;
}

/* Header Section */
.contact-header-section {
  border-bottom: 1px solid #e5e7eb;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.contact-header-container {
  margin: 0 auto;
  padding: 1.5rem 1rem;
  max-width: 1280px;
}

@media (min-width: 640px) {
  .contact-header-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-header-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.contact-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.contact-title-underline {
  width: 5rem;
  height: 0.25rem;
  background-color: #0033CC;
  margin-top: 1rem;
}

/* Content Container */
.contact-content-container {
  margin: 2rem auto 0;
  padding: 0 1rem;
  max-width: 56rem;
}

@media (min-width: 640px) {
  .contact-content-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-content-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

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

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

.contact-form-section-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 1rem;
}

.contact-form-section-description {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Checkbox Group */
.contact-checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .contact-checkbox-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .contact-checkbox-group {
    grid-template-columns: repeat(6, 1fr);
  }
}

.contact-checkbox-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.contact-checkbox-item input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  cursor: pointer;
  accent-color: #0033CC;
}

.contact-checkbox-item span {
  font-size: 1rem;
  color: #374151;
}

/* Form Items */
.contact-form-item {
  margin-bottom: 1.5rem;
}

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

.required-asterisk {
  color: #ef4444;
  margin-left: 0.25rem;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  outline: none;
  border-color: #0033CC;
  box-shadow: 0 0 0 3px rgba(0, 51, 204, 0.1);
}

.contact-form-input.error,
.contact-form-textarea.error {
  border-color: #ef4444;
}

.contact-form-textarea {
  resize: vertical;
  min-height: 9rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.contact-form-col {
  display: flex;
  flex-direction: column;
}

.contact-form-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

/* Form Error */
.contact-form-error {
  display: none;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Separator */
.contact-form-separator {
  width: 5rem;
  height: 0.125rem;
  background-color: #0033CC;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

/* Submit Button */
.contact-form-submit {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.contact-submit-button {
  padding: 1.5rem 3rem;
  font-size: 1.125rem;
  font-weight: 500;
  background-color: #0033CC;
  color: white;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact-submit-button:hover {
  background-color: #0029A3;
}

.contact-submit-button:active {
  transform: translateY(1px);
}

/* Responsive */
@media (max-width: 640px) {
  .contact-title {
    font-size: 1.5rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-submit-button {
    width: 100%;
    padding: 1rem 2rem;
  }
}

