/* ==========================================================================
   PIXELCLOUD TECHNOLOGIES - CORPORATE CONSULTING STYLESHEET
   Inspired by Capco Design Language (Clean White, Editorial Grid, Crisp Typography)
   ========================================================================== */

:root {
  /* Core White & Neutral Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Typography Colors */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Pixelcloud Signature Gradients & Accents (derived from logo) */
  --brand-cyan: #00d2ff;
  --brand-blue: #0066ff;
  --brand-violet: #8a2be2;
  --brand-purple: #7928ca;
  --brand-gradient: linear-gradient(135deg, #00c6ff 0%, #0066ff 52%, #8a2be2 100%);
  --brand-gradient-hover: linear-gradient(135deg, #00b4ea 0%, #0052cc 52%, #7928ca 100%);
  --brand-subtle-glow: rgba(0, 102, 255, 0.08);

  /* Status Colors */
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;

  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-focus: #cbd5e1;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 24px 45px -12px rgba(0, 102, 255, 0.16), 0 8px 18px -6px rgba(138, 43, 226, 0.12);

  /* Dimensions & Spacing */
  --header-height: 84px;
  --topbar-height: 40px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-body);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  background-color: var(--bg-primary);
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Headings & Display */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

p {
  color: var(--text-body);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-fluid {
  width: 100%;
  padding: 0 2rem;
}

/* Gradient Text Utility */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Section Common Styling */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.18);
  border-radius: var(--radius-full);
  color: var(--brand-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.section-header h2 {
  margin-bottom: 1.2rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 102, 255, 0.38);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}

.btn-outline:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20b859;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

.btn-call {
  background-color: #0f172a;
  color: #ffffff;
}

.btn-call:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
}

/* ==========================================================================
   TOP BAR (Landline & Fast Contact)
   ========================================================================== */
.top-bar {
  background-color: #0f172a;
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #e2e8f0;
  transition: color var(--transition-fast);
}

.top-item:hover {
  color: var(--brand-cyan);
}

.top-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.top-highlight {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.top-badge {
  background: rgba(37, 211, 102, 0.2);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot-anim 1.8s infinite;
}

@keyframes pulse-dot-anim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   NAVIGATION HEADER (Capco Minimal White Sticky)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 52px;
  width: 213px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--brand-blue);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-tertiary);
  transition: all var(--transition-fast);
}

.header-phone-link:hover {
  background: rgba(0, 102, 255, 0.1);
  color: var(--brand-blue);
}

.header-phone-link svg {
  width: 16px;
  height: 16px;
  fill: var(--brand-blue);
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--text-main);
  margin: 6px 0;
  transition: all var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION (Capco-Style Bold Editorial + Dynamic Canvas)
   ========================================================================== */
.hero {
  position: relative;
  padding: 5rem 0 6rem 0;
  background: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 102, 255, 0.05);
  border: 1px solid rgba(0, 102, 255, 0.15);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.hero-badge-tag {
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.12;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-body);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.hero-call-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-left: 3px solid var(--brand-cyan);
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-call-info .call-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.hero-call-info .call-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.hero-call-info .call-number:hover {
  color: var(--brand-blue);
}

/* Hero Visual Card */
.hero-visual-col {
  position: relative;
}

.hero-card-stack {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  transition: transform var(--transition-normal);
}

.hero-card-stack:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hero-image-wrap {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-card-stack:hover .hero-image-wrap img {
  transform: scale(1.04);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.65) 100%);
}

.hero-card-glass-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

.hero-badge-stat {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.hero-badge-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Metrics / Stats Banner */
.stats-banner {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  padding: 0 1.5rem;
  border-right: 1px solid var(--border-subtle);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.stat-number span.accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   CAPCO-STYLE STRATEGY & CAPABILITIES SPLIT
   ========================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-body);
}

.about-highlights-list {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-highlight-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-blue);
  margin-top: 0.15rem;
}

.about-highlight-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.about-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image-card:hover img {
  transform: scale(1.03);
}

.about-floating-pill {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   SERVICES GRID (Interactive Cards with Brand Gradient Accents)
   ========================================================================== */
.services-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.tab-btn.active {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.25);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 255, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 198, 255, 0.12), rgba(121, 40, 202, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  margin-bottom: 1.75rem;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(2deg);
  background: var(--brand-gradient);
  color: #ffffff;
}

