/* ============================================================
   NEXup Agency — Master Stylesheet v3
   Author: NEXup Team
   Description: Full agency site styles — dark/light, responsive,
                all pages, all components.
   ============================================================ */

/* ── 1. GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── 2. CSS CUSTOM PROPERTIES (design tokens) ── */
:root {
  /* Brand colors — one confident accent, deep neutral navy, no gold/teal/orange */
  --p:    #2A4FE0;    /* Primary — confident indigo-blue */
  --p2:   #5A78FF;    /* Primary lighter tint (gradients/hover) */
  --pg:   rgba(42,79,224,0.14); /* Primary glow/tint */
  --sec:  #0A0E1A;    /* Secondary — near-black navy */
  --acc:  #2A4FE0;    /* Unified with primary — single accent system */
  --gold: #5A78FF;    /* Alias to lighter tint — keeps existing two-stop gradients monochrome */
  --star: #F5A623;    /* Reserved for rating stars only — not a brand color */

  /* Light theme surfaces */
  --bg:   #F7F8FC;
  --bg2:  #EEF1F7;
  --card: #FFFFFF;
  --nav:  rgba(247,248,252,0.95);

  /* Light theme text */
  --tx:  #0B0E1A;
  --tx2: #333B54;
  --mu:  #667085;   /* Muted text */

  /* Borders & shadows */
  --bd:  rgba(10,14,26,0.10);
  --bd2: rgba(42,79,224,0.25);
  --sh:  0 4px 28px rgba(10,14,26,0.08);
  --shc: 0 8px 40px rgba(42,79,224,0.18);

  /* Radii */
  --r:  14px;
  --rl: 22px;
  --rs: 8px;

  /* Transition */
  --tr: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── 3. DARK THEME OVERRIDES ── */
[data-theme="dark"] {
  --bg:   #070910;
  --bg2:  #0C0F1A;
  --card: #10141F;
  --nav:  rgba(7,9,16,0.96);
  --tx:   #F8FAFC;
  --tx2:  #CBD5E1;
  --mu:   #8B96AB;
  --bd:   rgba(90,120,255,0.14);
  --bd2:  rgba(90,120,255,0.3);
  --sh:   0 4px 28px rgba(0,0,0,0.4);
  --shc:  0 8px 40px rgba(42,79,224,0.28);
}

/* ── 4. RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--tx);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  transition: background 0.5s, color 0.3s;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  color: var(--tx);
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: break-word;
}
a {
  text-decoration: none;
  color: var(--p);
  transition: color var(--tr);
}
img { max-width: 100%; display: block; }

/* ── 5. SCROLL PROGRESS BAR ── */
#scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--p), var(--gold), var(--acc));
  box-shadow: 0 0 12px var(--p);
}

/* ── 6. PAGE LOADER ── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.7s, visibility 0.7s;
}
#loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.ld-logo { animation: ldp 1s ease infinite alternate; }
@keyframes ldp {
  from { transform: scale(0.92); opacity: 0.7; }
  to   { transform: scale(1.06); opacity: 1; }
}
.ld-bar {
  width: 180px; height: 3px;
  background: var(--bd);
  border-radius: 50px;
  overflow: hidden;
}
.ld-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--p), var(--gold));
  border-radius: 50px;
  animation: ldf 1.4s ease forwards;
}
@keyframes ldf { to { width: 100%; } }

/* ── 7. BACKGROUND ORBS (ambient atmosphere) ── */
.orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orbDrift 16s ease-in-out infinite;
}
.orb1 { width:700px;height:700px;background:var(--p);top:-220px;right:-160px;opacity:.05; }
.orb2 { width:580px;height:580px;background:var(--sec);bottom:-200px;left:-160px;opacity:.06;animation-delay:-5s; }
.orb3 { width:420px;height:420px;background:var(--acc);top:40%;left:30%;opacity:.04;animation-delay:-10s; }
[data-theme="dark"] .orb { opacity: 0.1; }
@keyframes orbDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  40%  { transform: translate(38px,-48px) scale(1.06); }
  70%  { transform: translate(-28px,36px) scale(0.94); }
}

