/* =========================================================================
   SENDPK.COM — WhatsApp-inspired design system
   -------------------------------------------------------------------------
   All brand decisions live in the :root design tokens below.
   A rebrand = edit this block only. Never hardcode hex in components.
   ========================================================================= */

:root {
  /* --- Premium green palette (brand: primary #0B7A43, secondary #16A34A,
         accent #22C55E). Token NAMES keep the wa- prefix so every existing
         component and page picks up the palette automatically. ----------- */
  --wa-green:      #22C55E;   /* bright accent: FAB, pills, small accents */
  --wa-action:     #16A34A;   /* secondary green: icon tints, checkmarks  */
  --wa-teal:       #0B7A43;   /* primary green: links, hover states       */
  --wa-teal-dark:  #075E33;   /* deep green: dark bands (stats/CTA/demo)  */
  --wa-band:       #075E54;   /* WhatsApp dark teal — TOPBAR + FOOTER ONLY,
                                 explicit user choice (round 34): the top
                                 header and footer keep the classic teal
                                 while the rest of the site stays premium */
  --wa-bubble:     #D9FDD3;   /* outgoing chat bubble (light green)       */
  --wa-chat-bg:    #EFEAE2;   /* soft beige section background            */
  --wa-blue:       #34B7F1;   /* info / "verified tick" accent            */
  --wa-ink:        #111B21;   /* headings, strong text                    */
  --wa-body:       #3B4A54;   /* body text                                */
  --wa-muted:      #667781;   /* secondary text                           */
  --wa-line:       #E9EDEF;   /* borders / dividers                       */
  --wa-surface:    #FFFFFF;   /* cards                                    */
  --wa-page:       #F7F9FA;   /* page background                          */

  /* --- Shape & depth -------------------------------------------------- */
  --wa-soft:       #F0F2F5;   /* soft grey band background                */
  /* Signature green glow layered under section backgrounds (see .hero, .section) */
  --section-glow:  radial-gradient(1000px 500px at 85% -10%, rgba(34, 197, 94, .16), transparent 60%),
                   radial-gradient(700px 400px at 5% 20%, rgba(7, 94, 51, .10), transparent 55%);
  --radius-card:   16px;
  --radius-btn:    999px;     /* pill buttons (WhatsApp-style)            */
  --radius-bubble: 12px;
  --shadow-sm:     0 1px 2px rgba(17, 27, 33, .06);
  --shadow-md:     0 10px 30px rgba(17, 27, 33, .08);
  --shadow-lg:     0 20px 50px rgba(17, 27, 33, .14);
  --shadow-cta:    0 14px 30px -10px rgba(11, 122, 67, .45);

  /* Signature brand gradient (buttons, brand badge, underlines, accents) —
     built from the palette tokens above so a palette edit re-skins it too */
  --wa-grad:       linear-gradient(120deg, var(--wa-teal) 0%, var(--wa-action) 55%, var(--wa-green) 100%);
  --wa-ease:       cubic-bezier(.22, .61, .36, 1);

  /* --- Type (self-hosted in assets/fonts/, declared in fonts.css) ------ */
  --font-sans:    "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);
}

/* =========================================================================
   BASE
   ========================================================================= */
/* overflow-x lives on <html>, NOT <body>: the root element is special-cased
   by browsers to control the viewport's own scrolling directly. Putting any
   non-visible overflow-x on <body> instead makes body its own nested
   scrolling box (distinct from the real viewport), which breaks
   position:sticky descendants like the navbar on long pages — they stay
   correctly "stuck" relative to body, but body itself then scrolls away
   underneath them. */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-sans);
  color: var(--wa-body);
  background: var(--wa-surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--wa-ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
}

a { color: var(--wa-teal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--wa-teal-dark); }
::selection { background: rgba(34, 197, 94, .25); }

/* Same page width as the nb reference theme */
.container { max-width: 1200px; }

