.how-it-works {
  padding: 120px 20px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* Heading */
.section-head {
  text-align: center;
  margin-bottom: 80px;
}

.section-head h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-head p {
  color: #666;
  margin-top: 10px;
  font-size: 16px;
}

/* Layout */
.how-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

/* Images wrapper */
.how-images {
  position: relative;
}

/* BIG IMAGE */
.img-large {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.img-large:hover img {
  transform: scale(1.05);
}

/* SMALL IMAGES */
.img-small-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.img-small {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-small:hover img {
  transform: scale(1.08);
}

/* Dots */
.path-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
}

.dot-1 {
  left: -25px;
  top: 60%;
}

.dot-2 {
  right: -25px;
  bottom: 18%;
}

/* Steps */
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-card {
  display: flex;
  gap: 22px;
  padding: 32px 34px;
  border-radius: 26px;
  transition: all 0.4s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.step-1 { background: #fff1ea; }
.step-2 { background: #e9fbfb; }
.step-3 { background: #eef4ff; }

.step-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.step-card h4 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.step-card a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.step-card a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .how-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 576px) {
  .section-head h2 {
    font-size: 32px;
  }

  .step-card {
    flex-direction: column;
  }

  .step-card .icon {
    margin-bottom: 10px;
  }
}