/* ── 7b. MINI TOP BAR (email/phone strip above main nav) ── */
.topbar-mini {
  background: var(--tx);
  color: var(--bg);
  font-size: 0.78rem;
  padding: 0.45rem 0;
  position: relative;
  z-index: 1031;
}
[data-theme="dark"] .topbar-mini { background: #05070D; color: #94A3B8; }
.topbar-mini a {
  color: inherit;
  text-decoration: none;
  opacity: 0.88;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--tr);
  white-space: nowrap;
}
.topbar-mini a:hover { opacity: 1; color: var(--p); }
.topbar-note {
  opacity: 0.75;
  white-space: nowrap;
  font-size: 0.76rem;
}
@media (max-width: 575.98px) {
  .topbar-mini { font-size: 0.74rem; padding: 0.4rem 0; }
  .topbar-mini .container { padding-left: 0.9rem; padding-right: 0.9rem; }
}

/* ── 8. NAVBAR ── */
.navbar {
  background: var(--nav) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd);
  padding: 0.65rem 0;
  transition: all var(--tr);
}
.navbar.scrolled { padding: 0.45rem 0; box-shadow: var(--sh); }

/* Mobile hamburger icon — Bootstrap's default is a fixed dark SVG.
   Invert it in dark mode so it's visible against the dark navbar. */
[data-theme="dark"] .navbar-toggler-icon { filter: invert(1); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--pg); }

/* Brand logo */
.brand { display: flex; align-items: center; gap: 10px; }
.brand-hex {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--p), var(--p2));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: -1px;
  box-shadow: 0 4px 16px var(--pg);
  flex-shrink: 0;
}
.brand-txt {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}
.brand-txt .n1 { color: var(--p); }
.brand-txt .n2 { color: var(--tx); }

/* Nav links */
.nav-link {
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--tx2) !important;
  padding: 0.4rem 0.7rem !important;
  border-radius: var(--rs);
  transition: all var(--tr);
  position: relative;
  white-space: nowrap;
}
.navbar-nav { flex-wrap: nowrap; }
.nav-actions { flex-wrap: wrap; justify-content: center; row-gap: 0.5rem; }
@media (max-width: 400px) {
  .nav-actions { width: 100%; }
  .nav-actions .btn-cta-nav { flex: 1 1 100%; text-align: center; }
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--p), var(--gold));
  border-radius: 2px;
  transition: all var(--tr);
}
.nav-link:hover::after,
.nav-link.active::after { left: 10px; right: 10px; }
.nav-link:hover,
.nav-link.active { color: var(--p) !important; background: var(--pg); }

/* Dark mode toggle button */
#darkToggle {
  display: flex; align-items: center; gap: 6px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--bd2);
  background: var(--card);
  color: var(--tx2);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: all var(--tr);
  white-space: nowrap;
}
#darkToggle:hover { border-color: var(--p); color: var(--p); }

/* Language selector — only EN / FR */
.lang-sel {
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  border: 1.5px solid var(--bd2);
  background: var(--card);
  color: var(--tx2);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: all var(--tr);
  outline: none;
}
.lang-sel:hover { border-color: var(--p); }
/* The dropdown's open option-list defaults to OS colors on some browsers
   (often white-on-white in dark mode) — force it to match our theme. */
.lang-sel option {
  background: var(--card);
  color: var(--tx);
}

/* Hire Us CTA button in nav */
.btn-cta-nav {
  background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.3rem;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: 'Outfit', sans-serif;
  transition: all var(--tr);
  box-shadow: 0 4px 16px var(--pg);
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--pg);
  color: #fff !important;
}

/* ── 9. SECTION UTILITIES ── */
.sp    { padding: 85px 0; }
.spsm  { padding: 60px 0; }
.bg2   { background: var(--bg2); }

/* Section label ("eyebrow") */
.lbl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 0.85rem;
}
.lbl::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--p), var(--gold));
  border-radius: 2px;
}

/* Section heading */
.ttl {
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}

/* Gradient text */
.grad {
  background: linear-gradient(135deg, var(--p), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle text */
.sub {
  color: var(--mu);
  font-size: 1.02rem;
  max-width: 560px;
  line-height: 1.8;
}

/* ── 10. BUTTONS ── */

/* Primary filled button */
.bp {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.78rem 1.85rem;
  font-weight: 700;
  font-size: 0.93rem;
  font-family: 'Outfit', sans-serif;
  transition: all var(--tr);
  box-shadow: 0 4px 20px var(--pg);
  cursor: pointer;
  text-decoration: none;
}
.bp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px var(--pg);
  color: #fff;
}

/* Outlined button */
.bo {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--p);
  border: 2px solid var(--p);
  border-radius: 50px;
  padding: 0.76rem 1.85rem;
  font-weight: 700;
  font-size: 0.93rem;
  font-family: 'Outfit', sans-serif;
  transition: all var(--tr);
  cursor: pointer;
  text-decoration: none;
}
.bo:hover {
  background: var(--p);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--pg);
}

