/**
 * NextSure Responsive Fixes
 * ------------------------------------------------------------
 * Mobile/tablet responsive adjustments. নতুন responsive edit করতে
 * চাইলে এই file-এ CSS add করা সবচেয়ে safe.
 * ------------------------------------------------------------
 */


/* NextSure final responsive and usability fixes */
html{max-width:100%;overflow-x:hidden} body{max-width:100%;overflow-x:hidden}
img{max-width:100%;height:auto}.container,.header-inner,.section{max-width:100%}
.site-header,.header-inner{z-index:1000}.brand_logo img,.brand img{max-height:64px;object-fit:contain}
.has-submenu{position:relative}.has-submenu .submenu{display:none;position:absolute;top:100%;left:0;min-width:230px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 20px 55px rgba(15,23,42,.14);padding:10px;z-index:2000}.has-submenu:hover .submenu{display:block}.submenu a{padding:10px 14px!important;border-radius:12px;white-space:nowrap}.submenu a:hover{background:#eef2ff!important;color:#3730a3!important}
.hero,.slider,.slide{min-height:clamp(360px,62vw,660px)}.slide img{width:100%;height:100%;object-fit:cover;object-position:center}.slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,23,42,.72),rgba(15,23,42,.28),rgba(15,23,42,.05));pointer-events:none}.slide-content{position:relative;z-index:2;max-width:min(650px,90vw)}
.overflow-auto,table{max-width:100%} table{border-collapse:collapse} input,select,textarea,button{max-width:100%}
@media (max-width: 900px){
  .header-inner{padding:12px 16px;gap:10px}.brand_logo{width:125px}.nav-list{gap:8px}.nav-list li a{font-size:14px}.nav-list li a.cta{padding:.65rem 1rem}
  .has-submenu .submenu{position:static;box-shadow:none;border:0;background:rgba(248,250,252,.95);border-radius:14px;margin-top:6px}.has-submenu.open .submenu{display:block}.has-submenu:hover .submenu{display:none}.has-submenu.open:hover .submenu{display:block}
  .hero,.slider,.slide{min-height:310px}.slide img{object-fit:contain;background:#0f172a}.slide::after{background:linear-gradient(180deg,rgba(15,23,42,.08),rgba(15,23,42,.38))}.slide-content h1,.slide-content h2,.slide-content h3,.slide-content p{display:none!important}.slide-content{left:0!important;right:0!important;bottom:18px!important;top:auto!important;transform:none!important;text-align:center;width:100%;padding:0 16px}.slide-content .btn,.slide-content a{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;padding:10px 20px;border-radius:999px;background:#10b981;color:#fff;font-weight:800;text-decoration:none}
  .grid.cards,.partners-grid,.contact_main{grid-template-columns:1fr!important;display:grid!important}.card,.partner,.contact_item{width:100%!important}.section{padding:42px 16px}.section-title{font-size:clamp(26px,8vw,36px)!important}.lead{font-size:15px!important}
  aside{display:none!important} main{width:100%!important;padding:14px!important}.md\:grid-cols-4{grid-template-columns:1fr 1fr!important}.min-w-full{min-width:920px!important} #notifDropdown{position:fixed!important;top:74px!important;left:12px!important;right:12px!important;width:auto!important;max-height:72vh!important}
  form,.form-grid,.quote-form{width:100%!important;grid-template-columns:1fr!important}.bill-card,.bill{padding:16px!important}.table{display:block;overflow-x:auto;white-space:nowrap}
}
@media (max-width: 520px){
  .md\:grid-cols-4{grid-template-columns:1fr!important}.hero,.slider,.slide{min-height:260px}.slide-content .btn,.slide-content a{font-size:14px;padding:9px 16px}.header-inner{padding:10px 12px}.brand_logo{width:110px}.nav-toggle{display:block}.cards{gap:16px}.btn,.cta,button{touch-action:manipulation}
}

/* NextSure premium page/nav fixes */
.site-header .brand_logo img{max-height:64px;object-fit:contain}.has-submenu{position:relative}.has-submenu>.submenu{list-style:none}.has-submenu:hover>.submenu,.has-submenu:focus-within>.submenu,.has-submenu.open>.submenu{display:block!important;opacity:1!important;visibility:visible!important;transform:translateY(0)!important}.submenu{z-index:99999!important}.nav-list a.cta{cursor:pointer}.table-wrap,.overflow-auto{overflow-x:auto;-webkit-overflow-scrolling:touch}.min-w-full{min-width:860px}@media(max-width:900px){.nav{max-height:calc(100vh - 80px);overflow:auto}.nav-list{width:100%}.has-submenu>.submenu{display:none!important;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important}.has-submenu.open>.submenu{display:block!important}.login-bg .section,.login-bg main{padding-left:14px;padding-right:14px}.auth-card{border-radius:24px!important}.brand_logo{width:138px!important}}


/* NextSure v26 global sticky navbar + hero height + up arrow */
.site-header,.navbar,header.site-header{position:sticky!important;top:0!important;z-index:999!important}
.hero,.home-hero,.product-hero,.banner-section{min-height:100vh}
.ns-scroll-top{position:fixed;right:18px;bottom:18px;z-index:9999;width:46px;height:46px;border-radius:999px;background:#111827;color:#fff;font-weight:900;display:none;align-items:center;justify-content:center;box-shadow:0 14px 35px rgba(15,23,42,.25)}
.ns-scroll-top.show{display:flex}


/* NextSure v34 product banner fix */
.hero,.banner,.product-hero,.main-banner,.slider,.hero-section{background-size:92% auto!important;background-position:center center!important;background-repeat:no-repeat!important}.hero::before,.banner::before,.product-hero::before,.main-banner::before,.slider::before,.hero-section::before,.hero::after,.banner::after,.product-hero::after,.main-banner::after,.slider::after,.hero-section::after{opacity:.28!important}.buy-now-btn,.btn-buy-now,.hero-buy-btn,a[href*="order"].buy-now,.banner .btn,.hero .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:170px!important;max-width:230px!important;padding:12px 24px!important;border-radius:8px!important;background:#10b981!important;color:#fff!important;font-weight:800!important;text-decoration:none!important;border:2px solid #10f2a0!important;box-shadow:0 10px 25px rgba(16,185,129,.25)!important}@media(max-width:768px){.hero,.banner,.product-hero,.main-banner,.slider,.hero-section{min-height:calc(100vh - 80px)!important;background-size:96% auto!important;background-position:center center!important}.buy-now-btn,.btn-buy-now,.hero-buy-btn,a[href*="order"].buy-now,.banner .btn,.hero .btn{min-width:150px!important;padding:11px 18px!important}}
