Pricing Table

DigitalGrowth | Web Development Pricing *, *::before, *::after { box-sizing: border-box; } html { margin:0; padding:0; background:#071225; -webkit-text-size-adjust:100%; text-size-adjust:100%; } body { margin:0; padding:0; background:#071225; overflow-x:hidden; min-width:320px; } @property --dg-border-angle { syntax:""; inherits:false; initial-value:0deg; } html, body, body.page, body.home, #page, #wrapper, #main, #content, main, .site, .site-content, .site-main, .content-area, .entry-content, .page-content, .ast-container, .elementor-section-wrap { background-color: #071225 !important; } .entry-content > #dg-pricing, .entry-content > #dg-chatbot { margin-left: 0 !important; margin-right: 0 !important; border: 0 !important; } html { background-color: #071225 !important; } #dg-site-header, #dg-site-header * { box-sizing: border-box; } #dg-site-header { --dg-navy:#080d1a; --dg-blue:#3267e9; --dg-cyan:#19d4e8; --dg-border:rgba(255,255,255,.10); --dg-border-angle:0deg; position:fixed; top:0; left:0; right:0; z-index:999999; width:100%; color:#f4f7ff; font-family:Arial,Helvetica,sans-serif; background:rgba(8,13,26,.97); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); border-bottom:1px solid var(--dg-border); padding-top:env(safe-area-inset-top,0px); } #dg-site-header .dg-header-inner { width:min(1200px,92%); min-height:78px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:nowrap; min-width:0; } #dg-site-header .dg-logo { flex-shrink:0; color:#fff; font-size:25px; font-weight:800; letter-spacing:-.8px; white-space:nowrap; text-decoration:none; } #dg-site-header .dg-logo span { color:var(--dg-cyan); } #dg-site-header .dg-nav-links { display:flex; align-items:center; justify-content:flex-end; gap:20px; flex-wrap:nowrap; white-space:nowrap; min-width:0; } #dg-site-header .dg-nav-links a { position:relative; flex-shrink:0; padding:9px 11px; border:2px solid transparent; border-radius:8px; background: linear-gradient(#101a2c,#101a2c) padding-box, conic-gradient(from var(--dg-border-angle),#19d4e8,#3267e9,#8b5cf6,#ff4fd8,#19d4e8) border-box; color:#d5ddef; font-size:13px; font-weight:700; text-decoration:none; white-space:nowrap; transition:transform .22s ease, box-shadow .22s ease, color .22s ease; animation:dg-header-border-spin 5.5s linear infinite; } #dg-site-header .dg-nav-links a:hover { color:var(--dg-cyan); box-shadow:0 0 18px rgba(25,212,232,.24), 0 0 28px rgba(139,92,246,.14); transform:translateY(-2px); } #dg-site-header .dg-nav-links a.dg-nav-cta { background: linear-gradient(#3267e9,#3267e9) padding-box, conic-gradient(from var(--dg-border-angle),#19d4e8,#3267e9,#8b5cf6,#ff4fd8,#19d4e8) border-box; color:#fff; } #dg-site-header .dg-nav-links a.dg-nav-cta:hover { color:#fff; background: linear-gradient(#2451c7,#2451c7) padding-box, conic-gradient(from var(--dg-border-angle),#19d4e8,#3267e9,#8b5cf6,#ff4fd8,#19d4e8) border-box; } #dg-site-header .dg-mobile-talk { display:none; flex-shrink:0; padding:9px 13px; border:2px solid transparent; border-radius:8px; background: linear-gradient(#3267e9,#3267e9) padding-box, conic-gradient(from var(--dg-border-angle),#19d4e8,#3267e9,#8b5cf6,#ff4fd8,#19d4e8) border-box; color:#fff; font-size:12px; font-weight:700; line-height:1.2; text-decoration:none; white-space:nowrap; } #dg-site-header .dg-menu-toggle { display:none; flex-shrink:0; border:2px solid transparent; border-radius:9px; padding:8px 12px; background: linear-gradient(#101a2c,#101a2c) padding-box, conic-gradient(from var(--dg-border-angle),#19d4e8,#3267e9,#8b5cf6,#ff4fd8,#19d4e8) border-box; color:#fff; font-family:inherit; font-size:23px; line-height:1.2; cursor:pointer; animation:dg-header-border-spin 5.5s linear infinite; } @keyframes dg-header-border-spin { to { --dg-border-angle:360deg; } } @media (min-width:1025px) and (max-width:1200px) { #dg-site-header .dg-header-inner { gap:12px; } #dg-site-header .dg-nav-links { gap:8px; } #dg-site-header .dg-nav-links a { font-size:12px; padding:8px 8px; } } @media (max-width:1024px) { #dg-site-header .dg-header-inner { min-height:70px; gap:8px; } #dg-site-header .dg-logo { font-size:23px; } #dg-site-header .dg-mobile-talk { display:inline-flex; align-items:center; justify-content:center; margin-left:auto; padding:9px 12px; } #dg-site-header .dg-menu-toggle { display:block; margin-left:2px; } #dg-site-header .dg-nav-links { display:none; position:absolute; top:100%; left:0; right:0; max-height:calc(100vh - 70px); max-height:calc(100dvh - 70px); overflow-y:auto; overflow-x:hidden; padding:15px 4% 20px; background:#0b1323; border-bottom:1px solid var(--dg-border); flex-direction:column; align-items:stretch; gap:8px; } #dg-site-header .dg-nav-links.is-open { display:flex; } #dg-site-header .dg-nav-links a { padding:12px 10px; font-size:14px; } #dg-site-header .dg-nav-links a.dg-nav-cta { margin-top:4px; text-align:center; } } @media (max-width:380px) { #dg-site-header .dg-header-inner { gap:6px; } #dg-site-header .dg-logo { font-size:20px; letter-spacing:-.7px; } #dg-site-header .dg-mobile-talk { padding:8px 9px; font-size:11px; } #dg-site-header .dg-menu-toggle { padding:7px 10px; font-size:21px; } } @media (prefers-reduced-motion:reduce) { #dg-site-header .dg-nav-links a, #dg-site-header .dg-menu-toggle { animation:none !important; transition:none !important; } }
(function () { var header = document.getElementById("dg-site-header"); if (!header || header.dataset.initialized === "true") return; header.dataset.initialized = "true"; var toggle = header.querySelector(".dg-menu-toggle"); var nav = header.querySelector(".dg-nav-links"); function closeMenu() { nav.classList.remove("is-open"); toggle.setAttribute("aria-expanded", "false"); toggle.setAttribute("aria-label", "Open navigation menu"); toggle.textContent = "☰"; } toggle.addEventListener("click", function () { var isOpen = nav.classList.toggle("is-open"); toggle.setAttribute("aria-expanded", String(isOpen)); toggle.setAttribute("aria-label", isOpen ? "Close navigation menu" : "Open navigation menu"); toggle.textContent = isOpen ? "×" : "☰"; }); nav.querySelectorAll("a").forEach(function (link) { link.addEventListener("click", closeMenu); }); window.addEventListener("resize", function () { if (window.innerWidth > 1024) closeMenu(); }); document.addEventListener("keydown", function (e) { if (e.key === "Escape" && nav.classList.contains("is-open")) { closeMenu(); toggle.focus(); } }); document.addEventListener("click", function (e) { if (!header.contains(e.target)) closeMenu(); }); })();
#dg-pricing { --bg:#071225; --card:#0e1d35; --line:#24466c; --cyan:#00e5ff; --blue:#168cff; --purple:#b54dff; --white:#f5f8ff; --muted:#cbd8ea; display:block; width:100%; max-width:100%; position:relative; margin:0; padding:calc(133px + env(safe-area-inset-top,0px)) 20px 55px; color:var(--white); background: radial-gradient(ellipse at 0% 0%,#00e5ff25,transparent 40%), radial-gradient(ellipse at 100% 100%,#b54dff20,transparent 40%), linear-gradient(135deg,#071225,#0d1b31,#071225); font-family:Arial,Helvetica,sans-serif; overflow:hidden; } #dg-pricing *, #dg-pricing *::before, #dg-pricing *::after { box-sizing:border-box; } #dg-pricing .dgp-section-block { width:100%; max-width:1320px; margin:0 auto 10px; } #dg-pricing .dgp-section-heading { text-align:center; max-width:850px; margin:0 auto 35px; } #dg-pricing .dgp-kicker { color:var(--cyan); font-size:12px; font-weight:800; letter-spacing:2px; margin-bottom:12px; } #dg-pricing .dgp-section-heading h2 { color:var(--white); font-size:clamp(28px,5vw,46px); font-weight:900; line-height:1.2; margin:0 0 15px; overflow-wrap:anywhere; } #dg-pricing .dgp-section-heading h2 span { color:var(--cyan); } #dg-pricing .dgp-section-heading p { color:var(--muted); font-size:15px; line-height:1.8; margin:0; } #dg-pricing .dgp-heading-note { display:inline-block; max-width:100%; margin-top:17px; padding:7px 16px; border:1px solid var(--line); border-radius:30px; color:var(--muted); font-size:12px; line-height:1.5; } #dg-pricing .dgp-tabs { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-bottom:30px; } #dg-pricing .dgp-tab { -webkit-appearance:none; appearance:none; border:1px solid #244766; background:#10213b; color:#dceaff; border-radius:8px; padding:14px 23px; font-family:inherit; font-size:13px; font-weight:800; line-height:1.3; cursor:pointer; transition:.25s; } #dg-pricing .dgp-tab:hover, #dg-pricing .dgp-tab.dgp-active { color:#001522; background:var(--cyan); border-color:var(--cyan); box-shadow:0 0 20px #00e5ff40; } #dg-pricing .dgp-tab:focus-visible, #dg-pricing .dgp-button:focus-visible { outline:2px solid #fff; outline-offset:3px; } #dg-pricing .dgp-panel[hidden] { display:none!important; } #dg-pricing .dgp-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:stretch; } #dg-pricing .dgp-card { position:relative; isolation:isolate; min-width:0; padding:2px; border-radius:14px; overflow:hidden; background:var(--line); display:flex; flex-direction:column; } #dg-pricing .dgp-card::before { content:""; position:absolute; z-index:-2; top:50%; left:50%; width:300%; aspect-ratio:1 / 1; transform:translate(-50%,-50%) rotate(0deg); background:conic-gradient(transparent,var(--cyan),var(--blue),var(--purple),transparent); animation:pricingRotate 6s linear infinite; will-change:transform; } #dg-pricing .dgp-card:nth-child(2)::before { animation-duration:8s; } #dg-pricing .dgp-card:nth-child(3)::before { animation-duration:7s; } #dg-pricing .dgp-card-inner { position:relative; z-index:1; flex:1; display:flex; flex-direction:column; min-width:0; padding:25px 23px; border-radius:12px; background:var(--card); } #dg-pricing .dgp-card.dgp-featured .dgp-card-inner { background:#112844; } #dg-pricing .dgp-badge { display:inline-block; align-self:flex-start; padding:7px 11px; margin-bottom:18px; border:1px solid #244b6b; border-radius:5px; background:#102f49; color:var(--cyan); font-size:11px; font-weight:800; letter-spacing:.8px; } #dg-pricing .dgp-card h3 { color:#fff; font-size:22px; line-height:1.4; font-weight:800; margin:0 0 8px; overflow-wrap:anywhere; } #dg-pricing .dgp-subtitle { color:var(--muted); font-size:13px; line-height:1.7; min-height:42px; margin:0 0 18px; } #dg-pricing .dgp-price { color:var(--cyan); font-size:clamp(34px,3.5vw,44px); font-weight:900; line-height:1.3; margin:0 0 5px; } #dg-pricing .dgp-payment { color:#d6e1f2; font-size:12px; margin:0 0 20px; } #dg-pricing .dgp-description { color:#d3deed; font-size:13px; line-height:1.8; margin:0 0 20px; min-height:75px; } #dg-pricing .dgp-divider { height:1px; background:var(--line); margin-bottom:20px; } #dg-pricing .dgp-included { color:#fff; font-size:16px; font-weight:800; margin:0 0 16px; } #dg-pricing .dgp-features { list-style:none!important; padding:0!important; margin:0 0 23px!important; flex-grow:1; } #dg-pricing .dgp-features li { position:relative; list-style:none!important; padding:0 0 0 23px; margin:0 0 12px; color:#d9e4f3; font-size:12.5px; line-height:1.7; } #dg-pricing .dgp-features li::before { content:"✓"; position:absolute; left:0; top:0; color:var(--cyan); font-size:17px; font-weight:900; } #dg-pricing .dgp-button { display:block; width:100%; text-align:center; margin-top:auto; padding:14px 12px; border:1px solid var(--cyan); border-radius:7px; background:transparent; color:var(--cyan)!important; font-size:13px; font-weight:800; text-decoration:none!important; transition:.25s; } #dg-pricing .dgp-button:hover { background:var(--cyan); color:#001522!important; transform:translateY(-2px); box-shadow:0 5px 20px #00e5ff30; } #dg-pricing .dgp-section-note { color:var(--muted); font-size:12px; line-height:1.8; text-align:center; margin:25px auto 0; max-width:900px; } @keyframes pricingRotate { to { transform:translate(-50%,-50%) rotate(360deg); } } @media(max-width:900px) { #dg-pricing .dgp-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } } @media(max-width:600px) { #dg-pricing { padding:calc(105px + env(safe-area-inset-top,0px)) 14px 35px; } #dg-pricing .dgp-grid { grid-template-columns:1fr; } #dg-pricing .dgp-tabs { display:grid; grid-template-columns:1fr; gap:9px; } #dg-pricing .dgp-tab { width:100%; } #dg-pricing .dgp-card-inner { padding:23px 20px; } #dg-pricing .dgp-subtitle, #dg-pricing .dgp-description { min-height:0; } } @media(prefers-reduced-motion:reduce) { #dg-pricing .dgp-card::before { animation:none; } #dg-pricing *, #dg-pricing *::before, #dg-pricing *::after { transition:none!important; } } /* Pure-CSS tab switching */ #dg-pricing .dgp-section-block{position:relative} #dg-pricing .dgp-radio{position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;margin:0!important;opacity:0!important;pointer-events:none!important} #dg-pricing .dgp-tab{display:inline-block;margin:0;text-align:center;-webkit-user-select:none;user-select:none} #dg-pricing .dgp-panel{display:none!important} #dg-pricing #r-web-shopify:checked ~ #web-shopify{display:block!important} #dg-pricing #r-web-shopify:checked ~ .dgp-tabs label[for="r-web-shopify"]{color:#001522;background:var(--cyan);border-color:var(--cyan);box-shadow:0 0 20px #00e5ff40} #dg-pricing #r-web-shopify:focus-visible ~ .dgp-tabs label[for="r-web-shopify"]{outline:2px solid #fff;outline-offset:3px} #dg-pricing #r-web-wordpress:checked ~ #web-wordpress{display:block!important} #dg-pricing #r-web-wordpress:checked ~ .dgp-tabs label[for="r-web-wordpress"]{color:#001522;background:var(--cyan);border-color:var(--cyan);box-shadow:0 0 20px #00e5ff40} #dg-pricing #r-web-wordpress:focus-visible ~ .dgp-tabs label[for="r-web-wordpress"]{outline:2px solid #fff;outline-offset:3px} #dg-pricing #r-web-wix:checked ~ #web-wix{display:block!important} #dg-pricing #r-web-wix:checked ~ .dgp-tabs label[for="r-web-wix"]{color:#001522;background:var(--cyan);border-color:var(--cyan);box-shadow:0 0 20px #00e5ff40} #dg-pricing #r-web-wix:focus-visible ~ .dgp-tabs label[for="r-web-wix"]{outline:2px solid #fff;outline-offset:3px} /* Full-screen base */ html { min-height:100%; } body { min-height:100vh; min-height:100dvh; } #dg-pricing { min-height:100vh; min-height:100dvh; padding-left:max(20px, env(safe-area-inset-left,0px)); padding-right:max(20px, env(safe-area-inset-right,0px)); } /* Edge-to-edge inside WordPress content wrappers (scoped so standalone pages are unaffected) */ .entry-content > #dg-pricing, .page-content > #dg-pricing, .elementor-widget-container > #dg-pricing { width:100vw; max-width:100vw; margin-left:calc(50% - 50vw) !important; margin-right:0 !important; } /* Large desktop */ @media (min-width:1600px) { #dg-pricing .dgp-section-block { max-width:1440px; } } /* Small desktop / large tablet: tighter header so nothing wraps */ @media (min-width:1025px) and (max-width:1100px) { #dg-site-header .dg-header-inner { gap:8px; } #dg-site-header .dg-logo { font-size:22px; } #dg-site-header .dg-nav-links { gap:6px; } #dg-site-header .dg-nav-links a { font-size:11.5px; padding:8px 6px; } } /* Tablet and below: header is 70px, so remove the extra top gap */ @media (max-width:1024px) { #dg-pricing { padding-top:calc(100px + env(safe-area-inset-top,0px)); } } /* Tablet 2-column layout: centre the orphan third card */ @media (min-width:601px) and (max-width:900px) { #dg-pricing .dgp-grid > .dgp-card:last-child:nth-child(odd) { grid-column:1 / -1; width:calc(50% - 11px); justify-self:center; } } /* Mobile */ @media (max-width:600px) { #dg-pricing { padding-top:calc(100px + env(safe-area-inset-top,0px)); padding-left:max(14px, env(safe-area-inset-left,0px)); padding-right:max(14px, env(safe-area-inset-right,0px)); padding-bottom:max(35px, env(safe-area-inset-bottom,0px)); } #dg-pricing .dgp-grid > .dgp-card:last-child:nth-child(odd) { grid-column:auto; width:auto; justify-self:stretch; } } /* Very small phones: keep logo + talk button + menu on one line */ @media (max-width:340px) { #dg-site-header .dg-logo { font-size:18px; letter-spacing:-.6px; } #dg-site-header .dg-mobile-talk { padding:7px 8px; font-size:10.5px; } #dg-site-header .dg-menu-toggle { padding:6px 9px; font-size:20px; } #dg-pricing .dgp-card h3 { font-size:20px; } } /* Touch devices: no sticky hover "lift" after tapping */ @media (hover:none) { #dg-site-header .dg-nav-links a:hover { transform:none; box-shadow:none; } #dg-pricing .dgp-button:hover { transform:none; } }
BUILD YOUR ONLINE PRESENCE

Web Development Packages

Get a professional, responsive, and high-performing website built with the platform that best fits your business.

One-time website development project fees
STARTER

Shopify Basic

Start selling online professionally

$450

One-time project payment

A clean and professional Shopify store setup for startups and small businesses entering eCommerce.

What's Included

  • Shopify store setup
  • Theme installation and configuration
  • Homepage design customization
  • Up to 5 product uploads
  • Essential pages setup
  • Navigation and menu setup
  • Payment gateway configuration guidance
  • Shipping settings configuration
  • Mobile-responsive design
  • Basic on-page SEO setup
  • Contact form setup
  • Basic store testing
Get Started →
COMPLETE

Shopify Premium

A complete eCommerce experience

$1,450

One-time project payment

An advanced Shopify store with deeper customization, conversion-focused design, and enhanced store functionality.

What's Included

  • Everything in Shopify Professional
  • Advanced theme customization
  • Up to 50 product uploads
  • Custom homepage sections
  • Advanced collection layouts
  • Custom product page design
  • Advanced app integrations
  • Conversion-focused design improvements
  • Advanced navigation experience
  • Technical SEO recommendations
  • Performance optimization
  • Analytics and tracking integration
  • Advanced store testing
  • Website handover guidance
Get Premium →
STARTER

WordPress Basic

A professional website to get started

$400

One-time project payment

A responsive WordPress website for small businesses, personal brands, and service providers.

What's Included

  • WordPress installation and setup
  • Theme installation and configuration
  • Up to 5 website pages
  • Professional homepage design
  • About and contact pages
  • Mobile-responsive layout
  • Contact form integration
  • Essential plugin configuration
  • Basic on-page SEO setup
  • Social media integration
  • Basic security configuration
  • Website testing
Get Started →
COMPLETE

WordPress Premium

Advanced website development

$1,250

One-time project payment

A comprehensive WordPress solution with advanced customization, functionality, and performance improvements.

What's Included

  • Everything in WordPress Professional
  • Up to 15 website pages
  • Advanced custom page designs
  • Custom post types where needed
  • Advanced plugin integrations
  • WooCommerce setup if required
  • Advanced forms and integrations
  • Technical SEO configuration
  • Advanced speed optimization
  • Security hardening
  • Backup and recovery setup
  • Analytics and tracking setup
  • Comprehensive website testing
  • Website handover guidance
Get Premium →
STARTER

Wix Basic

Launch your professional Wix website

$350

One-time project payment

A modern and mobile-friendly Wix website for small businesses, freelancers, and personal brands.

What's Included

  • Wix website setup
  • Template selection and customization
  • Up to 5 website pages
  • Homepage design
  • About and contact pages
  • Mobile-responsive design
  • Contact form integration
  • Navigation and menu setup
  • Basic SEO configuration
  • Social media links
  • Website testing
Get Started →
COMPLETE

Wix Premium

A complete customized Wix experience

$1,050

One-time project payment

A comprehensive Wix website with advanced design, business functionality, and performance improvements.

What's Included

  • Everything in Wix Professional
  • Up to 15 website pages
  • Advanced custom design
  • Custom website sections
  • Advanced Wix app integrations
  • Wix Stores setup if required
  • Product and service page setup
  • Advanced form configuration
  • SEO configuration
  • Advanced mobile optimization
  • Analytics and tracking setup
  • Performance review
  • Complete website testing
  • Website handover guidance
Get Premium →

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.

#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(); })();
Scroll to Top