/* =========================================================
   Humair Ahmed Tech Co. — Stylesheet (light agency theme)
   ========================================================= */

:root {
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --navy: #0e1a33;
  --navy-2: #16244a;
  --text: #0f1b33;
  --text-soft: #5b6883;
  --on-dark: #eef2fb;
  --on-dark-soft: #9aa7c4;
  --primary: #059669;
  --primary-dark: #047857;
  --primary-soft: #e3f6ee;
  --accent: #14b8a6;
  --amber: #f5a623;
  --border: #e6eaf2;
  --grad: linear-gradient(135deg, #059669 0%, #14b8a6 100%);
  --radius: 16px;
  --radius-lg: 26px;
  --container: 1400px;
  --shadow-sm: 0 2px 10px rgba(15, 27, 51, 0.06);
  --shadow: 0 18px 44px -20px rgba(15, 27, 51, 0.22);
  --shadow-lg: 0 34px 64px -26px rgba(15, 27, 51, 0.30);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
}

::selection { background: var(--primary); color: #fff; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #c4cee0; border-radius: 10px; border: 3px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: #a9b6d0; }

a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }

.section-head {
  max-width: 660px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  margin-top: 14px;
  letter-spacing: -0.015em;
}
.section-head p {
  color: var(--text-soft);
  margin-top: 14px;
  font-size: 1.04rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 7px 15px;
  border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(5, 150, 105, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(5, 150, 105, 0.65); }
.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.4); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: rgba(14, 26, 51, 0.96);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  flex-wrap: wrap;
}
.topbar-contact { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
  color: rgba(255, 255, 255, 0.9);
}
.topbar-contact a:hover {
  color: #fff;
  transform: translateY(-1px);
}
.topbar-contact svg { width: 16px; height: 16px; color: #7dd3fc; }
.topbar-social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.topbar-social a:hover {
  color: #fff;
  background: rgba(6, 182, 212, 0.18);
  transform: translateY(-1px);
}
.topbar-social svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 55;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 27, 51, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 16px 32px -24px rgba(15, 27, 51, 0.26);
  background: rgba(255, 255, 255, 0.98);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0.25rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
}
.logo-mark {
  display: flex;
  flex-shrink: 0;
  width: 52px;
  height: 44px;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-text { line-height: 1; }
.logo-text span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links > a:not(.btn) {
  color: #475569;
  font-size: 0.94rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  transition: color 0.2s ease;
}
.nav-links > a:not(.btn):hover { color: var(--primary); }
.nav-cta { padding: 10px 20px; }

/* ===================== SERVICES NAV DROPDOWN ===================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  color: #475569;
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.nav-dropdown-toggle:hover {
  color: var(--primary);
}

.nav-dropdown-toggle svg {
  width: 8px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  min-width: 220px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  text-align: left;
}

.nav-dropdown-menu a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}



/* Mobile responsive overrides for dropdown */
@media (max-width: 920px) {
  .nav-dropdown {
    display: block;
    width: 100%;
  }
  .nav-dropdown-toggle {
    font-weight: 600;
    color: var(--text);
    padding: 10px 4px 6px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-toggle svg {
    display: inline-block;
    width: 12px;
    height: 12px;
    transform: rotate(0deg);
    transition: transform 0.22s ease;
  }
  .nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 14px;
    background: transparent;
    min-width: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: max-height 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 420px;
  }
  .nav-dropdown-menu a {
    padding: 9px 4px;
    font-size: 0.88rem;
    color: var(--text-soft);
  }
  .nav-dropdown-menu a:hover {
    background: transparent;
    color: var(--primary);
  }
}


.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 96px;
  overflow: hidden;
}
.hero-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16), transparent 68%);
  filter: blur(20px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.7vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 20px;
}
.hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--text-soft);
  font-size: 1.1rem;
  margin-top: 20px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
}
.hero-trust svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}

.hero-visual { position: relative; }
.hero-panel {
  background: var(--grad);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-lg);
}
.hero-illus { width: 100%; height: auto; }
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 13px 17px;
  box-shadow: var(--shadow);
}
.hero-float-1 { bottom: -26px; left: -28px; }
.hero-float-2 { top: -26px; right: -22px; }
.hf-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}
.hf-icon.alt { background: #d8f3ef; color: var(--accent); }
.hf-icon svg { width: 20px; height: 20px; }
.hero-float strong {
  display: block;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--text);
}
.hero-float span { font-size: 0.78rem; color: var(--text-soft); }

