.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
    line-height: 4rem;
    max-width: 800px;
}
.hero img {
  width: 100%;
}
.how-it-works {
  position: relative;
  overflow: hidden;  
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4rem ;
  background: url('/assets/images/index_hero_bg.svg') no-repeat center center;
}

.how-it-works h2 {
  text-align: center;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  gap: 2rem;
  width: 75%;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}



/* Individual card */
.feature-card {
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.feature-card img {
  width: 100%;
}
.feature-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .feature-grid {
    width: 100%;
  }
}
