/* ==========================================================================
   ENTERPRISE.CSS, Real photography, premium illustrations, 9/10 design
   ========================================================================== */

/* ---- Typography upgrade ---- */
:root {
  --display-size: clamp(3rem, 6vw, 4.8rem);
  --h2-size: clamp(2.2rem, 4vw, 3.2rem);
  --hero-lh: 1.06;
}

/* ---- Parallax base ---- */
.parallax-wrap { overflow: hidden; position: relative; }
.parallax-img {
  width: 100%; height: 120%;
  object-fit: cover;
  transform: translateY(0);
  will-change: transform;
}

/* ==========================================================================
   HERO, Premium 3D illustration + photo backdrop
   ========================================================================== */
.hero-enterprise {
  min-height: 100vh;
  background: #050D1F;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
}

/* Multi-layer background */
.hero-bg-photo {
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.08;
  z-index: 0;
  filter: saturate(0);
}
.hero-bg-gradient {
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background: linear-gradient(135deg, #050D1F 0%, rgba(5,13,31,0.85) 40%, rgba(30,58,138,0.4) 70%, rgba(124,58,237,0.2) 100%);
  z-index: 1;
}
.hero-bg-grid {
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: 1;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 20%, transparent 100%);
}
/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(37,99,235,0.35) 0%, transparent 70%);
  animation: orbFloat1 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  bottom: -100px; right: -50px;
  background: radial-gradient(circle, rgba(124,58,237,0.3) 0%, transparent 70%);
  animation: orbFloat2 18s ease-in-out infinite;
}
.hero-orb-3 {
  width: 350px; height: 350px;
  top: 30%; left: 45%;
  background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%);
  animation: orbFloat3 11s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(60px,-40px) scale(1.08)} 66%{transform:translate(-30px,60px) scale(0.96)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-50px,-60px) scale(1.06)} }
@keyframes orbFloat3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,20px)} }

.hero-enterprise .container { position: relative; z-index: 3; }

.hero-ent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) { .hero-ent-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Headline upgrade */
.hero-ent-headline {
  font-family: var(--font-display);
  font-size: var(--display-size);
  font-weight: 800;
  line-height: var(--hero-lh);
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 22px;
}
.hero-ent-headline .word-blue {
  background: linear-gradient(135deg, #6B7280 0%, #A78BFA 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradShift 5s ease infinite;
}
@keyframes gradShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

.hero-ent-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 36px;
}

/* Badge strip */
.hero-trust-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.htb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.01em;
}
.htb .dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 6px #34d399; flex-shrink: 0; }
.htb svg { width: 12px; height: 12px; color: #6B7280; flex-shrink: 0; }

/* CTA buttons */
.hero-ent-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-ent-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 30px;
  background: linear-gradient(135deg, #64748B 0%, #A78BFA 100%);
  color: #fff;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 28px rgba(37,99,235,0.45), 0 0 0 1px rgba(255,255,255,0.08) inset;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-ent-primary::after {
  content: '';
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-ent-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(37,99,235,0.55); }
.btn-ent-primary:hover::after { opacity: 1; }
.btn-ent-primary svg { width: 17px; height: 17px; transition: transform 0.3s; }
.btn-ent-primary:hover svg { transform: translateX(3px); }

.btn-ent-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88);
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.btn-ent-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); transform: translateY(-1px); }
.btn-ent-ghost svg { width: 16px; height: 16px; }

/* Social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hsp-avs { display: flex; }
.hsp-avs img, .hsp-avs span {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2.5px solid #050D1F;
  margin-left: -12px;
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
  background: linear-gradient(135deg, #64748B, #A78BFA);
  color: #fff;
}
.hsp-avs span:first-child, .hsp-avs img:first-child { margin-left: 0; }
.hsp-text { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.hsp-text strong { color: #fff; display: block; }

/* ==========================================================================
   HERO VISUAL, Rich 3D CX illustration
   ========================================================================== */
