.title {
  text-align: center;
}

.title h1 {
  font-weight: bold;
  display: inline-block;
  padding: 1px 5vw;
  background: #475369;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 40px auto 0;
  line-height: 2.5em;
  font-size: clamp(20px, 5vw, 30px);
  color: #ffffff;
  text-align: center;
}



.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.tab-button {
  background: #2b2d31;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  width: 450px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tab-button.active {
  background: #4e91f9;
  color: white;
}

.steps.active {
  display: grid;
}


.steps {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(320px, 360px));
  gap: 20px;
  justify-content: center;
  margin: auto;
  padding: 20px 0;
  place-items: center;
}

.step-content {
  height: 390px;
  width: 320px;
}

.step-card {
  background: #2b2d31;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.step-image {
  padding-top: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 1;
}


.step-card:hover {
  transform: translateY(-2px);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.step-number {
  background: linear-gradient(#5dc9ff 20%, #ff3bef);
  color: rgb(255, 255, 255);
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-shadow: 0px 0px 10px rgb(0, 0, 0);
}

.step-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  color: #e0e7e0
}

.step-body p {
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
  color: #e0e7e0
}


@media screen and (max-width: 768px) {
    .tab-buttons {
      flex-direction: column;
      align-items: center;
      gap: 16px;
      padding: 0 16px;
      box-sizing: border-box;
      padding-top: 20px;
      margin-top: 0px;
    }

    .tab-button {
        width: 100%;
        max-width: 450px;
    }
}