/* ========================================
   CONTACT PAGE STYLES - MOBILE FIRST
   ======================================== */

/* Hero Section - Mobile First */
.contact-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-color-hover) 100%
  );
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
  margin-top: 125px;
  /* Mobile first - highest margin for mobile */
}

.contact-hero-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  font-family: var(--secondary-font);
  font-weight: 700;
}

.contact-hero p {
  font-size: 1rem;
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Content Layout - Mobile First */
.contact-content-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: 2rem auto;
  padding: 0 1rem;
  gap: 1.5rem;
}

.contact-form-section {
  flex: 1;
  width: 100%;
  max-width: 100%;
}

/* Contact Form Styling - Walmart-inspired clean design */
.contact-form-container {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border: 1px solid #e6e6e6;
}

.contact-form-container h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1a1a;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
}

.contact-form-container h2::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
  transition: width 0.3s ease-out;
}

/* Progress indicator for form sections */
.form-section-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
  transition: width 0.5s ease-out;
  z-index: 1;
}

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

/* Enhanced Form Field Styling */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.form-group label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.25px;
}

.form-group .required {
  color: #dc2626;
  font-weight: 600;
  margin-left: 0.25rem;
}

.form-group .optional {
  color: #999999;
  font-size: 0.7rem;
  font-weight: 400;
  margin-left: 0.25rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-transform: none;
  letter-spacing: normal;
}

/* Enhanced input styling */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: all 0.15s ease-out;
  background-color: #ffffff;
  color: #1a1a1a;
  box-shadow: none;
}

.form-group input[type="text"]:hover,
.form-group input[type="email"]:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(46, 74, 125, 0.2);
  background-color: #ffffff;
  transform: none;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group textarea::placeholder {
  color: #999999;
  font-style: normal;
}

/* Enhanced error state styling */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc2626;
  background-color: #fef2f2;
  box-shadow: 0 0 0 1px #dc2626;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

/* Enhanced error message styling */
.error-message {
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.25rem;
  display: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  background: transparent;
  border-radius: 0;
  border-left: none;
}

.error-message.visible {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced textarea styling */
.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

/* Enhanced select styling */
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 3rem;
}

/* Enhanced checkbox styling */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  background-color: #ffffff;
  cursor: pointer;
  position: relative;
  margin-top: 0.25rem;
  transition: all 0.2s ease-out;
  flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(46, 74, 125, 0.15);
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(46, 74, 125, 0.2);
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-group input[type="checkbox"].error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.checkbox-group label {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
  margin: 0;
}