.hero-visual-ent {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main CX illustration panel */
.cx-panel {
  width: 100%;
  max-width: 520px;
  background: rgba(15,35,71,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05), 0 0 80px rgba(37,99,235,0.15);
  backdrop-filter: blur(20px);
  animation: cxFloat 7s ease-in-out infinite;
}
@keyframes cxFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* Panel header */
.cx-panel-header {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cx-dots { display: flex; gap: 6px; }
.cx-dots span { width: 10px; height: 10px; border-radius: 50%; }
.cx-dots span:nth-child(1){background:#FF5F57} .cx-dots span:nth-child(2){background:#FEBC2E} .cx-dots span:nth-child(3){background:#28C840}
.cx-panel-title { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; }
.cx-live-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.2);
  border-radius: 100px;
  padding: 3px 10px;
}
.cx-live-badge .live-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; animation: livePulse 1.5s ease infinite; }
@keyframes livePulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* Agent photo grid */
.cx-agents {
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.cx-agent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.cx-agent-photo {
  width: 52px; height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, #1F2937, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cx-agent-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.cx-agent-status {
  position: absolute;
  bottom: 3px; right: 3px;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid #0F2347;
}
.cx-agent-status.online { background: #34d399; }
.cx-agent-status.busy { background: #FBBF24; }
.cx-agent-label { font-size: 0.65rem; color: rgba(255,255,255,0.45); text-align: center; }

/* Stats row inside panel */
.cx-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cx-stat {
  padding: 14px;
  text-align: center;
  background: rgba(15,35,71,0.5);
}
.cx-stat .v {
  font-family: var(--font-data);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1;
}
.cx-stat .c { font-size: 0.65rem; font-weight: 700; }
.cx-stat .c.up { color: #34d399; }
.cx-stat .c.dn { color: #f87171; }
.cx-stat .l { font-size: 0.62rem; color: rgba(255,255,255,0.35); margin-top: 3px; }

/* Mini bar chart */
.cx-chart {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cx-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cx-chart-head span { font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; }
.cx-chart-head .val { font-family: var(--font-data); font-size: 0.88rem; font-weight: 700; color: #34d399; }
.cx-bars { display: flex; align-items: flex-end; gap: 4px; height: 52px; }
.cx-b {
  flex: 1;
  border-radius: 3px 3px 0 0;
  animation: barUp 1.4s cubic-bezier(0.4,0,0.2,1) both;
  transform-origin: bottom;
}
@keyframes barUp { from{transform:scaleY(0)} to{transform:scaleY(1)} }
.cx-b:nth-child(1){height:35%;background:rgba(37,99,235,0.5);animation-delay:.08s}
.cx-b:nth-child(2){height:58%;background:rgba(37,99,235,0.6);animation-delay:.13s}
.cx-b:nth-child(3){height:42%;background:rgba(37,99,235,0.5);animation-delay:.18s}
.cx-b:nth-child(4){height:75%;background:rgba(99,102,241,0.7);animation-delay:.23s}
.cx-b:nth-child(5){height:60%;background:rgba(37,99,235,0.6);animation-delay:.28s}
.cx-b:nth-child(6){height:88%;background:linear-gradient(180deg,#38BDF8,#64748B);animation-delay:.33s}
.cx-b:nth-child(7){height:70%;background:rgba(99,102,241,0.7);animation-delay:.38s}
.cx-b:nth-child(8){height:95%;background:linear-gradient(180deg,#A78BFA,#A78BFA);animation-delay:.43s}
.cx-b:nth-child(9){height:80%;background:rgba(37,99,235,0.7);animation-delay:.48s}
.cx-b:nth-child(10){height:92%;background:linear-gradient(180deg,#34d399,#64748B);animation-delay:.53s}
.cx-b:nth-child(11){height:78%;background:rgba(99,102,241,0.7);animation-delay:.58s}
.cx-b:nth-child(12){height:100%;background:linear-gradient(180deg,#6B7280,#A78BFA);animation-delay:.63s}

/* Live feed */
.cx-feed { padding: 12px 20px 16px; display: flex; flex-direction: column; gap: 8px; }
.cx-feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 9px;
}
.cx-fd { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.cx-fd.g { background: #34d399; box-shadow: 0 0 5px #34d399; }
.cx-fd.b { background: #60a5fa; box-shadow: 0 0 5px #60a5fa; }
.cx-fd.y { background: #fbbf24; box-shadow: 0 0 5px #fbbf24; }
.cx-feed-row .ft { font-size: 0.72rem; color: rgba(255,255,255,0.55); flex: 1; }
.cx-feed-row .tm { font-size: 0.62rem; color: rgba(255,255,255,0.25); }

/* Floating metric pills around the panel */
.metric-pill {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 10px 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  z-index: 10;
}
.mp-1 { top: -18px; left: -60px; animation: mpFloat1 8s ease-in-out infinite; }
.mp-2 { bottom: 30px; right: -55px; animation: mpFloat2 10s ease-in-out infinite; }
.mp-3 { top: 40%; left: -70px; animation: mpFloat3 12s ease-in-out infinite; }
@keyframes mpFloat1 { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-10px) rotate(1deg)} }
@keyframes mpFloat2 { 0%,100%{transform:translateY(0) rotate(2deg)} 50%{transform:translateY(-8px) rotate(-1deg)} }
@keyframes mpFloat3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
.metric-pill .mp-label { font-size: 0.65rem; color: rgba(255,255,255,0.4); margin-bottom: 3px; white-space: nowrap; }
.metric-pill .mp-value { font-family: var(--font-data); font-size: 1.2rem; font-weight: 700; color: #fff; line-height: 1; }
.metric-pill .mp-delta { font-size: 0.65rem; font-weight: 700; color: #34d399; }

/* ==========================================================================
   CLIENT LOGOS SECTION, Grayscale with hover color
   ========================================================================== */
.logos-section {
  background: #fff;
  padding: 48px 0;
  border-bottom: 1px solid #F1F5F9;
}
.logos-label {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93C5FD;
  margin-bottom: 32px;
}
.logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.logo-item:hover { background: #F0F9FF; border-color: #BFDBFE; transform: translateY(-2px); }
.logo-item svg, .logo-item .logo-text {
  filter: grayscale(100%) opacity(0.35);
  transition: all 0.3s ease;
}
.logo-item:hover svg, .logo-item:hover .logo-text { filter: grayscale(0%) opacity(1); }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1E3A5F;
  white-space: nowrap;
}

/* ==========================================================================
   STATS BAND, Fixed counters, no zeros
   ========================================================================== */
.stats-enterprise {
  background: linear-gradient(135deg, #050D1F 0%, #0F2347 50%, #1F2937 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-enterprise::before {
  content: '';
  position: absolute;
  width: 600px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(37,99,235,0.2) 0%, transparent 70%);
}
.stats-ent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) { .stats-ent-grid { grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(255,255,255,0.08); } }
.stat-ent {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-ent:last-child { border-right: none; }
.stat-ent .num {
  font-family: var(--font-data);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #6B7280, #A78BFA);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-ent .lbl { font-size: 0.86rem; color: rgba(255,255,255,0.55); font-weight: 500; }
.stat-ent .icon { font-size: 1.6rem; margin-bottom: 10px; display: block; }

/* ==========================================================================
   INDUSTRIES, Real photo cards
   ========================================================================== */
.industry-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 1100px) { .industry-photo-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .industry-photo-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }

.ind-photo-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.ind-photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  filter: brightness(0.7);
}
.ind-photo-card:hover img { transform: scale(1.06); filter: brightness(0.55); }
.ind-photo-overlay {
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background: linear-gradient(to top, rgba(5,13,31,0.9) 0%, rgba(5,13,31,0.3) 50%, transparent 100%);
  transition: background 0.4s ease;
}
.ind-photo-card:hover .ind-photo-overlay {
  background: linear-gradient(to top, rgba(37,99,235,0.85) 0%, rgba(37,99,235,0.3) 60%, transparent 100%);
}
.ind-photo-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
}
.ind-photo-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
}
.ind-photo-icon svg { width: 18px; height: 18px; color: #fff; }
.ind-photo-content h3 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.ind-photo-content .ind-kpi-mini { font-size: 0.72rem; color: rgba(255,255,255,0.65); }
.ind-photo-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.ind-photo-card:hover .ind-photo-cta { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Wide featured card */
.ind-photo-card.wide { aspect-ratio: 16/9; grid-column: span 2; }
@media (max-width: 580px) { .ind-photo-card.wide { grid-column: span 2; } }

/* ==========================================================================
   PORTFOLIO, Real project showcase cards
   ========================================================================== */
.portfolio-enterprise {
  background: #0B1425;
  padding: 100px 0;
}
.portfolio-ent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}
@media (max-width: 900px) { .portfolio-ent-grid { grid-template-columns: 1fr; } }

.portfolio-ent-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-ent-card:hover { border-color: rgba(37,99,235,0.4); box-shadow: 0 30px 80px rgba(37,99,235,0.2), 0 0 0 1px rgba(37,99,235,0.15); transform: translateY(-6px); }

/* Project screenshot area */
.pe-screenshot {
  height: 240px;
  position: relative;
  overflow: hidden;
}
.pe-screenshot-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.8);
}
.portfolio-ent-card:hover .pe-screenshot-bg { transform: scale(1.04); filter: brightness(0.65); }
.pe-screenshot-overlay {
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background: linear-gradient(135deg, rgba(37,99,235,0.7) 0%, rgba(124,58,237,0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.portfolio-ent-card:hover .pe-screenshot-overlay { opacity: 1; }

/* Logo badge on screenshot */
.pe-logo-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.02em;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.pe-type-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 12px;
  background: rgba(37,99,235,0.8);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  backdrop-filter: blur(8px);
}

/* Mock UI elements over screenshot */
.pe-ui-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.pe-ui-stat {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 8px 10px;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: background 0.3s;
}
.portfolio-ent-card:hover .pe-ui-stat { background: rgba(37,99,235,0.35); }
.pe-ui-stat .v { font-family: var(--font-data); font-size: 1rem; font-weight: 700; color: #fff; display: block; }
.pe-ui-stat .l { font-size: 0.6rem; color: rgba(255,255,255,0.55); }

/* Card body */
.pe-body { padding: 28px; }
.pe-company { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pe-company-logo {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
  flex-shrink: 0;
}
.pe-company-name { font-size: 1rem; font-weight: 700; color: #fff; }
.pe-company-type { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

.pe-section { margin-bottom: 16px; }
.pe-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 5px;
}
.pe-text { font-size: 0.86rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.pe-solution-text { font-size: 0.86rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* Tech stack */
.pe-stack { display: flex; gap: 6px; flex-wrap: wrap; }
.pe-tag {
  font-size: 0.7rem; font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.3);
  color: #9CA3AF;
}

/* Results metrics */
.pe-results {
  display: flex;
  gap: 0;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.pe-metric {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.pe-metric:first-child { padding-left: 0; }
.pe-metric:last-child { border-right: none; padding-right: 0; }
.pe-metric strong {
  display: block;
  font-family: var(--font-data);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6B7280, #A78BFA);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 3px;
}
.pe-metric span { font-size: 0.68rem; color: rgba(255,255,255,0.35); }

/* ==========================================================================
   TESTIMONIALS, LinkedIn-style with photos
   ========================================================================== */
.testimonials-linkedin {
  background: #F0F9FF;
  padding: 100px 0;
}
.tl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 960px) { .tl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .tl-grid { grid-template-columns: 1fr; } }

.tl-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid #BFDBFE;
  padding: 28px;
  transition: all 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tl-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(37,99,235,0.1), 0 4px 16px rgba(0,0,0,0.06); border-color: rgba(37,99,235,0.2); }
.tl-card.featured-tl { background: linear-gradient(135deg, #F9FAFB, #EDE9FE); border-color: rgba(37,99,235,0.2); }

/* LinkedIn header */
.tl-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.tl-photo-wrap { position: relative; flex-shrink: 0; }
.tl-photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #64748B, #A78BFA);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: #fff;
}
.tl-photo img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.tl-verified {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 20px; height: 20px;
  background: #64748B;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.tl-verified svg { width: 10px; height: 10px; fill: #fff; }
.tl-info { flex: 1; }
.tl-name { font-size: 0.95rem; font-weight: 700; color: #1E3A5F; margin-bottom: 2px; }
.tl-role { font-size: 0.78rem; color: #64748B; margin-bottom: 4px; }
.tl-company-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #F9FAFB;
  color: #64748B;
  border: 1px solid #D1D5DB;
}

/* Stars */
.tl-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.tl-stars svg { width: 14px; height: 14px; fill: #F59E0B; }

/* Quote */
.tl-quote {
  font-size: 0.9rem;
  line-height: 1.72;
  color: #374151;
  font-style: italic;
  flex: 1;
  margin-bottom: 18px;
}
.tl-card.featured-tl .tl-quote { font-size: 0.94rem; }

/* Company logo in card */
.tl-footer {
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tl-company-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1E3A5F;
}
.tl-date { font-size: 0.72rem; color: #93C5FD; }

/* ==========================================================================
   CONTACT SECTION, Premium with map + WhatsApp
   ========================================================================== */
.contact-premium-section {
  background: #fff;
  padding: 100px 0;
}
.contact-premium-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 56px;
}
@media (max-width: 860px) { .contact-premium-grid { grid-template-columns: 1fr; } }

/* Map placeholder with office photo */
.contact-map-area {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.contact-map-area img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.contact-map-overlay {
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background: linear-gradient(to top, rgba(5,13,31,0.7) 0%, transparent 50%);
}
.contact-map-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-map-pin {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #64748B, #A78BFA);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-map-pin svg { width: 20px; height: 20px; color: #fff; }
.contact-map-text h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.contact-map-text p { font-size: 0.76rem; color: rgba(255,255,255,0.65); }

/* Response time badge */
.response-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(52,211,153,0.15);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #34d399;
  backdrop-filter: blur(8px);
}
.response-badge .rb-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: livePulse 1.5s ease infinite; }

/* Contact cards */
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card-premium {
  padding: 20px 24px;
  background: #F0F9FF;
  border: 1.5px solid #BFDBFE;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
.contact-card-premium:hover { border-color: rgba(37,99,235,0.3); background: #F9FAFB; transform: translateX(4px); box-shadow: 0 4px 20px rgba(37,99,235,0.1); }
.cc-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cc-icon svg { width: 22px; height: 22px; }
.cc-label { font-size: 0.76rem; color: #64748B; margin-bottom: 3px; }
.cc-value { font-size: 0.96rem; font-weight: 700; color: #1E3A5F; }
.cc-sub { font-size: 0.74rem; color: #93C5FD; margin-top: 2px; }
.cc-arrow { margin-left: auto; color: #93C5FD; transition: transform 0.3s; }
.contact-card-premium:hover .cc-arrow { transform: translateX(4px); color: #64748B; }
.cc-arrow svg { width: 18px; height: 18px; }

/* WhatsApp CTA */
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}
.whatsapp-cta:hover { transform: translateX(4px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
.whatsapp-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.whatsapp-icon svg { width: 26px; height: 26px; fill: #fff; }
.whatsapp-cta h4 { font-size: 0.96rem; font-weight: 700; margin-bottom: 3px; }
.whatsapp-cta p { font-size: 0.78rem; opacity: 0.8; }
.whatsapp-cta .cc-arrow { margin-left: auto; }
.whatsapp-cta .cc-arrow svg { color: rgba(255,255,255,0.7); }

/* Calendly-style booking widget */
.booking-widget {
  background: linear-gradient(135deg, #F9FAFB, #EDE9FE);
  border: 1.5px solid rgba(37,99,235,0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.booking-widget h4 { font-size: 1rem; font-weight: 700; color: #1E3A5F; margin-bottom: 8px; }
.booking-widget p { font-size: 0.84rem; color: #64748B; margin-bottom: 20px; }
.time-slots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.time-slot {
  padding: 7px 14px;
  background: #fff;
  border: 1.5px solid #BFDBFE;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}
.time-slot:hover, .time-slot.selected { background: #64748B; color: #fff; border-color: #64748B; }
.book-btn {
  display: block;
  padding: 12px;
  background: linear-gradient(135deg, #64748B, #A78BFA);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.book-btn:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,0.35); }

/* ---- Stats SVG icon fix ---- */
.stat-ent .icon {
  display: flex !important;
  justify-content: center;
  margin-bottom: 12px;
  font-size: inherit !important;
}
.stat-ent .icon svg {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   NAV LINK COLOR, DEFINITIVE FIX
   Browser visited link color (blue) leaks through even with color:inherit.
   These rules must come last in load order and cover all link states.
   ========================================================================== */
.site-header .nav-main a.nav-link,
.site-header .nav-main a.nav-link:link,
.site-header .nav-main a.nav-link:visited,
.site-header .nav-main a.nav-link:hover,
.site-header .nav-main li a,
.site-header .nav-main li a:link,
.site-header .nav-main li a:visited {
  color: #374151 !important;
  text-decoration: none !important;
}

/* Only the explicitly marked active link gets blue */
.site-header .nav-main a.nav-link.is-active,
.site-header .nav-main a.nav-link.is-active:link,
.site-header .nav-main a.nav-link.is-active:visited {
  color: #3B82F6 !important;
  background: #F9FAFB !important;
}

/* Hover, any non-active link */
.site-header .nav-main a.nav-link:not(.is-active):hover {
  color: #3B82F6 !important;
  background: #F9FAFB !important;
}

/* Dropdown items, never inherit visited blue */
.site-header .dropdown a,
.site-header .dropdown a:link,
.site-header .dropdown a:visited {
  color: inherit !important;
  text-decoration: none !important;
}

/* ==========================================================================
   COLOR SYSTEM REDESIGN, Red / Blue / White alternating sections
   ========================================================================== */
:root {
  --brand-red: #3B82F6;
  --brand-red-dark: #991B1B;
  --brand-red-light: #FEE2E2;
  --brand-blue: #64748B;
  --brand-blue-dark: #374151;
  --brand-blue-light: #F9FAFB;
  --section-dark-bg: #1E3A5F;
}

/* ---- HERO, White/light gradient ---- */
.hero-white {
  background: linear-gradient(135deg, #ffffff 0%, #F0F9FF 60%, #F9FAFB 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
}
.hero-white .hero-bg-photo { opacity: 0.04; filter: saturate(0); }
.hero-white .hero-bg-gradient {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 40%, rgba(239,246,255,0.7) 100%);
}
.hero-white .hero-bg-grid {
  background-image: radial-gradient(circle, rgba(37,99,235,0.08) 1px, transparent 1px);
}
.hero-white .hero-orb-1 { background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%); }
.hero-white .hero-orb-2 { background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%); }
.hero-white .hero-orb-3 { background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%); }

/* Hero text on white */
.hero-white .hero-ent-headline { color: #111827; }
.hero-white .word-blue {
  background: linear-gradient(135deg, #3B82F6 0%, #991B1B 50%, #64748B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-white .hero-ent-sub { color: #64748B; }
.hero-white .htb {
  background: rgba(37,99,235,0.06);
  border-color: rgba(37,99,235,0.15);
  color: #374151;
}
.hero-white .htb .dot { background: #3B82F6; box-shadow: 0 0 6px #3B82F6; }
.hero-white .htb svg { color: #3B82F6; }
.hero-white .hero-social-proof { border-top-color: #E5E7EB; }
.hero-white .hsp-text { color: #6B7280; }
.hero-white .hsp-text strong { color: #111827; }

/* Primary CTA on white hero, Red */
.btn-red-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 30px;
  background: linear-gradient(135deg, #3B82F6 0%, #991B1B 100%);
  color: #fff;
  border-radius: 14px;
  font-size: 0.98rem; font-weight: 700;
  box-shadow: 0 8px 28px rgba(59,130,246,0.35), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative; overflow: hidden;
}
.btn-red-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(59,130,246,0.45); }
.btn-red-primary svg { width: 17px; height: 17px; transition: transform 0.3s; }
.btn-red-primary:hover svg { transform: translateX(3px); }

/* Secondary CTA on white hero, Blue outline */
.btn-blue-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px;
  background: transparent;
  border: 2px solid #64748B;
  color: #64748B;
  border-radius: 14px;
  font-size: 0.98rem; font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-blue-outline:hover { background: #64748B; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }
.btn-blue-outline svg { width: 16px; height: 16px; }

/* Dashboard on white */
.hero-white .cx-panel {
  background: rgba(15,23,42,0.92);
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 40px 120px rgba(37,99,235,0.2), 0 0 0 1px rgba(37,99,235,0.15);
}
.hero-white .metric-pill {
  background: #fff;
  border-color: #E5E7EB;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.hero-white .metric-pill .mp-label { color: #6B7280; }
.hero-white .metric-pill .mp-value { color: #111827; }
.hero-white .metric-pill .mp-delta { color: #3B82F6; }

/* ---- CLIENT LOGOS, Solid Red ---- */
.logos-red {
  background: #3B82F6;
  padding: 48px 0;
}
.logos-red .logos-label { color: rgba(255,255,255,0.7); }
.logos-red .logo-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.logos-red .logo-item .logo-text,
.logos-red .logo-item svg {
  filter: brightness(0) invert(1) opacity(0.55);
}
.logos-red .logo-item:hover .logo-text,
.logos-red .logo-item:hover svg {
  filter: brightness(0) invert(1) opacity(1);
}

/* ---- SERVICES, Blue gradient ---- */
.services-blue {
  background: linear-gradient(135deg, #64748B 0%, #374151 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.services-blue::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
/* White service cards on blue bg */
.services-blue .bento-card {
  background: #fff;
  border-color: rgba(255,255,255,0.3);
  color: #111827;
}
.services-blue .bento-card:hover {
  border-color: #3B82F6;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 2px rgba(59,130,246,0.3);
}
.services-blue .bento-card::after { background: linear-gradient(90deg, #3B82F6, #991B1B, #64748B); }
.services-blue .bento-card h3 { color: #111827; }
.services-blue .bento-card p { color: #64748B; }
.services-blue .bento-icon {
  background: linear-gradient(135deg, #FEE2E2, #FECACA);
  border-color: rgba(59,130,246,0.2);
}
.services-blue .bento-icon svg { color: #3B82F6; }
.services-blue .bento-tag {
  background: #F0F9FF;
  border-color: #E5E7EB;
  color: #374151;
}
.services-blue .bento-arrow { background: #F0F9FF; }
.services-blue .bento-arrow svg { color: #374151; }
.services-blue .bento-card:hover .bento-arrow { background: #3B82F6; }
.services-blue .bento-card:hover .bento-arrow svg { color: #fff; }
/* Featured card on blue */
.services-blue .bento-card.featured {
  background: rgba(255,255,255,0.95);
  border-color: rgba(59,130,246,0.3);
}
/* Last "view all" card */
.services-blue .bento-card.view-all-card {
  background: rgba(255,255,255,0.08) !important;
  border: 2px dashed rgba(255,255,255,0.3) !important;
  color: #fff;
}
.services-blue .bento-card.view-all-card h3 { color: #fff !important; }
.services-blue .bento-card.view-all-card p { color: rgba(255,255,255,0.7) !important; }
.services-blue .bento-card.view-all-card .bento-icon { background: rgba(255,255,255,0.15) !important; border-color: rgba(255,255,255,0.2) !important; }
.services-blue .bento-card.view-all-card .bento-icon svg { color: #fff !important; }
/* Section head on blue */
.services-blue .eyebrow-premium {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}
.services-blue .section-head-premium h2 { color: #fff; }
.services-blue .section-head-premium p { color: rgba(255,255,255,0.75); }

/* ---- STATS, Red gradient ---- */
.stats-red {
  background: linear-gradient(135deg, #3B82F6 0%, #991B1B 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-red::before {
  content: '';
  position: absolute;
  width: 600px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.stats-red .stats-ent-grid { position: relative; z-index: 2; }
.stats-red .stat-ent { border-right-color: rgba(255,255,255,0.15); }
.stats-red .stat-ent .num {
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats-red .stat-ent .lbl { color: rgba(255,255,255,0.7); }
.stats-red .stat-ent .icon svg { color: rgba(255,255,255,0.8) !important; }

/* ---- INDUSTRIES, Light gray ---- */
.industries-gray {
  background: #F0F9FF;
  padding: 100px 0;
}
.industries-gray .ind-photo-card .ind-photo-overlay {
  background: linear-gradient(to top, rgba(17,24,39,0.9) 0%, rgba(17,24,39,0.3) 50%, transparent 100%);
}
.industries-gray .ind-photo-card:hover .ind-photo-overlay {
  background: linear-gradient(to top, rgba(59,130,246,0.85) 0%, rgba(59,130,246,0.3) 60%, transparent 100%);
}
.industries-gray .section-head-premium h2 { color: #111827; }
.industries-gray .section-head-premium p { color: #64748B; }
.industries-gray .eyebrow-premium {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(153,27,27,0.06));
  border-color: rgba(59,130,246,0.2);
  color: #3B82F6;
}

/* ---- PORTFOLIO, Blue gradient ---- */
.portfolio-blue {
  background: linear-gradient(135deg, #64748B 0%, #374151 100%);
  padding: 100px 0;
}
.portfolio-blue .portfolio-ent-card {
  background: #fff;
  border-color: rgba(255,255,255,0.3);
}
.portfolio-blue .portfolio-ent-card:hover {
  border-color: #3B82F6;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3), 0 0 0 2px rgba(59,130,246,0.4);
}
.portfolio-blue .pe-body { background: #fff; }
.portfolio-blue .pe-company-name { color: #111827; }
.portfolio-blue .pe-company-type { color: #6B7280; }
.portfolio-blue .pe-label { color: #9CA3AF; }
.portfolio-blue .pe-text, .portfolio-blue .pe-solution-text { color: #64748B; }
.portfolio-blue .pe-results { border-top-color: #F1F5F9; }
.portfolio-blue .pe-metric span { color: #9CA3AF; }
.portfolio-blue .pe-tag { background: #F9FAFB; border-color: #D1D5DB; color: #374151; }
.portfolio-blue .section-head-premium h2 { color: #fff; }
.portfolio-blue .section-head-premium p { color: rgba(255,255,255,0.75); }
.portfolio-blue .eyebrow-premium {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}

/* ---- TESTIMONIALS, White, red accents ---- */
.testimonials-white {
  background: #fff;
  padding: 100px 0;
}
.testimonials-white .tl-card {
  background: #F0F9FF;
  border-color: #E5E7EB;
}
.testimonials-white .tl-card:hover {
  border-color: #3B82F6;
  box-shadow: 0 20px 60px rgba(59,130,246,0.1), 0 4px 16px rgba(0,0,0,0.06);
}
.testimonials-white .tl-card.featured-tl {
  background: linear-gradient(135deg, #FEF2F2, #FEE2E2);
  border-color: rgba(59,130,246,0.25);
}
.testimonials-white .tl-quote::before {
  content: '"';
  position: absolute;
  top: 16px; right: 16px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(59,130,246,0.08);
  line-height: 1;
  pointer-events: none;
}
.testimonials-white .tl-card { position: relative; overflow: hidden; }
.testimonials-white .tl-name { color: #111827; }
.testimonials-white .tl-role { color: #6B7280; }
.testimonials-white .tl-quote { color: #374151; font-style: italic; }
.testimonials-white .tl-company-logo { color: #3B82F6 !important; font-weight: 800; }
.testimonials-white .tl-date { color: #9CA3AF; }
.testimonials-white .tl-footer { border-top-color: #E5E7EB; }
.testimonials-white .eyebrow-premium {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(153,27,27,0.06));
  border-color: rgba(59,130,246,0.2);
  color: #3B82F6;
}
.testimonials-white .section-head-premium h2 { color: #111827; }
.testimonials-white .section-head-premium p { color: #64748B; }
.testimonials-white .tl-verified { background: #3B82F6; }
.testimonials-white .tl-company-badge { background: #FEF2F2; color: #3B82F6; border-color: #FECACA; }

/* ---- WHY BRN, White ---- */
.features-white {
  background: #fff;
  padding: 100px 0;
}
.features-white .feature-card-premium { background: #fff; border-color: #E5E7EB; }
.features-white .feature-card-premium:hover {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 20px 60px rgba(59,130,246,0.08), 0 4px 16px rgba(0,0,0,0.06);
}
.features-white .fc-icon { background: #FEF2F2; }
.features-white .fc-icon svg { color: #3B82F6; }
.features-white .feature-card-premium:hover .fc-icon { background: linear-gradient(135deg, #3B82F6, #991B1B); }
.features-white .feature-card-premium:hover .fc-icon svg { color: #fff; }
.features-white .feature-card-premium h3 { color: #111827; }
.features-white .feature-card-premium p { color: #64748B; }
.features-white .eyebrow-premium {
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(30,64,175,0.06));
  border-color: rgba(37,99,235,0.2);
  color: #64748B;
}
.features-white .section-head-premium h2 { color: #111827; }
.features-white .section-head-premium p { color: #64748B; }

/* ---- CONTACT, Blue gradient ---- */
.contact-blue {
  background: linear-gradient(135deg, #64748B 0%, #374151 100%);
  padding: 100px 0;
}
.contact-blue .section-head-premium h2 { color: #fff; }
.contact-blue .section-head-premium p { color: rgba(255,255,255,0.75); }
.contact-blue .eyebrow-premium {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}
.contact-blue .contact-card-premium { background: #fff; border-color: rgba(255,255,255,0.3); }
.contact-blue .contact-card-premium:hover { background: #fff; border-color: #3B82F6; box-shadow: 0 8px 24px rgba(59,130,246,0.2); }
.contact-blue .cc-value { color: #111827; }
.contact-blue .cc-label { color: #6B7280; }
.contact-blue .cc-sub { color: #9CA3AF; }
.contact-blue .booking-widget { background: #fff; border-color: rgba(255,255,255,0.3); }
.contact-blue .booking-widget h4 { color: #111827; }
.contact-blue .booking-widget p { color: #64748B; }
.contact-blue .time-slot { background: #F0F9FF; border-color: #E5E7EB; color: #374151; }
.contact-blue .time-slot:hover, .contact-blue .time-slot.selected { background: #3B82F6; color: #fff; border-color: #3B82F6; }
.contact-blue .book-btn { background: linear-gradient(135deg, #3B82F6, #991B1B); }
.contact-blue .book-btn:hover { box-shadow: 0 8px 24px rgba(59,130,246,0.4); }

/* ---- CTA FINAL, Dark blue ---- */
.cta-dark-blue {
  background: linear-gradient(135deg, #1E3A5F 0%, #1F2937 50%, #1E3A5F 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-dark-blue::before {
  content: '';
  position: absolute;
  width: 900px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(59,130,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-dark-blue .cta-premium-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta-dark-blue h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.cta-dark-blue p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 36px; }
.cta-dark-blue .cta-premium-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER, Dark blue ---- */
.footer-dark-blue {
  background: #1E3A5F !important;
}
.footer-dark-blue .footer-col a:hover,
.footer-dark-blue .footer-contact a:hover,
.footer-dark-blue .footer-bottom-links a:hover { color: #3B82F6 !important; }
.footer-dark-blue .footer-res-link:hover { background: rgba(59,130,246,0.2) !important; border-color: rgba(59,130,246,0.4) !important; }


/* ==========================================================================
   HERO WHITE OVERRIDES, Fix all white text on white background
   High-specificity rules that beat the base .hero-ent-* white color rules
   ========================================================================== */
.hero-enterprise.hero-white .hero-ent-headline { color: #111827 !important; }
.hero-enterprise.hero-white .hero-ent-sub { color: #64748B !important; }
.hero-enterprise.hero-white .hsp-text { color: #6B7280 !important; }
.hero-enterprise.hero-white .hsp-text strong { color: #111827 !important; }
.hero-enterprise.hero-white .htb { color: #374151 !important; background: rgba(37,99,235,0.06) !important; border-color: rgba(37,99,235,0.15) !important; }
.hero-enterprise.hero-white .hero-social-proof { border-top-color: #E5E7EB !important; }

/* Metric pills, keep dark text on white bg since pills have own bg */
.hero-enterprise.hero-white .metric-pill { background: #fff !important; border-color: #E5E7EB !important; box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important; }
.hero-enterprise.hero-white .metric-pill .mp-label { color: #6B7280 !important; }
.hero-enterprise.hero-white .metric-pill .mp-value { color: #111827 !important; }
.hero-enterprise.hero-white .metric-pill .mp-delta { color: #3B82F6 !important; }

/* Trust strip badges */
.hero-enterprise.hero-white .hero-trust-strip .htb svg { color: #3B82F6 !important; }
.hero-enterprise.hero-white .hero-trust-strip .htb .dot { background: #3B82F6 !important; box-shadow: 0 0 6px rgba(59,130,246,0.5) !important; }

/* Gradient word, red/blue on white */
.hero-enterprise.hero-white .hero-ent-headline .word-blue {
  background: linear-gradient(135deg, #3B82F6 0%, #991B1B 40%, #374151 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

/* ==========================================================================
   LOGOS RED SECTION, Text visibility fixes
   ========================================================================== */
.logos-red .logo-text { color: #fff !important; filter: none !important; opacity: 0.5; }
.logos-red .logo-item:hover .logo-text { opacity: 1 !important; filter: none !important; }
.logos-red .logos-label { color: rgba(255,255,255,0.75) !important; }

/* ==========================================================================
   STATS RED SECTION, Content visibility
   ========================================================================== */
.stats-red .stat-ent .num {
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
.stats-red .stat-ent .lbl { color: rgba(255,255,255,0.75) !important; }
.stats-red .stat-ent { border-right-color: rgba(255,255,255,0.2) !important; }
.stats-red .stat-ent .icon svg { stroke: rgba(255,255,255,0.85) !important; color: rgba(255,255,255,0.85) !important; }

/* ==========================================================================
   SERVICES BLUE, Ensure white card text is dark/readable
   ========================================================================== */
.services-blue .section-head-premium.on-dark h2 { color: #fff !important; }
.services-blue .section-head-premium.on-dark p { color: rgba(255,255,255,0.78) !important; }
.services-blue .section-head-premium.on-dark .eyebrow-premium { color: rgba(255,255,255,0.9) !important; background: rgba(255,255,255,0.12) !important; border-color: rgba(255,255,255,0.2) !important; }
.services-blue .bento-card h3 { color: #111827 !important; }
.services-blue .bento-card p { color: #64748B !important; }

/* ==========================================================================
   INDUSTRIES GRAY, Section head text
   ========================================================================== */
.industries-gray .section-head-premium h2 { color: #111827 !important; }
.industries-gray .section-head-premium p { color: #64748B !important; }

/* ==========================================================================
   PORTFOLIO BLUE, Section head + card text
   ========================================================================== */
.portfolio-blue .section-head-premium h2 { color: #fff !important; }
.portfolio-blue .section-head-premium p { color: rgba(255,255,255,0.75) !important; }
.portfolio-blue .pe-company-name { color: #111827 !important; }
.portfolio-blue .pe-text, .portfolio-blue .pe-solution-text { color: #64748B !important; }
.portfolio-blue .pe-label { color: #9CA3AF !important; }
.portfolio-blue .pe-metric span { color: #6B7280 !important; }

/* ==========================================================================
   TESTIMONIALS WHITE, Card text visibility
   ========================================================================== */
.testimonials-white .tl-name { color: #111827 !important; }
.testimonials-white .tl-role { color: #6B7280 !important; }
.testimonials-white .tl-quote { color: #374151 !important; }
.testimonials-white .section-head-premium h2 { color: #111827 !important; }
.testimonials-white .section-head-premium p { color: #64748B !important; }

/* ==========================================================================
   FEATURES WHITE, Card text
   ========================================================================== */
.features-white .feature-card-premium h3 { color: #111827 !important; }
.features-white .feature-card-premium p { color: #64748B !important; }
.features-white .section-head-premium h2 { color: #111827 !important; }
.features-white .section-head-premium p { color: #64748B !important; }

/* ==========================================================================
   CONTACT BLUE, Section head
   ========================================================================== */
.contact-blue .section-head-premium h2 { color: #fff !important; }
.contact-blue .section-head-premium p { color: rgba(255,255,255,0.75) !important; }

/* ==========================================================================
   CTA DARK BLUE, Text
   ========================================================================== */
.cta-dark-blue h2 { color: #fff !important; }
.cta-dark-blue p { color: rgba(255,255,255,0.65) !important; }

/* ==========================================================================
   GLOBAL: Ensure .reveal elements are visible once .in-view is added
   Also fix: sections with background color should not hide content due to
   opacity:0 on .reveal if IntersectionObserver fails
   ========================================================================== */
.stats-red .stat-ent,
.logos-red .logo-item,
.logos-red .logos-label {
  /* These don't use .reveal class, ensure always visible */
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   REVEAL ANIMATION FAILSAFE
   If JS never fires IntersectionObserver, show all content after 3s delay
   Also ensure critical above-fold hero content is NEVER hidden
   ========================================================================== */
.hero-enterprise .hero-ent-headline,
.hero-enterprise .hero-ent-sub,
.hero-enterprise .hero-ent-ctas,
.hero-enterprise .hero-trust-strip,
.hero-enterprise .hero-social-proof,
.hero-enterprise .hero-visual-ent,
.logos-section .logos-label,
.logos-section .logos-grid,
.stats-enterprise .stats-ent-grid {
  /* Above-fold / critical sections: never hidden */
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* CSS animation fallback for .reveal elements, show after 3.5s regardless */
@keyframes revealFallback {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: revealFallback 0.6s ease 3.5s both;
}
/* When JS adds .in-view, override the animation immediately */
.reveal.in-view {
  animation: none !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ==========================================================================
   CASE STUDIES PAGE, Fix metric numbers visibility
   ========================================================================== */
.cs-card .cs-metrics div strong {
  background: linear-gradient(135deg, #3B82F6, #991B1B) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  display: block !important;
}
.cs-card .cs-metrics div span {
  font-size: 0.72rem !important;
  color: #6B7280 !important;
  display: block !important;
}
.cs-card .cs-metrics {
  display: flex !important;
  gap: 20px !important;
  padding-top: 16px !important;
  border-top: 1px solid #E5E7EB !important;
  margin-top: 16px !important;
}

/* Case studies page stat counters */
.case-studies-stats .stat-item strong,
.stats-grid strong {
  background: linear-gradient(135deg, #3B82F6, #991B1B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Fix counter 0 issue on case-studies page, show initial value */
[data-counter] { min-width: 1ch; }

/* ==========================================================================
   COUNTER ANIMATION STYLES
   ========================================================================== */
@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.stat-ent .num.counting {
  animation: countPulse 0.15s ease infinite;
  opacity: 0.9;
}
.stat-ent .num.counted {
  animation: countPulse 0.3s ease 1;
}

/* Ensure stats are ALWAYS visible, override reveal opacity */
.stats-red .stat-ent .num,
.stats-enterprise .stat-ent .num {
  opacity: 1 !important;
  transform: none !important;
}
.stats-red .stats-ent-grid,
.stats-enterprise .stats-ent-grid {
  opacity: 1 !important;
}

/* ==========================================================================
   WIPRO-STYLE NAV, Final overrides to remove pill backgrounds
   ========================================================================== */
.site-header .nav-main .nav-link,
.site-header .nav-main .nav-link:hover,
.site-header .nav-main .nav-link.is-active {
  background: none !important;
  border-radius: 0 !important;
}
.site-header .nav-main .nav-link:hover { color: #3B82F6 !important; }
.site-header .nav-main .nav-link.is-active { color: #3B82F6 !important; }
.site-header .nav-main a:visited:not(.is-active) { color: #111827 !important; }
.site-header .nav-main a.is-active:visited { color: #3B82F6 !important; }

/* ==========================================================================
   HERO PHOTO CARD, replaces the dashboard panel
   ========================================================================== */
.hero-photo-card {
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(15,35,71,0.85);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 60px rgba(59,130,246,0.1);
  animation: cxFloat 7s ease-in-out infinite;
}

/* Top bar, same as old cx-panel header */
.hero-photo-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Photo container */
.hero-photo-img-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.hero-photo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 8s ease;
}
.hero-photo-card:hover .hero-photo-img-wrap img {
  transform: scale(1.04);
}
.hero-photo-overlay {
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background: linear-gradient(
    to bottom,
    rgba(5,13,31,0.1) 0%,
    rgba(5,13,31,0.0) 50%,
    rgba(5,13,31,0.7) 100%
  );
}

/* Stats strip at bottom */
.hero-photo-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px 24px;
  background: rgba(5,13,31,0.9);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hps-item {
  flex: 1;
  text-align: center;
}
.hps-val {
  display: block;
  font-family: var(--font-data);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 3px;
}
.hps-chg {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.hps-chg.up { color: #34d399; }
.hps-chg.dn { color: #f87171; }
.hps-lbl {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hps-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* Keep metric pills working on white hero */
.hero-enterprise.hero-white .hero-photo-card {
  box-shadow:
    0 40px 100px rgba(37,99,235,0.18),
    0 4px 24px rgba(0,0,0,0.12),
    0 0 0 1px rgba(37,99,235,0.12);
}

/* ==========================================================================
   COUNTER, Always visible, never blocked by .reveal opacity:0
   ========================================================================== */

/* Stats sections, always fully visible */
.stats-enterprise,
.stats-red,
.stats-ent-grid,
.stat-ent,
.stat-ent .num,
.stat-ent .lbl,
.stat-ent .icon,
.stats-grid,
.stat-item,
.stat-item strong {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Counting pulse */
@keyframes numPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.stat-ent .num.counting,
.stat-item strong.counting {
  animation: numPulse 0.12s ease infinite !important;
}
.stat-ent .num.counted,
.stat-item strong.counted {
  animation: numPulse 0.35s ease 1 !important;
}

/* Case studies stats band, force visibility */
.sec-blue .stats-grid,
.sec-blue .stat-item,
.sec-blue .stat-item strong {
  opacity: 1 !important;
}
