:root {
  /* Color Palette - Premium Corporate Tech (Light Theme) */
  --ink: #0B1220;            /* darkest navy — footer & dark buttons */
  --ink-soft: #15203A;
  --bg-light: #EEF2F8;       /* light slate — alternating sections, chips, tags */
  --bg-pure: #FFFFFF;        /* cards / surfaces */
  --primary: #0F172A;        /* headings / primary dark text */
  --primary-soft: #1E293B;
  --teal: #0E8FB0;           /* brand accent, readable on white */
  --teal-text: #0A6E8A;      /* darker teal for small text — passes WCAG AA (≥4.5:1) on light bg */
  --teal-bright: #06B6D4;
  --teal-soft: rgba(14, 143, 176, 0.10);
  --orange: #F0571F;         /* CTA accent */
  --orange-soft: rgba(240, 87, 31, 0.10);
  --line: rgba(15, 23, 42, 0.10);
  --line-dark: rgba(15, 23, 42, 0.18);

  --text: #334155;
  --text-soft: #5B6878;
  --text-muted: #94A3B8;
  --text-on-ink: #FFFFFF;
  --text-on-ink-soft: #C5CFDD;

  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Menlo, Consolas, monospace;

  /* Gradients */
  --grad-text: linear-gradient(120deg, #0F172A 0%, #0E8FB0 100%);
  --grad-accent: linear-gradient(135deg, #F0571F 0%, #FF8A4C 100%);
  --grad-teal: linear-gradient(135deg, #0E8FB0 0%, #2563EB 100%);
  --grad-dark: linear-gradient(135deg, #0B1220 0%, #15203A 100%);
  
  /* Layout Tokens */
  --r-pill: 9999px;
  --r-card: 24px;
  --r-input: 12px;
  --pad-x: 6%;
  --header-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg-pure);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-pure);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

img {
  max-width: 100%;
}

::selection {
  background: var(--teal);
  color: var(--ink);
}

/* Premium custom scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-dark) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: #2a3344;
  border-radius: 10px;
  border: 2px solid var(--ink);
}

::-webkit-scrollbar-thumb:hover {
  background: #3a4660;
}

/* Container & Sections */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-sm {
  padding: 80px 0;
  position: relative;
}

/* Section surface for visual rhythm: white body < .bg-light slate < white cards */
.bg-light {
  background-color: var(--bg-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bg-ink {
  background-color: var(--ink);
  background-image: var(--grad-dark);
  color: var(--text-on-ink);
}

.bg-ink .t-eyebrow {
  color: var(--teal);
}

.bg-ink .h-display, .bg-ink h2, .bg-ink h3 {
  color: var(--text-on-ink);
}

.bg-ink p {
  color: var(--text-on-ink-soft);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -0.015em;
}

.h-display {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.serif-italic {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
  -webkit-text-fill-color: initial;
}

.t-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--teal-text);
  display: block;
  margin-bottom: 18px;
}

.lead-text {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: var(--text-soft);
  max-width: 700px;
  line-height: 1.6;
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 13px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 15px;
}

.btn-accent {
  background: var(--grad-accent);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(255, 111, 67, 0.25);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(255, 111, 67, 0.35);
}

.btn-secondary {
  background-color: var(--ink);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.btn-secondary:hover {
  background-color: var(--ink-soft);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.28);
}

.btn-outline {
  border-color: var(--line-dark);
  background-color: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

/* Interactive Spotlight */
.gradient-mesh-animated {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 168, 181, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(255, 111, 67, 0.06) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.hero-spotlight {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 168, 181, 0.1) 0%, rgba(255, 111, 67, 0.03) 60%, transparent 100%);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.cc-halo {
  position: fixed;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 168, 181, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

@media (pointer: fine) {
  .cc-halo {
    display: block;
  }
}

/* Header & WordPress Navigation Menu */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  height: 52px;
  max-width: 250px;
}

.brand-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* WordPress ul > li > a Menu styling */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-soft);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transition: all var(--transition-fast);
  display: inline-block;
  white-space: nowrap;
}

.nav-menu li a:hover {
  background-color: rgba(15, 23, 42, 0.05);
  color: var(--teal-text);
}

.nav-menu li.current-menu-item a {
  background-color: rgba(0, 242, 254, 0.1);
  color: var(--teal-text);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  color: var(--teal);
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .header-ctas .btn-sm {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* Mobile Navigation Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 2000;
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.18);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

.mobile-menu-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.drawer-logo img {
  height: 38px;
  width: auto;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 32px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: all var(--transition-fast);
}

.drawer-close:hover {
  color: var(--orange);
  transform: rotate(90deg);
}

.drawer-content {
  flex-grow: 1;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow-y: auto;
}

.mobile-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-menu li a {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.mobile-nav-menu li a:hover {
  background-color: rgba(15, 23, 42, 0.04);
  color: var(--teal-text);
  padding-left: 20px;
}

.mobile-nav-menu li.current-menu-item a {
  background-color: rgba(0, 242, 254, 0.08);
  color: var(--teal-text);
}

.drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-contact-info {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  font-size: 13.5px;
  color: var(--text-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Drawer Backdrop Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero-section {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content .h-display {
  margin-top: 15px;
  margin-bottom: 25px;
}

.hero-content p {
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 45px;
}

.hero-trust-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--bg-pure);
  padding: 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.trust-badge-item svg {
  color: var(--teal);
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 6% -6% -6% 6%;
  border-radius: var(--r-card);
  border: 2px solid var(--teal);
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

.hero-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-card);
  box-shadow: 0 30px 80px rgba(8, 8, 12, 0.15), 0 0 0 1px var(--line);
  position: relative;
  z-index: 1;
}

.hero-floating-badge {
  position: absolute;
  background: var(--primary);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(8, 8, 12, 0.18);
  z-index: 3;
}

.badge-top-left {
  top: 20px;
  left: 20px;
  background: rgba(8, 8, 12, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-top-left .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.badge-top-right {
  top: -20px;
  right: -10px;
  text-align: center;
}

.badge-top-right .label {
  font-size: 9px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--text-on-ink-soft);
  font-weight: 600;
  margin-bottom: 2px;
}

.badge-top-right .value {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
}

.badge-bottom-left {
  bottom: -25px;
  left: -20px;
  background: var(--bg-pure);
  border: 1px solid var(--line);
  color: var(--primary);
  min-width: 190px;
}

.badge-bottom-left .header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.badge-bottom-left .icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.badge-bottom-left .title {
  font-size: 9px;
  font-family: var(--font-mono);
  color: var(--text-soft);
  font-weight: 700;
}

.badge-bottom-left .value {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--primary);
}

.badge-bottom-left .desc {
  font-size: 10px;
  color: var(--text-soft);
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-graphic {
    margin-top: 50px;
  }
  .hero-image-wrapper {
    max-width: 440px;
  }
}

/* Metrics row */
.trust-bar-section {
  border-bottom: 1px solid var(--line);
  background-color: var(--bg-pure);
}

.metrics-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0;
  gap: 40px;
}

.metric-item {
  flex: 1 1 200px;
  text-align: center;
}

.metric-number {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  font-weight: 700;
}

/* Services Pillars cards with Hover details */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 30px;
}

.pillar-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 50px 40px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(8, 8, 12, 0.01);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--line);
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(18, 38, 63, 0.08);
  border-color: rgba(18, 38, 63, 0.12);
}

.pillar-card:hover::before {
  background: var(--grad-accent);
}

.pillar-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--bg-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  font-size: 28px;
  transition: all var(--transition-normal);
}

.pillar-card:hover .pillar-card-icon {
  background: var(--teal-soft);
  transform: scale(1.08) rotate(5deg);
}

.pillar-card-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--primary);
}