/* Enhanced submit button styling */
.form-actions {
  margin-top: 0.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.submit-button {
  background: var(--primary-color);
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.25px;
  min-width: 140px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.submit-button:hover {
  background: var(--primary-color-hover);
  transform: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.submit-button:active {
  transform: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.terms-notice {
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

.terms-notice a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.terms-notice a:hover {
  color: var(--primary-color-hover);
  text-decoration: underline;
}

/* Loading state for submit button */
.submit-button.loading {
  position: relative;
  color: transparent !important;
}

.submit-button.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: button-spinner 0.8s linear infinite;
}

@keyframes button-spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* FAQ Section Styling - Walmart-inspired clean design */
.faq-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 1.5rem;
  border: 1px solid #e6e6e6;
}

.faq-container {
  margin-top: 1rem;
}

.faq-section h2 {
  font-family: var(--primary-font);
  color: #1a1a1a;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
}

.faq-section h2::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
  transition: width 0.3s ease-out;
}

.faq-item {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 0.75rem;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-question {
  font-family: var(--primary-font);
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1a1a1a;
  border-radius: 6px;
  transition: all 0.15s ease-out;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: nowrap;
  word-break: break-word;
}

.faq-question:hover {
  background-color: #f8f9fa;
  color: var(--primary-color);
}

.faq-question i {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #666666;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease-in-out, padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.15s ease-out;
}

.faq-answer a:hover {
  color: var(--primary-color-hover);
}

.faq-answer.active {
  max-height: 1000px;
  opacity: 1;
  padding: 0 1rem 1rem;
  animation: faqBounce 0.3s ease;
}

@keyframes faqBounce {
  0% {
    transform: scaleY(0.6);
    opacity: 0;
  }

  50% {
    transform: scaleY(1.05);
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
  }
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(6deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* Help Sidebar Styling - Walmart-inspired clean design */
.help-sidebar {
  width: 100%;
  max-width: 100%;
}

.help-sidebar-container {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 1.5rem;
  border: 1px solid #e6e6e6;
}

.help-sidebar-container h2 {
  font-family: var(--primary-font);
  color: #1a1a1a;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
}

.help-sidebar-container h2::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
  transition: width 0.3s ease-out;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background-color: #f8f9fa;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  text-decoration: none;
  color: #1a1a1a;
  font-family: var(--primary-font);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.15s ease-out;
}

.quick-link:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
  color: var(--primary-color);
}

.quick-link i {
  color: var(--primary-color);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

/* Security Reminder Section - Walmart-inspired */
.security-reminder {
  background-color: #fef3c7;
  border: 1px solid #f59e0b;
  padding: 1.25rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  position: relative;
}

.security-reminder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 6px 6px 0 0;
}

.security-reminder h3 {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 1rem;
  color: #92400e;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.security-reminder h3 i {
  color: #f59e0b;
  font-size: 1.1rem;
}

.security-reminder p {
  color: #78350f;
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-family: var(--primary-font);
}

.security-reminder p:last-child {
  margin-bottom: 0;
}

/* Contact Information - Walmart-inspired */
.contact-info {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6e6e6;
}

.contact-info h3 {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 1.1rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #666666;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--primary-font);
}

.contact-info p i {
  color: var(--primary-color);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.15s ease-out;
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--primary-color-hover);
}

.contact-info .social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-info .social-links a {
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: all 0.15s ease-out;
  border-bottom: none;
}

.contact-info .social-links .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: #f8f9fa;
  border: 1px solid #e6e6e6;
  transition: all 0.15s ease-out;
  text-decoration: none;
}

.contact-info .social-links .social-link:hover {
  background-color: #e5e7eb;
  border-color: #d1d5db;
  color: var(--primary-color);
}

.contact-info .social-links .social-link i {
  font-size: 1.1rem;
}

/* Loading States */
.submit-button.loading {
  position: relative;
  color: transparent !important;
}

.submit-button.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: button-spinner 0.8s linear infinite;
}

@keyframes button-spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ========================================
   CONFIRMATION MODAL STYLES
   ======================================== */
.confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.confirmation-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.confirmation-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
}

.confirmation-modal__container {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  z-index: 99999999;
}