/* Primary CTA pill (e.g. "Start a Project") */
.bwa {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.72rem 1.6rem;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: 'Outfit', sans-serif;
  transition: all var(--tr);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px var(--pg);
}
.bwa:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--pg);
  color: #fff;
}

/* Outline variant — used for secondary actions like "Learn More" */
.bwa-o {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--tx);
  border: 1.5px solid var(--bd);
  border-radius: 50px;
  padding: 0.72rem 1.6rem;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: 'Outfit', sans-serif;
  transition: all var(--tr);
  cursor: pointer;
  text-decoration: none;
}
.bwa-o:hover {
  border-color: var(--p);
  color: var(--p);
  transform: translateY(-3px);
}

/* Small secondary CTA pill */
.bwa-sm {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pg);
  color: var(--p);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 50px;
  padding: 0.32rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  transition: all var(--tr);
  cursor: pointer;
  text-decoration: none;
  margin-top: 0.85rem;
}
.bwa-sm:hover {
  background: var(--p);
  color: #fff;
  transform: translateY(-2px);
}

/* ── 11. CARDS ── */
.cn {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  box-shadow: var(--sh);
  transition: all var(--tr);
  overflow: hidden;
}
.cn:hover {
  box-shadow: var(--shc);
  transform: translateY(-5px);
  border-color: rgba(255,107,0,0.35);
}

/* ── 12. HERO SECTION — centered, professional, no portrait image ── */
.hero {
  padding: 130px 0 90px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Centred content wrapper */
.hero-center {
  max-width: 760px;
  margin: 0 auto;
}

/* Availability / eyebrow badge */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,0,0.08);
  color: var(--p);
  border: 1px solid rgba(255,107,0,0.22);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.38rem 1rem;
  margin-bottom: 1.8rem;
}

/* Hero headline — confident, editorial, single accent line */
.hero-h1 {
  font-family: sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
  color: var(--tx);
}
.hero-h1 .accent-line {
  background: linear-gradient(135deg, var(--p), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero supporting text */
.hero-desc {
  font-size: 1.08rem;
  color: var(--mu);
  max-width: 600px;
  line-height: 1.85;
  margin: 0 auto 2.2rem;
}

/* Hero location pill */
.hero-loc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--mu);
  font-weight: 500;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bd);
}
.hero-stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--p);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 0.78rem;
  color: var(--mu);
  font-weight: 500;
  margin-top: 2px;
}
.hero-stat-div {
  width: 1px;
  height: 36px;
  background: var(--bd);
}

/* Hero CTA buttons */
.hero-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Pulse status dot */
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acc);
  animation: pulse 2s infinite;
  flex-shrink: 0;
  display: inline-block;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(42,79,224,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(42,79,224,0); }
}

/* Availability badge */
.avail {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(42,79,224,0.1);
  color: var(--acc);
  border: 1px solid rgba(42,79,224,0.25);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.9rem;
}

/* ── 13. TRUST BAR ── */
.trust-bar {
  padding: 1.8rem 0;
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  background: var(--bg2);
}
.tlogo {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--mu);
  opacity: 0.45;
  transition: opacity var(--tr);
  text-transform: uppercase;
  cursor: default;
}
.tlogo:hover { opacity: 1; color: var(--p); }

.partner-card-logo {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1.5rem 1rem;
  transition: all var(--tr);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  cursor: pointer;
}
.partner-card-logo:hover {
  box-shadow: var(--shc);
  transform: translateY(-4px);
  border-color: rgba(255,107,0,0.4);
}
.partner-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--mu);
  transition: color var(--tr);
}
.partner-card-logo:hover .partner-name { color: var(--p); }
.partner-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--tx);
  opacity: 0.85;
  transition: opacity var(--tr), color var(--tr);
}
.partner-card-logo:hover .partner-logo { opacity: 1; color: var(--p); }
.partner-img {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--tr), filter var(--tr);
}
.partner-card-logo:hover .partner-img { opacity: 1; }
/* Reserve the logo's space up front so the card never changes size while
   the (often externally-hosted) logo is loading, and never collapses to
   just the text if that external image fails to load or 404s. */