.section { padding: 2.25rem 0; }
.section-alt { background: var(--wa-soft); }
.section-chat { background: var(--wa-chat-bg); }

.section-head { max-width: 660px; margin: 0 auto 2.6rem; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .9rem; }
.section-head p { color: var(--wa-muted); font-size: 1.08rem; margin: 0; }

/* Gradient headline accent (hero + section highlights) */
.gradient-text {
  background-image: var(--wa-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Small green pill above headings */
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(34, 197, 94, .12); color: var(--wa-teal-dark);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 50rem; margin-bottom: 1rem;
}

.skip-link { position: absolute; z-index: 2000; background: var(--wa-surface); padding: .5rem 1rem; }

/* Urdu content utility — apply to any element (or wrapper) holding Urdu
   text, anywhere on the site. Pair it with lang="ur" dir="rtl" on the same
   element in markup; this class only supplies the typography. Font is the
   self-hosted Nafees Nastaleeq webfont (assets/css/fonts.css), falling back
   to Urdu-capable fonts that ship on most Pakistani devices, then serif. */
.urdu {
  font-family: 'Nafees Nastaleeq', 'Jameel Noori Nastaleeq', 'Alvi Nastaleeq', serif;
  line-height: 35px;
  direction: rtl;
}
/* Headings inside an .urdu block don't just inherit the font above — the
   sitewide "h1, h2, h3, h4, h5, h6 { font-family: var(--font-display) }"
   rule (top of this file) targets them DIRECTLY, and a direct rule always
   wins over an inherited value regardless of specificity. Re-assert
   inheritance explicitly so Urdu headings actually render in the Urdu font.
   font-weight must be reset to normal too: that same sitewide rule also
   sets font-weight:700, but the self-hosted Nafees Nastaleeq @font-face has
   only ONE weight (normal) — asking for 700 makes the browser synthesize a
   fake bold, which mangles Nastaliq's connected letterforms into the
   distorted/blocky look the user flagged. Real fix is "don't ask for a
   weight this font doesn't have," not a different font-family value. */
.urdu h1, .urdu h2, .urdu h3, .urdu h4, .urdu h5, .urdu h6 { font-family: inherit; font-weight: normal; }

/* =========================================================================
   BUTTONS — premium pill buttons on the brand gradient.
   Base geometry unchanged from the nb reference: pill, .7rem 1.5rem, .95rem,
   weight 600 (the base .btn rule intentionally overrides Bootstrap's btn-sm
   sizing, exactly like the nb theme does)
   ========================================================================= */
.btn {
  border-radius: var(--radius-btn); font-weight: 600; padding: .7rem 1.5rem;
  border: 1.5px solid transparent; font-size: .95rem;
  transition: transform .3s var(--wa-ease), box-shadow .3s var(--wa-ease),
              background-position .5s var(--wa-ease), background-color .3s var(--wa-ease),
              border-color .3s var(--wa-ease), color .3s var(--wa-ease);
}
.btn:focus-visible { outline: 3px solid rgba(34, 197, 94, .45); outline-offset: 2px; }

/* Primary — brand gradient + glow + shine sweep */
.btn-wa {
  position: relative; overflow: hidden;
  background-image: var(--wa-grad);
  background-size: 175% auto; background-position: left center;
  color: #fff; border-color: transparent;
  box-shadow: var(--shadow-cta);
}
.btn-wa::after {                        /* shine sweep on hover */
  content: ""; position: absolute; top: 0; bottom: 0; left: -85%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-18deg); transition: left .7s ease; pointer-events: none;
}
.btn-wa:hover, .btn-wa:focus {
  color: #fff; background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -12px rgba(11, 122, 67, .55), 0 0 0 5px rgba(34, 197, 94, .14);
}
.btn-wa:hover::after { left: 135%; }
.btn-wa:active { transform: translateY(0); box-shadow: 0 8px 18px -8px rgba(11, 122, 67, .5); }
.btn-wa .bi { transition: transform .3s var(--wa-ease); }
.btn-wa:hover .bi { transform: translateX(4px); }

