/* Section Container */
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

/* Section Title */
.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(60px, 15vw, 100px);
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Section Subtitle */
.section-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ======================
   Responsive Design
   ====================== */

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .section-title::after {
    transition: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .section-title::after {
    background: currentColor;
    opacity: 0.8;
  }
}

/* Print styles */
@media print {
  .section-title::after {
    display: none;
  }

  .section-header {
    margin-bottom: 1rem;
  }

  .section-subtitle {
    margin-bottom: 1.5rem;
  }
}