.partner-logo-slot {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-img-fallback {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--tx);
  opacity: 0.85;
}

/* ── 14. STATS ── */
.sc {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1.85rem 1.5rem;
  text-align: center;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}
.sc::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--p), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}
.sc:hover::after { transform: scaleX(1); }
.sc:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.sn {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--p), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.sl { color: var(--mu); font-size: 0.875rem; margin-top: 0.5rem; font-weight: 500; }

/* ── 15. SERVICE CARDS ── */
.svc {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--rl);
  padding: 2.1rem;
  transition: all var(--tr);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.svc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--p), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}
.svc:hover { box-shadow: var(--shc); transform: translateY(-6px); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc:hover .sico {
  background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff;
  transform: rotate(-6deg) scale(1.1);
}
.sico {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,107,0,0.12), rgba(255,140,53,0.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--p);
  margin-bottom: 1.4rem;
  transition: all var(--tr);
}

/* ── 16. PORTFOLIO CARDS ── */
.pi {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
}
.pi img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.pi:hover img { transform: scale(1.09); }
.pov {
  position: absolute;
  inset: 0;
  background: rgba(10,14,26,0.82);
  opacity: 0;
  transition: opacity var(--tr);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.pi:hover .pov { opacity: 1; }
.pov .btn { transform: translateY(8px); transition: transform var(--tr) .05s; }
.pi:hover .pov .btn { transform: translateY(0); }

/* ── 16b. PRE-BUILT PROJECT CARDS (projects.html) ──
   Used by the "Pre-Built Projects" page — a card with an
   image on top and details below, matching the visual
   language of .cn / .pi but tailored for template listings. */
.pjc {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--tr);
}
.pjc:hover {
  box-shadow: var(--shc);
  transform: translateY(-5px);
  border-color: rgba(255,107,0,0.35);
}
.pjc img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.pjc .p-4 {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pjc .p-4 > a.bwa {
  margin-top: auto;
}

/* ── 17. TEAM ── */
.av {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box,
              linear-gradient(135deg, var(--p), var(--gold)) border-box;
  transition: transform var(--tr);
  display: block;
  margin: 0 auto 1rem;
}
.cn:hover .av { transform: scale(1.06); }
.soc a {
  color: var(--mu);
  font-size: 1.1rem;
  margin: 0 5px;
  transition: all var(--tr);
  display: inline-block;
}
.soc a:hover { color: var(--p); transform: translateY(-3px); }

/* ── 18. TESTIMONIALS ── */
.tc {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 2rem;
  transition: all var(--tr);
  position: relative;
}
.tc::before {
  content: '"';
  position: absolute;
  top: 12px; right: 18px;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--p);
  opacity: 0.08;
}
.tc:hover { box-shadow: var(--shc); transform: translateY(-4px); border-color: rgba(255,107,0,0.35); }
.tav {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--p);
}

/* Reply button on testimonials */
.reply-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,107,0,0.06);
  color: var(--mu);
  border: 1px solid var(--bd);
  border-radius: 50px;
  padding: 0.22rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr);
  font-family: 'Outfit', sans-serif;
}
.reply-btn:hover { color: var(--p); border-color: var(--p); background: var(--pg); }

/* Reply thread */
.reply-thread {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: var(--bg2);
  border-radius: var(--rs);
  border-left: 3px solid var(--p);
  font-size: 0.83rem;
}
.reply-input-wrap { display: none; margin-top: 0.75rem; }
.reply-input-wrap.open { display: flex; gap: 0.5rem; }
.reply-input {
  flex: 1;
  padding: 0.5rem 0.85rem;
  border-radius: 50px;
  border: 1.5px solid var(--bd);
  background: var(--card);
  color: var(--tx);
  font-size: 0.83rem;
  outline: none;
  font-family: 'DM Sans', sans-serif;
}
.reply-input:focus { border-color: var(--p); }
.reply-submit {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: none;
  background: var(--p);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr);
}
.reply-submit:hover { background: var(--p2); }

