/* -----------------------------------------------------------
   InfoLink Lite – Sitewide Responsive CSS
   Mobile-first • Safe-scoped classes • No framework required
----------------------------------------------------------- */
.p-index .page-title { display:none; }


/* base: mobile drawer CTA default hidden (ডেস্কটপে লুকানো থাকবে) */
.nav .cta-mobile{display:none}

/* <= 992px: drawer এ CTA দেখান */
@media (max-width:992px){
  .cta{display:none}
  .nav .cta-mobile{display:flex;gap:10px;margin-top:6px}
}

/* হেডারের নিচে হালকা gap */
.site-header{margin-bottom:10px}


/* Reset / base */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,"Noto Sans",sans-serif;color:#0f172a;background:#f8fafc}
img,svg,video{max-width:100%;height:auto;vertical-align:middle}
a{color:#1a73e8;text-decoration:none}
a:hover{text-decoration:underline}
button{font:inherit}
:focus-visible{outline:2px solid #1a73e8;outline-offset:2px}

/* Layout helpers */
.container{max-width:1100px;margin:0 auto;padding:0 16px}
.content{padding:18px 0}
.section{padding:18px 0}
.hr{height:1px;background:#e2e8f0;border:0;margin:16px 0}

/* Typography */
h1{font-size:clamp(1.25rem,2.6vw+1rem,2rem);line-height:1.2;margin:0 0 12px 0;font-weight:800}
h2{font-size:clamp(1.1rem,1.8vw+0.9rem,1.5rem);line-height:1.25;margin:0 0 10px 0;font-weight:800}
h3{font-size:clamp(1rem,1.2vw+0.85rem,1.25rem);line-height:1.3;margin:0 0 8px 0;font-weight:700}
p{margin:.5rem 0 1rem;color:#475569}

/* Buttons */
.btn{display:inline-block;white-space:nowrap;background:#1a73e8;color:#fff;border:0;border-radius:10px;padding:10px 16px;font-weight:700}
.btn:hover{filter:saturate(1.1);text-decoration:none}
.btn.btn-outline{background:#fff;color:#0f172a;border:1px solid #e2e8f0}
.btn.sm{padding:7px 12px;border-radius:8px;font-weight:600}

/* Cards / utilities */
.card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px}
.badge{display:inline-block;border:1px solid #e2e8f0;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}
.badge.yes{background:#ecfdf5;color:#166534;border-color:#bbf7d0}
.badge.no{background:#fef2f2;color:#991b1b;border-color:#fecaca}

.grid{display:grid;gap:14px}
.grid.auto{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}

/* -----------------------------------------------------------
   Header & Navigation
----------------------------------------------------------- */
.site-header{background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:50}
.site-header .bar{display:flex;align-items:center;gap:12px;height:60px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.logo{height:34px;width:auto}
.logo-text{font-weight:800;font-size:18px;white-space:nowrap}

.nav{display:flex;gap:18px;align-items:center}
.nav a{color:#0f172a;padding:8px;border-radius:8px}
.nav a:hover{background:#f1f5f9;text-decoration:none}

.cta{display:flex;gap:10px;align-items:center;margin-left:auto}

/* Mobile nav toggle */
.menu-toggle{margin-left:auto;display:none;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
.menu-toggle .bars{display:block;width:18px;height:2px;background:#0f172a;position:relative}
.menu-toggle .bars::before,.menu-toggle .bars::after{content:"";position:absolute;left:0;width:18px;height:2px;background:#0f172a}
.menu-toggle .bars::before{top:-6px}
.menu-toggle .bars::after{top:6px}

/* --- Mobile layout (<= 992px) ---------------------------------- */
@media (max-width:992px){
  .site-header .bar{height:58px}
  .cta{display:none} /* CTAs go inside mobile panel below */
  .menu-toggle{display:flex}

  /* Hide horizontal nav, show as drawer when opened */
  .nav{
    position:fixed;inset:58px 0 auto 0; /* below header */
    background:#fff;border-bottom:1px solid #e2e8f0;
    padding:10px 16px 14px;
    display:none;flex-direction:column;gap:8px;
  }
  .nav a{padding:12px;border-radius:10px}
  .nav .cta-mobile{display:flex;gap:10px;margin-top:6px}
  .nav .cta-mobile .btn{flex:1;text-align:center}

  /* When body has .nav-open class, show panel */
  .nav-open .nav{display:flex}
  .nav-open body{overflow:hidden}
}

/* --- Desktop (>= 993px) ---------------------------------------- */
@media (min-width:993px){
  .menu-toggle{display:none}
  .nav{margin-left:24px}
}

/* -----------------------------------------------------------
   Page specific helpers
----------------------------------------------------------- */
/* Packages cards */
.pack-card h3{margin-bottom:2px}
.price{font-weight:800;color:#0f172a;font-size:clamp(1.05rem,1.2vw+1rem,1.3rem)}
.tiny{font-size:.85rem;color:#64748b}

/* Tables */
table{width:100%;border-collapse:collapse}
th,td{padding:10px;border-bottom:1px solid #e2e8f0;text-align:left}
th{background:#f1f5f9}
.table-wrap{width:100%;overflow:auto;border-radius:12px}

/* Forms */
form .row{display:grid;gap:12px}
@media (min-width:640px){form .row.two{grid-template-columns:1fr 1fr}}
label{display:block;margin:6px 0 4px}
input,select,textarea{width:100%;padding:10px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
textarea{min-height:140px}

/* Footer */
.site-footer{border-top:1px solid #e2e8f0;background:#fff;margin-top:20px}
.site-footer .cols{display:grid;gap:16px;padding:18px 0}
@media (min-width:768px){.site-footer .cols{grid-template-columns:1.1fr 1fr 1fr}}

/* Floating WhatsApp Button */
.whatsapp-fab{
  position:fixed;
  right:18px;
  bottom:calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 16px;
  background:#25D366; color:#fff; text-decoration:none;
  border-radius:999px; border:0;
  font-weight:700;
  box-shadow:0 12px 24px rgba(37,211,102,.35), 0 4px 10px rgba(0,0,0,.15);
  transform:translateZ(0); /* iOS fixed jitter guard */
}
.whatsapp-fab:hover{ filter:brightness(1.05); transform:translateY(-1px); }
.whatsapp-fab:active{ transform:translateY(0); }

.whatsapp-fab .wa-ico{ width:20px; height:20px; fill:currentColor; }
.whatsapp-fab .wa-label{ line-height:1; white-space:nowrap; }

/* Very small screens: make it circular */
@media (max-width:420px){
  .whatsapp-fab{ padding:12px; }
  .whatsapp-fab .wa-label{ display:none; }
}

/* If you only want to show on pages not overlapping a cookie bar add extra bottom: */
@supports (padding: max(0px)){
  .whatsapp-fab{ bottom: max(18px, env(safe-area-inset-bottom)); }
}


/* -----------------------------------------------------------
   Rich content (TinyMCE output safe defaults)
----------------------------------------------------------- */
.content .hero{background:linear-gradient(180deg,#f8fafc,#fff);border:1px solid #e2e8f0;border-radius:14px;padding:18px}
.content .grid.auto{margin-top:8px}
.content figure{margin:0}
.content img{border-radius:12px}

/* Misc helpers */
.muted{color:#64748b}
.center{text-align:center}
.mt-0{margin-top:0}.mt-1{margin-top:6px}.mt-2{margin-top:12px}.mt-3{margin-top:18px}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:6px}.mb-2{margin-bottom:12px}.mb-3{margin-bottom:18px}