/* Secondary — clean light outline */
.btn-wa-outline {
  background: var(--wa-surface); color: var(--wa-teal);
  border-color: #BCE3CD; box-shadow: var(--shadow-sm);
}
.btn-wa-outline:hover, .btn-wa-outline:focus {
  background: #F4FBF7; color: var(--wa-teal-dark); border-color: var(--wa-action);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-wa-outline:active { transform: translateY(0); }

/* Ghost — quiet nav/utility button */
.btn-ghost { background: var(--wa-surface); color: var(--wa-teal); border-color: #BCE3CD; }
.btn-ghost:hover { background: #F4FBF7; border-color: var(--wa-action); color: var(--wa-teal-dark); }
.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }

/* On-dark variants for the CTA band */
.btn-wa-invert { background: #fff; color: var(--wa-teal-dark); border-radius: var(--radius-btn);
  font-weight: 700; padding: .8rem 1.8rem; border: 1px solid #fff; transition: transform .18s ease, box-shadow .18s ease; }
.btn-wa-invert:hover { background: var(--wa-bubble); color: var(--wa-teal-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.btn-wa-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7);
  border-radius: var(--radius-btn); font-weight: 600; padding: .8rem 1.8rem; transition: background .18s ease; }
.btn-wa-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* =========================================================================
   1) TOP BAR
   ========================================================================= */
.topbar { background: var(--wa-band); color: #fff; font-size: .84rem; padding: .45rem 0; }
.topbar-note { display: flex; align-items: center; gap: .45rem; }
.topbar-note .bi { color: var(--wa-green); }
.topbar-links { display: flex; gap: 1.2rem; white-space: nowrap; }
.topbar-links a { color: rgba(255, 255, 255, .92); font-weight: 500; }
.topbar-links a:hover { color: var(--wa-green); }

/* =========================================================================
   2) NAVBAR (sticky, collapse pattern)
   ========================================================================= */
.main-nav {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  /* --wa-line (#E9EDEF) is nearly indistinguishable from the bar's own
     white background, so this separator line was barely visible against
     a white/near-white hero underneath it. A slightly darker neutral keeps
     it minor/subtle while actually reading as a seam between nav and body. */
  border-bottom: 1px solid rgba(17, 27, 33, .10);
  padding: .6rem 0;
  transition: box-shadow .3s ease;
}
/* Once scrolled, swap the translucent/blurred backdrop for a solid one.
   The blur is a nice effect sitting over the hero at the very top of the
   page, but once content scrolls underneath a sticky bar, whatever's
   behind it (e.g. the green CTA pill on the home page) bleeds through the
   blur and visually clips into the nav — looks broken on mobile especially.
   A solid background once .is-scrolled removes that bleed-through everywhere. */
.main-nav.is-scrolled {
  background: var(--wa-surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 6px 24px rgba(17, 27, 33, .07);
}
/* Premium brand mark: gradient badge + SENDPK wordmark */
.main-nav .navbar-brand {
  display: inline-flex; align-items: center; gap: .25rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  letter-spacing: -.02em; color: var(--wa-ink);
}
.main-nav .navbar-brand:hover, .main-nav .navbar-brand:focus { color: var(--wa-ink); }
.brand-badge {
  display: grid; place-items: center; width: 28px; height: 28px;
}
.brand-badge img { width: 100%; height: 100%; object-fit: contain; }

.main-nav .nav-link {
  color: var(--wa-body); font-weight: 600; font-size: .95rem;
  /* !important matches the nb theme: Bootstrap's .navbar-expand-lg rule
     otherwise shrinks the horizontal padding to .5rem and cramps the menu */
  padding: .5rem 1rem !important;
  white-space: nowrap; position: relative; border-radius: 8px;
}
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--wa-teal); }
/* gradient underline: grows in on hover, stays on the active item */
.main-nav .nav-link::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 2px;
  height: 2px; background-image: var(--wa-grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--wa-ease);
}
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 0; font-size: 1.7rem; color: var(--wa-teal-dark); padding: .1rem .4rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(34, 197, 94, .35); }
/* Mobile: the collapsed menu drops into a rounded white card */
@media (max-width: 991.98px) {
  /* No translucency/blur on mobile at ALL (not just once .is-scrolled):
     backdrop-filter on a position:sticky bar is glitchy in Android
     Chrome/WebView — while scrolling, the bar paints late or in the wrong
     position, so page content (e.g. the hero's green CTA pill) appears to
     ride up over/through the header. A fully opaque bar plus its own
     compositing layer (translateZ) makes the sticky header rock-solid.
     Desktop keeps the blur effect — the bug is mobile-specific. */
  .main-nav {
    background: var(--wa-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateZ(0);
  }
  .main-nav .navbar-collapse {
    background: var(--wa-surface); border: 1px solid var(--wa-line);
    border-radius: 14px; padding: 1rem; margin-top: .6rem; box-shadow: var(--shadow-md);
  }
  .main-nav .nav-link::after { display: none; }
  .main-nav .nav-link.active { background: rgba(34, 197, 94, .12); color: var(--wa-teal-dark); }

  /* Cap oversized row gutters on mobile. Bootstrap's .g-5 sets a 3rem
     gutter, i.e. -1.5rem row margins — wider than .container's 12px
     side padding, so the row pokes 12px past the viewport on phones.
     That lets the page pan sideways, and the sticky header (which is
     only viewport-wide) then sits shifted / "doesn't fit" while
     scrolling. Columns are stacked single-file at this width anyway,
     so a large x-gutter buys nothing — clamp it to Bootstrap's default. */
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* =========================================================================
   3) HERO
   ========================================================================= */
.hero {
  position: relative; overflow: hidden; padding: 5rem 0 4rem;
  background: var(--section-glow), var(--wa-surface);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.08; margin-bottom: 1.2rem; }
/* weight 400 overrides Bootstrap's thin .lead (300) — matches nb's solid look */
.hero .lead { color: var(--wa-body); font-size: 1.18rem; font-weight: 400; max-width: 560px; }

/* --- Chat bubbles (WhatsApp API demo on the homepage; the login page's
       brand panel and the price popup reuse .chat/.bubble as well) ------- */
.chat { padding: 1rem .8rem 1.2rem; display: flex; flex-direction: column; gap: .65rem; }
/* WhatsApp-style bubbles: soft 12px radius with one sharp corner (no tails —
   pseudo-element tails render poorly on small screens) */
.bubble {
  max-width: 80%; padding: .55rem .85rem; font-size: .86rem; line-height: 1.45;
  border-radius: var(--radius-bubble); box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
  color: var(--wa-ink); margin: 0;
}
.bubble .time { display: block; text-align: right; font-size: .66rem; color: var(--wa-muted); margin-top: .15rem; }
.bubble .ticks { color: var(--wa-blue); font-size: .78rem; margin-left: .25rem; vertical-align: -1px; }
.bubble-in  { align-self: flex-start; background: var(--wa-surface); border-top-left-radius: 3px; }
.bubble-out { align-self: flex-end;   background: var(--wa-bubble);  border-top-right-radius: 3px; }

/* =========================================================================
   4) BADGE PILLS — shared chips (login brand panel + city-page area lists)
   ========================================================================= */
.badge-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--wa-line); background: var(--wa-page); color: var(--wa-body);
  font-size: .84rem; font-weight: 600; border-radius: 50rem; padding: .45rem 1rem;
}
.badge-pill .bi { color: var(--wa-action); }