.pillar-card-desc {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pillar-card-techs {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.pillar-card-techs-title {
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 700;
}

.pillar-card-techs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: var(--bg-light);
  color: var(--primary-soft);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

/* E-Commerce / Sub services */
.services-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-item-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(8, 8, 12, 0.01);
}

.service-item-card:hover {
  border-color: var(--teal);
  box-shadow: 0 15px 35px rgba(0, 168, 181, 0.06);
  transform: translateY(-3px);
}

.service-item-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-item-card-desc {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Industry Expertise Visual Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.industry-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.industry-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255, 111, 67, 0.05);
}

.industry-card-icon {
  font-size: 30px;
  color: var(--orange);
  margin-bottom: 24px;
}

.industry-card-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.industry-card-solutions {
  list-style: none;
  font-size: 13.5px;
  color: var(--text-soft);
}

.industry-card-solutions li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.industry-card-solutions li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

/* Portfolio grid with clean outcome metrics */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 30px;
}

.portfolio-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(8, 8, 12, 0.01);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(8, 8, 12, 0.08);
  border-color: var(--teal);
}

.portfolio-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background-color: var(--primary);
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

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

.portfolio-card-content {
  padding: 35px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  font-weight: 700;
}

.portfolio-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.portfolio-card-desc {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 25px;
  flex-grow: 1;
  line-height: 1.6;
}

