/**
 * Material Request Form Page Styles
 * Version: 1.0
 */

/************************************
  CUSTOM VARIABLES
************************************/
:root {
  /* Primary Colors */
  --primary-red: #df1f26;
  --dark-red: #bc0c11;
  --light-red: #ff4048;
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --overlay-gray: rgba(80, 80, 80, 0.85);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.075);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;
  --transition-slow: 0.5s;
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);
  
  /* Spacing */
  --section-padding: 80px 0;
  --content-width: 1200px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

/************************************
  GLOBAL PAGE STYLES
************************************/
.material-request-page {
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Animated elements */
[data-animate] {
  opacity: 0;
}

[data-animate="fadeInUp"] {
  transform: translateY(40px);
}

[data-animate="fadeInDown"] {
  transform: translateY(-40px);
}

[data-animate="fadeInLeft"] {
  transform: translateX(-40px);
}

[data-animate="fadeInRight"] {
  transform: translateX(40px);
}

[data-animate="fadeIn"] {
  opacity: 0;
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
  transition: opacity 0.8s ease, transform 0.8s var(--transition-bounce);
}

/* Common styles */
.container {
  max-width: var(--content-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal) var(--transition-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--white);
  border: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--black);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--gray-800);
  color: var(--white);
  border: 2px solid var(--gray-800);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--gray-700);
  border-color: var(--gray-700);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../images/hero-bg.jpg');
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-gray);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary-red);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--white);
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.highlight {
  color: var(--primary-red);
}

/************************************
  MATERIAL REQUEST CONTENT SECTION
************************************/
.material-request-content {
  padding: 60px 0;
  background-color: var(--white);
}

.section-intro {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  position: relative;
  padding-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.material-request-form-wrapper {
  position: relative;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 15%;
  width: 70%;
  height: 2px;
  background-color: var(--gray-300);
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 33.33%;
  position: relative;
  z-index: 2;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--gray-300);
  color: var(--gray-600);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
  transition: all var(--transition-normal) ease;
  border: 2px solid var(--white);
}

.step.active .step-number {
  background-color: var(--primary-red);
  color: var(--white);
  box-shadow: var(--shadow);
}

.step-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
  transition: all var(--transition-normal) ease;
}

.step.active .step-label {
  color: var(--primary-red);
  font-weight: 600;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Form Error Messages */
.form-errors {
  background-color: #fff5f5;
  border-left: 4px solid var(--primary-red);
  padding: 15px 20px;
  margin-bottom: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-errors ul {
  margin: 0;
  padding-left: 20px;
}

.form-errors li {
  color: var(--dark-red);
  margin-bottom: 5px;
}

.form-error-message {
  background-color: #fff5f5;
  border-left: 4px solid var(--primary-red);
  padding: 15px 20px;
  margin-bottom: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--dark-red);
  display: flex;
  align-items: center;
}

.form-error-message i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Success Message */
.form-success-message {
  background-color: #f0fff4;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid #c6f6d5;
  margin: 30px auto;
  max-width: 800px;
}

.success-icon {
  font-size: 4rem;
  color: #38a169;
  margin-bottom: 20px;
}

.form-success-message h2 {
  font-size: 2rem;
  color: #2f855a;
  margin-bottom: 20px;
}

.form-success-message p {
  color: var(--gray-700);
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.success-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Material Comparison Table (copied from homepage styling) */
.comparison-controls {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.sport-filter h3,
.property-filter h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--gray-800);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-option {
  padding: 8px 16px;
  background-color: var(--gray-200);
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-normal) ease;
}

.filter-option:hover {
  background-color: var(--gray-300);
}

.filter-option.active {
  background-color: var(--primary-red);
  color: var(--white);
}

.property-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.property-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.property-checkbox input {
  margin-right: 8px;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  text-align: left;
}

.comparison-table caption {
  caption-side: bottom;
  text-align: right;
  padding: 10px;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  border: 1px solid var(--gray-200);
  vertical-align: middle;
}

.comparison-table th {
  background-color: var(--gray-800);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.comparison-table th:first-child {
  width: 180px;
}

.property-name {
  font-weight: 600;
  color: var(--gray-700);
}

.property-bar {
  height: 8px;
  background-color: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 5px;
}

.property-value {
  height: 100%;
  background-color: var(--primary-red);
  border-radius: var(--radius-full);
}

.property-text {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Sport Recommendations Panel */
.sport-recommendations {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-red);
  margin-bottom: 30px;
}

.sport-detail h3 {
  color: var(--primary-red);
  font-size: 1.4rem;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 10px;
}

.sport-detail p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.sport-detail ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.sport-detail li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.sport-detail li strong {
  color: var(--gray-800);
}

/* Material Popup */
.material-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.material-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(-20px);
  transition: transform 0.4s ease;
}

.material-popup.active .popup-content {
  transform: translateY(0);
}

.popup-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  background-color: var(--white);
  z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.popup-header h3 {
  font-size: 1.6rem;
  margin: 0;
  padding-right: 40px;
  color: var(--gray-800);
}

.popup-body {
  padding: 25px;
}

.close-popup {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--gray-200);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.close-popup:hover {
  background-color: var(--gray-300);
}

.close-popup:before, 
.close-popup:after {
  content: '';
  position: absolute;
  width: 15px;
  height: 2px;
  background-color: var(--gray-700);
}

.close-popup:before {
  transform: rotate(45deg);
}

.close-popup:after {
  transform: rotate(-45deg);
}

body.popup-open {
  overflow: hidden;
}

/* Step Navigation */
.step-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.step-navigation .btn-primary,
.step-navigation .btn-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Material Selection */
.selection-counter {
  background-color: var(--gray-100);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-align: center;
  font-weight: 500;
  margin-bottom: 30px;
  display: inline-block;
}

.selection-counter span {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 1.2rem;
}

.material-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.material-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition-normal) ease;
  border: 1px solid var(--gray-200);
  position: relative;
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.material-card.selected {
  border-color: var(--primary-red);
  border-width: 2px;
}