/* =========================================================================
   5) SERVICE CARDS
   ========================================================================= */
.card-wa {
  background: var(--wa-surface); border: 1px solid var(--wa-line);
  border-radius: var(--radius-card); padding: 1.9rem; height: 100%;
  box-shadow: var(--shadow-md);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card-wa:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(34, 197, 94, .4); }
.card-wa .icon {
  width: 56px; height: 56px; border-radius: 14px; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, .16), rgba(11, 122, 67, .12));
  color: var(--wa-teal);
}
.card-wa h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card-wa p { color: var(--wa-muted); font-size: .95rem; margin-bottom: .9rem; }
.card-link { font-weight: 600; font-size: .92rem; }
.card-link .bi { transition: transform .2s ease; display: inline-block; }
.card-link:hover .bi { transform: translateX(4px); }

/* =========================================================================
   5b) SMS CAN BENEFIT WHOM — audience tiles
   ========================================================================= */
.audience-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem;
  background: var(--wa-surface); border: 1px solid var(--wa-line);
  border-radius: var(--radius-card); padding: 1.3rem 1rem; height: 100%;
  box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.audience-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(34, 197, 94, .4); }
.audience-tile .ai {
  width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, .16), rgba(11, 122, 67, .12));
  color: var(--wa-teal);
}
.audience-tile p { margin: 0; font-size: .86rem; font-weight: 600; color: var(--wa-ink); line-height: 1.35; }