.portfolio-card-result {
  margin-top: auto;
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
}

.portfolio-card-result.orange-style {
  background: var(--orange-soft);
  border-left-color: var(--orange);
}

.portfolio-card-result .result-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.portfolio-card-result .result-label {
  font-size: 11.5px;
  color: var(--text-soft);
  font-weight: 500;
}

/* Process section styled Visual Journey */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  position: relative;
  margin-top: 60px;
}

.process-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 35px;
  position: relative;
  transition: all var(--transition-normal);
}

.process-card:hover {
  border-color: var(--teal);
  box-shadow: 0 20px 45px rgba(0, 168, 181, 0.04);
}

.process-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--teal);
  background: var(--teal-soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.process-card:nth-child(even) .process-number {
  color: var(--orange);
  background: var(--orange-soft);
}

.process-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.process-desc {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Detailed, Engagement-Focused Corporate Footer */
footer {
  border-top: 1px solid var(--line);
}

.footer-top {
  padding: 100px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 0.9fr);
  gap: 50px;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer-brand-col .logo img {
  height: 52px;
  width: auto;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: var(--text-soft);
  max-width: 300px;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 800;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-soft);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--teal);
  padding-left: 5px;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 18px;
  line-height: 1.5;
}

.footer-info-item svg {
  color: var(--teal);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  color: var(--text-soft);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--teal);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 35px 0;
  background: var(--bg-light);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-trust-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-trust-badge {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
}

/* Floating WhatsApp widget */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  color: #FFFFFF;
  font-size: 30px;
  z-index: 999;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.12) rotate(10deg);
  background: #20ba5a;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.55);
}

.sticky-enquiry-btn {
  position: fixed;
  right: -55px;
  top: 50%;
  transform: rotate(-90deg) translateY(-50%);
  background: #C2410C; /* deeper orange — white text passes WCAG AA at this size */
  color: #FFFFFF;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 8px 8px 0 0;
  z-index: 998;
  box-shadow: 0 -5px 20px rgba(255, 111, 67, 0.2);
  transition: all var(--transition-fast);
}

.sticky-enquiry-btn:hover {
  background: #E0562D;
  padding-bottom: 16px;
}

/* Footer Newsletter Styling */
.footer-newsletter-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 30px;
  width: 100%;
}