.confirmation-modal__content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.confirmation-modal__header {
  padding: 1.25rem 1.5rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.confirmation-modal__title {
  font-family: var(--secondary-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  line-height: 1.3;
}

.confirmation-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border: none;
  border-radius: 6px;
  color: #6b7280;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.confirmation-modal__close:hover {
  background: #e5e7eb;
  color: #374151;
}

.confirmation-modal__body {
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.confirmation-modal__icon {
  display: none;
}

.confirmation-modal__message {
  font-family: var(--primary-font);
  font-size: 0.95rem;
  color: #374151;
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
  font-weight: 400;
}

.confirmation-modal__submessage {
  font-family: var(--primary-font);
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

.confirmation-modal__footer {
  padding: 0.75rem 1.5rem 1.25rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
}

.confirmation-modal__button {
  background-color: var(--primary-color);
  color: white;
  font-family: var(--primary-font);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  min-width: 100px;
}

.confirmation-modal__button:hover {
  background-color: var(--primary-color-hover);
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .confirmation-modal {
    padding: 0.75rem;
  }

  .confirmation-modal__container {
    max-width: 100%;
  }

  .confirmation-modal__header {
    padding: 1.25rem 1.25rem 0.75rem;
  }

  .confirmation-modal__title {
    font-size: 1.25rem;
  }

  .confirmation-modal__body {
    padding: 1.25rem;
  }

  .confirmation-modal__footer {
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .confirmation-modal__button {
    width: 100%;
    max-width: 200px;
  }
}

/* iOS Select Styling Override */
.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c3c26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  text-overflow: ellipsis;
}

/* Ensure consistent styling on iOS */
@supports (-webkit-touch-callout: none) {
  .form-group select {
    font-size: 16px;
    background-color: #f9f9f9;
    -webkit-appearance: none;
    border-radius: 8px;
    color: #333;
  }
}

/* Privacy Policy and Terms Links */
.checkbox-group label a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.checkbox-group label a:hover {
  color: var(--primary-color-hover);
}

/* ========================================
   TABLET STYLES (min-width: 768px)
   ======================================== */
@media (min-width: 768px) {
  .contact-hero {
    padding: 3rem 1.5rem;
    margin-top: 105px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }

  .contact-content-wrapper {
    padding: 0 2rem;
    gap: 2rem;
  }

  .contact-form-container,
  .faq-section,
  .help-sidebar-container {
    padding: 1.5rem;
  }

  .contact-form-container h2,
  .faq-section h2,
  .help-sidebar-container h2 {
    font-size: 1.5rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 1.2rem;
  }

  .faq-answer {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .faq-answer.active {
    padding: 0 1rem 1rem;
  }

  .submit-button {
    width: auto;
    min-width: 160px;
  }

  /* Enhanced desktop styles for contact form */
  .contact-form-container {
    padding: 2.5rem;
  }

  .contact-form-container h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group select,
  .form-group textarea {
    padding: 1.125rem 1.5rem;
    font-size: 1.05rem;
  }

  .submit-button {
    padding: 1rem 3rem;
    font-size: 1.1rem;
  }

  .confirmation-modal__container {
    max-width: 450px;
  }

  .confirmation-modal__content {
    margin: 0 1rem;
  }
}

/* Enhanced responsive styles for contact form */
@media (max-width: 768px) {
  .contact-form-container {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .contact-form-container h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .form-group {
    gap: 0.5rem;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group select,
  .form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .submit-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: 1rem;
  }

  .contact-form-container h2 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  .checkbox-group {
    padding: 0.875rem;
    gap: 0.75rem;
  }

  .checkbox-group label {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .checkbox-group label a {
    font-size: inherit;
    line-height: inherit;
  }

  .submit-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* ========================================
   DESKTOP STYLES (min-width: 1024px)
   ======================================== */
@media (min-width: 1024px) {
  .contact-hero {
    padding: 4rem 2rem;
    margin-top: 75px;
  }

  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .contact-hero p {
    font-size: 1.2rem;
    max-width: 700px;
  }

  .contact-content-wrapper {
    flex-direction: row;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    gap: 2rem;
    justify-content: center;
  }

  .contact-form-section {
    flex: 1 1 65%;
    min-width: 300px;
    max-width: 800px;
  }

  .help-sidebar {
    flex: 1 1 25%;
    min-width: 250px;
  }

  .contact-form-container {
    padding: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .contact-form-container h2 {
    font-size: 1.8rem;
  }

  .faq-section {
    padding: 2rem;
    position: sticky;
    top: 2rem;
  }

  .faq-section h2 {
    font-size: 1.8rem;
  }

  .faq-question {
    font-size: 1.05rem;
    padding: 2rem;
  }

  .faq-answer {
    font-size: 1.1rem;
    padding: 0 2rem;
  }

  .faq-answer.active {
    padding: 0 2rem 2rem;
  }

  .help-sidebar-container {
    padding: 2rem;
    margin-top: 0;
  }

  .help-sidebar-container h2 {
    font-size: 1.5rem;
  }

  .confirmation-modal__container {
    max-width: 500px;
  }

  .confirmation-modal__content {
    margin: 0;
  }

  .confirmation-modal__title {
    font-family: var(--secondary-font);
    font-size: 1.5rem;
  }

  .confirmation-modal__message {
    font-size: 1.25rem;
  }
}

/* ========================================
   LARGE DESKTOP STYLES (min-width: 1200px)
   ======================================== */
@media (min-width: 1200px) {
  .contact-hero {
    margin-top: 70px;
  }

  .contact-hero h1 {
    font-size: 3rem;
  }
}

/* ========================================
   EXTRA LARGE DESKTOP STYLES (min-width: 1550px)
   ======================================== */
@media (min-width: 1550px) {
  .help-sidebar-container {
    width: 500px;
  }
}