/* =========================================================================
   6) WHY CHOOSE US
   ========================================================================= */
.feature {
  display: flex; gap: 1rem; align-items: flex-start; height: 100%;
  background: var(--wa-surface); border: 1px solid var(--wa-line);
  border-radius: var(--radius-card); padding: 1.5rem;
  box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(34, 197, 94, .4); }
.feature .fi {
  width: 48px; height: 48px; border-radius: 12px; flex: 0 0 48px; font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, .16), rgba(11, 122, 67, .12));
  color: var(--wa-teal);
  display: flex; align-items: center; justify-content: center;
}
.feature h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { color: var(--wa-muted); font-size: .93rem; margin: 0; }

/* =========================================================================
   7) HOW IT WORKS — numbered steps
   ========================================================================= */
.step {
  position: relative; background: var(--wa-surface); border: 1px solid var(--wa-line);
  border-radius: var(--radius-card); padding: 2.2rem 1.7rem 1.7rem; height: 100%;
  box-shadow: var(--shadow-md); transition: transform .28s ease, box-shadow .28s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step .num {
  position: absolute; top: -20px; left: 1.7rem;
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-teal));
  color: #fff; font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(34, 197, 94, .4);
}
.step h3 { font-size: 1.08rem; margin: .4rem 0 .45rem; }
.step h3 i { color: var(--wa-teal); margin-right: .4rem; }
.step p { color: var(--wa-muted); font-size: .92rem; margin: 0; }
.step p a { font-weight: 600; white-space: nowrap; }

/* =========================================================================
   8) WHATSAPP API HIGHLIGHT — chat-style demo on beige
   ========================================================================= */
.wa-demo {
  background: var(--wa-surface); border-radius: var(--radius-card);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.wa-demo-head { background: var(--wa-teal-dark); color: #fff; padding: .8rem 1.1rem;
  display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.wa-demo-head .bi { color: #fff; font-size: 1.2rem; }
.wa-demo-body { padding: 1.2rem; display: flex; flex-direction: column; gap: .6rem; background: var(--wa-chat-bg); }
.api-list { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.api-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; color: var(--wa-body); }
.api-list .bi { color: var(--wa-action); margin-top: .15rem; }

/* Code-style snippet bubble (kept as plain text for CSP-safety) */
.code-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .78rem; background: var(--wa-ink); color: #d6f5e6;
  border-radius: var(--radius-bubble); padding: .8rem 1rem; overflow-x: auto; white-space: pre;
}

/* =========================================================================
   9) STATS BAND
   ========================================================================= */
.stats-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(34, 197, 94, .18), transparent 60%),
    linear-gradient(120deg, var(--wa-teal-dark), var(--wa-teal));
  color: #fff; padding: 3.8rem 0;
}
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; color: #fff; }
.stat .num .accent { color: var(--wa-green); }
.stat .lbl { color: rgba(255, 255, 255, .78); font-weight: 600; font-size: .92rem; }

