/* Section Container */
.steps-timeline-section {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #f0fdf4; /* Very light green bg */
  padding: 80px 20px;
  color: #1f2937;
}

.steps-container-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.steps-timeline-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: #064e3b; /* Dark Green */
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Intro Paragraph Styling */
.section-intro {
  max-width: 800px;
  margin: 0 auto 60px auto; /* Centered with bottom spacing */
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4b5563; /* Slate gray */
}

/* 2-Column Grid Layout */
.steps-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* The Vertical Line Column */
.steps-column {
  position: relative;
  padding-left: 45px;
  border-left: 2px solid #d1fae5; /* Light Green Line */
}

/* Individual Step Wrapper */
.step-item {
  position: relative;
  margin-bottom: 40px;
}

.step-item:last-child {
  margin-bottom: 0;
}

/* Numbered Marker */
.step-marker {
  position: absolute;
  left: -63px; /* Adjust to center marker on the line */
  top: 0;
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  border: 2px solid #10b981; /* Success Green */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #10b981;
  z-index: 2;
  box-shadow: 0 0 0 5px #f0fdf4; /* "Gap" effect matching section bg */
  transition: all 0.3s ease;
}

/* Content Card */
.step-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.02);
  border: 1px solid rgba(16, 185, 129, 0.1); /* Subtle green border */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #065f46;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Hover Effects */
.step-item:hover .step-marker {
  background-color: #10b981;
  color: white;
  transform: scale(1.15);
  box-shadow: 0 0 0 5px #d1fae5;
}

.step-item:hover .step-card {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.15);
  border-color: #10b981;
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
  .steps-timeline-section {
    padding: 60px 20px;
  }

  .steps-timeline-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .section-intro {
    font-size: 1rem;
    margin-bottom: 50px;
  }

  .steps-container {
    gap: 40px;
  }

  .step-card {
    padding: 20px;
  }

  .step-card h3 {
    font-size: 1.1rem;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .steps-container {
    grid-template-columns: 1fr; /* Stack columns */
    gap: 0;
  }
  
  .steps-column {
    border-left: 2px solid #d1fae5;
    margin-bottom: 40px;
    padding-left: 35px;
  }
  
  .steps-column:last-child {
    margin-bottom: 0;
  }
  
  .step-marker {
    left: -53px; /* Adjust for mobile padding */
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  
  .section-intro {
    font-size: 0.95rem;
    padding: 0 10px;
    margin-bottom: 40px;
  }

  .steps-timeline-section h2 {
    font-size: 1.75rem;
  }

  .step-card h3 {
    font-size: 1rem;
  }

  .step-card p {
    font-size: 0.9rem;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .steps-timeline-section {
    padding: 40px 15px;
  }

  .steps-timeline-section h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .section-intro {
    font-size: 0.875rem;
    margin-bottom: 30px;
    line-height: 1.5;
  }

  .steps-column {
    padding-left: 30px;
    margin-bottom: 30px;
  }

  .step-item {
    margin-bottom: 30px;
  }

  .step-marker {
    left: -48px;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .step-card {
    padding: 16px;
  }

  .step-card h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .step-card p {
    font-size: 0.85rem;
  }
}
