/* How it works — [bh_how_it_works] */
.bh-how-it-works-wrap {
  display: flex;
  flex-wrap: wrap;
  min-height: 600px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0.5%;
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}
.bh-how-it-works-wrap *,
.bh-how-it-works-wrap *::before,
.bh-how-it-works-wrap *::after { box-sizing: border-box; }

.bh-how-it-works {
  flex: 1 1 50%;
  min-width: 300px;
  background: #1a1a1a;
  color: #fff;
  padding: 40px 12%;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
[dir="rtl"] .bh-how-it-works {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  padding: 40px 12%;
}
[dir="ltr"] .bh-how-it-works {
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  padding: 40px 12%;
}

.bh-how-it-works-inner {
  max-width: 580px;
  margin: 0 auto;
}

.bh-how-it-works .bh-hiw-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.bh-how-it-works .bh-hiw-label .bh-hiw-label-line {
  width: 120px;
  flex: 0 0 120px;
  height: 2px;
  background: #1e3a5f;
  display: block;
}
.bh-how-it-works .bh-hiw-label .bh-hiw-label-text {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bh-how-it-works .bh-hiw-title {
  margin: 0 0 2rem;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.bh-how-it-works .bh-hiw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2rem;
  text-align: right;
  direction: rtl;
}
[dir="ltr"] .bh-how-it-works .bh-hiw-grid {
  text-align: left;
  direction: ltr;
}

.bh-how-it-works .bh-hiw-step {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  gap: 0.5rem 0;
  direction: rtl;
  text-align: center;
}
.bh-how-it-works .bh-hiw-step .bh-hiw-num {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
}
.bh-how-it-works .bh-hiw-step .bh-hiw-step-heading,
.bh-how-it-works .bh-hiw-step .bh-hiw-step-desc {
  grid-column: 1;
  text-align: center;
}
.bh-how-it-works .bh-hiw-step .bh-hiw-step-heading { grid-row: 2; }
.bh-how-it-works .bh-hiw-step .bh-hiw-step-desc { grid-row: 3; }
[dir="ltr"] .bh-how-it-works .bh-hiw-step {
  direction: ltr;
}
[dir="ltr"] .bh-how-it-works .bh-hiw-step .bh-hiw-step-heading,
[dir="ltr"] .bh-how-it-works .bh-hiw-step .bh-hiw-step-desc { text-align: center; }
[dir="ltr"] .bh-how-it-works .bh-hiw-step .bh-hiw-num { justify-self: center; }

.bh-how-it-works .bh-hiw-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1e3a5f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.bh-how-it-works .bh-hiw-step-heading {
  margin: 0;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}
.bh-how-it-works .bh-hiw-step-desc {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  line-height: 1.65;
}

.bh-how-it-works-img {
  flex: 1 1 50%;
  min-width: 320px;
  min-height: 460px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e8e8e8;
}
.bh-how-it-works-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .bh-how-it-works-wrap { flex-direction: column; min-height: auto; }
  .bh-how-it-works {
    clip-path: none; -webkit-clip-path: none;
    padding: 40px 12%;
    min-width: 100%;
  }
  [dir="rtl"] .bh-how-it-works,
  [dir="ltr"] .bh-how-it-works { clip-path: none; -webkit-clip-path: none; padding: 40px 12%; }
  .bh-how-it-works-inner { max-width: 100%; }
  .bh-how-it-works .bh-hiw-label { justify-content: center; }
  .bh-how-it-works .bh-hiw-title { text-align: center; }
  .bh-how-it-works-wrap { max-width: 100%; }
  .bh-how-it-works-img { min-height: 320px; min-width: 100%; }
}

@media (max-width: 768px) {
  .bh-how-it-works-wrap { padding: 0 0.5%; }
  .bh-how-it-works { padding: 30px 10%; }
  [dir="rtl"] .bh-how-it-works,
  [dir="ltr"] .bh-how-it-works { padding: 30px 10%; }
  .bh-how-it-works .bh-hiw-label .bh-hiw-label-line { width: 80px; flex: 0 0 80px; }
  .bh-how-it-works .bh-hiw-title { margin-bottom: 1.5rem; font-size: clamp(1.35rem, 4.5vw, 1.75rem); }
  .bh-how-it-works .bh-hiw-grid { gap: 1.5rem 1.5rem; }
  .bh-how-it-works .bh-hiw-num { width: 48px; height: 48px; font-size: 0.9375rem; }
  .bh-how-it-works .bh-hiw-step-heading { font-size: 1.0625rem; }
  .bh-how-it-works .bh-hiw-step-desc { font-size: 0.8125rem; }
  .bh-how-it-works-img { display: none; }
}

@media (max-width: 576px) {
  .bh-how-it-works { padding: 20px 10%; }
  [dir="rtl"] .bh-how-it-works,
  [dir="ltr"] .bh-how-it-works { padding: 20px 10%; }
  .bh-how-it-works .bh-hiw-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .bh-how-it-works .bh-hiw-title { margin-bottom: 1.25rem; }
  .bh-how-it-works-img { min-height: 240px; }
}

@media (max-width: 480px) {
  .bh-how-it-works { padding: 20px 10%; }
  [dir="rtl"] .bh-how-it-works,
  [dir="ltr"] .bh-how-it-works { padding: 20px 10%; }
  .bh-how-it-works .bh-hiw-label .bh-hiw-label-line { width: 60px; flex: 0 0 60px; }
  .bh-how-it-works .bh-hiw-title { font-size: 1.25rem; margin-bottom: 1rem; }
  .bh-how-it-works .bh-hiw-num { width: 44px; height: 44px; font-size: 0.875rem; }
  .bh-how-it-works .bh-hiw-step-heading { font-size: 1rem; }
  .bh-how-it-works-img { min-height: 240px; }
}