/* =========================================================================
   10) PRICING TEASER
   ========================================================================= */
.price-card {
  background: var(--wa-surface); border: 1px solid var(--wa-line);
  border-radius: var(--radius-card); padding: 2.2rem 2rem; height: 100%; text-align: center;
  box-shadow: var(--shadow-md); transition: transform .28s ease, box-shadow .28s ease;
  display: flex; flex-direction: column;
}
.price-card .btn { margin-top: auto; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.popular { border: 2px solid var(--wa-green); position: relative;
  background: linear-gradient(160deg, var(--wa-surface), #F3FBF6); }
.price-card .plan-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--wa-green); color: var(--wa-ink); font-size: .74rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; border-radius: 50rem; padding: .3rem .9rem;
}
.price-card h3 { font-size: 1.2rem; }
.price-card .from { color: var(--wa-muted); font-size: .88rem; }
.price-card ul { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; text-align: start; }
.price-card ul li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; font-size: .93rem; color: var(--wa-body); }
.price-card ul .bi { color: var(--wa-action); margin-top: .15rem; }

/* =========================================================================
   11) TESTIMONIALS
   ========================================================================= */
.quote {
  background: var(--wa-surface); border: 1px solid var(--wa-line);
  border-radius: var(--radius-card); padding: 1.9rem; height: 100%; box-shadow: var(--shadow-md);
  transition: transform .28s ease, box-shadow .28s ease;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.quote .stars { color: #F5B301; font-size: .9rem; margin-bottom: .7rem; }
.quote blockquote { color: var(--wa-body); font-size: .96rem; font-style: italic; margin: 0 0 1.1rem; }
.quote .who { display: flex; align-items: center; gap: .7rem; }
.quote .who .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-teal));
  color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.quote .who strong { display: block; font-size: .94rem; color: var(--wa-ink); }
.quote .who span { font-size: .82rem; color: var(--wa-muted); }

/* =========================================================================
   PAKISTAN COVERAGE CARD — reusable via theme_pakistan_coverage_section()
   in Conn/theme_functions.php (first used on index.php, after Testimonials)
   ========================================================================= */
.pk-cover {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--wa-surface) 0%, var(--wa-page) 45%, var(--wa-bubble) 100%);
  border: 1px solid var(--wa-line); border-radius: 24px;
  box-shadow: var(--shadow-md); padding: 2.2rem 2.75rem;
}
/* Sized so the string "Bulk SMS in every major city of Pakistan" fits on one
   line within the 7-col text width (~643px) at this card's desktop padding —
   check against that string before raising this value again. */
.pk-cover h2 { font-size: clamp(1.4rem, 2.5vw, 2.1rem); margin-bottom: .5rem; }
.pk-cover .pk-lead { color: var(--wa-muted); font-size: 1rem; max-width: 460px; margin: .4rem 0 1.1rem; }
/* City chips — real pills, capped max-width so they wrap into a tidy
   multi-column grid instead of stretching across the whole text column. */
