/* How It Works Section */
.how-it-works-section {
  padding: 120px 0;
  background: var(--desert-sand);
  position: relative;
  overflow: hidden;
}

.how-it-works-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3.5rem;
  color: var(--dark-clay);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--sunset-orange));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.4rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-top: 1.5rem;
  opacity: 0.9;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto 4rem;
  position: relative;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: var(--cream-white);
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(183, 90, 74, 0.1);
  border: 2px solid rgba(230, 190, 165, 0.3);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(183, 90, 74, 0.15);
  border-color: var(--terracotta);
}

.step-number {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--terracotta), var(--sunset-orange));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
  font-family: "Playfair Display", serif;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(183, 90, 74, 0.3);
  border: 6px solid var(--cream-white);
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(183, 90, 74, 0.4);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.8rem;
  color: var(--dark-clay);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.step-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--sunset-orange));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.process-step:hover .step-title::after {
  width: 80px;
}

.step-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.step-note {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
  background: rgba(231, 138, 59, 0.1);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  display: inline-block;
  border-left: 3px solid var(--sunset-orange);
  transition: all 0.3s ease;
}

.process-step:hover .step-note {
  background: rgba(231, 138, 59, 0.15);
  transform: translateX(5px);
}

.step-icon {
  flex-shrink: 0;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.step-icon svg {
  transition: all 0.3s ease;
}

.process-step:hover .step-icon svg {
  transform: scale(1.1);
}

/* SVG Animations */
.process-step:nth-child(1):hover .step-icon svg {
  animation: float 2s ease-in-out infinite;
}

.process-step:nth-child(2):hover .step-icon svg {
  animation: pulse 2s ease-in-out infinite;
}

.process-step:nth-child(3):hover .step-icon svg {
  animation: slightBounce 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1.1);
  }
  50% {
    transform: translateY(-5px) scale(1.1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
}

@keyframes slightBounce {
  0%, 100% {
    transform: translateY(0) scale(1.1);
  }
  50% {
    transform: translateY(2px) scale(1.1);
  }
}

/* CTA Container */
.cta-container {
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(183, 90, 74, 0.05),
    rgba(231, 138, 59, 0.05)
  );
  padding: 3rem;
  border-radius: 25px;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid rgba(230, 190, 165, 0.3);
  transition: all 0.3s ease;
}

.cta-container:hover {
  border-color: var(--terracotta);
  box-shadow: 0 15px 40px rgba(183, 90, 74, 0.1);
}

.cta-text {
  font-size: 1.4rem;
  color: var(--dark-clay);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

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

/* Responsive Design */
@media (max-width: 992px) {
  .process-step {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .step-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .process-step:hover .step-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .step-number {
    width: 100px;
    height: 100px;
    font-size: 2.8rem;
  }

  .step-icon {
    order: -1;
    width: auto;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.8rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

  .process-step {
    padding: 2rem;
  }

  .step-number {
    width: 90px;
    height: 90px;
    font-size: 2.5rem;
    border-width: 4px;
  }

  .step-title {
    font-size: 1.6rem;
  }

  .step-description {
    font-size: 1rem;
  }

  .step-icon svg {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2.3rem;
  }

  .how-it-works-section {
    padding: 80px 0;
  }

  .process-step {
    padding: 1.5rem;
  }

  .cta-container {
    padding: 2rem;
  }
}