:root{
  --ink:#14213d;
  --muted:#5f6b7d;
  --line:#e3e9f3;
  --bg:#f5f7fb;
  --ivory:#fbf6ea;
  --paper:#fffdf7;
  --gold:#b8892b;
  --gold-soft:#e4d6b0;
  --maroon:#7a1f2b;
  --brand:#0b5fff;
  --brand-dark:#071a3c;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Hind Siliguri',sans-serif;font-weight:500;line-height:1.5}
a{color:inherit}
.ts-wrap{width:min(1280px,calc(100% - 28px));margin-inline:auto}

/* ============ HEADER ============ */
.ts-header{position:sticky;top:0;z-index:100;background:linear-gradient(105deg,#071a3c 0%,#0b2f6b 65%,#0a4a9a 100%);border-bottom:1px solid rgba(120,200,255,.25);box-shadow:0 6px 22px rgba(4,24,60,.2)}
.ts-nav{display:flex;align-items:center;gap:12px;min-height:70px;padding-block:8px}
.ts-brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex:0 0 auto}
.ts-brand-logo{width:46px;height:46px;border-radius:12px;overflow:hidden;background:#fff;display:grid;place-items:center;border:1px solid #cfe9ff}
.ts-brand-logo img{width:100%;height:100%;object-fit:contain;display:block}
.ts-brand strong{color:#fff;font-size:clamp(16px,1.6vw,21px);font-weight:800;letter-spacing:.5px;white-space:nowrap}
.ts-brand strong em{color:#6fdcff;font-style:normal}
.ts-menu{flex:1 1 auto;min-width:0;display:flex;justify-content:center;gap:2px;padding:3px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:12px}
.ts-menu a,.ts-menu span{padding:8px 12px;border-radius:9px;color:#eaf6ff;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.ts-menu a:hover{background:rgba(90,200,255,.16)}
.ts-menu a.active{background:rgba(70,195,255,.18);color:#8be8ff}
.ts-menu span{opacity:.6;cursor:default}
.ts-actions{display:flex;gap:7px;flex:0 0 auto;align-items:center}
.ts-actions a,.ts-actions button{padding:9px 14px;border-radius:24px;font:inherit;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap;border:0;cursor:pointer}
.ts-signup{background:#ffcf35;color:#182b48}
.ts-login{background:#16b86a;color:#fff}
.ts-subscribe{background:#fff;color:#0754a3}
.ts-user{display:none;align-items:center;gap:8px;color:#fff;font-size:13px;font-weight:700}
.ts-user.on{display:flex}
.ts-user button{background:#fff;color:#a11;padding:8px 12px}
body.logged .ts-guest{display:none}
@media(max-width:1000px){.ts-nav{flex-wrap:wrap;justify-content:space-between}.ts-menu{order:3;flex-basis:100%;justify-content:flex-start;overflow-x:auto}}
@media(max-width:560px){.ts-brand-logo{width:38px;height:38px}.ts-actions{gap:5px}.ts-actions a,.ts-actions button{padding:8px 10px;font-size:11px}}

/* ============ HERO ============ */
.ts-hero{width:min(1280px,calc(100% - 28px));margin:18px auto 0;border-radius:24px;overflow:hidden;position:relative;color:#fff;padding:42px clamp(22px,5vw,60px);background:radial-gradient(circle at 82% 40%,#0c7be8 0,transparent 34%),linear-gradient(112deg,#031a36 0%,#064a92 58%,#071c43 100%);box-shadow:0 16px 40px rgba(7,59,129,.22);display:flex;align-items:center;justify-content:space-between;gap:20px}
.ts-hero-copy{max-width:680px;position:relative;z-index:2}
.ts-eyebrow{font-size:12px;letter-spacing:2px;color:#7eecff;font-weight:800}
.ts-hero h1{margin:8px 0;font:900 clamp(36px,6vw,64px)/1.1 Arial,sans-serif}
.ts-hero h1 span{color:#26d9ff}
.ts-hero h2{margin:8px 0;font-size:clamp(18px,2.4vw,28px);color:#ffdc28;font-weight:800}
.ts-hero p{margin:8px 0 18px;color:#eaf5ff;font-size:clamp(14px,1.5vw,18px);line-height:1.7}
.ts-hero-cta{display:inline-flex;gap:12px;align-items:center;padding:12px 22px;border-radius:30px;background:#ffcf12;color:#10213a;font-weight:900;text-decoration:none}
.ts-hero-art{font-size:clamp(70px,12vw,130px);filter:drop-shadow(0 0 22px #00d9ff);position:relative;z-index:1}
@media(max-width:640px){.ts-hero{padding:28px 20px}.ts-hero-art{position:absolute;right:8px;bottom:0;opacity:.22}}

/* ============ TOOLS — CLASSICAL ============ */
.ts-tools{padding:34px 0 10px}
.ts-tools-frame{
  background:var(--ivory);border:1px solid var(--gold-soft);border-radius:22px;padding:26px 22px 24px;
  box-shadow:0 10px 30px rgba(90,60,10,.08),inset 0 0 0 5px var(--ivory),inset 0 0 0 6px var(--gold-soft);
}
.ts-sec-head{text-align:center;margin-bottom:20px}
.ts-sec-head h2{margin:0;font:800 clamp(28px,4vw,40px)/1.2 'Noto Serif Bengali',serif;color:var(--ink);letter-spacing:1px}
.ts-orn{display:flex;align-items:center;justify-content:center;gap:10px;margin:8px 0 14px;color:var(--gold)}
.ts-orn::before,.ts-orn::after{content:"";width:min(120px,22vw);height:1px;background:linear-gradient(90deg,transparent,var(--gold))}
.ts-orn::after{background:linear-gradient(90deg,var(--gold),transparent)}
.ts-filter{display:inline-flex;gap:4px;padding:4px;background:#fff;border:1px solid var(--gold-soft);border-radius:999px}
.ts-filter button{border:0;background:transparent;font:inherit;font-size:13px;font-weight:800;color:var(--muted);padding:8px 20px;border-radius:999px;cursor:pointer}
.ts-filter button.on{background:var(--ink);color:#fff}

.ts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ts-grid .ts-card:last-of-type{grid-column:1/-1}
.ts-note{display:none;text-align:center;padding:26px;color:var(--muted);font-weight:700;grid-column:1/-1}

.ts-card{
  --c:#d6e4ff;--k:#1f4aa8;
  position:relative;display:flex;flex-direction:column;text-decoration:none;overflow:hidden;
  background:var(--paper);border:1px solid var(--gold-soft);border-radius:14px;
  box-shadow:0 5px 14px rgba(70,50,10,.08);
  transition:transform .2s ease,box-shadow .2s ease;
}
.ts-card::after{content:"";position:absolute;inset:5px;border:1px solid rgba(184,137,43,.28);border-radius:10px;pointer-events:none}
.ts-card:hover{transform:translateY(-4px);box-shadow:0 16px 30px rgba(70,50,10,.16)}
.ts-il{
  height:118px;background:radial-gradient(circle at 50% 40%,#fff 0,var(--c) 100%);
  border-bottom:1px solid var(--gold-soft);display:grid;place-items:center;padding:8px;
}
.ts-il svg{width:100%;height:100%;max-width:190px}
.ts-il .w{fill:#fff;stroke:#14213d;stroke-width:1.6;stroke-linejoin:round}
.ts-il .a{fill:var(--k);stroke:#14213d;stroke-width:1.2}
.ts-il .g{fill:#e0b54a;stroke:#14213d;stroke-width:1.2}
.ts-il .s{fill:none;stroke:#14213d;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ts-il .t{fill:none;stroke:#9aa7bd;stroke-width:2;stroke-linecap:round}
.ts-seal{
  position:absolute;top:10px;right:10px;z-index:2;width:46px;height:46px;border-radius:50%;
  display:grid;place-items:center;text-align:center;background:#0f7a4f;color:#fff;
  font:800 10px/1.1 Arial,sans-serif;letter-spacing:.4px;border:2px solid #fff;
  box-shadow:0 0 0 1.5px #0f7a4f,0 3px 8px rgba(0,0,0,.25);transform:rotate(12deg)
}
.ts-body{padding:14px 16px 14px;display:flex;flex-direction:column;gap:5px;flex:1}
.ts-card h3{margin:0;font:700 17px/1.4 'Noto Serif Bengali',serif;color:var(--ink)}
.ts-card h3 small{display:block;font:italic 600 12.5px/1.4 Georgia,serif;color:var(--k);margin-top:1px}
.ts-card p{margin:2px 0 0;font-size:12.5px;line-height:1.55;color:var(--muted)}
.ts-go{margin-top:auto;padding-top:10px;display:flex;align-items:center;justify-content:space-between;font-size:12.5px;font-weight:800;color:var(--maroon)}
.ts-go b{font-size:17px}
.ts-card.is-hidden{display:none}

@media(max-width:1000px){.ts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .ts-tools-frame{padding:20px 10px 14px}
  .ts-grid{gap:10px}
  .ts-il{height:88px}
  .ts-seal{width:38px;height:38px;font-size:8.5px;top:7px;right:7px}
  .ts-body{padding:10px 10px 10px}
  .ts-card h3{font-size:13.5px}
  .ts-card h3 small{font-size:11px}
  .ts-card p{font-size:11px}
  .ts-go{font-size:11px}
}
@media(max-width:360px){.ts-grid{grid-template-columns:1fr}}

/* ============ BLOGS + SIDEBAR ============ */
.ts-home{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;margin:34px auto 22px;align-items:start}
.ts-panel{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 24px rgba(15,27,45,.06);overflow:hidden}
.ts-blogs{padding:20px;min-height:280px}
.ts-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ts-panel-head h2{margin:0;font-size:clamp(21px,2.6vw,27px);font-weight:900}
.ts-panel-head a{background:var(--brand);color:#fff;text-decoration:none;padding:9px 18px;border-radius:24px;font-weight:800;font-size:13px}
.ts-empty{text-align:center;padding:22px 10px 6px}
.ts-empty .ico{font-size:66px;line-height:1.2}
.ts-empty h3{margin:4px 0;font-size:23px}
.ts-empty p{margin:0 0 14px;color:var(--muted)}
.ts-btn{border:0;border-radius:24px;padding:11px 22px;font:inherit;font-weight:800;color:#fff;cursor:pointer;background:linear-gradient(90deg,#0b5fff,#5b3df0)}
.ts-btn.gray{background:#64748b}
.ts-post{padding:16px;margin:14px 0 0;border:1px solid var(--line);border-radius:16px;background:#fafcff}
.ts-post h3{margin:0 0 5px;font-size:19px}
.ts-post p{margin:8px 0;white-space:pre-wrap}
.ts-post small{color:var(--muted)}
.ts-editor{max-width:680px;margin:18px auto 0;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}
.ts-editor[hidden]{display:none}
.ts-editor h3{margin:0 0 8px}
.ts-editor label{display:block;font-weight:700;margin:10px 0}
.ts-editor input,.ts-editor textarea{display:block;width:100%;margin-top:5px;padding:11px;border:1px solid #cbd8ee;border-radius:10px;font:inherit}
.ts-editor-actions{display:flex;gap:9px;margin:12px 0}
.ts-editor small{color:var(--muted);display:block;line-height:1.5}

.ts-side{display:flex;flex-direction:column;gap:14px}
.ts-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:0 6px 18px rgba(15,27,45,.06)}
.ts-box h3{display:flex;align-items:center;gap:10px;margin:0 0 13px;font-size:18px;font-weight:800}
.ts-box h3 i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-style:normal;font-size:17px;background:#e3f6ec}
.ts-search{display:flex;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#f8fafc}
.ts-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:12px;font:inherit;font-size:13px}
.ts-search button{border:0;padding:0 16px;color:#fff;cursor:pointer;background:linear-gradient(135deg,#14b95a,#22d46d)}
.ts-cats{display:flex;flex-direction:column;gap:7px}
.ts-cats a{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:10px;background:#f4f6f9;text-decoration:none;font-size:13.5px;font-weight:700;color:#2b3b52}
.ts-cats a:hover{background:#e6f6ec;color:#0c8a46}
.ts-cats a span{color:#6a778a}
.ts-pop{display:flex;flex-direction:column;gap:11px}
.ts-pop a{display:grid;grid-template-columns:70px 1fr;gap:10px;align-items:center;text-decoration:none}
.ts-pop .th{width:70px;height:54px;border-radius:10px;display:grid;place-items:center;font-size:26px;background:linear-gradient(135deg,#dff3ff,#efe6ff);border:1px solid var(--line)}
.ts-pop b{display:block;font-size:13px;line-height:1.4;font-weight:700}
.ts-pop small{display:block;margin-top:2px;color:#7a8696;font-size:11px}
.ts-pop .none{display:none;color:var(--muted);font-size:13px}
.ts-news p{margin:0 0 10px;font-size:13px;color:#4a5a70}
.ts-news-row{display:flex;gap:8px}
.ts-news-row input{flex:1;min-width:0;padding:11px 12px;border:1px solid var(--line);border-radius:12px;font:inherit;font-size:13px}
.ts-news-row button{border:0;border-radius:12px;padding:0 16px;color:#fff;font:inherit;font-weight:800;font-size:13px;cursor:pointer;background:linear-gradient(135deg,#14b95a,#22d46d)}
.ts-msg{margin-top:8px;font-size:12px;font-weight:700;display:none}
.ts-msg.ok{display:block;color:#067647}
.ts-msg.err{display:block;color:#b42318}
@media(max-width:900px){.ts-home{grid-template-columns:1fr}}

/* ============ TRUST ============ */
.ts-trust{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:0 auto 30px}
.ts-trust div{min-height:68px;display:flex;align-items:center;justify-content:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:17px;font-weight:800;box-shadow:0 5px 16px rgba(15,27,45,.05)}
.ts-trust b{font-size:26px}
@media(max-width:900px){.ts-trust{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.ts-trust{grid-template-columns:repeat(2,1fr);gap:8px}.ts-trust div{font-size:12px;min-height:58px}}

/* ===== Visiting Card Maker (in-page tool: #visiting-card-maker) ===== */
@keyframes vcspin{to{transform:rotate(360deg)}}
@media(max-width:980px){
}
@media(max-width:560px){
}

/* ===== ID Card Maker (in-page tool: #id-card-maker) ===== */

/* ===== Family Tree Maker (in-page tool: #family-tree) ===== */

/* family tree editor */





/* pvc cover specifics */


/* ===== Mobile polish (phones) ===== */
@media(max-width:700px){
html body .ts-nav{min-height:0;padding-block:8px 5px;gap:4px 8px;flex-wrap:wrap;align-items:center}
html body .ts-brand{gap:7px;min-width:0}
html body .ts-brand-logo{width:34px;height:34px;border-radius:10px}
html body .ts-brand strong{font-size:14.5px;letter-spacing:.2px}
html body .ts-actions{gap:4px;margin-left:auto}
html body .ts-actions a,html body .ts-actions button{padding:6px 9px;font-size:10.5px}
html body .ts-menu{order:3;flex-basis:100%;margin:0 -12px;padding:0 10px 3px;background:none;border:0;border-radius:0;gap:2px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;justify-content:flex-start}
html body .ts-menu::-webkit-scrollbar{display:none}
html body .ts-menu a,html body .ts-menu span{padding:7px 12px;font-size:12.5px}
html body .ts-menu a.active{background:rgba(70,195,255,.22)}
}
/* footer useful links inline + youtube */
.ts-footer-links.ts-ul-inline{flex-direction:row;flex-wrap:wrap;gap:6px 14px}
.ts-footer-links.ts-ul-inline a{white-space:nowrap}
@media(max-width:700px){.ts-footer-links.ts-ul-inline{gap:8px 16px}.ts-footer-inner{padding-top:24px}.ts-footer-grid{gap:18px}.ts-footer p{margin:8px 0}}
@media(max-width:700px){#tsQuick,.ts-footer-grid>div:nth-child(3) .ts-footer-links{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}}

.ts-subscribe,html body .ts-subscribe{background:#ff0033!important;color:#fff!important}
.ts-grid .ts-card:last-of-type{grid-column:auto!important}
.ts-trust{grid-template-columns:repeat(4,1fr)!important}
@media(max-width:900px){.ts-trust{grid-template-columns:repeat(2,1fr)!important}}
.ts-social a{transition:background .15s}.ts-social a:hover{background:rgba(255,255,255,.24)}

/* ============ AUTH MODAL ============ */
.ts-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:14px;background:rgba(7,20,45,.6)}
.ts-modal.open{display:flex}
.ts-dialog{width:min(420px,100%);max-height:calc(100vh - 28px);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.ts-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:linear-gradient(105deg,#071a3c,#0b5fff);color:#fff}
.ts-dialog-head strong{font-size:18px}
.ts-dialog-head button{background:rgba(255,255,255,.18);border:0;color:#fff;width:32px;height:32px;border-radius:50%;font-size:18px;cursor:pointer}
.ts-tabs{display:flex;gap:6px;padding:12px 16px 0}
.ts-tabs button{flex:1;border:0;padding:10px;border-radius:10px;background:#eef2f8;font:inherit;font-weight:800;color:#58667c;cursor:pointer}
.ts-tabs button.on{background:var(--ink);color:#fff}
.ts-form{padding:14px 16px 18px;display:none}
.ts-form.on{display:block}
.ts-form label{display:block;font-size:13px;font-weight:700;margin:10px 0 0}
.ts-form input{display:block;width:100%;margin-top:5px;padding:11px 12px;border:1px solid #cbd8ee;border-radius:10px;font:inherit;font-size:14px}
.ts-form input:focus{outline:2px solid #0b5fff33;border-color:#0b5fff}
.ts-form .ts-btn{width:100%;margin-top:14px}
.ts-form small{display:block;margin-top:10px;color:var(--muted);font-size:11.5px;line-height:1.5}

/* ============ FOOTER ============ */
.ts-footer{background:linear-gradient(120deg,#031a39,#073b78);color:#cfe0f5;margin-top:10px}
.ts-footer-inner{padding:34px 0 14px}
.ts-footer-grid{display:grid;grid-template-columns:1.6fr .8fr 1fr .9fr;gap:28px}
.ts-footer-brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.ts-footer-brand .ts-brand-logo{width:48px;height:48px}
.ts-footer-brand strong{color:#fff;font-size:20px;font-weight:800}
.ts-footer-brand strong em{color:#6fdcff;font-style:normal}
.ts-footer p{font-size:13px;line-height:1.7;margin:12px 0}
.ts-social{display:flex;gap:8px;margin-top:10px}
.ts-social a,.ts-social span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#fff;font-weight:800;text-decoration:none;background:rgba(255,255,255,.12)}
.ts-social span{opacity:.6}
.ts-footer h3{margin:0 0 12px;color:#fff;font-size:15px}
.ts-footer-links{display:flex;flex-direction:column;gap:7px}
.ts-footer-links a,.ts-footer-links span{color:#cfe0f5;text-decoration:none;font-size:13px}
.ts-footer-links a:hover{color:#fff}
.ts-contact{margin-top:14px;font-size:13px}
.ts-contact a{color:#8be8ff;text-decoration:none;word-break:break-all}
.ts-disclaimer{margin:22px 0 12px;padding:10px 14px;border-radius:10px;background:rgba(255,255,255,.06);font-size:11.5px;line-height:1.6;text-align:center;color:#9fb8d6}
.ts-copy{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:12px;border-top:1px solid rgba(255,255,255,.12);font-size:12px;color:#9fb8d6}
@media(max-width:900px){.ts-footer-grid{grid-template-columns:1fr 1fr}.ts-footer-grid>:first-child{grid-column:1/-1}}
@media(max-width:480px){.ts-footer-grid{grid-template-columns:1fr}.ts-copy{flex-direction:column;text-align:center}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ===== premium logo + tool icons ===== */
.ts-brand-logo{background:none!important;border:0!important;overflow:visible!important;width:52px!important;height:52px!important}
.ts-brand-logo svg{width:100%;height:100%;display:block;filter:drop-shadow(0 3px 8px rgba(0,0,0,.35))}
.ts-footer-brand .ts-brand-logo{width:56px!important;height:56px!important}
.ts-il{position:relative}
.ts-ic{position:absolute;left:16px;bottom:-27px;width:58px;height:58px;z-index:3;filter:drop-shadow(0 6px 10px rgba(20,33,61,.35))}
.ts-ic svg{width:100%;height:100%;display:block}
.ts-body{padding-top:36px!important}
@media(max-width:640px){.ts-ic{width:44px;height:44px;left:10px;bottom:-21px}.ts-body{padding-top:28px!important}}




/* ===== Policy pages (Useful Links) ===== */



/* --- the paper (A4 @96dpi = 794 x 1123) --- */


/* ===== Invoice Maker: tidy sheet-style editor ===== */
@media(max-width:560px){
}
@media(max-width:1020px){
}
@media(max-width:560px){
}
@page{size:A4;margin:0}
@media print{
  html,body{background:#fff!important}
}

/* ===== single-file routing: home view vs govt-websites view ===== */

/* ===== Govt Websites view ===== */
  background:linear-gradient(145deg,hsl(var(--h) 80% 42%),hsl(calc(var(--h) + 34) 88% 58%));
  box-shadow:0 12px 22px hsl(var(--h) 70% 36% / .34),inset 0 1px 0 rgba(255,255,255,.5),inset 0 -3px 8px rgba(0,0,0,.14);



/* ===== official website favicons in the 64 service cards ===== */


/* ===== Passport Photo Maker (in-page tool: #passport-photo-maker) ===== */
@media(max-width:900px){
}
@media(max-width:560px){
}

/* ===== Smart Card Crop / PVC Card Crop Studio (in-page tool: #card-crop) ===== */
@keyframes ccspin{to{transform:rotate(360deg)}}
@media(max-width:900px){
}
@media(max-width:560px){
}
@media(max-width:380px){
}


/* keep the blue footer at the very bottom on short pages (no blank strip under it) */