
/* ===== HOW SECTION ===== */
.how-section {
  padding: 0;
  margin-top: 50px;
  position: relative;
}

.how-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 30px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-bottom: 25px;
  color: var(--txt);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, #ff8fb1, #ffd86b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text1 {
  background:#d8ff97;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text2 {
  background: #ff8fb1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.section-subtitle {
  font-size: 1.2rem;
  color: var(--txt);
  opacity: 0.7;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}



.timeline-section {
  padding: 0px 30px;
  position: relative;
}

.timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  border-radius: 50px;
  background: #ff8fb1;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 100px;
  position: relative;
  opacity: 0;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background:
    radial-gradient(95% 90% at 100% 100%, #ff8fb1, transparent 55%),
    radial-gradient(170% 100% at 0% 0%, #ff8fb1, transparent 60%),
    color-mix(in srgb, var(--bg), #f9ffc8 25%);
  border: 1px solid rgba(255, 253, 163, 0.425);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 50px 40px;
  padding-top: 20px;
  border-radius: 20px;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: left 0.5s;
}

.timeline-content:hover {
  border-color: rgba(255, 241, 91, 0.8);
  transform: translateX(-10px);
  box-shadow: 0 15px 40px rgba(241, 219, 96, 0.77);
}

.timeline-item:nth-child(even) .timeline-content:hover {
  transform: translateX(10px);
}

.timeline-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  margin-top: 0;
  color: var(--txt);
  font-weight: 600;
  line-height: 1.3;
}

.timeline-content p {
  color: var(--txt);
  opacity: 0.85;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  background: #ff8fb1;
  border: 4px solid wheat;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: 0 0 20px rgba(255, 241, 91, 0.6);
  transition: all 0.3s;
}

.timeline-dot:hover {
  box-shadow: 0 0 40px rgba(255, 241, 96, 0.8);
  transform: translateX(-50%) scale(1.3);
}

@media (max-width: 768px) {
  .how-container {
    padding: 56px 16px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header h2 {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
    margin-bottom: 14px;
  }

  .section-subtitle {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .timeline-section {
    padding: 0 8px;
  }

  .timeline-container::before {
    left: 15px;
  }
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 40px;
  }
  .timeline-content {
    width: calc(100% - 46px);
    margin-left: 34px;
    min-height: 0;
    padding: 20px 16px;
    border-radius: 14px;
  }

  .timeline-content h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
  }

  .timeline-content p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .timeline-dot {
    left: 15px;
    width: 16px;
    height: 16px;
    border-width: 3px;
  }
}