Web development packages can be customized according to your requirements. Domain names, hosting, platform subscriptions, premium themes, paid apps, and third-party fees are excluded unless agreed otherwise.
DigitalGrowth Assistant Here to help you grow
Englishবাংলা
EspañolFrançais
DeutschPortuguês
العربيةहिन्दी
اردو简体中文
繁體中文日本語
한국어Русский
ItalianoNederlands
TürkçeBahasa Indonesia
Bahasa MelayuTiếng Việt
ไทยفارسی
PolskiУкраїнська
SvenskaDansk
NorskSuomi
Ελληνικάעברית
KiswahiliFilipino
नेपालीසිංහල
မြန်မာខ្មែរ
ລາວአማርኛ
HausaYorùbá
AfrikaansRomână
MagyarČeština
SlovenčinaБългарски
HrvatskiСрпски
Catalàதமிழ்
తెలుగుमराठी
ગુજરાતીਪੰਜਾਬੀ
Hi there! 👋 Welcome to DigitalGrowth.
I help businesses grow with professional websites, eCommerce stores, digital marketing, and creative design.
What would you like help with today?
#dg-chatbot { font-family:Arial,Helvetica,sans-serif; color:#172b4d; }
#dg-chatbot *, #dg-chatbot *::before, #dg-chatbot *::after { box-sizing:border-box; }
#dg-chatbot .dg-chat-launcher {
position:fixed; left:max(22px,env(safe-area-inset-left)); bottom:max(22px,env(safe-area-inset-bottom));
z-index:99998; display:flex; align-items:center; gap:9px; padding:10px 15px 10px 10px;
border-radius:50px; background:linear-gradient(135deg,#155eef,#1745a5); color:#fff;
font-family:inherit; box-shadow:0 5px 22px rgba(20,55,120,.3); cursor:pointer;
transition:transform .2s ease, box-shadow .2s ease;
}
#dg-chatbot .dg-chat-launcher:hover { transform:translateY(-6px) scale(1.012); box-shadow:0 8px 25px rgba(20,55,120,.35); }
#dg-chatbot .dg-chat-launcher > svg { width:43px; height:43px; flex:0 0 43px; }
#dg-chatbot .dg-launcher-label { font-size:14px; font-weight:700; white-space:nowrap; }
#dg-chatbot .dg-online-dot {
position:absolute; width:12px; height:12px; top:7px; left:43px;
border:2px solid #fff; border-radius:50%; background:#19c37d;
}
#dg-chatbot .dg-chat-window {
position:fixed; left:max(12px,env(safe-area-inset-left)); right:auto;
bottom:calc(max(22px,env(safe-area-inset-bottom)) + 66px); z-index:99999;
display:flex; flex-direction:column; width:380px; max-width:calc(100vw - 24px);
height:535px; max-height:calc(100vh - 130px); max-height:calc(100dvh - 130px);
min-height:0; overflow:hidden; border:1px solid #e5eaf3; border-radius:18px;
background:#fff; box-shadow:0 12px 45px rgba(19,39,75,.2);
}
#dg-chatbot .dg-chat-window[hidden] { display:none !important; }
#dg-chatbot .dg-chat-header {
display:flex; align-items:center; gap:8px; min-width:0; padding:12px;
background:linear-gradient(135deg,#155eef,#173f91); color:#fff;
}
#dg-chatbot .dg-avatar { width:43px; height:43px; flex:0 0 43px; padding:2px; border-radius:50%; background:#fff; }
#dg-chatbot .dg-avatar svg { width:100%; height:100%; }
#dg-chatbot .dg-header-info { display:flex; flex:1; flex-direction:column; gap:5px; min-width:0; overflow-wrap:anywhere; }
#dg-chatbot .dg-header-info strong { font-size:15px; line-height:1.3; color:#fff; }
#dg-chatbot .dg-header-info span { display:flex; align-items:center; gap:6px; font-size:12px; color:#e8efff; }
#dg-chatbot .dg-header-info span i { width:7px; height:7px; flex:0 0 7px; border-radius:50%; background:#4be3a0; }
#dg-chatbot .dg-chat-language {
flex:0 1 112px; min-width:0; max-width:112px; padding:7px 5px;
border:1px solid rgba(255,255,255,.6); border-radius:8px; background:#123b88;
color:#fff; font:12px Arial,Helvetica,sans-serif;
}
#dg-chatbot .dg-close {
display:flex; align-items:center; justify-content:center; width:32px; height:32px; flex:0 0 32px;
padding:0; border-radius:50%; background:rgba(255,255,255,.14); color:#fff;
font-family:inherit; font-size:26px; line-height:1; cursor:pointer;
}
#dg-chatbot .dg-chat-messages {
flex:1; min-height:0; min-width:0; overflow-y:auto; overflow-wrap:anywhere;
-webkit-overflow-scrolling:touch; padding:17px 14px; background:#f7f9fd; scroll-behavior:smooth;
}
#dg-chatbot .dg-message {
max-width:91%; margin-bottom:12px; padding:12px 13px; border-radius:13px;
font-size:13px; line-height:1.6; overflow-wrap:anywhere; white-space:pre-wrap;
}
#dg-chatbot .dg-bot-message { margin-right:auto; border:1px solid #e7ecf5; border-bottom-left-radius:4px; background:#fff; color:#26364f; }
#dg-chatbot .dg-user-message { margin-left:auto; border-bottom-right-radius:4px; background:#155eef; color:#fff; }
#dg-chatbot .dg-quick-options { display:flex; flex-wrap:wrap; gap:7px; margin:4px 0 14px; }
#dg-chatbot .dg-quick-options[hidden] { display:none; }
#dg-chatbot .dg-quick-options button {
max-width:100%; padding:8px 10px; border-radius:18px; background:#fff; color:#1552bb;
font-family:inherit; font-size:12px; line-height:1.35; cursor:pointer; transition:background .2s ease;
}
#dg-chatbot .dg-quick-options button:hover { background:#edf3ff; }
#dg-chatbot .dg-chat-input-area {
display:flex; align-items:center; gap:8px; padding:11px 12px; border-top:1px solid #e8edf5; background:#fff;
}
#dg-chatbot .dg-chat-input-area input {
display:block; flex:1; width:0; min-width:0; height:42px; margin:0; padding:0 12px;
border:1px solid #dce3ee; border-radius:10px; outline:none; background:#f9fbff; color:#172b4d;
font-family:inherit; font-size:16px; box-shadow:none; -webkit-appearance:none; appearance:none;
}
#dg-chatbot .dg-chat-input-area input:focus { border-color:#155eef; }
#dg-chatbot .dg-chat-input-area button {
display:flex; align-items:center; justify-content:center; width:42px; height:42px; flex:0 0 42px;
margin:0; padding:10px; border-radius:10px; background:#155eef; color:#fff; cursor:pointer;
}
#dg-chatbot .dg-chat-input-area button svg { width:21px; height:21px; }
#dg-chatbot .dg-chat-footer { padding:10px 12px 12px; border-top:1px solid #edf0f6; background:#fff; }
#dg-chatbot .dg-chat-footer a {
display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:42px;
padding:10px; border-radius:10px; background:#18a957; color:#fff; font-size:13px; font-weight:700;
line-height:1.35; text-align:center; text-decoration:none; transition:background .2s ease;
}
#dg-chatbot .dg-chat-footer a:hover { background:#128447; }
#dg-chatbot .dg-chat-footer a svg { width:19px; height:19px; flex:0 0 19px; }
@media (max-width:480px) {
#dg-chatbot .dg-chat-launcher { left:max(15px,env(safe-area-inset-left)); bottom:max(15px,env(safe-area-inset-bottom)); gap:7px; padding:8px 12px 8px 8px; }
#dg-chatbot .dg-chat-launcher > svg { width:38px; height:38px; flex-basis:38px; }
#dg-chatbot .dg-online-dot { left:37px; top:5px; }
#dg-chatbot .dg-launcher-label { font-size:13px; }
#dg-chatbot .dg-chat-window {
left:max(8px,env(safe-area-inset-left)); right:max(8px,env(safe-area-inset-right));
bottom:max(8px,env(safe-area-inset-bottom)); width:auto; max-width:none;
height:calc(100vh - 16px); height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); max-height:none;
}
}
@media (max-width:360px) {
#dg-chatbot .dg-chat-language { flex-basis:86px; max-width:86px; font-size:11px; }
#dg-chatbot .dg-launcher-label { font-size:12px; }
}
@keyframes dgBorderColorsTravel { to { --dg-border-angle:360deg; } }
#dg-chatbot .dg-chat-launcher, #dg-chatbot .dg-close,
#dg-chatbot .dg-chat-input-area button, #dg-chatbot .dg-quick-options button {
--dg-border-angle:0deg; isolation:isolate; border:1px solid transparent; background-clip:padding-box;
}
#dg-chatbot .dg-close, #dg-chatbot .dg-chat-input-area button, #dg-chatbot .dg-quick-options button { position:relative; }
#dg-chatbot .dg-chat-launcher::before, #dg-chatbot .dg-close::before,
#dg-chatbot .dg-chat-input-area button::before, #dg-chatbot .dg-quick-options button::before {
content:""; position:absolute; z-index:-1; inset:-1px; border-radius:inherit; padding:2px;
background:conic-gradient(from var(--dg-border-angle),#70f5ff 0deg,#31d8f4 45deg,#3984ff 105deg,#b14dff 165deg,#f0a4ff 195deg,#3984ff 255deg,#31d8f4 315deg,#70f5ff 360deg);
-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite:xor; mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask-composite:exclude; pointer-events:none; animation:dgBorderColorsTravel 2.1s linear infinite;
}
@media (prefers-reduced-motion:reduce) {
#dg-chatbot .dg-chat-launcher::before, #dg-chatbot .dg-close::before,
#dg-chatbot .dg-chat-input-area button::before, #dg-chatbot .dg-quick-options button::before { animation:none; }
}
/* Chat window must sit above the fixed site header (z-index 999999),
otherwise on mobile the chat title bar and close button are hidden under it. */
#dg-chatbot .dg-chat-window { z-index:1000001; }
/* Tablet / small laptop: comfortable width, stays inside the viewport */
@media (min-width:481px) and (max-width:1024px) {
#dg-chatbot .dg-chat-window {
width:min(420px, calc(100vw - 24px));
height:min(560px, calc(100vh - 130px));
height:min(560px, calc(100dvh - 130px));
}
}
/* Large desktop: slightly roomier chat */
@media (min-width:1400px) {
#dg-chatbot .dg-chat-window { width:400px; height:580px; }
}
/* Mobile: true full-screen chat that follows the visible viewport */
@media (max-width:480px) {
#dg-chatbot .dg-chat-window {
top:auto;
border-radius:16px;
height:calc(100vh - 16px);
height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
}
}
/* Phones / small tablets in landscape: short screens */
@media (max-height:500px) {
#dg-chatbot .dg-chat-window {
left:max(8px,env(safe-area-inset-left,0px));
bottom:max(8px,env(safe-area-inset-bottom,0px));
width:min(440px, calc(100vw - 16px));
max-width:none;
height:calc(100vh - 16px);
height:calc(100dvh - 16px);
max-height:none;
}
#dg-chatbot .dg-chat-header { padding:8px 10px; }
#dg-chatbot .dg-chat-messages { padding:12px 12px; }
#dg-chatbot .dg-chat-footer { padding:8px 10px 10px; }
#dg-chatbot .dg-chat-footer a { min-height:38px; padding:8px; }
}
/* Touch devices: no sticky hover "lift" on the launcher */
@media (hover:none) {
#dg-chatbot .dg-chat-launcher:hover { transform:none; box-shadow:0 5px 22px rgba(20,55,120,.3); }
}
(function () {
"use strict";
var root = document.getElementById("dg-chatbot");
if (!root || root.dataset.initialized === "true") return;
root.dataset.initialized = "true";
var launcher = root.querySelector("#dgChatLauncher");
var windowPanel = root.querySelector("#dgChatWindow");
var closeButton = root.querySelector("#dgChatClose");
var messages = root.querySelector("#dgChatMessages");
var form = root.querySelector("#dgChatForm");
var input = root.querySelector("#dgChatInput");
var quickOptions = root.querySelector("#dgQuickOptions");
var whatsappLink = root.querySelector("#dgWhatsAppLink");
var languageSelect = root.querySelector("#dgChatLanguage");
if (!launcher || !windowPanel || !closeButton || !messages || !form || !input || !quickOptions || !whatsappLink) return;
/* WhatsApp number: country code + digits only */
var WHATSAPP_NUMBER = "60197967902";
var MAX_TRANSCRIPT = 1200; /* keeps the wa.me link within safe URL length */
var MAX_ENTRIES = 40;
var conversation = ["DigitalGrowth Assistant: Hi there! Welcome to DigitalGrowth."];
function scrollMessages() { messages.scrollTop = messages.scrollHeight; }
function remember(line) {
conversation.push(line);
if (conversation.length > MAX_ENTRIES) conversation.splice(1, conversation.length - MAX_ENTRIES);
}
function updateWhatsAppLink() {
var transcript = conversation.join("\n\n");
if (transcript.length > MAX_TRANSCRIPT) transcript = "\u2026" + transcript.slice(-MAX_TRANSCRIPT);
var message = "Hello DigitalGrowth! I would like to discuss a project.\n\nChat conversation:\n" + transcript;
whatsappLink.href = "https://wa.me/" + WHATSAPP_NUMBER + "?text=" + encodeURIComponent(message);
}
function openChat() {
windowPanel.hidden = false;
launcher.setAttribute("aria-expanded", "true");
updateWhatsAppLink();
scrollMessages();
/* No auto-focus on small screens so the keyboard doesn't cover the chat */
if (window.innerWidth > 600) input.focus();
}
function closeChat(returnFocus) {
windowPanel.hidden = true;
launcher.setAttribute("aria-expanded", "false");
if (returnFocus) launcher.focus();
}
/* textContent only: user text is never parsed as HTML */
function addMessage(text, sender) {
var el = document.createElement("div");
el.className = "dg-message " + (sender === "user" ? "dg-user-message" : "dg-bot-message");
el.textContent = text;
messages.appendChild(el);
scrollMessages();
}
function has(value, re) { return re.test(value); }
function getReply(text) {
var v = text.toLowerCase();
if (has(v, /price|pricing|cost|package|budget|quote|how much|rate/)) {
return "Pricing depends on your project requirements, features, and goals. Send me your project details and estimated budget on WhatsApp so I can discuss a suitable option.";
}
if (has(v, /website|wordpress|shopify|wix|web ?design|web ?development/)) {
return "I can help you create, redesign, or improve a website using WordPress, Shopify, or Wix. Tell me a little about your project, and I can discuss the best solution.";
}
if (has(v, /ecommerce|e-commerce|\bstore\b|online shop/)) {
return "I can help with eCommerce store setup, product listings, store design, and improvements to the shopping experience. Share your requirements with me on WhatsApp for a project discussion.";
}
if (has(v, /marketing|advert|google|facebook|youtube|\bseo\b|\bppc\b|social/)) {
return "My digital marketing services can help your business reach more potential customers through suitable advertising and marketing strategies. Tell me about your business and goals so I can discuss your needs.";
}
if (has(v, /process|\bwork(s|ing)?\b|\bhow\b/)) {
return "My usual process is to understand your goals, discuss the requirements, agree on the scope, and then work on the project with your feedback. Send me your details to get started.";
}
if (has(v, /project|discuss|contact|\bhelp\b/)) {
return "Great! Please tell me what you want to achieve, what services you need, and any important deadlines. You can send the conversation to me on WhatsApp using the green button below.";
}
return "Thank you for your message! For a detailed answer tailored to your needs, send this conversation to my team through the WhatsApp button below.";
}
function sendMessage(text) {
var clean = String(text || "").replace(/\s+/g, " ").trim().slice(0, 500);
if (!clean) return;
addMessage(clean, "user");
remember("You: " + clean);
quickOptions.hidden = true;
var reply = getReply(clean);
addMessage(reply, "bot");
remember("DigitalGrowth Assistant: " + reply);
updateWhatsAppLink();
}
launcher.addEventListener("click", function () {
if (windowPanel.hidden) openChat(); else closeChat(false);
});
closeButton.addEventListener("click", function () { closeChat(true); });
document.addEventListener("keydown", function (e) {
if (e.key === "Escape" && !windowPanel.hidden) closeChat(true);
});
if (languageSelect) {
languageSelect.addEventListener("change", function () {
var name = languageSelect.options[languageSelect.selectedIndex].text;
var notice = languageSelect.value === "en"
? "Chat language set to English. You can type in any language."
: "Preferred language: " + name + ". You can type in this language; automated replies may still appear in English. For a full conversation in your language, send the chat to WhatsApp.";
addMessage(notice, "bot");
remember("DigitalGrowth Assistant: " + notice);
updateWhatsAppLink();
});
}
form.addEventListener("submit", function (event) {
event.preventDefault();
if (!input.value.trim()) return;
sendMessage(input.value);
input.value = "";
input.focus();
});
quickOptions.addEventListener("click", function (event) {
var button = event.target.closest("button[data-message]");
if (!button || !quickOptions.contains(button)) return;
sendMessage(button.getAttribute("data-message"));
});
updateWhatsAppLink();
})();