.pk-chips { display: flex; flex-wrap: wrap; gap: .55rem; max-width: 640px; }
.pk-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--wa-surface); border: 1px solid var(--wa-line); color: var(--wa-teal-dark);
  font-weight: 600; font-size: .88rem; border-radius: 999px; padding: .42rem .95rem;
  box-shadow: var(--shadow-sm); transition: .15s ease;
}
.pk-chip i { color: var(--wa-teal); font-size: .72rem; }
.pk-chip:hover { background: var(--wa-teal); border-color: var(--wa-teal); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pk-chip:hover i { color: #fff; }
/* Network stats — plain icon + label, no pill chrome (distinct from the chips above) */
.pk-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 1.2rem; color: var(--wa-body); font-size: .85rem; font-weight: 600; }
.pk-stats i { color: var(--wa-teal); margin-right: .4rem; }
.pk-mapside { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; }
.pk-mapside::before {
  content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, .18) 0%, rgba(34, 197, 94, 0) 70%);
}
/* The source PNG (assets/images/pakistan-map.png) is now trimmed tight to the
   artwork itself (no more wasted transparent margin), so the map reads
   visibly bigger/more prominent at this box size than the untrimmed version
   did — this keeps the card's overall height back at its previous tuned
   level (~419px) instead of growing with a taller image box. */
.pk-map { position: relative; width: 100%; max-width: 330px; height: auto; filter: drop-shadow(0 18px 30px rgba(7, 94, 51, .25)); }
@media (max-width: 991.98px) { .pk-mapside { margin-top: 1.5rem; } }
@media (max-width: 767.98px) {
  .pk-cover { border-radius: var(--radius-card); padding: 1.9rem 1.4rem; }
  .pk-map { max-width: 250px; }
}

/* =========================================================================
   12) FINAL CTA BAND
   ========================================================================= */
.cta-band {
  background:
    radial-gradient(600px 300px at 85% -20%, rgba(34, 197, 94, .35), transparent 60%),
    linear-gradient(120deg, var(--wa-teal-dark), var(--wa-teal) 60%, var(--wa-action));
  border-radius: 26px; color: #fff; padding: 3.4rem 2rem; text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 560px; margin: .8rem auto 1.6rem; }

/* =========================================================================
   13) FOOTER
   ========================================================================= */
.site-footer { background: var(--wa-band); color: rgba(255, 255, 255, .82); padding: 4rem 0 0; }
.footer-brand {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  letter-spacing: -.02em; color: #fff;
}
.footer-brand:hover, .footer-brand:focus { color: #fff; }
.footer-brand img { width: 28px; height: 28px; }
.footer-brand-accent { color: var(--wa-green); }
.footer-about { margin: 1.1rem 0 1.3rem; font-size: .92rem; max-width: 320px; }
.footer-heading { color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .55rem; font-size: .92rem; }
.footer-links a { color: rgba(255, 255, 255, .78); display: inline-block; transition: color .2s ease, padding-left .2s ease; }
.footer-links a:hover { color: var(--wa-green); padding-left: 3px; }
.footer-contact li { display: flex; gap: .5rem; align-items: baseline; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 255, 255, .1); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--wa-green); color: var(--wa-ink); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 2.6rem;
  padding: 1.2rem 0 1.4rem; font-size: .85rem; color: rgba(255, 255, 255, .65);
}

/* =========================================================================
   14) FLOATING WHATSAPP BUTTON
   ========================================================================= */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa-green); color: #fff; font-size: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(34, 197, 94, .5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { color: #fff; transform: scale(1.1); box-shadow: 0 14px 32px rgba(34, 197, 94, .6); }

/* =========================================================================
   REVEAL-ON-SCROLL (added by theme.js; safe no-JS fallback = visible)
   ========================================================================= */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { animation: none; transition: none; opacity: 1; transform: none; }
}

/* =========================================================================
   RESPONSIVE POLISH
   ========================================================================= */
@media (max-width: 991.98px) {
  .section { padding: 2.25rem 0; }
  .hero { padding: 3rem 0; text-align: center; }
  .hero .lead { margin-inline: auto; }
}
@media (max-width: 575.98px) {
  .hero h1 { font-size: 2rem; }
  .cta-band { padding: 2.4rem 1.2rem; border-radius: var(--radius-card); }
  .topbar { font-size: .78rem; }
}
