/* ===================== bank_details.scss — full rewrite ===================== */
:root{
  --bd-primary: #287781;
  --bd-primary-dark: #0B3B2E;
  --bd-text: #1f2430;
  --bd-muted: #667085;
  --bd-border: #e6eaee;
  --bd-white: #ffffff;
  --bd-shadow: 0 10px 30px rgba(15, 35, 45, 0.08);
  --bd-shadow-card: 0 4px 14px rgba(15, 35, 45, 0.07);

  --bd-green: #1F9D5A;
  --bd-green-bg: #EAF7EF;
  --bd-blue: #2F6FED;
  --bd-blue-bg: #EAF1FF;
  --bd-purple: #7C5CFC;
  --bd-purple-bg: #F1EDFF;
  --bd-orange: #E8A33D;
  --bd-orange-bg: #FFF3E3;
}

* { margin:0; padding:0; box-sizing:border-box; }

.bd-page{
  font-family: 'BuenosAires';
  color: var(--bd-text);
  background: #fff;
}

.bd-wrap{
  width: min(94%, 1440px);
  margin: 0 auto;
}

/* ===================== HERO ===================== */
.bd-hero{
  background: linear-gradient(180deg, #f8fbfa 0%, #ffffff 100%);
  padding: 56px 0 20px;
}

.bd-hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.bd-hero-heading{
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.bd-hero-heading .bd-accent{
  color: var(--bd-green);
}

.bd-hero-sub{
  font-size: 16px;
  color: var(--bd-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 30px;
}

.bd-feature-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.bd-feature-pill{
  border: 1px solid var(--bd-border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
}

.bd-feature-icon{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bd-green-bg);
  color: var(--bd-green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bd-feature-icon svg{ width: 18px; height: 18px; stroke: currentColor; }

.bd-feature-title{
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
}

.bd-feature-sub{
  font-size: 11px;
  color: var(--bd-muted);
}

@media (max-width: 900px){
  .bd-feature-row{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .bd-feature-row{ grid-template-columns: 1fr; }
}

/* ===================== HERO ILLUSTRATION ===================== */
.bd-hero-illustration{
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bd-illustration-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

@media (max-width: 900px){
  .bd-hero-illustration{ margin-top: 20px; }
}

/* ===================== CATEGORY GRID ===================== */
.bd-categories{
  padding: 4px 0 30px;
}

.bd-categories-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

@media (max-width: 1050px){
  .bd-categories-grid{ grid-template-columns: 1fr; }
}

.bd-category{
  border: 1px solid var(--bd-border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.bd-cat-header{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
}

.bd-cat-icon{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bd-cat-icon svg{ width: 22px; height: 22px; stroke: currentColor; }

.bd-cat-titles{ flex: 1; }

.bd-cat-titles h3{
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.bd-cat-titles p{
  font-size: 14px;
  color: var(--bd-muted);
  line-height: 1.5;
}

/* category color themes */
.bd-cat-public .bd-cat-header{ background: var(--bd-green-bg); }
.bd-cat-public .bd-cat-icon{ background: #fff; color: var(--bd-green); }
.bd-cat-public .bd-view-all{ color: var(--bd-green); }

.bd-cat-private .bd-cat-header{ background: var(--bd-blue-bg); }
.bd-cat-private .bd-cat-icon{ background: #fff; color: var(--bd-blue); }
.bd-cat-private .bd-view-all{ color: var(--bd-blue); }

.bd-cat-nbfc .bd-cat-header{ background: var(--bd-purple-bg); }
.bd-cat-nbfc .bd-cat-icon{ background: #fff; color: var(--bd-purple); }
.bd-cat-nbfc .bd-view-all{ color: var(--bd-purple); }

.bd-cat-intl .bd-cat-header{ background: var(--bd-orange-bg); }
.bd-cat-intl .bd-cat-icon{ background: #fff; color: var(--bd-orange); }
.bd-cat-intl .bd-view-all{ color: var(--bd-orange); }

/* ===================== CARD ROW (scrollable) ===================== */
.bd-cards-row{
  display: flex;
  gap: 14px;
  padding: 18px 22px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.bd-cards-row::-webkit-scrollbar{ display: none; }

.bd-bank-card{
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
  border: 1px solid var(--bd-border);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--bd-shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 290px;
}

.bd-bank-logo{
  width: 60px;
  height: 60px; 
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f4f6f5;
}

.bd-bank-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bd-bank-name{
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bd-bank-amount{
  font-size: 15px;
  color: var(--bd-text);
  margin-bottom: 4px;
}

.bd-bank-rate{
  font-size: 13px;
  color: var(--bd-muted);
  margin-bottom: 2px;
}

.bd-bank-rate .bd-rate-value{
  color: #D21868;
  font-weight: 700;
}

.bd-bank-meta{
  font-size: 13px;
  color: var(--bd-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.bd-bank-actions{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.bd-btn-check{
  width: 100%;
  padding: 9px 10px;
  border-radius: 7px;
  border: 1px solid var(--bd-primary);
  color: var(--bd-primary);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.bd-btn-check:hover{
  background: var(--bd-primary);
  color: #fff;
}

.bd-btn-know{
  font-size: 13px;
  font-weight: 700;
  color: var(--bd-muted);
  text-decoration: none;
  text-align: center;
}

.bd-btn-know:hover{ color: var(--bd-primary); }

/* ===================== DOTS ===================== */
.bd-dots{
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 4px 0 20px;
}

.bd-dots span{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bd-border);
  cursor: pointer;
}

.bd-cat-public .bd-dots span.active{ background: var(--bd-green); width: 16px; border-radius: 4px; }
.bd-cat-private .bd-dots span.active{ background: var(--bd-blue); width: 16px; border-radius: 4px; }
.bd-cat-nbfc .bd-dots span.active{ background: var(--bd-purple); width: 16px; border-radius: 4px; }
.bd-cat-intl .bd-dots span.active{ background: var(--bd-orange); width: 16px; border-radius: 4px; }

/* ===================== BOTTOM CTA ===================== */
.bd-bottom-cta{
  background: #f8fbfa;
  border-top: 1px solid var(--bd-border);
  padding: 26px 0 40px;
}

.bd-bottom-inner{
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px solid var(--bd-border);
  background: #fff;
  border-radius: 16px;
  padding: 20px 26px;
}

.bd-bottom-icon{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bd-green-bg);
  color: var(--bd-green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bd-bottom-icon svg{ width: 22px; height: 22px; stroke: currentColor; }

.bd-bottom-text{ flex: 1; min-width: 220px; }

.bd-bottom-text h4{
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 3px;
}

.bd-bottom-text p{
  font-size: 14px;
  color: var(--bd-muted);
}

.bd-bottom-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bd-primary-dark);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.bd-disclaimer{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--bd-muted);
  max-width: 260px;
}

.bd-disclaimer svg{ width: 16px; height: 16px; stroke: var(--bd-muted); flex-shrink: 0; }

@media (max-width: 900px){
  .bd-bottom-inner{ flex-direction: column; align-items: flex-start; }
  .bd-bottom-btn{ width: 100%; justify-content: center; }
}
