/* How It Works page specific styles */

/* Spacing helpers */
.section-padding {
  padding: 80px 0;
}

/* Page header fallback color when image missing */
.page-header {
  background-color: #0d6efd; /* primary */
  position: relative;
  padding: 80px 0;
}
.page-header .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.7);
}

/* Timeline steps */
.timeline-step {
  position: relative;
}
.timeline-step .step-content {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
  padding: 24px;
  border-inline-start: 4px solid #0d6efd; /* logical start for LTR/RTL */
}
/* Reverse row (handled by Bootstrap flex-md-row-reverse) still looks good */
@media (min-width: 768px) {
  .timeline-step.flex-md-row-reverse .step-content {
    border-inline-start: 0;
    border-inline-end: 4px solid #0d6efd;
  }
}

.step-number {
  display: inline-block;
  background: #e7f1ff;
  color: #0d6efd;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.step-image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

/* Lists */
.check-list,
.service-features {
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li,
.service-features li {
  margin: 8px 0;
  display: flex;
  align-items: flex-start;
}
.check-list li i,
.service-features li i {
  color: #0d6efd;
  margin-inline-end: 8px; /* logical spacing */
  margin-top: 3px;
}

/* Benefits */
.benefit-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.25rem rgba(0,0,0,0.08);
}
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #e7f1ff;
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Timeline progress */
.timeline-chart .progress {
  height: 10px;
  border-radius: 999px;
  background: #eef2f7;
}
.timeline-chart .progress-bar {
  transition: width 1.2s ease;
}

/* CTA */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.9))),
              url('../img/contact-bg.jpg') center/cover no-repeat;
  color: #fff;
}

/* Simple reveal animations */
.timeline-step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-step.reveal-in {
  opacity: 1;
  transform: none;
}

/* RTL tweaks when body has .rtl */
body.rtl .check-list li i,
body.rtl .service-features li i {
  margin-inline-start: 8px;
  margin-inline-end: 0;
}
body.rtl .benefit-card .icon-box {
  direction: rtl; /* keep icon centered */
}
