/* /ekyc/ekyc.css */

/* ── Hero ── */
.ekyc-hero {
  background: linear-gradient(135deg, #061830 0%, #0a2640 55%, #0c3a5c 100%);
  color: #fff;
  overflow: hidden;
  padding: 5rem 1.5rem 4rem;
}
.ekyc-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ekyc-hero__text .breadcrumb { margin-bottom: 1.25rem; }
.ekyc-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.ekyc-hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: #5dd6f0;
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.ekyc-hero__desc {
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.ekyc-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.ekyc-hero__img img {
  width: 100%;
  max-width: 460px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

/* ── Overview grid ── */
.ekyc-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.ekyc-overview-item {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ekyc-overview-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.ekyc-overview-icon {
  width: 56px;
  height: 56px;
  background: rgba(8,132,160,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
  color: #0884a0;
  font-size: 1.5rem;
}
.ekyc-overview-item h3 {
  font-size: 1rem;
  color: #0A1A2F;
  margin-bottom: .5rem;
}
.ekyc-overview-item p {
  font-size: .88rem;
  color: #4a5568;
  line-height: 1.65;
}

/* ── Challenges ── */
.challenge-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.challenge-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  font-size: .95rem;
  color: #4a5568;
  line-height: 1.6;
}
.challenge-icon {
  width: 36px;
  height: 36px;
  background: rgba(0,51,102,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A1A2F;
  font-size: .9rem;
  flex-shrink: 0;
}

/* ── Feature cards ── */
.ekyc-feature-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ekyc-feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ekyc-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Modules (alternating) ── */
.module-list { display: flex; flex-direction: column; gap: 2.5rem; }
.module-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.module-item--reverse { direction: rtl; }
.module-item--reverse > * { direction: ltr; }
.module-item__text { padding: 2.5rem; }
.module-item__text h3 {
  font-size: 1.3rem;
  color: #0A1A2F;
  margin-bottom: 1rem;
}
.module-item__text p {
  font-size: .95rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: .75rem;
}
.module-item__text p:last-child { margin-bottom: 0; }
.module-item__text strong { color: #0A1A2F; }
.module-item__img img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

/* ── Case study tag ── */
.case-card__industry {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #0884a0;
  background: rgba(8,132,160,.08);
  padding: .2rem .65rem;
  border-radius: 99px;
  margin-bottom: .75rem;
}

/* ── Section description ── */
.section-desc {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.75;
  margin-top: .5rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ekyc-hero__inner { grid-template-columns: 1fr; }
  .ekyc-hero__img   { display: none; }
  .module-item,
  .module-item--reverse { grid-template-columns: 1fr; direction: ltr; }
  .module-item__img { max-height: 200px; overflow: hidden; }
}
@media (max-width: 600px) {
  .ekyc-hero__actions { flex-direction: column; }
  .ekyc-hero__actions .btn { width: 100%; justify-content: center; }
  .challenge-list { grid-template-columns: 1fr; }
  .ekyc-overview-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .ekyc-overview-grid { grid-template-columns: 1fr; }
}