.service-icon-box svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-feature-item {
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-feature-item::before {
  content: '✓';
  color: var(--brand-cyan);
  font-weight: 800;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-blue);
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   INTERACTIVE CLOUD READINESS / ROI ESTIMATOR (Engaging Tech Feature)
   ========================================================================== */
.calculator-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-form-group {
  margin-bottom: 1.75rem;
}

.calc-label {
  display: block;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.calc-option-btn {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-body);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.calc-option-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.calc-option-btn.selected {
  background: #ffffff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.calc-results-panel {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.calc-results-title {
  color: #94a3b8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.calc-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

.calc-metric-label {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.calc-metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-cyan);
}

.calc-cta-box {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ==========================================================================
   CASE STUDIES & IMPACT SHOWCASE (Capco Signature)
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.case-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.case-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card:hover .case-img-wrap img {
  transform: scale(1.06);
}

.case-industry-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.case-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.case-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.case-stats-badge-row {
  display: flex;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.case-stat-badge {
  flex: 1;
}

.case-stat-badge .stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
}

.case-stat-badge .stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   PARTNER & TECH LOGO MARQUEE
   ========================================================================== */
.marquee-container {
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
}

.marquee-container::before, .marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(-90deg, #ffffff, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: marquee-anim 28s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.marquee-item:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

@keyframes marquee-anim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   LOCATION & BENGALURU HEADQUARTERS SECTION
   ========================================================================== */
.location-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.location-details h3 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.location-address-box {
  margin: 1.75rem 0;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-left: 4px solid var(--brand-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.address-line {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.address-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.location-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.contact-row-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact-row-text a, .contact-row-text span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-row-text a:hover {
  color: var(--brand-blue);
}

.map-embed-wrapper {
  position: relative;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   CONTACT FORM & CONSULTATION INTAKE
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info-col h2 {
  margin-bottom: 1.2rem;
}

.contact-info-col p {
  margin-bottom: 2rem;
  color: var(--text-body);
}

.landline-cta-card {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.06), rgba(138, 43, 226, 0.06));
  border: 1.5px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2rem;
}

.landline-cta-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.landline-cta-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.landline-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-blue);
  transition: all var(--transition-fast);
}

.landline-phone-btn:hover {
  transform: translateX(4px);
  color: var(--brand-violet);
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 0.98rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-main);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   WHATSAPP INSTANT CHAT WIDGET
   ========================================================================== */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}

.whatsapp-trigger-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-normal);
  position: relative;
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-trigger-btn svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.7;
  animation: wa-ring-pulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes wa-ring-pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-badge-pill {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background-color: #ef4444;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-chat-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25), 0 0 1px 1px rgba(0,0,0,0.06);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-normal);
  transform-origin: bottom right;
}

.whatsapp-chat-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-popup-header {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  color: #ffffff;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.wa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wa-title h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.wa-title span {
  font-size: 0.78rem;
  color: #dcf8c6;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.wa-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  opacity: 0.8;
  font-size: 1.2rem;
}

.wa-close-btn:hover {
  opacity: 1;
}

.wa-popup-body {
  padding: 1.25rem;
  background: #efeae2;
  background-image: radial-gradient(#d1d7db 1px, transparent 1px);
  background-size: 12px 12px;
  max-height: 380px;
  overflow-y: auto;
}

.wa-bubble-msg {
  background: #ffffff;
  padding: 0.9rem 1.1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
  font-size: 0.9rem;
  color: #111b21;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  line-height: 1.5;
  position: relative;
}

.wa-prompt-chips {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wa-chip {
  background: #ffffff;
  border: 1px solid #d1d7db;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.84rem;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.wa-chip:hover {
  background: #f0fdf4;
  border-color: #25D366;
  color: #15803d;
}

.wa-input-row {
  display: flex;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-subtle);
}

.wa-input-field {
  flex: 1;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  outline: none;
}

.wa-input-field:focus {
  border-color: #25D366;
}

.wa-send-btn {
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.wa-send-btn:hover {
  background: #20b859;
  transform: scale(1.05);
}

.wa-send-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

/* ==========================================================================
   FOOTER (Capco High-End Clean Architecture)
   ========================================================================== */
.site-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  max-width: 320px;
}

.footer-logo-wrap {
  display: inline-block;
  background: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
}

.footer-logo-wrap img {
  height: 38px;
  width: 156px;
  object-fit: cover;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-cyan);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--brand-cyan);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #ffffff;
  font-weight: 700;
}

.footer-contact-item a:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   ANIMATIONS & REVEAL CLASSES
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Interactive Hover Glows */
.hover-glow {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-glow:hover {
  box-shadow: 0 15px 35px rgba(0, 102, 255, 0.15);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .services-grid, .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split, .calculator-card, .location-card-grid, .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .hamburger-btn {
    display: block;
  }

  .header-phone-link {
    display: none;
  }

  .hero {
    padding: 3rem 0 4rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .services-grid, .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .calc-options-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-floating-widget {
    bottom: 20px;
    right: 20px;
  }
}

/* Keep the supplied full-width logo readable at every breakpoint. */
.brand-logo-wrap { flex-shrink: 0; }
.brand-logo { flex-shrink: 0; }
@media (min-width: 769px) and (max-width: 1200px) {
 .nav-menu { gap: 0.8rem; }
 .header-phone-link { display: none; }
}
@media (max-width: 600px) {
 .navbar { flex-wrap: wrap; gap: 0.75rem; }
 .nav-actions { width: 100%; justify-content: space-between; }
 .site-header .container { padding-top: 0.75rem; padding-bottom: 0.75rem; }
 .whatsapp-chat-popup { width: min(360px, calc(100vw - 40px)); }
 .wa-input-field { min-width: 0; }
 .calculator-card, .location-card-grid, .contact-section-grid, .about-split { min-width: 0; }
 .calculator-card > *, .location-card-grid > *, .contact-section-grid > * { min-width: 0; }
 .contact-row-text, .footer-contact-item { overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
 .about-split > * { min-width: 0; }
 .about-text > div:last-child, .location-card-grid > div > div:last-child { flex-wrap: wrap; }
 .about-floating-pill { max-width: calc(100% - 32px); white-space: normal; }
 .hero-card-glass-badge { gap: 0.5rem; padding: 0.75rem; }
 .hero-card-glass-badge > div { min-width: 0; }
 .hero-badge-text { overflow-wrap: anywhere; }
}
@media (max-width: 768px) {
 .nav-menu { position: absolute; top: 100%; height: calc(100dvh - 170px); }
}
@media (max-width: 360px) {
 .site-header .container { padding-left: 24px; padding-right: 24px; }
 .hero-call-info { padding: 1rem; }
}
@media (max-width: 600px) {
 .contact-info-col .btn-whatsapp { white-space: normal; }
}
