/* Fixed "skyscraper" pillar sidebar ads for the LeadConnectX homepage
   (Rohit, 15-Oct: "freesoftware waali site pe ye pillar banners lage hain,
   lead waali site ke home page pe bhi chahiye") -- same visual component as
   freesoftwarex.com's .bbl3-sidebar (assets/sidebar-ad.css over there),
   ported here with the same class names so the shared JS behaviour
   (position tracking + enquiry modal, js/pillar-sidebar.js) didn't need
   rewriting, just retargeted at this site's own #navbar/footer instead of
   freesoftwarex.com's .site-head/footer.site-foot.
   Desktop-only by design (hidden below 1300px) -- same as the original. */
.bbl3-sidebar { display: none; flex-direction: column; position: fixed; width: 150px; z-index: 40; }
.bbl3-sidebar img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bbl3-sidebar-l { left: 8px; }
.bbl3-sidebar-r { right: 8px; }
.bbl3-sidebar-slides { position: relative; flex: 1 1 auto; min-height: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 30px -12px rgba(15,27,61,.45); }
.bbl3-sidebar-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s ease; }
.bbl3-sidebar-slides img.is-active { opacity: 1; }
.bbl3-sidebar-cta { align-self: center; flex: 0 0 auto; margin-top: 10px; z-index: 5; background: #ef4444; color: #fff; border: 0; border-radius: 8px; padding: 10px 14px; font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.3); white-space: nowrap; }
.bbl3-sidebar-cta:hover { background: #dc2626; }

/* Only the homepage hero is genuinely edge-to-edge (every other section
   already sits inside a centred max-w-7xl container with its own natural
   margin, which clears the pillars on its own at these widths) -- so
   clearance is scoped to just the hero instead of padding the whole body
   and needlessly narrowing sections that didn't need it. */
@media (min-width: 1300px) {
  .bbl3-sidebar { display: flex; }
  .pillar-clear { padding-left: 170px; padding-right: 170px; }
}
@media (min-width: 1700px) {
  .bbl3-sidebar { width: 220px; }
  .bbl3-sidebar-l { left: 16px; }
  .bbl3-sidebar-r { right: 16px; }
  .pillar-clear { padding-left: 250px; padding-right: 250px; }
}

/* This site has no existing .modal/.modal-scrim/.modal-panel pattern to
   reuse (checked /css/style.css first — nothing there), so the enquiry
   popup's own modal shell is defined here too, not just its form fields. */
.bbl-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.bbl-modal[hidden] { display: none; }
.bbl-modal-scrim { position: absolute; inset: 0; background: rgba(12,16,40,.55); backdrop-filter: blur(3px); }
.bbl-modal-panel { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 20px 50px -12px rgba(15,27,61,.35); padding: 26px; }
.bbl-modal-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #f1f5f9; color: #64748b; cursor: pointer; }
.bbl-modal-x:hover { background: #e2e8f0; color: #1e293b; }
.bbl-modal-x svg { width: 18px; height: 18px; }
.bbl-modal-head { display: flex; gap: 14px; align-items: flex-start; margin: 0 28px 18px 0; }
.bbl-modal-ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.bbl-modal-ico svg { width: 22px; height: 22px; }
.bbl-modal-head h2 { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: #0f172a; }
.bbl-modal-head p { margin: 0; font-size: 13px; color: #64748b; line-height: 1.5; }
.bbl-modal-form .field { margin-bottom: 14px; }
.bbl-modal-form label { display: block; font-size: 12.5px; font-weight: 700; color: #334155; margin-bottom: 4px; }
.bbl-modal-form .input, .bbl-modal-form .textarea { width: 100%; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 14px; font-family: inherit; background: #f8fafc; }
.bbl-modal-form .input:focus, .bbl-modal-form .textarea:focus { outline: none; border-color: #2563eb; background: #fff; }
.bbl-modal-form .req { color: #ef4444; }
.bbl-modal-form .opt { color: #94a3b8; font-weight: 500; }
.bbl-modal-submit { width: 100%; background: #2563eb; color: #fff; border: 0; border-radius: 10px; padding: 12px; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; margin-top: 4px; }
.bbl-modal-submit:hover { background: #1d4ed8; }
