.keyword{
    margin-top: 50px;
}
.feature-content {
  display: flex;
  gap: 170px;
  align-items: flex-start;
}

.feature-visual {
  flex: 1;
  position: relative;
  min-height: 500px;
}

.feature-visual img {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 15px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  width: 802px;
  height: 500px;
  object-fit: cover;
}

.feature-visual img.active-img {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.mobilePhoto {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.timeline-step.active .mobilePhoto {
  opacity: 1;
  transform: translateY(0);
}

.timeline-step {
  display: flex;
  gap: 34px;
}

.dot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #000;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.5s ease;
  cursor: pointer;
  position: absolute;
}

.feature-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 1.5px dashed #000000;
  gap: 80px;
}

.step-title {
  margin: 0;
  cursor: pointer;
  font-size: 18px;
  color: #666;
  transition: color 0.5s ease, font-size 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", sans-serif;
}

.collapsible-text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.timeline-step.active .step-title {
  color: #000;
  font-weight: bold;
  font-size: 30px;
  font-family: "Inter", sans-serif;
}

.timeline-step.active .dot {
  background: #2563eb;
  box-shadow: 0 0 15px 8px rgba(37, 99, 235, 0.3);
}

.timeline-step.active .collapsible-text {
  max-height: 150px;
  opacity: 1;
  margin-top: 10px;
  margin-bottom: 20px;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, 
              opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.timeline-step:last-child .line {
  display: none;
}

.keyword h1 {
  font-weight: 300;
  color: #082c6b;
  font-size: 50px;
  margin: 28px 0 10px 0;
}

.keyword p {
  font-family: sans-serif;
  font-size: 18px;
  line-height: 1.5;
  margin: 10px 0 76px 0;
  color: #131921;
  opacity: 0.9;
}

/* Responsive Design */

@media (max-width: 1200px) {
    .forCenter{
        text-align: center;
    }
  .feature-content {
    gap: 100px;
  }

  .feature-visual img {
    width: 600px;
    height: 400px;
  }

  .feature-visual {
    min-height: 400px;
  }

  .feature-timeline {
    gap: 60px;
  }

  .timeline-step.active .step-title {
    font-size: 26px;
  }

  .keyword h1 {
    font-size: 42px;
  }
}

@media (max-width: 1024px) {
     .forCenter{
        text-align: center;
    }
  .feature-content {
    gap: 60px;
    flex-direction: column;
  }

  .feature-visual {
    display: none;
  }

  .timeline-step.active .mobilePhoto {
    display: block;
  }

  .feature-timeline {
    gap: 50px;
  }

  .timeline-step {
    gap: 25px;
  }

  .step-title {
    font-size: 16px;
  }

  .timeline-step.active .step-title {
    font-size: 24px;
  }

  .timeline-step.active .collapsible-text {
    max-height: 600px;
  }

  .collapsible-text {
    font-size: 14px;
  }

  .collapsible-text p {
    margin-bottom: 0;
  }

  .keyword h1 {
    font-size: 36px;
  }

  .keyword p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
     .forCenter{
        text-align: center;
    }
  .feature-content {
    flex-direction: column;
    gap: 40px;
        margin: 0 30px;

  }

  .feature-visual {
    display: none;
  }

  .timeline-step.active .mobilePhoto {
    display: block;
  }

  .feature-timeline {
    order: 1;
    gap: 40px;
  }

  .timeline-step {
    gap: 20px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .step-title {
    font-size: 14px;
  }

  .timeline-step.active .step-title {
    font-size: 20px;
  }

  .timeline-step.active .collapsible-text {
    max-height: 550px;
  }

  .collapsible-text {
    font-size: 13px;
    line-height: 1.4;
  }

  .collapsible-text p {
    margin-bottom: 0;
  }

  .keyword h1 {
    font-size: 32px;
    margin-top: 20px;
  }

  .keyword p {
    font-size: 14px;
    margin-bottom: 50px;
  }
}

@media (max-width: 480px) {
     .forCenter{
        text-align: center;
    }
  .feature-content {
    gap: 30px;
    margin: 0 30px;
  }

  .feature-visual {
    display: none;
  }

  .timeline-step.active .mobilePhoto {
    display: block;
  }

  .feature-timeline {
    gap: 30px;
  }

  .timeline-step {
    gap: 15px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .step-title {
    font-size: 13px;
  }

  .timeline-step.active .step-title {
    font-size: 18px;
  }

  .timeline-step.active .collapsible-text {
    max-height: 500px;
  }

  .collapsible-text {
    font-size: 12px;
  }

  .collapsible-text p {
    margin-bottom: 0;
  }

  .keyword h1 {
    font-size: 26px;
    margin-top: 15px;
  }

  .keyword p {
    font-size: 13px;
    margin-bottom: 40px;
  }
}