/* Heading Styles for Accessibility */
/* Uses class-based styling instead of semantic heading tags to allow proper heading hierarchy */

/* These classes replace the default h1-h6 elements while maintaining visual appearance */
.heading-xl {
  font-size: 3rem;
  font-weight: 800;
}

.heading-lg {
  font-size: 2.5rem;
  font-weight: 700;
}

.heading-md {
  font-size: 1.75rem;
  font-weight: 600;
}

.heading-sm {
  font-size: 1.45rem;
  font-weight: 600;
}

.heading-xs {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Apply heading styles to non-heading elements */
.text-h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.text-h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.text-h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.text-h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.text-h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.text-h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Section titles specific styling */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
  font-size: 2.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .heading-xl,
  .text-h1 {
    font-size: 2.25rem;
  }

  .heading-lg,
  .text-h2 {
    font-size: 2rem;
  }

  .heading-md,
  .text-h3 {
    font-size: 1.5rem;
  }

  .text-h4 {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .heading-xl,
  .text-h1 {
    font-size: 2rem;
  }

  .heading-lg,
  .text-h2 {
    font-size: 1.75rem;
  }

  .heading-md,
  .text-h3 {
    font-size: 1.25rem;
  }

  .text-h4 {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
}
