/* Wemega extras: language, select2, calculator, chat */
html[lang=hi] body,html[lang=hi] h1,html[lang=hi] h2,html[lang=hi] h3,html[lang=hi] h4,html[lang=hi] button,html[lang=hi] input{font-family:'Inter','Noto Sans Devanagari','Nirmala UI','Mangal',sans-serif}
html[lang=hi] h1,html[lang=hi] h2{line-height:1.3}
.btn-wa{background:var(--ink2);box-shadow:0 8px 20px -6px rgba(15,23,42,.45)}
.up-fab{right:auto!important;left:24px}
.fld .ic{z-index:2}
.lang-btn{min-width:46px;height:42px;padding:0 12px;border-radius:12px;border:1.5px solid var(--line);background:#fff;color:var(--gd);font-weight:800;font-size:14px;cursor:pointer}
.lang-btn:hover{border-color:var(--g)}
.lang-btn:focus-visible,.wm-fab:focus-visible,.wm-chat button:focus-visible{outline:3px solid var(--am);outline-offset:2px}


/* calculator */
.calc{display:grid;gap:18px;grid-template-columns:minmax(0,1fr);max-width:1040px;margin:0 auto}
.calc-in,.calc-out{border-radius:22px;padding:24px}
.calc-in{background:#fff;border:1px solid var(--line);box-shadow:var(--sh)}
.calc-in label{display:block;font-weight:700;font-size:14px;margin:0 0 8px;color:var(--ink2)}
.calc-in .bill-v{font:800 34px/1.1 'Plus Jakarta Sans',Inter,sans-serif;color:var(--gd);margin-bottom:6px}
.calc-in input[type=range]{width:100%;accent-color:var(--g);height:28px;margin:0 0 4px}
.calc-in .rng{display:flex;justify-content:space-between;font-size:12px;color:var(--mut);margin-bottom:20px}
.calc-in .fld{margin-bottom:18px}
.calc-out{background:var(--navy);color:#fff}
.calc-out .big small{display:block;color:#94a3b8;font-size:13px}
.calc-out .big b{display:block;font:800 clamp(34px,8vw,48px)/1.1 'Plus Jakarta Sans',Inter,sans-serif;color:#4ade80;margin:4px 0 14px}
.cmp{display:grid;grid-template-columns:78px 1fr auto;gap:8px 10px;align-items:center;font-size:13px;margin-bottom:18px}
.cmp i{display:block;height:10px;border-radius:6px;background:#f87171;width:var(--w);transition:width .4s}
.cmp i.n{background:#4ade80}
.cmp b{font-size:13px;min-width:70px;text-align:right}
.res{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.res div{background:rgba(255,255,255,.07);border-radius:14px;padding:12px 14px}
.res small{display:block;color:#94a3b8;font-size:12px}
.res b{font-size:17px}
.res .hl{background:#16a34a}.res .hl small{color:#dcfce7}
.calc-out .fine{color:#94a3b8;font-size:12px;margin-top:14px}
.calc-out .btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
@media(min-width:900px){.calc{grid-template-columns:1fr 1.15fr}}

/* chat */
.wm-fab{position:fixed;right:14px;bottom:calc(var(--nav-h) + var(--sab) + 14px);z-index:66;display:flex;align-items:center;gap:10px;height:52px;padding:0 20px 0 8px;border:0;border-radius:99px;background:linear-gradient(135deg,#14532d,#16a34a);color:#fff;font:700 15px Inter,sans-serif;cursor:pointer;box-shadow:0 14px 30px -10px rgba(20,83,45,.8)}
.wm-fab .hs{position:relative;width:38px;height:38px;border-radius:50%;background:#f59e0b;display:grid;place-items:center}
.wm-fab .hs svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wm-fab .hs i{position:absolute;top:-1px;right:-1px;width:11px;height:11px;border-radius:50%;background:#22c55e;border:2px solid #fff}
.wm-chat{position:fixed;z-index:90;left:10px;right:10px;bottom:calc(var(--nav-h) + var(--sab) + 8px);height:min(78vh,640px);display:flex;flex-direction:column;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 30px 70px -18px rgba(15,23,42,.55);font-family:Inter,'Noto Sans Devanagari','Nirmala UI','Mangal',sans-serif}
.wm-chat[hidden]{display:none}
.wm-chat header{background:linear-gradient(150deg,#14532d,#15803d 70%,#16a34a);color:#fff;padding:16px 16px 0}
.wm-chat .top{display:flex;align-items:center;gap:12px}
.wm-chat .av{flex:none;width:46px;height:46px;border-radius:50%;background:#f59e0b;display:grid;place-items:center;font-weight:800}
.wm-chat h4{font-size:17px;margin:0}
.wm-chat header small{display:block;font-size:12px;opacity:.85}
.wm-chat .top>div:nth-child(2){flex:1;min-width:0}
.wm-chat .lg,.wm-chat .x{border:0;border-radius:99px;background:rgba(255,255,255,.18);color:#fff;font-weight:700;height:34px;min-width:34px;padding:0 12px;cursor:pointer}
.wm-chat .tabs{display:flex;gap:6px;background:rgba(0,0,0,.22);padding:5px;border-radius:14px;margin:14px 0 14px}
.wm-chat .tabs button{flex:1;border:0;border-radius:10px;padding:10px 6px;background:transparent;color:#fff;font-weight:700;font-size:13.5px;cursor:pointer}
.wm-chat .tabs button.on{background:#fff;color:#14532d}
.wm-chat .desk{display:flex;gap:12px;align-items:center;padding:12px 16px;background:#f0fdf4;border-bottom:1px solid var(--line)}
.wm-chat .desk i{font-style:normal;flex:none;width:40px;height:40px;border-radius:50%;background:#14532d;color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px}
.wm-chat .desk b{font-size:15px}.wm-chat .desk em{font-style:normal;color:#16a34a;font-size:12px;margin-left:6px}
.wm-chat .desk small{color:var(--mut);font-size:12px}
.wm-chat .pane{display:none;flex:1;min-height:0;flex-direction:column}
.wm-chat .pane.on{display:flex}
.wm-chat .msgs{flex:1;overflow-y:auto;padding:14px 16px;display:flex;flex-direction:column;gap:10px;background:#fff}
.wm-chat .m{max-width:86%;padding:11px 14px;border-radius:16px;font-size:14.5px;line-height:1.5;white-space:pre-line}
.wm-chat .m.b{background:#eef6f0;color:var(--ink);border-top-left-radius:4px;align-self:flex-start}
.wm-chat .m.u{background:#16a34a;color:#fff;border-top-right-radius:4px;align-self:flex-end}
.wm-chat .m a,.wm-chat .m button{display:inline-block;margin-top:8px;padding:8px 14px;border-radius:99px;border:1.5px solid #16a34a;background:#fff;color:#14532d;font-weight:700;font-size:13px;text-decoration:none;cursor:pointer}
.wm-chat .chips{display:flex;flex-wrap:wrap;gap:8px;padding:8px 16px 12px;max-height:132px;overflow-y:auto}
.wm-chat .chips button{border:1.5px solid #16a34a;background:#fff;color:#14532d;border-radius:99px;padding:8px 14px;font-weight:700;font-size:13px;cursor:pointer}
.wm-chat .chips button:hover{background:#f0fdf4}
.wm-chat form.in{display:flex;gap:10px;padding:10px 14px;border-top:1px solid var(--line)}
.wm-chat form.in input{flex:1;min-width:0;border:2px solid #f59e0b;border-radius:99px;padding:12px 16px;font-size:16px;outline:0}
.wm-chat form.in button{flex:none;width:46px;height:46px;border:0;border-radius:50%;background:#f59e0b;cursor:pointer;display:grid;place-items:center}
.wm-chat form.in svg{width:20px;height:20px;stroke:#1f2937;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wm-chat footer{display:flex;justify-content:space-between;padding:10px 16px;font-size:12.5px;color:var(--mut);border-top:1px solid var(--line)}
.wm-chat footer a{color:#14532d;font-weight:700;text-decoration:none}
.wm-chat .qp{padding:16px;overflow-y:auto}
.wm-chat .qp label{display:block;font-weight:700;font-size:13.5px;margin-bottom:8px}
.wm-chat .qp .qr{margin:16px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wm-chat .qp .qr div{background:#f0fdf4;border-radius:12px;padding:10px 12px}
.wm-chat .qp .qr small{display:block;color:var(--mut);font-size:11.5px}
.wm-chat .qp .qr b{font-size:15px}
.wm-chat .qp .qr .hl{background:#16a34a;color:#fff}.wm-chat .qp .qr .hl small{color:#dcfce7}
@media(min-width:1024px){
 .wm-fab{bottom:24px;right:24px}
 .wm-chat{left:auto;right:24px;bottom:92px;width:392px;height:min(640px,calc(100vh - 120px))}
}

/* logo */
.logo-img{display:block;height:46px;width:auto}
.ft .logo-img{height:64px;background:#fff;border-radius:14px;padding:6px 10px}
.wm-chat .av{background:#fff;overflow:hidden}.wm-chat .av img{width:100%;height:100%;object-fit:cover}
.lang-btn{min-width:64px;font-size:13px}
@media(min-width:1024px){.logo-img{height:56px}}


/* ================= Premium footer (v3) ================= */
footer.ft2{padding-top:50px!important;background:radial-gradient(900px 420px at 88% -8%,rgba(22,163,74,.22),transparent 62%),radial-gradient(700px 380px at 0% 110%,rgba(245,158,11,.10),transparent 60%),#0b1226;color:#a8b3c7;padding:0 0 24px;font-size:14.5px;position:relative}
footer.ft2::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#16a34a,#f59e0b,#16a34a)}
.ft2 .ft-g{margin-top:0;gap:30px 22px;grid-template-columns:1fr 1fr}
.ft2 .ft-g .about{grid-column:1/-1}
.ft2 .ft-g .ft-contact{grid-column:1/-1}
.ft2 .about p{margin:14px 0 0;max-width:380px;line-height:1.65}
.ft2 h5{position:relative;padding-bottom:10px;margin-bottom:16px;font-size:15.5px;letter-spacing:.01em}
.ft2 h5::after{content:"";position:absolute;left:0;bottom:0;width:28px;height:3px;border-radius:3px;background:var(--g2)}
.ft2 li{margin-bottom:10px}
.ft2 li a{transition:color .2s,transform .2s}.ft2 li a:hover{color:#4ade80;transform:translateX(3px)}
.ft2 li .nb{display:flex;gap:10px;align-items:flex-start;line-height:1.5}
.ft2 li .nb .ic{margin-top:3px;color:#4ade80;width:17px;height:17px}
.ft2 li a.nb:hover{transform:none}
.soc2{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.soc2 a{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.07);color:#e2e8f0;border:1px solid rgba(255,255,255,.12);transition:.22s}
.soc2 a .ic{width:20px;height:20px}
.soc2 a:hover{transform:translateY(-3px);color:#fff;border-color:transparent;box-shadow:0 10px 20px -8px rgba(0,0,0,.6)}
.soc2 a:nth-child(1):hover{background:#1877f2}
.soc2 a:nth-child(2):hover{background:linear-gradient(45deg,#f09433,#dc2743 55%,#bc1888)}
.soc2 a:nth-child(3):hover{background:#ff0000}
.soc2 a:nth-child(4):hover{background:#0a66c2}
.soc2 a:nth-child(5):hover{background:#000}
.soc2 a:nth-child(6):hover{background:#25d366;color:#052e16}
.ft-trust{display:flex;flex-wrap:wrap;gap:10px;margin-top:34px;padding-top:24px;border-top:1px solid rgba(255,255,255,.08)}
.ft-trust span{display:inline-flex;gap:8px;align-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:99px;padding:8px 14px;font-size:13px;font-weight:600;color:#d5dde9}
.ft-trust .ic{color:#4ade80;width:16px;height:16px}
.ft2 .ft-b{margin-top:22px;border-top:0;padding-top:0}
@media(min-width:700px){.ft2 .ft-g{grid-template-columns:repeat(3,1fr)}.ft2 .ft-g .ft-contact{grid-column:auto}}
@media(min-width:1050px){.ft2 .ft-g{grid-template-columns:1.5fr 1fr 1fr 1fr 1.4fr}.ft2 .ft-g .about{grid-column:auto}}
.skip{position:absolute;left:-9999px;top:0;z-index:300;background:#16a34a;color:#fff;padding:10px 16px;border-radius:0 0 12px 0;font-weight:700}.skip:focus{left:0}

/* ================= Projects page ================= */
.pj-grid{display:grid;gap:20px;grid-template-columns:1fr}
.pj{scroll-margin-top:110px;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--sh);display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}
.pj:hover{transform:translateY(-5px);box-shadow:var(--sh-lg)}
.pj img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.pj .bd{padding:20px 20px 22px;display:flex;flex-direction:column;gap:10px;flex:1}
.pj h3{font-family:var(--hf);font-size:21px;color:var(--ink)}
.pj .loc{display:flex;gap:6px;align-items:center;color:var(--g);font-weight:700;font-size:14px}
.pj .loc .ic{width:16px;height:16px;color:#ef4444}
.pj p{color:var(--mut);font-size:15px;line-height:1.65}
.pj .tags{display:flex;flex-wrap:wrap;gap:8px}
.pj .tags span{background:var(--gl);color:var(--gdd);font-size:12.5px;font-weight:700;padding:6px 12px;border-radius:99px}
.pj .btn{margin-top:auto;align-self:flex-start}
.pj-steps{display:grid;gap:16px;grid-template-columns:1fr}
.pj-st{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:var(--sh)}
.pj-st .ib{width:46px;height:46px;border-radius:14px;background:var(--gl2);color:var(--g);display:grid;place-items:center;margin-bottom:12px}
.pj-st .ib .ic{width:22px;height:22px}
.pj-st h4{font-family:var(--hf);font-size:17px;margin-bottom:6px}
.pj-st p{color:var(--mut);font-size:14.5px;line-height:1.6}
.pj-cta{margin-top:30px;background:linear-gradient(135deg,#0f172a,#14532d);color:#fff;border-radius:24px;padding:28px 24px;display:flex;flex-direction:column;gap:18px}
.pj-cta h3{font-family:var(--hf);font-size:clamp(21px,4.5vw,27px);color:#fff;margin-bottom:6px}
.pj-cta p{opacity:.85;line-height:1.6}
.pj-cta-b{display:flex;flex-wrap:wrap;gap:10px}
.pj-cta .btn-line{color:#fff;border-color:rgba(255,255,255,.5);background:transparent}
@media(min-width:700px){.pj-grid{grid-template-columns:repeat(2,1fr)}.pj-steps{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.pj-cta{flex-direction:row;align-items:center;justify-content:space-between;padding:32px 40px}.pj-cta-b{flex:none}}
@media(min-width:1000px){.pj-grid{grid-template-columns:repeat(3,1fr)}.pj-steps{grid-template-columns:repeat(4,1fr)}}


/* ===== Services / Projects anchors: stay below the sticky header + tab bar ===== */
.sticky-tabs,.gfilter{top:var(--hdr-h,76px)!important}
.svc{scroll-margin-top:calc(var(--hdr-h,76px) + 86px)}
.pj{scroll-margin-top:calc(var(--hdr-h,76px) + 16px)}