/* ── 19. ABOUT PAGE SIDEBAR ── */
.about-sidebar-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--rl);
  padding: 2rem;
  transition: all var(--tr);
}
.about-sidebar-card:hover {
  border-color: rgba(255,107,0,0.35);
  box-shadow: var(--shc);
}

/* Tech stack pill */
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: 50px;
  padding: 0.38rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tx2);
  margin: 0.25rem;
  transition: all var(--tr);
  cursor: default;
}
.tech-pill:hover {
  background: var(--pg);
  border-color: var(--p);
  color: var(--p);
  transform: translateY(-2px);
}
.tech-pill i { font-size: 1rem; }


/* ── 20. CTA BANNER ── */
.ctab {
  background: linear-gradient(135deg, var(--sec), var(--p));
  border-radius: var(--rl);
  padding: 4.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ctab::before {
  content: '';
  pointer-events: none;
  position: absolute;
  top: -60%; left: -40%;
  width: 180%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
  animation: ctasp 24s linear infinite;
  z-index: 0;
}
.ctab > * {
  position: relative;
  z-index: 1;
}
@keyframes ctasp {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── 21. PAYMENT PARTNERS ── */
.partner-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--tr);
}
.partner-card:hover {
  box-shadow: var(--shc);
  transform: translateY(-4px);
  border-color: var(--p);
}
.partner-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

/* ── 22. STARS ── */
.stars { color: var(--star); letter-spacing: 2px; }

/* ── 23. SKILL TAGS / BADGES ── */
.stag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,107,0,0.08);
  color: var(--p);
  border: 1px solid rgba(255,107,0,0.18);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.85rem;
  margin: 0.25rem;
}
.bdg { font-size: 0.68rem; font-weight: 800; padding: 0.3rem 0.85rem; border-radius: 50px; }
.bdg-o   { background: rgba(255,107,0,0.1); color: var(--p); border: 1px solid rgba(255,107,0,0.2); }
.bdg-g   { background: rgba(42,79,224,0.1); color: var(--acc); border: 1px solid rgba(42,79,224,0.2); }
.bdg-gold{ background: rgba(90,120,255,0.1); color: var(--gold); border: 1px solid rgba(90,120,255,0.2); }
.bdg-blue{ background: rgba(59,130,246,0.1); color: #3B82F6; border: 1px solid rgba(59,130,246,0.2); }

/* ── 24. FILTER BUTTONS ── */
.fbtn {
  background: var(--card);
  border: 1.5px solid var(--bd);
  color: var(--tx2);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr);
  font-family: 'Outfit', sans-serif;
}
.fbtn:hover { border-color: var(--p); color: var(--p); }
.fbtn.on {
  background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--pg);
}

/* ── 25. PAGE HEADER (inner pages) ── */
.ph {
  padding: 90px 0 55px;
  background: var(--bg2);
  border-bottom: 1px solid var(--bd);
  position: relative;
  overflow: hidden;
}
.ph::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--p);
  filter: blur(100px);
  opacity: 0.05;
}

/* ── 26. CONTACT FORM INPUTS ── */
.cff input,
.cff textarea,
.cff select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--card);
  border: 1.5px solid var(--bd);
  border-radius: var(--rs);
  color: var(--tx);
  font-family: 'Outfit', sans-serif;
  font-size: 0.93rem;
  transition: all var(--tr);
}
.cff input:focus,
.cff textarea:focus,
.cff select:focus {
  outline: none;
  border-color: var(--p);
  box-shadow: 0 0 0 4px var(--pg);
}
/* Same OS-default fix as .lang-sel — keeps form dropdown
   options readable instead of white-on-white in dark mode. */
.cff select option {
  background: var(--card);
  color: var(--tx);
}

/* ── 27. HIRE-US PAGE ── */
.hire-team-card {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--rl);
  overflow: hidden;
  transition: all var(--tr);
}
.hire-team-card:hover {
  box-shadow: var(--shc);
  transform: translateY(-5px);
  border-color: rgba(255,107,0,0.4);
}
.hire-team-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
}
.resume-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.52rem 1.2rem;
  font-weight: 700;
  font-size: 0.83rem;
  font-family: 'Outfit', sans-serif;
  transition: all var(--tr);
  cursor: pointer;
}
.resume-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--pg); }