.material-card.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.material-image {
  height: 180px;
  overflow: hidden;
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.material-card:hover .material-image img {
  transform: scale(1.05);
}

.material-info {
  padding: 20px;
}

.material-info h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--gray-800);
}

.material-info p {
  color: var(--gray-600);
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.key-properties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.property-tag {
  background-color: var(--gray-100);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--gray-700);
}

.ideal-for {
  font-size: 0.9rem;
  color: var(--gray-700);
}

.material-checkbox {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.material-checkbox label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.material-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkmark {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gray-400);
  background-color: var(--white);
  position: relative;
  transition: all var(--transition-normal) ease;
}

.material-checkbox input:checked ~ .checkmark {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

.checkmark:after {
  content: '';
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
}

.material-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.select-text {
  margin-left: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition-normal) ease;
}

.material-checkbox input:checked ~ .select-text {
  color: var(--primary-red);
  font-weight: 600;
}

/* Contact Form */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-700);
}

.required {
  color: var(--primary-red);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--gray-800);
  background-color: var(--white);
  transition: all var(--transition-fast) ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(223, 31, 38, 0.1);
}

.form-help {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Sample Summary */
.sample-summary {
  background-color: var(--gray-100);
  padding: 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
}

.sample-summary h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-300);
  padding-bottom: 10px;
}

.selected-materials-list {
  padding-left: 20px;
}

.selected-materials-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Add to Selection Button */
.add-to-selection {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  background-color: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
}

.add-to-selection:hover {
  background-color: var(--dark-red);
}

.add-to-selection.added {
  background-color: var(--gray-500);
}

/* Additional Info Section */
.additional-info {
  padding: var(--section-padding);
  background-color: var(--gray-100);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.info-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition-normal) ease;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary-red);
  color: var(--white);
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--gray-800);
}

.info-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background-color: var(--white);
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal) ease;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question h3 {
  font-size: 1.1rem;
  color: var(--gray-800);
  margin: 0;
}

.toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary-red);
  color: var(--white);
  transition: transform var(--transition-normal) ease;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
  opacity: 1;
}

.faq-answer p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 15px;
}

.faq-answer ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.faq-answer li {
  margin-bottom: 5px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 60px 0;
  background-color: var(--gray-900);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: 30px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal) var(--transition-bounce);
  box-shadow: var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--black);
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

/************************************
  RESPONSIVE STYLES
************************************/
@media (max-width: 1200px) {
  :root {
    --section-padding: 70px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 50px 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .step-indicator::before {
    left: 20%;
    width: 60%;
  }
  
  .step-label {
    font-size: 0.8rem;
  }
  
  .comparison-controls {
    flex-direction: column;
    gap: 20px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .step-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  .step-navigation .btn-primary,
  .step-navigation .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .step-indicator {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .step-indicator::before {
    display: none;
  }
  
  .step {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  
  .step-number {
    margin-bottom: 0;
  }
  
  .material-selection-grid {
    grid-template-columns: 1fr;
  }
}