/* ==========================================================================
   Corporate footer (theme v2.0.61) — owner's reference 2026-12-02
   (Core_Smart_Backbone_Corporate_Footer.png). Loaded after csb.css.
   All classes are .csb-foot-* so nothing collides with the old footer
   band rules in csb.css (those become dead CSS once the old callback
   is replaced — see MERGE-NOTE.md).
   ========================================================================== */
.csb-foot{ position:relative; overflow:hidden; background:linear-gradient(135deg,#DCEBFC 0%,#E9F2FE 42%,#D3E4FA 78%,#C6DDF7 100%); color:#0B2A4A; /* v2.0.61: a touch deeper blue, same family */ }
.csb-foot-body{ position:relative; overflow:hidden; }
/* Soft diagonal white shapes (top-right of the reference). */
.csb-foot-body::before{ content:""; position:absolute; top:-170px; right:-130px; width:640px; height:390px; background:rgba(255,255,255,.5); border-radius:50%; transform:rotate(-16deg); pointer-events:none; }
/* Subtle dotted pattern on the right (reference, behind Policies). */
.csb-foot-body::after{ content:""; position:absolute; top:24px; right:0; width:430px; height:320px; background-image:radial-gradient(#A9C8EC 1.3px, transparent 1.4px); background-size:15px 15px; opacity:.32; -webkit-mask-image:linear-gradient(90deg,transparent,#000 35%,#000 85%,transparent); mask-image:linear-gradient(90deg,transparent,#000 35%,#000 85%,transparent); pointer-events:none; }
/* Faint Dhaka skyline silhouette, bottom-right (reference). */
.csb-foot-skyline{ position:absolute; right:0; bottom:0; width:min(760px,58%); height:170px; background:url('csb-footer-skyline.webp') right bottom/auto 170px no-repeat; opacity:.8; pointer-events:none; }

/* --- 4-column grid + thin vertical dividers --- */
.csb-foot-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.35fr 1fr .85fr 1.1fr; gap:28px; padding:54px 20px 40px; }
.csb-foot-col{ min-width:0; }
.csb-foot-col + .csb-foot-col{ border-left:1px solid #D3E2F5; padding-left:28px; }

/* --- Brand column --- */
.csb-foot-logo{ display:block; max-width:250px; }
.csb-foot-logo img{ width:100%; height:auto; display:block; mix-blend-mode:multiply; /* v2.0.61: the logo file has a white background — multiply melts it into the light-blue footer */ }
.csb-foot-tag{ display:flex; align-items:center; gap:12px; margin:16px 0 14px; color:#0B2A4A; font-style:italic; font-weight:600; font-size:15px; white-space:nowrap; }
.csb-foot-tag::before, .csb-foot-tag::after{ content:""; flex:1; height:1px; background:#9DB8D8; }
.csb-foot-desc{ font-size:15px; line-height:1.65; color:#0B2A4A; margin:0 0 18px; }
.csb-foot-contact{ list-style:none; margin:0 0 18px; padding:0; }
.csb-foot-contact li{ display:flex; gap:12px; align-items:flex-start; margin:0 0 12px; font-size:15px; line-height:1.45; }
.csb-foot-contact a{ color:#0B2A4A; text-decoration:none; }
.csb-foot-contact a:hover{ color:#0A6FD6; text-decoration:underline; }
.csb-foot-ic{ flex:none; width:34px; height:34px; border-radius:50%; background:#0A6FD6; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 4px 12px rgba(10,111,214,.3); }
.csb-foot-ic svg{ width:17px; height:17px; }
.csb-foot-social{ display:flex; gap:12px; margin:0; }
.csb-foot-social a{ width:40px; height:40px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 6px 16px rgba(11,61,110,.18); transition:transform .15s ease; }
.csb-foot-social a:hover{ transform:translateY(-2px); text-decoration:none; }
.csb-foot-social svg{ width:19px; height:19px; }
.csb-foot-social .csb-soc-fb{ background:#1877F2; }
.csb-foot-social .csb-soc-yt{ background:#FF0000; }
.csb-foot-social .csb-soc-in{ background:#0A66C2; }

/* --- Column headings: orange circle icon + light-blue pill + orange accent --- */
.csb-foot-head{ display:flex; align-items:center; gap:12px; margin:0; font-size:20px; }
.csb-foot-head-ic{ flex:none; width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,#F2622E,#EF3310); display:inline-flex; align-items:center; justify-content:center; box-shadow:0 6px 16px rgba(239,51,16,.35); }
.csb-foot-head-ic svg{ width:24px; height:24px; }
.csb-foot-head-pill{ display:inline-block; background:#E8F1FE; color:#0B2A4A; font-size:20px; font-weight:800; line-height:1; padding:12px 22px 12px 16px; border-radius:0 999px 999px 0; }
.csb-foot-head-accent{ display:block; width:92px; height:4px; margin:9px 0 16px 56px; background:linear-gradient(90deg,#F04438,#EF3310); border-radius:2px; }

/* --- Link lists: blue chevron + navy text --- */
.csb-foot-links{ list-style:none; margin:0; padding:0; }
.csb-foot-links li{ margin:0 0 10px; }
.csb-foot-links a{ color:#0B2A4A; text-decoration:none; font-size:15px; line-height:1.4; }
.csb-foot-links a::before{ content:"\203A"; color:#0A6FD6; font-weight:800; font-size:18px; line-height:1; margin-right:10px; }
.csb-foot-links a:hover{ color:#0A6FD6; text-decoration:underline; }

/* --- Payment badges (display only — no checkout/gateway work) --- */
.csb-foot-pay-rule{ border-top:1px solid #D3E2F5; margin:20px 0 0; padding-top:18px; }
.csb-foot-pay{ display:flex; flex-wrap:wrap; gap:10px; margin:0; }
.csb-pay-badge{ display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid #DCE9F8; border-radius:12px; padding:8px 14px; min-height:44px; box-shadow:0 4px 14px rgba(11,61,110,.08); font-weight:800; font-size:15px; color:#0B2A4A; line-height:1; }
.csb-pay-badge svg{ width:24px; height:24px; }
.csb-pay-bkash{ color:#E2136E; font-style:italic; }
.csb-pay-nagad{ color:#EE4023; }
.csb-pay-nagad-mark{ width:26px; height:26px; border-radius:50%; background:#F6921E; color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:15px; font-weight:800; }
.csb-pay-visa{ color:#1A1F71; font-style:italic; letter-spacing:.5px; }
.csb-pay-mc-circles{ display:inline-flex; }
.csb-pay-mc-circles i{ width:20px; height:20px; border-radius:50%; display:block; }
.csb-pay-mc-circles i:first-child{ background:#EB001B; }
.csb-pay-mc-circles i:last-child{ background:#F79E1B; margin-left:-8px; opacity:.92; }

/* --- Bottom wave + deep-blue copyright bar --- */
.csb-foot-wave-svg{ display:block; width:100%; height:64px; margin-bottom:-1px; }
.csb-foot-copy{ background:linear-gradient(180deg,#072E68,#041B45); }
.csb-foot-copy-in{ display:flex; align-items:center; gap:18px; padding:16px 20px 24px; }
.csb-foot-copy-in::before, .csb-foot-copy-in::after{ content:""; flex:1; height:1px; background:rgba(255,255,255,.35); }
.csb-foot-copy p{ margin:0; color:#fff; font-size:15px; text-align:center; white-space:nowrap; }
.csb-foot-copy b{ font-weight:800; }

/* --- Responsive: 2 columns, then 1 column stacked --- */
@media (max-width:1100px){
  .csb-foot-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .csb-foot-col + .csb-foot-col{ border-left:0; padding-left:0; }
  .csb-foot-col:nth-child(3), .csb-foot-col:nth-child(4){ border-top:1px solid #D3E2F5; padding-top:28px; }
  .csb-foot-skyline{ width:78%; }
}
@media (max-width:900px){
  /* Tawk.to bubble clearance — carried from the v2.0.43 .csb-footer-bottom fix. */
  .csb-foot-copy-in{ padding-bottom:84px; }
}
@media (max-width:640px){
  .csb-foot-grid{ grid-template-columns:1fr; padding:40px 20px 32px; }
  .csb-foot-col + .csb-foot-col{ border-top:1px solid #D3E2F5; padding-top:26px; }
  .csb-foot-skyline{ height:120px; width:100%; background-size:auto 120px; opacity:.6; }
  .csb-foot-wave-svg{ height:44px; }
  .csb-foot-copy p{ white-space:normal; font-size:14px; }
  .csb-foot-head-pill{ font-size:18px; }
}