/* Resume modal overlay */
.resume-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
  backdrop-filter: blur(8px);
}
.resume-overlay.open { display: flex; }
.resume-modal {
  background: var(--card);
  border-radius: var(--rl);
  width: 100%;
  max-width: 680px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.5);
  border: 1px solid var(--bd);
  animation: rmIn 0.35s ease;
  margin: auto;
}
@keyframes rmIn {
  from { transform: scale(0.88) translateY(30px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.resume-header {
  background: linear-gradient(135deg, #1A1A2E, #2D1B5C);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  border-radius: var(--rl) var(--rl) 0 0;
}
.resume-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.15);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.resume-close:hover { background: rgba(255,107,0,0.5); }
.resume-body { padding: 2rem; }
.cv-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--bd);
}
.cv-section:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }
.cv-section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--p);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 8px;
}
.cv-item {
  background: var(--bg2);
  border-radius: var(--rs);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--p);
}
.cv-item h6 { font-family: 'Syne', sans-serif; margin-bottom: 0.25rem; font-size: 0.9rem; }
.cv-item p  { color: var(--mu); font-size: 0.83rem; margin: 0; line-height: 1.6; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(90,120,255,0.08);
  color: var(--gold);
  border: 1px solid rgba(90,120,255,0.22);
  border-radius: var(--rs);
  padding: 0.6rem 1rem;
  font-size: 0.83rem;
  font-weight: 600;
  margin: 0.3rem;
}

/* Hire-us form wrapper — centred */
.hire-form-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

/* ── 28. TIMELINE ── */
.tl { position: relative; padding-left: 2.5rem; }
.tl::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--p), var(--gold));
  border-radius: 2px;
}
.tli { position: relative; margin-bottom: 2.5rem; }
.tld {
  position: absolute;
  left: -2.5rem; top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p), var(--gold));
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--pg);
}
.tly { font-size: 0.72rem; color: var(--p); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.35rem; }

/* ── 29. ACCORDION ── */
.acc .accordion-item {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.acc .accordion-button {
  background: var(--card);
  color: var(--tx);
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  box-shadow: none !important;
}
.acc .accordion-button:not(.collapsed) { background: rgba(255,107,0,0.06); color: var(--p); }
.acc .accordion-body { background: var(--card); color: var(--mu); }
/* Bootstrap's chevron icon is a fixed dark SVG — invert it in dark mode so it stays visible */
[data-theme="dark"] .acc .accordion-button::after { filter: invert(1) brightness(1.8); }

/* ── 30. FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--bd);
  padding: 70px 0 0;
}
.fl a {
  color: var(--mu);
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  transition: all var(--tr);
}
.fl a:hover { color: var(--p); padding-left: 4px; }
.fsoc a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--bd);
  color: var(--mu);
  font-size: 1rem;
  margin-right: 8px;
  transition: all var(--tr);
}
.fsoc a:hover { background: var(--p); border-color: var(--p); color: #fff; transform: translateY(-3px); }
.fbot {
  border-top: 1px solid var(--bd);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
  color: var(--mu);
  font-size: 0.84rem;
}

/* ── 31. BACK TO TOP ── */
#btt {
  position: fixed;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px)); right: calc(28px + env(safe-area-inset-right, 0px));
  z-index: 999;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px var(--pg);
  transition: all var(--tr);
}
#btt.show { display: flex; animation: binIn 0.4s ease; }
#btt:hover { transform: translateY(-4px); }
@keyframes binIn {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ── 32. (removed: floating WhatsApp button no longer used) ── */

/* ── 33. AI CHATBOX (Claude-powered) ── */
#ai-chat-btn {
  position: fixed;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px)); left: calc(28px + env(safe-area-inset-left, 0px));
  z-index: 999;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--sec), #2D1B8C);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(26,26,46,0.4);
  transition: all var(--tr);
}
#ai-chat-btn:hover { transform: scale(1.12); }