/* ---------- Tech strip ---------- */
.techstrip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 30px 0;
}
.techstrip-label {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.techstrip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
}
.techstrip-list li {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.96rem;
  color: #6b7794;
}

/* ---------- Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: #cdd9f0;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.2rem; margin-bottom: 9px; }
.card p { color: var(--text-soft); font-size: 0.96rem; }

.s-icon, .w-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 20px;
}
.s-icon svg, .w-icon svg { width: 27px; height: 27px; }
.s-card:hover .s-icon { background: var(--grad); color: #fff; transition: background 0.25s ease, color 0.25s ease; }

/* Industry cards */
.i-card { position: relative; overflow: hidden; padding-top: 38px; }
.i-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--grad);
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy);
  padding: 66px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1;
  background: linear-gradient(135deg, #ffffff, #6ee7b7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  display: block;
  margin-top: 10px;
  color: var(--on-dark-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- Process steps ---------- */
.steps .step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.steps .step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  font-family: var(--font);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: 1.13rem; margin: 14px 0 8px; }
.step p { color: var(--text-soft); font-size: 0.93rem; }

/* ---------- Featured work ---------- */
.work-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-thumb {
  position: relative;
  height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-thumb svg { width: 76px; height: 76px; color: rgba(255, 255, 255, 0.92); }
.thumb-1 { background: linear-gradient(135deg, #059669, #10b981); }
.thumb-2 { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.thumb-3 { background: linear-gradient(135deg, #15803d, #4ade80); }
.work-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.74rem;
  font-weight: 600;
  font-family: var(--font);
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.work-body { padding: 24px 24px 28px; }
.work-body h3 { font-size: 1.14rem; margin-bottom: 8px; }
.work-body p { color: var(--text-soft); font-size: 0.94rem; }

/* ---------- Testimonials ---------- */
.t-card { display: flex; flex-direction: column; }
.t-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.t-stars svg { width: 18px; height: 18px; color: var(--amber); }
.t-quote {
  font-size: 1rem;
  color: var(--text);
  flex-grow: 1;
}
.t-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.t-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font);
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-person strong {
  display: block;
  font-family: var(--font);
  font-size: 0.96rem;
}
.t-person span { font-size: 0.85rem; color: var(--text-soft); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--grad);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  margin-bottom: 76px;
}
.cta-banner::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -8%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
}
.cta-text { position: relative; }
.cta-text h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-text p { color: rgba(255, 255, 255, 0.9); margin-top: 8px; }
.cta-banner .btn { position: relative; flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin: 14px 0 14px;
  letter-spacing: -0.015em;
}
.contact-info > p { color: var(--text-soft); }
.contact-list { margin: 26px 0; display: grid; gap: 14px; }
.contact-list li a,
.contact-list li .ci-static {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s ease;
}
.contact-list li a:hover { color: var(--primary); }
.ci-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}
.ci-icon svg { width: 19px; height: 19px; }

.socials { display: flex; gap: 10px; }
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border);
  color: var(--text-soft);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.socials a:hover { transform: translateY(-3px); background: var(--grad); color: #fff; border-color: transparent; }
.socials svg { width: 18px; height: 18px; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 17px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fbfcfe;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa4ba; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.16);
}
.field textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 0.9rem;
  color: var(--primary);
  text-align: center;
  font-weight: 600;
}
.form-note-error { color: #dc2626; }

/* ---------- Map ---------- */
.map-wrap {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-soft); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 66px 0 46px;
}
.site-footer .logo-text { color: #fff; }
.site-footer .logo-text span { color: var(--accent); }
.footer-brand p {
  font-size: 0.93rem;
  margin: 16px 0 20px;
  max-width: 330px;
}
.footer-socials a { border-color: rgba(255, 255, 255, 0.16); color: var(--on-dark-soft); }
.footer-col h4 { color: #fff; font-size: 0.98rem; margin-bottom: 16px; }
.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 11px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

/* ---------- Hero intro animation ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.js .hero-copy > * { animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.js .hero-copy > *:nth-child(2) { animation-delay: 0.13s; }
.js .hero-copy > *:nth-child(3) { animation-delay: 0.21s; }
.js .hero-copy > *:nth-child(4) { animation-delay: 0.29s; }
.js .hero-copy > *:nth-child(5) { animation-delay: 0.37s; }
.js .hero-visual { animation: fadeUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }
.js .grid-3 .reveal:nth-child(2),
.js .grid-4 .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .grid-3 .reveal:nth-child(3),
.js .grid-4 .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .grid-3 .reveal:nth-child(4),
.js .grid-4 .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .grid-3 .reveal:nth-child(5) { transition-delay: 0.32s; }
.js .grid-3 .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .nav-links { gap: 16px; }
  .nav-links > a:not(.btn),
  .nav-dropdown-toggle { font-size: 0.9rem; }
}

@media (max-width: 1250px) {
  .nav-links { gap: 11px; }
  .nav-links > a:not(.btn),
  .nav-dropdown-toggle { font-size: 0.84rem; }
  .logo-text { font-size: 0.92rem; }
  .btn { padding: 8px 16px; font-size: 0.85rem; }
  .nav-cta { padding: 8px 16px; }
}

@media (max-width: 1100px) {
  .nav-links > a[href*="industries"],
  .nav-links > a[href*="work"] {
    display: none;
  }
}

@media (max-width: 1020px) {
  .nav-links > a[href*="why"] {
    display: none;
  }
}

@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 480px; margin-inline: auto; }
  .lead { max-width: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 30px -18px rgba(15, 27, 51, 0.4);
    padding: 16px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 11px 4px; }
  .nav-links > a[href*="industries"],
  .nav-links > a[href*="work"],
  .nav-links > a[href*="why"] {
    display: block !important;
  }
  .nav-cta { margin-top: 8px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 76px; }
  .hero-panel { padding: 26px; }
  .section-head { margin-bottom: 40px; }
  .map-wrap iframe { height: 300px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-float-2 { display: none; }
  .hero-float-1 { left: 0; bottom: -22px; }
  .cta-banner { padding: 38px 26px; }
  .cta-banner .btn { width: 100%; }
  .contact-form { padding: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .topbar-contact { gap: 14px; font-size: 0.78rem; }
}

@media (max-width: 430px) {
  .container { padding-inline: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .topbar-social { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .hero-copy > *,
  .js .hero-visual {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Service category tabs ---------- */
.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.service-tab {
  padding: 10px 20px;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.service-tab:hover { color: var(--primary); border-color: var(--primary); }
.service-tab.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px -10px rgba(5, 150, 105, 0.55);
}
.service-panel { display: none; }
.service-panel.active { display: block; }

@media (max-width: 640px) {
  .service-tabs { gap: 8px; margin-bottom: 32px; }
  .service-tab { padding: 8px 14px; font-size: 0.84rem; }
}

/* ---------- GoHighLevel Page Styles ---------- */
.ghl-hero {
  background: radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.12) 0%, transparent 50%), var(--bg-soft);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.ghl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--amber);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(245, 166, 35, 0.3);
}
.ghl-comparison {
  margin: 60px 0;
}
.ghl-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.vs-card {
  padding: 40px;
  border-radius: var(--radius);
  background: #fff;
  border: 1.5px solid var(--border);
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.vs-card.vs-rep {
  background: #fff4f4;
  border-color: #fca5a5;
}
.vs-card.vs-ghl {
  background: var(--primary-soft);
  border-color: #a7f3d0;
}
.vs-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.vs-card.vs-rep .vs-title { color: #b91c1c; }
.vs-card.vs-ghl .vs-title { color: var(--primary-dark); }

.vs-value {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.vs-card.vs-rep .vs-value { color: #dc2626; }
.vs-card.vs-ghl .vs-value { color: var(--primary); }

.vs-list {
  display: grid;
  gap: 12px;
  margin-top: 15px;
  flex-grow: 1;
}
.vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
}
.vs-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.vs-card.vs-rep .vs-list li svg { color: #dc2626; }
.vs-card.vs-ghl .vs-list li svg { color: var(--primary); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.pricing-tabs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}
.ghl-pricing-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.ghl-pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}
.ghl-pricing-card.popular::before {
  content: "RECOMMENDED / POPULAR";
  position: absolute;
  top: 18px;
  right: -50px;
  background: var(--amber);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 6px 40px;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
}
.ghl-pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.pricing-header {
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 25px;
}
.pricing-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 5px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-price span {
  font-size: 0.95rem;
  color: var(--text-soft);
  font-weight: 500;
}
.pricing-strike {
  text-decoration: line-through;
  color: #9aa4ba;
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 500;
  display: block;
}
.pricing-desc {
  color: var(--text-soft);
  font-size: 0.92rem;
}
.pricing-features {
  display: grid;
  gap: 14px;
  margin-bottom: 35px;
  flex-grow: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.94rem;
}
.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}
.pricing-features li.off {
  color: #9aa4ba;
}
.pricing-features li.off svg {
  color: #c4cee0;
}
.order-form-section {
  background: var(--bg-soft);
  padding: 100px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.form-benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.form-benefit-icon {
  background: var(--primary-soft);
  color: var(--primary);
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-benefit-icon svg { width: 22px; height: 22px; }
.form-benefit-text h4 { font-size: 1.05rem; margin-bottom: 4px; }
.form-benefit-text p { font-size: 0.9rem; color: var(--text-soft); }
.ghl-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.ghl-info-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.ghl-info-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ghl-info-list {
  display: grid;
  gap: 20px;
}
.ghl-info-list li strong {
  color: var(--text);
  display: block;
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.ghl-info-list li span {
  font-size: 0.9rem;
  color: var(--text-soft);
  display: block;
}

@media (max-width: 900px) {
  .ghl-vs-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 40px; }
  .ghl-pricing-card.popular { transform: none; }
  .ghl-pricing-card.popular:hover { transform: translateY(-6px); }
  .ghl-info-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .vs-card { padding: 24px; }
  .vs-value { font-size: 2rem; }
  .ghl-pricing-card { padding: 32px 24px; }
  .pricing-header { margin-bottom: 18px; padding-bottom: 18px; }
  .pricing-name { font-size: 1.25rem; }
  .pricing-price { font-size: 1.95rem; }
  .ghl-info-box { padding: 24px; }
}

/* ---------- Testimonials Carousel ---------- */
.testimonials-carousel {
  position: relative;
  width: 100%;
  margin-top: 40px;
}
.carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 15px 0;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.testimonials-carousel .t-card {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .testimonials-carousel .t-card {
    flex: 0 0 calc(50% - 12px);
    margin-right: 24px;
  }
}

@media (min-width: 1024px) {
  .testimonials-carousel .t-card {
    flex: 0 0 calc(33.333% - 16px);
    margin-right: 24px;
  }
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.carousel-btn {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.05);
}
.carousel-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
.carousel-dots {
  display: none;
}

/* ---------- Feedback Comments Section ---------- */
#reviews-feedback {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}
.container-narrow {
  max-width: 1100px;
  margin: 0 auto;
}
.feedback-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
@media (min-width: 900px) {
  .feedback-grid {
    grid-template-columns: 1fr 1.5fr;
  }
  .feedback-form-card {
    position: sticky;
    top: 100px;
  }
}
.feedback-form-card {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.feedback-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.feedback-form-card form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.feedback-form-card .field input:hover,
.feedback-form-card .field textarea:hover {
  border-color: #cbd5e1;
}
.feedback-form-card button[type="submit"] {
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.feedback-form-card button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.rating-select {
  display: flex;
  gap: 6px;
  margin: 4px 0;
}
.star-select {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--border);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, transform 0.1s ease;
}
.star-select:focus {
  outline: none;
}
.star-select.active {
  color: var(--amber);
}
.star-select:hover {
  transform: scale(1.2);
}
.star-select:active {
  transform: scale(0.95);
}
.feedback-feed h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--navy);
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 550px;
  overflow-y: auto;
  padding-right: 8px;
}
.comments-list::-webkit-scrollbar {
  width: 6px;
}
.comments-list::-webkit-scrollbar-track {
  background: transparent;
}
.comments-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 99px;
}
.comment-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideInComment 0.4s ease-out forwards;
}
.comment-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.comment-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.comment-header strong {
  font-size: 0.98rem;
  color: var(--navy);
}
.comment-stars {
  color: var(--amber);
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.comment-time {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-left: auto;
}
.comment-body {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}

/* Responsive Overrides for Feedback Board */
@media (max-width: 768px) {
  .feedback-form-card {
    padding: 24px;
  }
  #reviews-feedback {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .feedback-form-card {
    padding: 20px;
  }
  .comment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .comment-time {
    margin-left: 0;
    margin-top: 2px;
  }
}

@keyframes slideInComment {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Text Animation ---------- */
.hl-typing {
  color: var(--primary);
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  display: inline-block;
}

.text-cursor {
  color: var(--primary);
  font-weight: 300;
  margin-left: 2px;
  animation: cursorBlink 0.75s step-end infinite;
  display: inline-block;
}

@keyframes cursorBlink {
  from, to { opacity: 0; }
  50% { opacity: 1; }
}

/* ---------- Founder Section ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .founder-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}
.founder-img-wrapper {
  max-width: 360px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  padding: 12px;
  border: 1px solid var(--border);
  position: relative;
  margin: 0 auto;
}

/* ---------- Sticky WhatsApp Button ---------- */
.whatsapp-sticky {
  position: fixed;
  left: 24px;
  bottom: 28px;
  z-index: 9999;
  background: #25D366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #fff;
}
.whatsapp-sticky svg {
  width: 32px;
  height: 32px;
}
.whatsapp-sticky:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}
.whatsapp-sticky:active {
  transform: scale(0.95);
}

/* ==========================================================
   TEXT ANIMATIONS — Premium scroll-triggered text effects
   ========================================================== */

/* ---- Keyframes ---- */
@keyframes txtSlideUp {
  from { opacity: 0; transform: translateY(38px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes txtSlideLeft {
  from { opacity: 0; transform: translateX(-38px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes txtSlideRight {
  from { opacity: 0; transform: translateX(38px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes txtFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes txtScaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes txtLetterSpread {
  from { opacity: 0; letter-spacing: 0.35em; }
  to   { opacity: 1; letter-spacing: inherit; }
}
@keyframes shimmerMove {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes txtRevealMask {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}
@keyframes wordFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 8px rgba(5, 150, 105, 0); }
  50%       { text-shadow: 0 0 18px rgba(5, 150, 105, 0.5); }
}

/* ---- Base: animation classes start hidden ---- */
.txt-anim {
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.22, 0.7, 0.36, 1);
  animation-duration: 0.75s;
}

/* ---- Types ---- */
.txt-slide-up    { animation-name: txtSlideUp; }
.txt-slide-left  { animation-name: txtSlideLeft; }
.txt-slide-right { animation-name: txtSlideRight; }
.txt-fade        { animation-name: txtFadeIn; animation-duration: 0.9s; }
.txt-scale       { animation-name: txtScaleIn; }
.txt-spread      { animation-name: txtLetterSpread; animation-duration: 0.9s; }
.txt-reveal      { animation-name: txtRevealMask; animation-duration: 0.85s; }

/* ---- Shimmer highlight on headings ---- */
.txt-shimmer {
  background: linear-gradient(
    100deg,
    var(--primary) 0%,
    var(--accent)  40%,
    #fff           50%,
    var(--accent)  60%,
    var(--primary) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerMove 3.5s linear infinite;
}

/* ---- Delay stagger helpers ---- */
.anim-d1  { animation-delay: 0.08s; }
.anim-d2  { animation-delay: 0.16s; }
.anim-d3  { animation-delay: 0.26s; }
.anim-d4  { animation-delay: 0.36s; }
.anim-d5  { animation-delay: 0.46s; }
.anim-d6  { animation-delay: 0.56s; }

/* ---- Section title underline accent ---- */
.section-head h2.underline-anim {
  position: relative;
  display: inline-block;
}
.section-head h2.underline-anim::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
  transition: width 0.9s cubic-bezier(0.22, 0.7, 0.36, 1);
}
.section-head h2.underline-anim.line-drawn::after { width: 100%; }

/* ---- Eyebrow badge pop ---- */
.eyebrow.badge-pop {
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease;
}
.eyebrow.badge-pop.badge-visible {
  transform: scale(1);
  opacity: 1;
}

/* ---- Hero heading word float loop ---- */
.hero-word-float {
  display: inline-block;
  animation: wordFloat 3.5s ease-in-out infinite;
}

/* ---- Glow pulse on primary highlight words ---- */
.hl.glow-pulse { animation: glowPulse 2.5s ease-in-out infinite; }

/* ---- Number count-up shimmer ---- */
.stat-num {
  background: linear-gradient(90deg, #fff 0%, var(--accent) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerMove 4s linear infinite;
}

/* ---- Reduced motion override ---- */
@media (prefers-reduced-motion: reduce) {
  .txt-anim,
  .txt-shimmer,
  .eyebrow.badge-pop,
  .hero-word-float,
  .hl.glow-pulse,
  .stat-num {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    -webkit-text-fill-color: unset !important;
    background: none !important;
    color: inherit !important;
  }
  .section-head h2.underline-anim::after { width: 100%; }
}

/* ---------- Global Blog Article Justify Styles ---------- */
article:not([class]) p {
  text-align: justify;
}
