@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #0f172a;
  background: #fff;
  min-height: 100vh;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
::selection { background: #3b82f6; color: white; }

/* ── Layout ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 1rem; }

/* ── Hero ── */
.hero-gradient {
  background: linear-gradient(135deg,#1e3a8a 0%,#1d4ed8 35%,#2563eb 70%,#3b82f6 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size: 60px 60px;
  opacity: .3;
}

/* ── Glass card ── */
.glass-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 1.5rem;
}

/* ── Blob ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  pointer-events: none;
}

/* ── Animations ── */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track {
  animation: marquee 30s linear infinite;
  display: flex;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease-out both; }

@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(59,130,246,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(59,130,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}

/* ── Cards ── */
.card-lift { transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease; }
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(37,99,235,.25);
}

/* ── Text ── */
.gradient-text {
  background: linear-gradient(90deg,#60a5fa,#3b82f6 50%,#93c5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-slate-900 { color: #0f172a; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-white { color: #fff; }
.text-emerald-600 { color: #059669; }
.text-amber-400 { color: #fbbf24; }

/* ── Dotted bg ── */
.dotted-bg {
  background-image: radial-gradient(rgba(59,130,246,.15) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ── Glow border ── */
.glow-border { position: relative; isolation: isolate; }
.glow-border::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg,rgba(59,130,246,.6),rgba(147,197,253,.2));
  z-index: -1; opacity: 0; transition: opacity 300ms ease;
}
.glow-border:hover::after { opacity: 1; }

/* ════ NAVBAR ════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1rem 0; transition: padding 300ms;
}
#navbar.scrolled { padding: .5rem 0; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 1rem;
  border: 1px solid rgba(226,232,240,.7);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  padding: .625rem 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: box-shadow 300ms;
}
#navbar.scrolled .nav-inner { box-shadow: 0 4px 20px rgba(37,99,235,.07); }
.nav-logo { display: flex; align-items: center; gap: .625rem; }
.nav-logo-icon {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: .75rem;
  background: linear-gradient(135deg,#3b82f6,#1d4ed8);
  color: #fff; box-shadow: 0 4px 12px rgba(59,130,246,.3);
  transition: transform 200ms;
}
.nav-logo:hover .nav-logo-icon { transform: scale(1.05); }
.nav-logo-text { font-size: 1.1875rem; font-weight: 800; color: #0f172a; font-family: 'Plus Jakarta Sans',sans-serif; }
.nav-logo-text span { color: #2563eb; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  font-size: .9375rem; font-weight: 500; color: #334155;
  transition: color 200ms; padding: .5rem .25rem; position: relative;
}
.nav-link:hover, .nav-link.active { color: #2563eb; }
.nav-btn {
  background: #2563eb; color: #fff;
  border: none; cursor: pointer;
  padding: 0 1.25rem; height: 2.5rem;
  border-radius: 999px;
  font-weight: 600; font-size: .875rem;
  display: flex; align-items: center; gap: .375rem;
  transition: background 200ms; box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.nav-btn:hover { background: #1d4ed8; }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: #334155; }

/* Dropdown */
.nav-dropdown-wrapper { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: .75rem; width: 660px; z-index: 100; display: none;
}
.nav-dropdown-wrapper:hover .nav-dropdown { display: block; }
.nav-dropdown-inner {
  border-radius: 1rem; border: 1px solid #e2e8f0;
  background: #fff; padding: .75rem;
  box-shadow: 0 20px 40px rgba(37,99,235,.1);
  display: grid; grid-template-columns: 1fr 1fr; gap: .25rem;
}
.nav-dropdown-item {
  display: flex; align-items: flex-start; gap: .75rem;
  border-radius: .75rem; padding: .75rem;
  transition: background 200ms;
}
.nav-dropdown-item:hover { background: #eff6ff; }
.nav-dropdown-icon {
  width: 2.25rem; height: 2.25rem; border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-dropdown-title { font-size: .875rem; font-weight: 600; color: #0f172a; }
.nav-dropdown-cat { font-size: .75rem; color: #64748b; margin-top: .125rem; }

/* Mobile nav */
.mobile-nav {
  display: none; margin-top: .5rem;
  border-radius: 1rem; border: 1px solid #e2e8f0;
  background: #fff; padding: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.1);
}
.mobile-nav.open { display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav-link {
  padding: .625rem .75rem; border-radius: .5rem;
  font-size: .9375rem; font-weight: 500; color: #334155;
  transition: background 200ms;
}
.mobile-nav-link:hover, .mobile-nav-link.active { background: #eff6ff; color: #1d4ed8; }

/* ════ HERO SECTION ════ */
.hero-section {
  padding: 8rem 0 4rem;
}
.hero-section .container { text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  padding: .375rem 1rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: #bfdbfe;
}
.hero-title {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800; color: #fff;
  line-height: 1.05;
}
.hero-sub {
  margin-top: 1.5rem;
  max-width: 40rem; margin-left: auto; margin-right: auto;
  font-size: 1.125rem; color: rgba(219,234,254,.85);
  line-height: 1.7;
}
.hero-btns {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 3rem; padding: 0 1.75rem; border-radius: 999px;
  background: #fff; color: #1d4ed8;
  font-weight: 700; font-size: .9375rem;
  border: none; cursor: pointer;
  box-shadow: 0 10px 30px rgba(30,58,138,.2);
  transition: background 200ms;
}
.btn-primary:hover { background: #eff6ff; }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 3rem; padding: 0 1.75rem; border-radius: 999px;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  font-weight: 600; font-size: .9375rem;
  cursor: pointer; transition: background 200ms;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-blue {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 2.75rem; padding: 0 1.5rem; border-radius: 999px;
  background: #2563eb; color: #fff;
  font-weight: 600; font-size: .9375rem;
  border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
  transition: background 200ms;
}
.btn-blue:hover { background: #1d4ed8; }
.btn-outline-blue {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 2.75rem; padding: 0 1.5rem; border-radius: 999px;
  background: #fff; color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-weight: 600; font-size: .9375rem;
  cursor: pointer; transition: background 200ms, border-color 200ms;
}
.btn-outline-blue:hover { background: #eff6ff; }

/* Hero stats */
.hero-stats {
  margin-top: 3rem;
  display: grid; grid-template-columns: repeat(4,1fr); gap: .75rem;
  max-width: 48rem; margin-left: auto; margin-right: auto;
}
.hero-stat-card {
  border-radius: 1rem; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(6px); padding: 1rem;
  transition: background 200ms;
}
.hero-stat-card:hover { background: rgba(255,255,255,.1); }
.hero-stat-val { font-size: 1.5rem; font-weight: 800; color: #fff; margin-top: .5rem; }
.hero-stat-lbl { font-size: .6875rem; color: rgba(219,234,254,.7); }

/* ════ SECTION HEADERS ════ */
.section-header { text-align: center; max-width: 48rem; margin: 0 auto; }
.section-header.left { text-align: left; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; background: #eff6ff;
  padding: .375rem .875rem;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #1d4ed8;
}
.eyebrow::before {
  content: ''; width: .375rem; height: .375rem;
  border-radius: 50%; background: #2563eb; display: inline-block;
}
.section-title {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 800; color: #0f172a; line-height: 1.2;
}
.section-title .accent { color: #2563eb; }
.section-sub {
  margin-top: 1rem;
  font-size: 1rem; color: #475569; line-height: 1.7;
}

/* ════ GENERIC SECTION SPACING ════ */
.section { padding: 5rem 0; }
.section-lg { padding: 7rem 0; }
.bg-white { background: #fff; }
.bg-slate-50 { background: #f8fafc; }

/* ════ MARQUEE BAND ════ */
.marquee-section { padding: 2.5rem 0; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.marquee-label {
  text-align: center; font-size: .6875rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: #64748b;
  margin-bottom: 2rem;
}
.marquee-wrapper { position: relative; overflow: hidden; }
.marquee-fade-l {
  pointer-events: none; position: absolute; top: 0; bottom: 0; left: 0;
  width: 8rem; background: linear-gradient(to right,#fff,transparent); z-index: 2;
}
.marquee-fade-r {
  pointer-events: none; position: absolute; top: 0; bottom: 0; right: 0;
  width: 8rem; background: linear-gradient(to left,#fff,transparent); z-index: 2;
}
.marquee-item { flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 0 2.5rem; }
.marquee-logo { height: 2rem; max-width: 7.5rem; object-fit: contain; opacity: .6; transition: opacity 200ms; }
.marquee-logo:hover { opacity: 1; }
.marquee-name { font-size: 1.375rem; font-weight: 600; color: #94a3b8; white-space: nowrap; transition: color 200ms; }
.marquee-name:hover { color: #334155; }

/* ════ CARDS GRID ════ */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3.5rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.75rem; margin-top: 3.5rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; margin-top: 3.5rem; }
.cards-6 { display: grid; grid-template-columns: repeat(6,1fr); gap: 1.25rem; margin-top: 3.5rem; }

/* ════ SERVICE CARD ════ */
.service-card {
  border-radius: 1.25rem; border: 1px solid #e2e8f0;
  background: #fff; padding: 1.75rem;
  position: relative; overflow: hidden;
  display: block; text-decoration: none; color: inherit;
}
.service-card::before {
  content: ''; position: absolute; top: -2.5rem; right: -2.5rem;
  width: 10rem; height: 10rem; border-radius: 50%; background: rgba(239,246,255,.8);
  transition: background 300ms;
}
.service-card:hover::before { background: rgba(219,234,254,.8); }
.service-icon {
  width: 3rem; height: 3rem; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.service-cat {
  font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #64748b; background: #f1f5f9; border-radius: 999px; padding: .25rem .5rem;
}
.service-title { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 700; color: #0f172a; }
.service-desc { margin-top: .5rem; font-size: .875rem; color: #475569; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.service-link {
  margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .375rem;
  font-size: .875rem; font-weight: 700; color: #2563eb; transition: gap 200ms;
}
.service-card:hover .service-link { gap: .625rem; }

/* ════ INDUSTRY CARD ════ */
.industry-card {
  border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff;
  padding: 1.5rem; text-align: left;
}
.industry-icon {
  width: 2.75rem; height: 2.75rem; border-radius: .75rem;
  background: linear-gradient(135deg,#3b82f6,#1d4ed8);
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 4px 10px rgba(59,130,246,.2);
  transition: transform 200ms;
}
.industry-card:hover .industry-icon { transform: scale(1.1); }
.industry-title { margin-top: 1rem; font-size: 1rem; font-weight: 700; color: #0f172a; }
.industry-desc { margin-top: .375rem; font-size: .875rem; color: #475569; line-height: 1.6; }

/* ════ WHY US CARD ════ */
.why-card {
  border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff;
  padding: 1.5rem;
}
.why-icon {
  width: 3rem; height: 3rem; border-radius: .75rem;
  background: #eff6ff; display: flex; align-items: center; justify-content: center;
  color: #2563eb; transition: background 200ms, color 200ms;
}
.why-card:hover .why-icon { background: #2563eb; color: #fff; }
.why-title { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 700; color: #0f172a; }
.why-desc { margin-top: .5rem; font-size: .875rem; color: #475569; line-height: 1.7; }

/* ════ TESTIMONIAL ════ */
.testimonial-card {
  border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff;
  padding: 1.75rem; position: relative;
}
.testimonial-stars { display: flex; gap: .25rem; color: #fbbf24; }
.testimonial-text { margin-top: 1rem; color: #334155; line-height: 1.7; font-style: italic; }
.testimonial-author { margin-top: 1.5rem; display: flex; align-items: center; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid #f1f5f9; }
.testimonial-avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: linear-gradient(135deg,#3b82f6,#1d4ed8);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .8125rem; font-weight: 700;
}
.testimonial-name { font-size: .875rem; font-weight: 700; color: #0f172a; }
.testimonial-role { font-size: .75rem; color: #64748b; }

/* ════ TECH STACK CARD ════ */
.tech-card {
  border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff;
  padding: 1.5rem; text-align: center;
  transition: border-color 200ms;
}
.tech-card:hover { border-color: #93c5fd; }
.tech-logo { height: 3.5rem; display: flex; align-items: center; justify-content: center; }
.tech-logo img { max-height: 2.5rem; max-width: 6.25rem; object-fit: contain; opacity: .8; transition: opacity 200ms; }
.tech-card:hover .tech-logo img { opacity: 1; }
.tech-name { margin-top: 1rem; font-size: .875rem; font-weight: 700; color: #0f172a; }
.tech-desc { margin-top: .375rem; font-size: .6875rem; color: #64748b; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ════ PROCESS ════ */
/* ── Process flow with wiring connectors ─────────────────── */
.process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 4rem;
  position: relative;
  flex-wrap: nowrap;
}
.process-step-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.process-step-wrap:nth-child(even) .process-step {
  margin-top: 4.5rem;
}
.process-step-wrap:nth-child(even) .process-connector {
  margin-top: 4.5rem;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 auto;
  width: 148px;
}
.process-connector {
  flex: 1;
  min-width: 48px;
  max-width: 88px;
  height: 24px;
  display: flex;
  align-items: center;
}
.process-connector svg {
  width: 100%;
  height: 24px;
  display: block;
  overflow: visible;
}
.process-node {
  position: relative; width: 5rem; height: 5rem; border-radius: 1rem;
  border: 2px solid #dbeafe; background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: #2563eb; box-shadow: 0 4px 20px rgba(59,130,246,.1);
  transition: border-color 200ms, transform 200ms;
}
.process-step:hover .process-node { border-color: #2563eb; transform: scale(1.05); box-shadow: 0 4px 24px rgba(37,99,235,.25); }
.process-num {
  position: absolute; top: -.5rem; right: -.5rem;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: #2563eb; color: #fff; font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(37,99,235,.4); border: 2px solid #fff;
}
.process-title { margin-top: 1.25rem; font-size: 1.05rem; font-weight: 700; color: #0f172a; }
.process-desc { margin-top: .5rem; font-size: .8rem; color: #475569; line-height: 1.6; max-width: 11rem; }


/* ════ BLOG CARD ════ */
.blog-card {
  border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff;
  overflow: hidden; display: block; color: inherit;
}
.blog-img { height: 12rem; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 1.5rem; }
.blog-tag {
  display: inline-block; background: #2563eb; color: #fff;
  font-size: .75rem; font-weight: 600; border-radius: 999px;
  padding: .25rem .75rem;
}
.blog-title { margin-top: .75rem; font-size: 1rem; font-weight: 700; color: #0f172a; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 200ms; }
.blog-card:hover .blog-title { color: #1d4ed8; }
.blog-desc { margin-top: .5rem; font-size: .875rem; color: #475569; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-meta { margin-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: #64748b; }
.blog-read { display: inline-flex; align-items: center; gap: .25rem; font-size: .875rem; font-weight: 700; color: #2563eb; transition: gap 200ms; }
.blog-card:hover .blog-read { gap: .5rem; }

/* ════ CASE STUDY CARD ════ */
.case-card {
  border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff;
  overflow: hidden; display: flex; flex-direction: column;
}
.case-thumb { position: relative; }
.case-thumb-badge {
  position: absolute; top: .75rem; left: .75rem;
  background: #fff; color: #1d4ed8; border: 1px solid #e2e8f0;
  border-radius: 999px; font-size: .75rem; font-weight: 600;
  padding: .25rem .75rem; box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.case-thumb-client {
  position: absolute; bottom: .75rem; left: .75rem;
  background: rgba(255,255,255,.95); border: 1px solid #e2e8f0;
  border-radius: 999px; font-size: .75rem; font-weight: 600; color: #0f172a;
  padding: .25rem .75rem; display: flex; align-items: center; gap: .375rem;
}
.case-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.case-title { font-size: 1.125rem; font-weight: 700; color: #0f172a; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-desc { margin-top: .5rem; font-size: .875rem; color: #475569; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-metric { color: #059669; font-size: .875rem; font-weight: 700; display: flex; align-items: center; gap: .375rem; }
.case-footer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; }
.case-read { display: inline-flex; align-items: center; gap: .25rem; font-size: .875rem; font-weight: 700; color: #2563eb; transition: gap 200ms; }
.case-card:hover .case-read { gap: .5rem; }

/* ════ FAQ ════ */
.faq-item {
  border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff;
  margin-bottom: .75rem; padding: 0 1.25rem; overflow: hidden;
  transition: border-color 200ms, background 200ms;
}
.faq-item.open { border-color: #93c5fd; background: rgba(239,246,255,.3); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; cursor: pointer;
  font-size: 1rem; font-weight: 700; color: #0f172a;
}
.faq-icon { color: #2563eb; transition: transform 300ms; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { font-size: .9375rem; color: #475569; line-height: 1.7; padding-bottom: 1.25rem; display: none; }
.faq-item.open .faq-a { display: block; }

/* ════ CTA SECTION ════ */
.cta-section { position: relative; overflow: hidden; }
.cta-inner { padding: 5rem 0; text-align: center; }
.cta-title { font-size: clamp(1.75rem, 3vw, 3rem); font-weight: 800; color: #fff; }
.cta-sub { margin-top: 1rem; font-size: 1.125rem; color: rgba(219,234,254,.9); max-width: 40rem; margin-left: auto; margin-right: auto; }
.cta-btns { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ════ FOOTER ════ */
footer { background: #020617; color: #94a3b8; position: relative; overflow: hidden; }
.footer-newsletter { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-newsletter-inner {
  padding: 3rem 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-nl-title { font-size: 1.75rem; font-weight: 800; color: #fff; }
.footer-nl-sub { margin-top: .5rem; color: #64748b; }
.footer-nl-form { display: flex; gap: .5rem; }
.footer-nl-input {
  height: 3rem; width: 20rem; max-width: 100%;
  border-radius: 999px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff; padding: 0 1.25rem; font-size: .875rem;
  outline: none; transition: border-color 200ms;
}
.footer-nl-input::placeholder { color: #475569; }
.footer-nl-input:focus { border-color: #3b82f6; }
.footer-nl-btn {
  height: 3rem; padding: 0 1.5rem; border-radius: 999px;
  background: #2563eb; color: #fff; font-weight: 600;
  border: none; cursor: pointer; transition: background 200ms;
  display: flex; align-items: center; gap: .375rem;
}
.footer-nl-btn:hover { background: #1d4ed8; }
.footer-grid {
  padding: 4rem 0;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand-desc { margin-top: 1rem; color: #64748b; line-height: 1.7; max-width: 25rem; }
.footer-socials { margin-top: 1.5rem; display: flex; gap: .75rem; }
.footer-social {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background 200ms;
}
.footer-social:hover { background: #2563eb; }
.footer-col-title { font-size: .9375rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-link { font-size: .875rem; color: #64748b; transition: color 200ms; }
.footer-link:hover { color: #60a5fa; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; margin-bottom: .75rem; }
.footer-contact-icon { color: #60a5fa; flex-shrink: 0; margin-top: .125rem; }
.footer-contact-link { color: #64748b; transition: color 200ms; }
.footer-contact-link:hover { color: #60a5fa; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  font-size: .875rem; color: #475569;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-link { color: #475569; transition: color 200ms; }
.footer-bottom-link:hover { color: #60a5fa; }

/* ════ PAGE HERO ════ */
.page-hero { padding: 9rem 0 5rem; text-align: center; position: relative; overflow: hidden; }
.page-hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  padding: .375rem 1rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: #bfdbfe;
}
.page-hero-badge::before {
  content: ''; width: .375rem; height: .375rem;
  border-radius: 50%; background: #93c5fd;
  animation: pulseRing 2s infinite; display: inline-block;
}
.page-hero-title {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 800; color: #fff; line-height: 1.1;
}
.page-hero-sub {
  margin-top: 1.25rem;
  max-width: 38rem; margin-left: auto; margin-right: auto;
  font-size: 1.125rem; color: rgba(219,234,254,.9); line-height: 1.7;
}

/* ════ FORMS ════ */
.form-card {
  border-radius: 1.5rem; border: 1px solid #e2e8f0;
  background: #fff; padding: 2rem; box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.form-title { font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.form-sub { font-size: .875rem; color: #64748b; margin-top: .25rem; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.25rem; }
.form-group { margin-top: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 600; color: #0f172a; margin-bottom: .375rem; }
.form-input {
  width: 100%; height: 2.75rem; border-radius: .75rem;
  border: 1px solid #e2e8f0; padding: 0 .875rem;
  font-size: .9375rem; color: #0f172a;
  outline: none; transition: border-color 200ms, box-shadow 200ms;
  font-family: inherit;
}
.form-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.form-textarea {
  width: 100%; border-radius: .75rem;
  border: 1px solid #e2e8f0; padding: .75rem .875rem;
  font-size: .9375rem; color: #0f172a;
  outline: none; transition: border-color 200ms;
  font-family: inherit; resize: vertical; min-height: 7.5rem;
}
.form-textarea:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.form-select {
  width: 100%; height: 2.75rem; border-radius: .75rem;
  border: 1px solid #e2e8f0; padding: 0 .875rem;
  font-size: .9375rem; color: #0f172a;
  outline: none; transition: border-color 200ms;
  font-family: inherit; appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") no-repeat right .75rem center / 1rem;
  background-color: #fff;
  cursor: pointer;
}
.form-select:focus { border-color: #3b82f6; }
.form-btn {
  width: 100%; height: 3rem; border-radius: 999px;
  background: #2563eb; color: #fff;
  font-size: 1rem; font-weight: 700;
  border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
  transition: background 200ms;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1.25rem;
}
.form-btn:hover { background: #1d4ed8; }
.form-note { text-align: center; font-size: .75rem; color: #64748b; margin-top: .75rem; }

/* ════ SUCCESS STATE ════ */
.success-state { text-align: center; padding: 2rem 0; }
.success-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: #d1fae5; color: #059669;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.success-title { margin-top: 1rem; font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.success-sub { margin-top: .5rem; font-size: .9375rem; color: #475569; }

/* ════ CONTACT INFO CARD ════ */
.contact-info-card {
  border-radius: .875rem; border: 1px solid #e2e8f0; background: #fff;
  padding: 1rem 1.25rem; display: flex; align-items: flex-start; gap: .875rem;
  margin-bottom: .75rem; transition: border-color 200ms, box-shadow 200ms;
}
.contact-info-card:hover { border-color: #93c5fd; box-shadow: 0 1px 6px rgba(59,130,246,.08); }
.contact-info-icon {
  width: 2.75rem; height: 2.75rem; border-radius: .75rem;
  background: #eff6ff; color: #2563eb;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-label { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
.contact-info-value { font-size: .875rem; font-weight: 600; color: #0f172a; margin-top: .125rem; }

/* ════ TEAM CARD ════ */
.team-card { border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff; padding: 1.5rem; text-align: center; }
.team-avatar {
  width: 5rem; height: 5rem; border-radius: 50%;
  background: linear-gradient(135deg,#3b82f6,#1d4ed8);
  color: #fff; font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto; box-shadow: 0 4px 12px rgba(59,130,246,.3);
}
.team-name { margin-top: 1rem; font-size: 1rem; font-weight: 700; color: #0f172a; }
.team-role { font-size: .75rem; font-weight: 700; color: #2563eb; }
.team-desc { margin-top: .75rem; font-size: .875rem; color: #475569; line-height: 1.6; }

/* ════ VALUE CARD ════ */
.value-card { border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff; padding: 1.75rem; }
.value-icon { width: 3rem; height: 3rem; border-radius: .75rem; background: #eff6ff; color: #2563eb; display: flex; align-items: center; justify-content: center; }
.value-title { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 700; color: #0f172a; }
.value-desc { margin-top: .5rem; font-size: .875rem; color: #475569; line-height: 1.7; }

/* ════ STAT CARD ════ */
.stat-card {
  border-radius: 1.5rem; border: 1px solid #e2e8f0;
  background: linear-gradient(135deg,#eff6ff,#fff);
  padding: 1.75rem; text-align: center;
}
.stat-val { font-size: 2.5rem; font-weight: 800; color: #1d4ed8; }
.stat-lbl { margin-top: .25rem; font-size: .875rem; color: #475569; }

/* ════ PAGE SPECIFIC ════ */
/* Blog detail */
.article-body h2 { font-size: 1.75rem; font-weight: 800; color: #0f172a; margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body p { font-size: 1.0625rem; line-height: 1.8; color: #334155; margin-top: 1.25rem; }
.article-body ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .625rem; }
.article-body li { display: flex; align-items: flex-start; gap: .75rem; font-size: 1.0625rem; line-height: 1.7; color: #334155; }
.article-body li::before { content: ''; width: .375rem; height: .375rem; border-radius: 50%; background: #3b82f6; flex-shrink: 0; margin-top: .625rem; }

/* Service detail */
.service-detail-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; margin-top: 1.5rem; }
.feature-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: #334155; }
.deliverable-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: #334155; margin-top: .625rem; }

/* Badge */
.badge {
  display: inline-block; font-size: .75rem; font-weight: 600;
  border-radius: 999px; padding: .25rem .75rem;
}
.badge-blue { background: #2563eb; color: #fff; }
.badge-outline { background: #fff; border: 1px solid #e2e8f0; color: #1d4ed8; }
.badge-white { background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.2); color: #fff; }

/* SVG vector thumb */
.case-vector { background: #f8fafc; }
.case-vector svg { width: 100%; height: 100%; }

/* Case detail stats */
.case-stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.5rem; }
.case-stat { border-radius: 1rem; border: 1px solid #e2e8f0; background: linear-gradient(135deg,rgba(239,246,255,.6),#fff); padding: 1.25rem; text-align: center; }
.case-stat-val { font-size: 1.875rem; font-weight: 800; color: #1d4ed8; }
.case-stat-lbl { font-size: .75rem; color: #475569; margin-top: .25rem; }

/* Outcome item */
.outcome-item { display: flex; align-items: flex-start; gap: .75rem; border-radius: .875rem; border: 1px solid #d1fae5; background: rgba(236,253,245,.5); padding: 1rem; margin-top: .75rem; }

/* Platform tags */
.platform-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.platform-tag { font-size: .6875rem; font-weight: 700; border-radius: 999px; background: #eff6ff; color: #1d4ed8; padding: .25rem .875rem; }

/* Industry detail card */
.industry-detail-card { border-radius: 1.5rem; border: 1px solid #e2e8f0; background: #fff; padding: 2rem; }

/* Check item */
.check-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .9375rem; color: #334155; margin-top: .625rem; }

/* Services filter */
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.filter-chip {
  padding: .5rem 1rem; border-radius: 999px; font-size: .875rem; font-weight: 600;
  border: 1px solid #e2e8f0; background: #fff; color: #334155;
  cursor: pointer; transition: all 200ms;
}
.filter-chip:hover { border-color: #93c5fd; color: #1d4ed8; }
.filter-chip.active { background: #2563eb; color: #fff; border-color: #2563eb; box-shadow: 0 4px 12px rgba(37,99,235,.3); }

/* Credibility section */
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.75rem; }
.expertise-card { display: flex; align-items: flex-start; gap: .75rem; border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff; padding: 1rem; }
.expertise-icon { width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: #eff6ff; color: #2563eb; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.expertise-title { font-size: .875rem; font-weight: 700; color: #0f172a; }
.expertise-desc { font-size: .75rem; color: #64748b; margin-top: .125rem; line-height: 1.5; }
.office-card { border-radius: 1rem; border: 1px solid #e2e8f0; background: #fff; padding: 1rem; transition: border-color 200ms; }
.office-card:hover { border-color: #93c5fd; }
.office-tag { font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #eff6ff; color: #1d4ed8; border-radius: .375rem; padding: .25rem .5rem; }

/* Back link */
.back-link { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 600; color: #60a5fa; transition: color 200ms; }
.back-link:hover { color: #fff; }
.back-link-dark { color: #475569; }
.back-link-dark:hover { color: #2563eb; }

/* Section divider */
.divider { height: 1px; background: #f1f5f9; margin: 0; }

/* Testimonial controls */
.testimonial-controls { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: .75rem; }
.testimonial-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid #e2e8f0;
  background: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color 200ms, color 200ms;
}
.testimonial-btn:hover { border-color: #3b82f6; color: #2563eb; }
.testimonial-dots { display: flex; gap: .375rem; align-items: center; }
.testimonial-dot { height: .375rem; border-radius: 999px; background: #cbd5e1; cursor: pointer; transition: all 200ms; width: .5rem; }
.testimonial-dot.active { width: 2rem; background: #2563eb; }

/* Why us sticky layout */
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: flex-start; }
.why-sticky { position: sticky; top: 8rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.why-highlight {
  margin-top: 2rem; display: inline-flex; align-items: center; gap: .75rem;
  border-radius: 1rem; border: 1px solid #bfdbfe; background: #eff6ff; padding: 1rem;
}
.why-highlight-icon {
  width: 3rem; height: 3rem; border-radius: .75rem;
  background: linear-gradient(135deg,#3b82f6,#1d4ed8); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(59,130,246,.3);
}
.why-highlight-title { font-size: .875rem; font-weight: 700; color: #1e3a8a; }
.why-highlight-sub { font-size: .75rem; color: #1d4ed8; margin-top: .125rem; line-height: 1.4; }

/* Snapshot card */
.snapshot-card { border-radius: 1.5rem; border: 1px solid #e2e8f0; background: #fff; padding: 1.5rem; box-shadow: 0 1px 8px rgba(0,0,0,.05); position: sticky; top: 7rem; }
.snapshot-row { display: flex; align-items: flex-start; gap: .75rem; }
.snapshot-icon { color: #2563eb; flex-shrink: 0; margin-top: .125rem; }
.snapshot-label { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
.snapshot-val { font-size: .875rem; font-weight: 700; color: #0f172a; margin-top: .125rem; }

/* ════ SVG VECTORS (case study thumbnails) ════ */
.vector-thumb { background: #f8fafc; overflow: hidden; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: #64748b; margin-bottom: 1.5rem; }
.breadcrumb a { color: #64748b; transition: color 200ms; }
.breadcrumb a:hover { color: #2563eb; }
.breadcrumb-sep { color: #cbd5e1; }

/* Alert / what-next box */
.what-next-box { border-radius: 1rem; border: 1px solid #bfdbfe; background: rgba(239,246,255,.6); padding: 1.5rem; margin-top: 2rem; }
.what-next-label { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #1d4ed8; margin-bottom: 1rem; }

/* ════ RESPONSIVE ════ */
@media (max-width: 1024px) {
  .cards-6 { grid-template-columns: repeat(3,1fr); }
  .process-flow { flex-wrap: wrap; gap: 2rem; justify-content: center; }
  .process-step-wrap { flex: 0 0 calc(50% - 1rem); justify-content: center; }
  .process-connector { display: none; }
  .process-step-wrap:nth-child(even) .process-step { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .why-layout { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
}

@media (max-width: 768px) {
  .nav-links, .nav-btn-wrapper { display: none; }
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .cards-6 { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .process-flow { flex-direction: column; align-items: center; gap: 2rem; }
  .process-step-wrap { flex: unset; width: 100%; justify-content: center; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-newsletter-inner { flex-direction: column; }
  .footer-nl-form { flex-direction: column; }
  .footer-nl-input { width: 100%; }
  .expertise-grid { grid-template-columns: 1fr; }
  .case-stats-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-features-grid { grid-template-columns: 1fr; }
  .nav-dropdown { display: none !important; }
}

@media (max-width: 480px) {
  .cards-4 { grid-template-columns: 1fr; }
  .hero-section { padding-top: 6rem; }
  .page-hero { padding: 7rem 0 3.5rem; }
  .case-stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   CLOUD-UNIVERSE.COM — MOBILE-ONLY ENHANCEMENT PATCH
   ---------------------------------------------------------------
   ✅ Every single rule is wrapped in a max-width media query.
   ✅ ZERO rules apply at 769px and above — desktop is untouched.
   ✅ Add this as the LAST <link> in your <head>, after all other CSS.
   ═══════════════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────────────
   GLOBAL (applied to html/body only — still safe, no layout impact)
   Prevents horizontal scroll that is caused by overflow on mobile
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }
  body {
    overflow-x: hidden;
    /* Smooth momentum scrolling on iOS */
    -webkit-overflow-scrolling: touch;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #navbar {
    padding: .625rem 0;
  }
  .nav-inner {
    padding: .5rem .875rem;
    border-radius: .75rem;
    /* Prevent inner content from pushing width */
    overflow: hidden;
  }
  .nav-logo-text {
    font-size: 1rem;
    white-space: nowrap;
  }
  .nav-logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: .625rem;
  }
  /* Hamburger is already shown via your existing CSS — just ensure size */
  .hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile nav panel */
@media (max-width: 768px) {
  .mobile-nav {
    margin-top: .375rem;
    border-radius: .875rem;
    padding: .75rem;
  }
  .mobile-nav-link {
    min-height: 44px;
    padding: .625rem .875rem;
    border-radius: .625rem;
    font-size: .9375rem;
    display: flex;
    align-items: center;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section {
    padding: 7rem 0 3rem;
  }
  .hero-title {
    font-size: clamp(1.875rem, 7vw, 2.5rem);
    line-height: 1.1;
    word-break: break-word;
  }
  .hero-sub {
    font-size: 1rem;
    padding: 0 .25rem;
    margin-top: 1.25rem;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: .625rem;
    margin-top: 1.75rem;
  }
  .btn-primary,
  .btn-outline-white {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  /* Stats: 2 columns on normal phones */
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: .625rem;
    margin-top: 2rem;
  }
  .hero-stat-card {
    padding: .875rem;
    border-radius: .875rem;
  }
  .hero-stat-val {
    font-size: 1.375rem;
  }
  .hero-stat-lbl {
    font-size: .625rem;
  }
}

/* Extra small phones: 1 column stats */
@media (max-width: 380px) {
  .hero-title {
    font-size: clamp(1.625rem, 8vw, 2rem);
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   PAGE HERO (inner pages)
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-hero {
    padding: 7.5rem 0 3rem;
  }
  .page-hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    word-break: break-word;
  }
  .page-hero-sub {
    font-size: 1rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   SECTION SPACING & TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
  .section-lg {
    padding: 4.5rem 0;
  }
  .section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    word-break: break-word;
  }
  .section-sub {
    font-size: .9375rem;
  }
  .cta-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }
  .cta-sub {
    font-size: 1rem;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
    gap: .625rem;
  }
  .cta-btns .btn-primary,
  .cta-btns .btn-outline-white {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   CARDS — prevent overflow, word breaks, minimum width issues
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .service-card,
  .industry-card,
  .why-card,
  .testimonial-card,
  .blog-card,
  .case-card,
  .tech-card,
  .team-card,
  .value-card,
  .stat-card {
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  /* Grids already stacked via your CSS; just tighten gaps */
  .cards-3,
  .cards-2 {
    gap: 1rem;
    margin-top: 2rem;
  }
  .cards-4 {
    gap: 1rem;
    margin-top: 2rem;
  }
  .cards-6 {
    gap: .875rem;
    margin-top: 2rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   SERVICE CARD — tighten on mobile
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .service-card {
    padding: 1.375rem;
  }
  .service-title {
    font-size: 1.125rem;
  }
  .service-link {
    font-size: .8125rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   PROCESS FLOW
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .process-flow {
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    margin-top: 2.5rem;
  }
  .process-step-wrap {
    flex: unset;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .process-connector {
    display: none;
  }
  .process-step {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  /* Remove staggered offset on mobile */
  .process-step-wrap:nth-child(even) .process-step {
    margin-top: 0;
  }
  .process-node {
    width: 4.25rem;
    height: 4.25rem;
  }
  .process-title {
    font-size: .9375rem;
  }
  .process-desc {
    font-size: .8125rem;
    max-width: 16rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.375rem;
  }
  .testimonial-text {
    font-size: .9375rem;
  }
  .testimonial-controls {
    margin-top: 1.5rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   BLOG CARDS
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .blog-img {
    height: 10rem;
  }
  .blog-body {
    padding: 1.125rem;
  }
  .blog-title {
    font-size: .9375rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   FORMS — critical: font-size 16px prevents iOS zoom
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .form-card {
    padding: 1.375rem;
    border-radius: 1.125rem;
  }
  .form-input,
  .form-textarea,
  .form-select {
    font-size: 16px; /* ← iOS zoom prevention */
    width: 100%;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: .875rem;
  }
  .form-btn {
    font-size: .9375rem;
    min-height: 44px;
  }
  .form-title {
    font-size: 1.25rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   CONTACT INFO CARDS
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .contact-info-card {
    padding: .875rem 1rem;
  }
  .contact-info-value {
    font-size: .8125rem;
    word-break: break-all; /* for long email/phone strings */
  }
}


/* ─────────────────────────────────────────────────────────────────────
   WHY US SECTION
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .why-sticky {
    position: static;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .why-highlight {
    margin-top: 1.5rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-newsletter-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 0;
    gap: 1.25rem;
  }
  .footer-nl-title {
    font-size: 1.375rem;
  }
  .footer-nl-form {
    flex-direction: column;
    gap: .5rem;
  }
  .footer-nl-input {
    width: 100%;
    min-width: 0;
  }
  .footer-nl-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.5rem 0;
  }
  .footer-col-title {
    margin-bottom: .75rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    padding: 1.25rem 0;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    gap: .625rem;
  }
  /* Larger tap targets on footer links */
  .footer-link {
    min-height: 36px;
    display: flex;
    align-items: center;
  }
  .footer-social {
    width: 2.75rem;
    height: 2.75rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   CONTAINERS — safe area insets for notched iPhones
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .container,
  .container-narrow {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}


/* ─────────────────────────────────────────────────────────────────────
   MARQUEE — clean overflow on narrow screens
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .marquee-section {
    padding: 2rem 0;
  }
  .marquee-wrapper {
    overflow: hidden;
  }
  .marquee-fade-l,
  .marquee-fade-r {
    width: 4rem; /* narrower fade on mobile */
  }
}


/* ─────────────────────────────────────────────────────────────────────
   NAV DROPDOWN — disable on touch (hover won't work reliably)
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-dropdown {
    display: none !important;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   IMAGES — safe defaults on mobile
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   CASE STUDY CARDS
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .case-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }
  .case-stat-val {
    font-size: 1.5rem;
  }
  .case-body {
    padding: 1.125rem;
  }
  .case-title {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .case-stats-grid {
    grid-template-columns: 1fr;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   FILTER CHIPS
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .filter-chips {
    gap: .375rem;
  }
  .filter-chip {
    font-size: .8125rem;
    padding: .4375rem .875rem;
    min-height: 36px;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   EXPERTISE / INDUSTRY DETAIL GRIDS
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .service-detail-features-grid {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   TEAM CARDS
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .team-card {
    padding: 1.25rem;
  }
  .team-avatar {
    width: 4rem;
    height: 4rem;
    font-size: 1.25rem;
  }
  .team-name {
    font-size: .9375rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   SNAPSHOT / STICKY SIDEBAR CARD (service detail pages)
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .snapshot-card {
    position: static; /* un-stick on mobile */
    border-radius: 1rem;
    padding: 1.25rem;
    margin-top: 1.5rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   BREADCRUMB — wrap gracefully
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .breadcrumb {
    flex-wrap: wrap;
    font-size: .8125rem;
    margin-bottom: 1rem;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   SCROLLBAR — hide on mobile for cleaner UI
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 0;
    background: transparent;
  }
}