#ai-chatbox {
  position: fixed;
  bottom: calc(155px + env(safe-area-inset-bottom, 0px)); left: calc(28px + env(safe-area-inset-left, 0px));
  z-index: 998;
  width: 320px;
  max-height: min(440px, 65vh);
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatIn 0.35s ease;
}
#ai-chatbox.open { display: flex; }
@keyframes chatIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.chat-header {
  background: linear-gradient(135deg, var(--sec), #2D1B8C);
  padding: 0.85rem 1.1rem;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.chat-messages {
  padding: 0.85rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.chat-msg {
  max-width: 82%;
  padding: 0.65rem 1rem;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.chat-msg.bot {
  background: var(--bg2);
  color: var(--tx);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-typing {
  background: var(--bg2);
  align-self: flex-start;
  padding: 0.65rem 1rem;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  font-size: 0.85rem;
}
.chat-typing span {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--mu);
  border-radius: 50%;
  margin: 0 2px;
  animation: typingBob 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.chat-input-wrap {
  padding: 0.65rem;
  border-top: 1px solid var(--bd);
  display: flex; gap: 0.5rem;
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border-radius: 50px;
  border: 1.5px solid var(--bd);
  background: var(--bg2);
  color: var(--tx);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
}
.chat-input:focus { border-color: var(--p); }
.chat-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--tr);
}
.chat-send:hover { transform: scale(1.1); }

/* ── 34. SKILL BARS ── */
.skbar {
  height: 7px;
  border-radius: 50px;
  background: var(--bd);
  margin-top: 6px;
  overflow: hidden;
}
.skfill {
  height: 100%; width: 0%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--p), var(--gold));
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}

/* ── 35. TYPING EFFECT ── */
.typed-cursor {
  border-right: 3px solid var(--p);
  padding-right: 3px;
  animation: cur 0.7s infinite;
}
@keyframes cur {
  0%,100% { border-color: var(--p); }
  50% { border-color: transparent; }
}

/* ── 36. COMMENT / REVIEW BOX ── */
.comment-box {
  background: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1.25rem;
  margin-top: 1rem;
}
.comment-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── 37. RATING BARS (Testimonials page) ── */
.rating-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rating-track {
  flex: 1; height: 10px;
  background: var(--bd);
  border-radius: 50px;
  overflow: hidden;
}
.rating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--p), var(--gold));
  border-radius: 50px;
  transition: width 1.2s ease;
}
.big-score {
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--p), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 38. SCROLL REVEAL ANIMATIONS ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
[data-reveal="left"]  { transform: translateX(-38px); }
[data-reveal="right"] { transform: translateX(38px); }
[data-reveal].vis { opacity: 1; transform: none; }

/* Stagger delays for sibling elements */
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ── 41. ARTICLE MODAL (Blog mini-pages) ── */
.article-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 9200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
  backdrop-filter: blur(8px);
}
.article-overlay.open { display: flex; }
.article-modal {
  background: var(--card);
  border-radius: var(--rl);
  width: 100%;
  max-width: 800px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.5);
  border: 1px solid var(--bd);
  animation: rmIn 0.35s ease;
  margin: auto;
  overflow: hidden;
}
.article-cover {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.article-head {
  padding: 1.75rem 2rem 1rem;
  position: relative;
}
.article-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(0,0,0,0.5);
  border: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  z-index: 5;
}
.article-close:hover { background: var(--p); }
.article-body { padding: 0 2rem 2rem; }
.article-body p { color: var(--tx2); line-height: 1.9; margin-bottom: 1.1rem; font-size: 0.97rem; }
.article-body h4 { margin: 1.5rem 0 .75rem; font-family: 'Syne', sans-serif; }
.article-meta { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; margin-bottom: 1rem; }

/* Read-aloud button */
.read-aloud-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--sec), #2D1B8C);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.3rem;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all var(--tr);
}
.read-aloud-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,26,46,0.35); }
.read-aloud-btn.speaking {
  background: linear-gradient(135deg, var(--p), var(--p2));
  animation: speakPulse 1.2s ease-in-out infinite;
}
@keyframes speakPulse {
  0%,100% { box-shadow: 0 0 0 0 var(--pg); }
  50% { box-shadow: 0 0 0 8px transparent; }
}
.read-aloud-bars { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.read-aloud-bars span {
  display: block; width: 3px; background: #fff; border-radius: 2px;
  animation: barWave 0.9s ease-in-out infinite;
}
.read-aloud-bars span:nth-child(1){height:6px;animation-delay:0s}
.read-aloud-bars span:nth-child(2){height:12px;animation-delay:.15s}
.read-aloud-bars span:nth-child(3){height:8px;animation-delay:.3s}
@keyframes barWave { 0%,100%{transform:scaleY(.4)} 50%{transform:scaleY(1)} }

/* ── 42. SKILL-FIELD CARDS (replacing tech stack on team) ── */
.field-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.field-name { flex: 0 0 170px; font-size: .85rem; font-weight: 600; color: var(--tx2); }
.field-track { flex: 1; height: 9px; background: var(--bd); border-radius: 50px; overflow: hidden; }
.field-fill { height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--p), var(--gold)); width: 0%; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.field-pct { flex: 0 0 38px; text-align: right; font-size: .82rem; font-weight: 700; color: var(--p); }

