.smartbank-case-study {
  color: #102033;
  background: #ffffff !important;
}

.smartbank-case-study p {
  font-size: 1rem;
  line-height: 1.8;
  color: #243447;
}

.smartbank-hero-shell {
  background: #0a2f5f;
}

.smartbank-hero {
  padding: clamp(6rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background:
    linear-gradient(120deg, rgba(8, 36, 76, 0.96) 0%, rgba(14, 62, 116, 0.9) 58%, rgba(20, 82, 139, 0.86) 100%),
    url("../assets/imgs/caseStudeis_ban.svg");
  background-size: cover;
  background-position: center;
}

.bank-kicker,
.bank-section-heading span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.smartbank-hero h1 {
  max-width: 900px;
  margin-bottom: 1.1rem;
  color: #ffffff;
  font-size: clamp(2.45rem, 5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.03;
}

.bank-hero-copy {
  max-width: 720px;
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 1.08rem !important;
}

.bank-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.bank-action-primary,
.bank-action-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.bank-action-primary {
  background: #ffffff;
  color: #0a2f5f;
}

.bank-action-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.bank-action-primary:hover,
.bank-action-secondary:hover {
  transform: translateY(-2px);
}

.bank-action-primary:hover {
  color: #0a2f5f;
}

.bank-action-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.bank-hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.bank-hero-visual img {
  width: 100%;
  height: 290px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.2));
}

.rating-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
  color: #ffffff;
}

.rating-strip span {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.rating-strip strong {
  font-size: 2.4rem;
  line-height: 1;
}

.rating-bands {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
}

.band {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 5px;
  color: #ffffff;
  font-weight: 800;
}

.band-safe {
  background: #1b9a89;
}

.band-watch {
  background: #d99b2b;
}

.band-risk {
  background: #b9454f;
}

.bank-overview,
.bank-section,
.bank-process,
.bank-explain,
.bank-governance,
.bank-impact {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.bank-banner-image {
  padding: 1.5rem 0 0;
  background: #f6f9fc;
}

.bank-banner-image .container {
  max-width: min(1500px, calc(100% - 1.5rem));
}

.bank-banner-image-frame {
  overflow: hidden;
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px solid #dce7f3;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(9, 45, 95, 0.1);
}

.bank-banner-image-frame img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.bank-overview {
  background: #f6f9fc;
}

.bank-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bank-metric,
.pain-item,
.workflow-step {
  border: 1px solid #dce7f3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(9, 45, 95, 0.08);
}

.bank-metric {
  padding: 1.35rem;
}

.bank-metric span {
  display: block;
  margin-bottom: 0.5rem;
  color: #51677f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bank-metric strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #0a2f5f;
  font-size: 2.45rem;
  line-height: 1;
}

.bank-metric p {
  margin-bottom: 0;
}

.bank-section-heading {
  max-width: 860px;
  margin-bottom: 2rem;
}

.bank-section-heading.compact {
  margin-bottom: 1rem;
}

.bank-section-heading span {
  background: #e9f2ff;
  border-color: #c7dcf7;
  color: #1351d8;
}

.bank-section-heading h2 {
  margin: 0;
  color: #0a2f5f;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 750;
  line-height: 1.16;
}

.bank-lead {
  font-size: 1.08rem !important;
  color: #122d4c !important;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.pain-grid-wide {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1rem;
}

.pain-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 74px;
  padding: 1rem;
}

.pain-item i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #e9f2ff;
  color: #1351d8;
}

.pain-item span {
  font-weight: 700;
  color: #143252;
}

.bank-process {
  background: #f7faf8;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.process-step {
  position: relative;
  min-height: 190px;
  padding: 1rem;
  border-top: 4px solid #1351d8;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 58, 92, 0.07);
}

.process-step strong {
  display: block;
  margin-bottom: 1rem;
  color: #1351d8;
  font-size: 1.5rem;
}

.process-step p {
  margin: 0;
}

.bank-solution {
  background: #ffffff;
}

.bank-visual-panel {
  overflow: hidden;
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px solid #dce7f3;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(9, 45, 95, 0.1);
}

.bank-visual-panel img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.bank-challenge-visual img {
  max-height: 520px;
  object-fit: cover;
}

.bank-solution-visual {
  margin-bottom: 1.25rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.workflow-step {
  padding: 1.35rem;
}

.workflow-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 6px;
  background: #0a2f5f;
  color: #ffffff;
}

.workflow-step span {
  display: block;
  color: #1b9a89;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.workflow-step h3 {
  margin: 0.45rem 0 0.65rem;
  color: #0a2f5f;
  font-size: 1.15rem;
  font-weight: 800;
}

.workflow-step p {
  margin-bottom: 0;
}

.bank-explain {
  background: #f4f8fd;
}

.bank-explain-img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.bank-governance {
  background: #ffffff;
}

.governance-table {
  border: 1px solid #d7e3f0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(9, 45, 95, 0.08);
}

.governance-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 1.6fr;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #e4edf5;
}

.governance-row:last-child {
  border-bottom: none;
}

.governance-row span:first-child {
  color: #0a2f5f;
  font-weight: 800;
}

.governance-row span:last-child {
  color: #2b4055;
  line-height: 1.65;
}

.governance-head {
  background: #0a2f5f;
}

.governance-head span:first-child,
.governance-head span:last-child {
  color: #ffffff;
  font-weight: 800;
}

.bank-impact {
  background: #0a2f5f;
}

.bank-impact-visual {
  overflow: hidden;
  margin-bottom: 2rem;
  padding: 0.65rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.bank-impact-visual img {
  display: block;
  width: 100%;
  border-radius: 28px;
  clip-path: inset(7px round 28px);
}

.bank-impact .bank-section-heading span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.bank-impact .bank-section-heading h2,
.bank-impact p {
  color: #ffffff !important;
}

.impact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.impact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  line-height: 1.55;
}

.impact-list i {
  margin-top: 0.2rem;
  color: #7bd6c9;
}

@media only screen and (max-width: 1199px) {
  .process-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 991px) {
  .smartbank-hero {
    padding-top: 5rem;
  }

  .bank-hero-visual {
    min-height: 0;
  }

  .bank-metrics,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .process-row,
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 575px) {
  .smartbank-hero h1 {
    font-size: 2.35rem;
  }

  .bank-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bank-action-primary,
  .bank-action-secondary {
    justify-content: center;
  }

  .process-row,
  .pain-grid,
  .governance-row {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 0;
  }
}