@media (max-width: 768px) {
  .footer-newsletter-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

.newsletter-info {
  flex-grow: 1;
}

.newsletter-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.newsletter-desc {
  font-size: 13.5px;
  color: var(--text-soft);
  max-width: 580px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  border-radius: var(--r-pill);
  color: #FFFFFF;
  font-size: 13.5px;
  flex-grow: 1;
  outline: none;
  transition: all var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
}

/* Page Hero Section */
.page-hero {
  padding: 160px 0 80px;
  background-color: var(--bg-light);
  background-image: linear-gradient(180deg, #FFFFFF 0%, var(--bg-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(14, 143, 176, 0.10) 0%, transparent 55%),
              radial-gradient(circle at 85% 100%, rgba(240, 87, 31, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero .t-eyebrow {
  color: var(--teal-text);
  font-family: var(--font-mono);
}

.page-hero .h-display {
  margin-top: 15px;
  margin-bottom: 20px;
}

.page-hero p {
  color: var(--text-soft);
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

/* Responsive Grid Classes for Pages */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-infra-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sidebar-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

@media (max-width: 991px) {
  .about-story-grid,
  .about-infra-grid,
  .contact-main-grid,
  .sidebar-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .about-vision-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Form Controls & Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 14px 20px;
  background-color: #F8FAFC;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-input);
  color: var(--primary);
  font-family: inherit;
  font-size: 14.5px;
  transition: all var(--transition-fast);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px var(--teal-soft);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-soft);
  margin-bottom: 8px;
  display: block;
}

.form-group {
  margin-bottom: 24px;
}

/* Hubs Section Grid & Cards */
.hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 30px;
  margin-top: 40px;
}

.hub-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hub-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.04);
}

.hub-header {
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}

.hub-city {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.hub-positioning {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.hub-body {
  margin-bottom: 30px;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.6;
  flex-grow: 1;
}

.hub-body p {
  margin-bottom: 12px;
}

.hub-body strong {
  color: var(--primary);
}

.hub-map {
  border-radius: 16px;
  overflow: hidden;
  height: 200px;
  border: 1px solid var(--line);
}

.hub-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Exit Intent Popup Modal */
.exit-intent-popup {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.exit-intent-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 50px 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.exit-intent-popup.active .popup-card {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.popup-close:hover {
  color: var(--orange);
}

.popup-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
  line-height: 1.25;
}

.popup-desc {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 30px;
}

/* =====================================================================
   ADDED: Component styles for previously-unstyled template sections
   (section headers, tech tabs, CTA banner, blog, careers, filters,
   listing grids, pagination, accessibility & responsive refinements)
   ===================================================================== */

/* Utility */
.hide-mobile { display: flex; }

/* Section Headers */
.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
}

.section-header .lead-text {
  color: var(--text-soft);
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.section-header-flex .section-header {
  margin-bottom: 0;
}

.section-header-flex .lead-text {
  font-size: 1.05rem;
  color: var(--text-soft);
}

@media (max-width: 768px) {
  .section-header-flex {
    align-items: flex-start;
    gap: 24px;
  }
}

/* Technology Showcase Tabs */
.tech-tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.tech-tab-headers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.tech-tab-btn {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tech-tab-btn:hover {
  border-color: var(--line-dark);
  color: var(--primary);
}

.tech-tab-btn.active {
  background: var(--grad-teal);
  border-color: transparent;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.18);
}

.tech-tab-content {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
  animation: tabFade 0.4s var(--ease);
}

.tech-tab-content.active {
  display: grid;
}

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

.tech-showcase-item {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-normal);
}

.tech-showcase-item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  flex-shrink: 0;
}

.tech-showcase-item:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 16px 32px rgba(0, 242, 254, 0.06);
}

/* Conversion CTA Banner */
.cta-banner-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  background-image: radial-gradient(circle at 85% 15%, rgba(0, 242, 254, 0.14) 0%, transparent 45%),
                    radial-gradient(circle at 10% 90%, rgba(255, 111, 67, 0.12) 0%, transparent 45%);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-card);
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.cta-banner-content .h-display {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 12px 0 18px;
}

.cta-banner-content p {
  color: var(--text-on-ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 35px;
}

/* Portfolio Filter Buttons */
.portfolio-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.filter-btn {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--primary);
  border-color: var(--line-dark);
}

.filter-btn.active {
  background: var(--grad-accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 111, 67, 0.22);
}

/* Careers — Job Listings */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 32px;
  transition: all var(--transition-normal);
}

.job-row:hover {
  border-color: var(--teal);
  transform: translateX(4px);
  box-shadow: 0 16px 36px rgba(0, 242, 254, 0.05);
}

.job-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.job-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tag {
  background: var(--bg-light);
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

@media (max-width: 576px) {
  .job-row { flex-direction: column; align-items: flex-start; }
  .job-row .btn { width: 100%; }
}

/* Contact / Application Form Container */
.contact-form-container {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(28px, 4vw, 45px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Blog Grid & Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 30px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 28px 56px rgba(8, 8, 12, 0.08);
}

.blog-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-light);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

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

.blog-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--primary);
}

.blog-card-title a:hover { color: var(--teal); }

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.blog-card-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  margin-top: auto;
}

.blog-card-more:hover { padding-left: 6px; }

/* Posts pagination */
.posts-navigation {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.posts-navigation .nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.posts-navigation a {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  color: var(--primary-soft);
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14px;
}

.posts-navigation a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* CPT Listing Grid (Services / Industries / Technologies index pages) */
.cpt-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 30px;
}

