/* ===========================
   TMC — Talha Mujadid Consultancy
   Design system: finance-grade
   clean, trustworthy, premium
   =========================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --bg-dark: #0b1020;
  --ink: #0b1020;
  --ink-soft: #404a5e;
  --ink-mute: #6b7388;
  --line: #e6e8ef;
  --line-soft: #eef0f5;
  --brand: #0a6e5a;       /* deep finance green */
  --brand-dark: #064a3e;
  --brand-soft: #e6f3ef;
  --accent: #f4a83a;      /* warm highlight */
  --accent-soft: #fdf3df;
  --shadow-sm: 0 2px 6px rgba(11, 16, 32, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 16, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 16, 32, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1180px;
  --section-y: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5em 0;
}

p { margin: 0 0 1em 0; color: var(--ink-soft); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.logo-mark-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
}
.logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text-primary {
  font-size: 16px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-text-secondary {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
  border-radius: 2px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 110, 90, 0.25);
}
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 10px 22px rgba(10, 110, 90, 0.32); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(1200px 600px at 90% -20%, rgba(244, 168, 58, 0.12), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(10, 110, 90, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  align-items: center;
}
.hero-badges .eyebrow { margin-bottom: 0; }
.hero-badge-zoho {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6a13 0%, #e84a00 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 10px rgba(232, 74, 0, 0.25);
}
.hero-badge-zoho-consulting {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--brand); }
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- HERO VISUAL CARD ---------- */
.hero-visual { display: flex; justify-content: center; }
.visual-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.2deg);
  transition: transform 0.4s;
}
.visual-card:hover { transform: rotate(0deg) scale(1.02); }
.card-header {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  background: #f1f3f8;
  border-bottom: 1px solid var(--line);
}
.card-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #d4d8e2;
}
.card-dot:nth-child(1) { background: #ff6058; }
.card-dot:nth-child(2) { background: #ffbd2e; }
.card-dot:nth-child(3) { background: #28c941; }
.card-body { padding: 24px; }
.kv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.kv-row:last-of-type { border-bottom: 0; }
.kv-label { color: var(--ink-mute); }
.kv-value { font-weight: 700; color: var(--ink); }
.kv-value.up { color: var(--brand); }
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
  margin-top: 24px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.bar {
  flex: 1;
  background: linear-gradient(180deg, #cfe5dd 0%, #a4cdc1 100%);
  border-radius: 6px 6px 0 0;
  transition: 0.3s;
}
.bar.highlight {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 -4px 10px rgba(10, 110, 90, 0.25);
}

/* ---------- TRUST BAR ---------- */
.trust {
  padding: 36px 0;
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.trust-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-weight: 600;
  margin: 0 0 16px 0;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 15px;
}
.trust-logos span:nth-child(even) { color: var(--line); }

/* ---------- SECTIONS ---------- */
.section {
  padding: var(--section-y) 0;
}
.section-alt { background: var(--bg-alt); }
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8a5a13;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--ink-soft);
}

/* ---------- ABOUT (two-col) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.section-body p { font-size: 16.5px; }
.highlight-boxes {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.highlight {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.2s, box-shadow 0.2s;
}
.highlight:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.highlight-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  border-radius: 12px;
}
.highlight strong { display: block; margin-bottom: 4px; color: var(--ink); }
.highlight p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- CLIENTS (International) ---------- */
.clients {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(10, 110, 90, 0.06), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(244, 168, 58, 0.06), transparent 60%),
    #fff;
}
.clients-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto 48px;
  padding: 24px 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.client-stat {
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 0 8px;
}
.client-stat:last-child { border-right: 0; }
.client-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.client-stat-label {
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.client-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.client-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-soft);
}
.client-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  opacity: 0;
  transition: opacity 0.2s;
}
.client-card:hover::before { opacity: 1; }
.client-flag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.flag-ae {
  background: linear-gradient(135deg, #00732f 0%, #fff 50%, #000 100%);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}
.flag-us {
  background: linear-gradient(135deg, #b22234 0%, #fff 50%, #3c3b6e 100%);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}
.client-body h3 {
  font-size: 18px;
  margin: 0 0 4px 0;
  color: var(--ink);
}
.client-loc {
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px 0;
}
.client-work {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}
.client-card-summary {
  background: var(--bg-alt);
  border-style: dashed;
  display: flex;
  align-items: center;
}
.client-card-summary h3 { color: var(--ink-mute); }

/* Eluna card with logo (current role) */
.client-card-eluna {
  background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
  border: 2px solid #d4a574;
  display: flex;
  flex-direction: column;
}
.client-card-eluna::before {
  background: linear-gradient(180deg, #d4a574, #b8845a);
  opacity: 1;
}
.client-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.client-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pakistan flag pill */
.flag-pk {
  background: linear-gradient(135deg, #01411c 0%, #fff 50%, #01411c 100%);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}
.clients-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
  margin-top: 36px;
}

/* Timeline divider for freelance section */
.timeline-divider {
  position: relative;
  text-align: center;
  margin: 24px 0 12px;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}
.timeline-divider span {
  display: inline-block;
  background: #fff;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  position: relative;
  top: -10px;
}

/* ---------- TRACK RECORD (replaced fake LIVE Pulse) ---------- */
.track-record {
  background: var(--bg-alt);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-soft);
}
.stat-num-big {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.stat-label-sm {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  font-weight: 500;
}
.track-record-context {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand);
}
.track-record-context p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.track-record-context strong { color: var(--ink); }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--bg-alt);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 8px; right: 24px;
  font-family: Georgia, serif;
  font-size: 90px;
  color: var(--brand-soft);
  line-height: 1;
  font-weight: 700;
}
.testi-stars {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testi-quote {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 24px 0;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 15px; color: var(--ink); }
.testi-author span { font-size: 12.5px; color: var(--ink-mute); }
.testi-rating {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mute);
  margin-left: 8px;
  letter-spacing: 0.04em;
  background: var(--bg-alt);
  padding: 3px 8px;
  border-radius: 999px;
}
.testi-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.testi-meta span {
  font-size: 11.5px;
  color: var(--ink-mute);
  font-weight: 600;
  background: var(--bg-alt);
  padding: 3px 8px;
  border-radius: 6px;
}
.testi-card-cta {
  background: linear-gradient(135deg, #0a6e5a 0%, #064a3e 100%);
  color: #fff;
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
}
.testi-card-cta::before { display: none; }
.testi-card-cta h3 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.testi-card-cta p { color: rgba(255,255,255,0.85); margin-bottom: 24px; font-size: 15px; font-style: normal; }
.testi-cta-icon {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 4px;
  margin-bottom: 18px;
}
.testi-card-cta .btn { background: #fff; color: var(--brand-dark); box-shadow: none; }
.testi-card-cta .btn:hover { background: var(--accent); color: #0b1020; }

/* ---------- METHODOLOGY ---------- */
.methodology {
  background: #fff;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.method-step {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.method-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-soft);
  background: #fff;
}
.method-num {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.method-step h3 { font-size: 19px; margin-bottom: 10px; }
.method-step p { font-size: 14.5px; margin-bottom: 16px; }
.method-step ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.method-step li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.method-step li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* Zoho partner service cards */
.service-card-zoho {
  background: linear-gradient(135deg, #fff7f0 0%, #ffffff 100%);
  border: 1px solid #ffd4b8;
}
.service-card-zoho::before {
  background: linear-gradient(180deg, #ff6a13, #e84a00);
}

/* ---------- FLOATING AVAILABILITY BADGE ---------- */
.float-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-badge:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 30px 70px rgba(11, 16, 32, 0.18); text-decoration: none; }
.float-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #28c941;
  position: relative;
  box-shadow: 0 0 0 0 rgba(40, 201, 65, 0.7);
  animation: pulse-glow 2s infinite;
}
.float-text { color: var(--ink); }

/* Founder timeline tag */
.tag-founder {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
}

/* Timeline head row with logo */
.timeline-head-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}
.timeline-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.timeline-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.timeline-head-row h3 { margin: 0 0 4px 0; }
.timeline-head-row .timeline-org { margin: 0; }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { font-size: 15px; margin-bottom: 16px; }
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ---------- TIMELINE / EXPERIENCE ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
  max-width: 880px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--line) 100%);
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-marker {
  position: absolute;
  left: -32px;
  top: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.timeline-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.timeline-content:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.timeline-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.timeline-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.timeline-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink-soft);
}
.tag-current { background: var(--brand-soft); color: var(--brand-dark); }
.tag-remote { background: var(--accent-soft); color: #8a5a13; }
.timeline-content h3 { font-size: 19px; margin: 4px 0 4px 0; }
.timeline-org { font-size: 14.5px; color: var(--brand); font-weight: 600; margin-bottom: 14px; }
.timeline-content ul {
  margin: 0; padding-left: 18px;
}
.timeline-content li {
  padding: 4px 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- SKILLS ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}
.skill-group h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 16px;
  font-weight: 700;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  display: inline-block;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: 0.2s;
}
.skill-tag:hover { border-color: var(--brand); color: var(--brand); }
.skill-tag-accent {
  background: var(--brand-soft);
  border-color: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
}
.skill-tag-accent:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- EDUCATION ---------- */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.edu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.edu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.edu-year {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.edu-card h3 { font-size: 17px; margin-bottom: 6px; }
.edu-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- CONTACT HUB ---------- */
.contact-hub {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 56px;
}
.contact-hub .section-eyebrow {
  background: rgba(244, 168, 58, 0.2);
  color: var(--accent);
}
.contact-hub .section-title { color: #fff; }
.contact-hub .section-sub { color: rgba(255,255,255,0.75); margin-bottom: 40px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
}
.contact-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(244, 168, 58, 0.4);
  text-decoration: none;
}
.contact-card-whatsapp:hover { border-color: #25d366; }
.contact-card-calendly:hover { border-color: #006bff; }
.contact-card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.contact-card h3 {
  color: #fff;
  font-size: 17px;
  margin: 0 0 8px 0;
}
.contact-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 14px 0;
  line-height: 1.5;
}
.contact-card-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.contact-card-whatsapp .contact-card-cta { color: #25d366; }
.contact-card-calendly .contact-card-cta { color: #4d9fff; }

/* ---------- CONTACT / CTA ---------- */
.section-cta {
  background: linear-gradient(135deg, #0b1020 0%, #142244 100%);
  color: #fff;
}
.section-cta .section-title { color: #fff; }
.section-cta .section-sub { color: rgba(255,255,255,0.75); }
.section-cta .section-eyebrow {
  background: rgba(244, 168, 58, 0.2);
  color: var(--accent);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info { margin-top: 28px; display: grid; gap: 12px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.contact-row:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateX(4px); }
.contact-row div { display: flex; flex-direction: column; }
.contact-row small { font-size: 12px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-row strong { font-size: 15px; color: #fff; font-weight: 600; }
.contact-icon {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(244, 168, 58, 0.15);
  border-radius: 10px;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-size: 22px;
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  margin-bottom: 14px;
}
.contact-form label span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.contact-form button { margin-top: 8px; }
.form-note {
  font-size: 12.5px;
  color: var(--ink-mute);
  text-align: center;
  margin: 12px 0 0 0;
}
.form-status {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin: 14px 0 0 0;
  min-height: 20px;
}
.form-status-loading { color: var(--ink-mute); }
.form-status-success { color: var(--brand); }
.form-status-error { color: #dc2626; }

/* ---------- FOOTER ---------- */
.footer {
  background: #060914;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer .logo { color: #fff; margin-bottom: 8px; }
.footer-tag { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-meta p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 4px 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  :root { --section-y: 72px; }

  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 8px;
    transform: translateY(-110%);
    transition: transform 0.3s;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a:last-child { border-bottom: 0; margin-top: 8px; }
  .nav-toggle { display: block; }

  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .visual-card { transform: rotate(0); max-width: 100%; }

  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .clients-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .client-stat { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .client-stat:nth-child(2n) { border-right: 0; }
  .client-stat:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
  .clients-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 520px) {
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .stat-num { font-size: 24px; }
  .timeline { padding-left: 28px; }
  .timeline-marker { left: -28px; }
  .timeline-content { padding: 20px; }
  .pulse-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .float-badge { bottom: 16px; right: 16px; padding: 10px 14px; font-size: 13px; }
  .pulse-status { flex-direction: column; gap: 6px; padding: 10px 14px; }
  .pulse-tz { border-left: 0; padding-left: 0; }
}