/* ── 43. MAP EMBED ── */
.map-wrap {
  border-radius: var(--rl);
  overflow: hidden;
  border: 1px solid var(--bd);
  box-shadow: var(--sh);
}
.map-wrap iframe { width: 100%; height: 380px; border: none; display: block; }

/* ── Directions map — "Get Directions" button + result summary ── */
.nx-directions-btn-wrap { margin: 10px !important; }
.nx-directions-btn {
  background: var(--p);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .6rem 1.1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  cursor: pointer;
  transition: all var(--tr);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.nx-directions-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nx-directions-btn:disabled { opacity: .7; cursor: wait; }
.nx-directions-info {
  display: none;
  background: var(--card);
  color: var(--tx);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: .7rem 1rem;
  margin: 10px !important;
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.nx-directions-info:not(:empty) { display: block; }

/* ── 44. HIRE OPTION CARDS (full team vs individual, project-based) ── */
.hire-opt {
  background: var(--card);
  border: 2px solid var(--bd);
  border-radius: var(--rl);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--tr);
  height: 100%;
}
.hire-opt:hover, .hire-opt.sel {
  border-color: var(--p);
  box-shadow: var(--shc);
  transform: translateY(-4px);
}
.hire-opt-ico {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,107,0,.12), rgba(255,140,53,.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--p);
  margin: 0 auto 1.1rem;
}
@media (max-width: 1200px) {
  .hero { padding: 80px 0 70px; }
}
@media (max-width: 991px) {
  .hero { padding: 70px 0 55px; min-height: auto; }
  .fb1, .fb2 { display: none; }
  #ai-chatbox { width: auto; left: 28px; right: 28px; }
}
@media (max-width: 768px) {
  .sp  { padding: 60px 0; }
  .spsm{ padding: 40px 0; }
  .hero-h1 { font-size: 2.1rem; }
  .ttl { font-size: 1.75rem; }
  .hero-stats { gap: 1rem; }
  #ai-chatbox { width: auto; left: 20px; right: 20px; }
  #ai-chat-btn { bottom: 90px; left: 20px; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 1.85rem; }
  .bp, .bo { padding: 0.7rem 1.4rem; font-size: 0.88rem; }
  .hire-form-wrapper { padding: 0 0.5rem; }
}

/* ── 41b. 24/7 ROTATING BADGE (footer trust seal) ── */
.badge-24 {
  position: relative;
  width: 92px;
  height: 92px;
  margin-top: 1.4rem;
  cursor: pointer;
}
.badge-24-ring {
  width: 100%;
  height: 100%;
  animation: badge24spin 18s linear infinite;
}
@keyframes badge24spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.b24-text {
  font-size: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  fill: var(--mu);
  text-transform: uppercase;
}
.b24-dot {
  fill: var(--p);
  animation: b24pulse 2.4s ease-in-out infinite;
}
@keyframes b24pulse {
  0%, 100% { opacity: 0.25; r: 1.4; }
  50%      { opacity: 1;    r: 2.1; }
}
.badge-24-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--bd);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh);
  transition: transform var(--tr), box-shadow var(--tr);
}
.badge-24:hover .badge-24-center {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: var(--shc);
}
.badge-24-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--p);
  line-height: 1.1;
}
.badge-24-lbl {
  font-size: 0.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--mu);
}

/* ── 40. REDUCED MOTION SUPPORT ── */
/* ── 41c. STAR RATING PICKER (review submission form) ── */
.star-picker {
  display: flex;
  gap: 6px;
  font-size: 1.8rem;
}
.sp-star {
  color: var(--bd);
  cursor: pointer;
  transition: color .15s, transform .15s;
}
.sp-star:hover { transform: scale(1.15); }
.sp-star.sp-active { color: var(--star); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── WhatsApp/phone links with no real number configured yet ──
   (see js/content-loader.js) — visually disabled instead of linking
   to a placeholder number, until a real one is saved in Admin -> Settings. */
.nx-wa-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