.cpt-listing-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.cpt-listing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--line);
  transition: all var(--transition-normal);
}

.cpt-listing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 30px 60px rgba(8, 8, 12, 0.1);
}

.cpt-listing-card:hover::before { background: var(--grad-teal); }

.cpt-listing-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--bg-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 26px;
}
.cpt-listing-card:hover .cpt-listing-icon { background: var(--teal-soft); }

/* Inline heading icon (service detail hero) */
.heading-icon {
  display: inline-flex;
  vertical-align: middle;
  color: var(--teal);
  margin-right: 8px;
}

.cpt-listing-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.cpt-listing-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.cpt-listing-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  margin-top: auto;
}

.cpt-listing-link:hover { padding-left: 6px; }

/* Scroll-reveal micro-interaction */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: none;
}

/* Accessibility — visible keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 3000;
  background: var(--teal);
  color: var(--ink);
  padding: 12px 22px;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .cc-halo { display: none !important; }
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
}

/* Responsive refinements */
@media (max-width: 1024px) {
  .hide-mobile { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .sticky-enquiry-btn { display: none; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  :root { --pad-x: 5%; }
  .section { padding: 64px 0; }
  .hero-section { padding: 60px 0; min-height: auto; }
  .hero-floating-badge { display: none; }
  .btn-lg { padding: 15px 28px; font-size: 14px; }
  .hero-ctas .btn { width: 100%; }
}

/* =====================================================================
   LIGHT THEME refinements: dark-island footer, premium card shadows,
   and surface/contrast tweaks layered last for precedence.
   ===================================================================== */

/* Consistent soft elevation for all cards on the light canvas */
.pillar-card,
.portfolio-card,
.blog-card,
.cpt-listing-card,
.industry-card,
.process-card,
.service-item-card,
.hub-card {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.05);
}

/* Hero trust pill — lighter shadow on white */
.hero-trust-badges {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

/* Active tech tab uses a blue gradient — keep label white */
.tech-tab-btn.active { color: #FFFFFF; }

/* Image placeholder while loading should be a light chip, not dark */
.portfolio-img { background-color: var(--bg-light); }

/* ---- Footer is a dark island; force light text on it ---- */
.site-footer .footer-col-title { color: #FFFFFF; }
.site-footer .footer-links a,
.site-footer .footer-brand-desc,
.site-footer .footer-info-item,
.site-footer .newsletter-desc,
.site-footer .footer-bottom-flex,
.site-footer .footer-bottom-flex p { color: var(--text-on-ink-soft); }
.site-footer .footer-info-item strong { color: #FFFFFF; }
.site-footer .footer-links a:hover { color: var(--teal-bright); }
.site-footer .footer-info-item svg { color: var(--teal-bright); }
.site-footer .social-icon { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }
.site-footer .social-icon:hover { background: var(--teal); color: #FFFFFF; }
.site-footer .footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer .footer-trust-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-on-ink-soft);
}
.site-footer .newsletter-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}
.site-footer .newsletter-input::placeholder { color: rgba(255, 255, 255, 0.55); }

/* Contact Form 7 integration with the theme form styles */
.wpcf7 .cf7-submit-row { margin-top: 25px; margin-bottom: 0; }
.wpcf7 .wpcf7-submit { width: 100%; }
.wpcf7 .wpcf7-spinner { margin: 14px auto 0; display: block; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 select { appearance: none; -webkit-appearance: none; background-image:
  linear-gradient(45deg, transparent 50%, var(--text-soft) 50%),
  linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.wpcf7 .wpcf7-not-valid-tip {
  color: var(--orange);
  font-size: 12.5px;
  margin-top: 6px;
  display: block;
}
.wpcf7-not-valid { border-color: var(--orange) !important; }
.wpcf7 .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 14px 18px;
  border-radius: var(--r-input);
  font-size: 13.5px;
  border-width: 1px;
  border-style: solid;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: var(--orange);
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal);
}

/* SEO keyword strip in footer */
.footer-seo-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 8px;
}
.footer-seo-strip h4 {
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.footer-seo-strip p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-on-ink-soft);
}
.footer-seo-strip a {
  color: var(--text-on-ink-soft);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
}
.footer-seo-strip a:hover { color: var(--teal-bright); }
