:root {
  /* Color Palette */
  --bg-main: #ffffff;
  --bg-section: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-card: #ffffff;
  
  --brand-dark: #006A4E;
  --brand-primary: #00896B;
  --brand-accent: #10B981;
  --brand-muted: #059669;
  
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-hover: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 0, 0, 0.05);
  --glass-border-hover: rgba(0, 0, 0, 0.1);
  --glass-blur: blur(20px);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(148, 163, 181, 0.2);
  --shadow-lg: 0 25px 50px -12px rgba(148, 163, 181, 0.3);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   1. GLOBALS & RESETS
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: 100px 0;
  position: relative;
}

.text-center {
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

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

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

/* Mobile-friendly form fields: 16px stops iOS Safari auto-zoom on focus,
   and generous padding keeps every field a comfortable tap target. */
input, textarea, select, button {
  font-size: 16px;
}

input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="number"], textarea, select {
  min-height: 48px;
}

textarea { min-height: 120px; }

a, button, .btn, .nav-link, .drawer-nav a, .m-toggle, .footer-col a {
  -webkit-tap-highlight-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition-normal);
  text-align: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-primary));
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

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

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

/* Links & Typography Utilities */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-accent);
  font-weight: 500;
}

.link-arrow::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 24px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 48px;
  gap: 10px;
}

.section-header:has(> a) {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-header:has(> a) .section-header-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-header.text-center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-header.text-center .section-title {
  max-width: 640px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.accent {
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* =========================================
   2. SCROLL PROGRESS
   ========================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* =========================================
   3. PRELOADER
   ========================================= */
.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-main);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  animation: preloaderPulse 1.3s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: 0.7; }
}

.preloader-bar {
  width: 120px;
  height: 2px;
  background: var(--glass-border);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--brand-accent);
  animation: preloaderBar 1s ease-in-out infinite;
}

@keyframes preloaderBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* =========================================
   4. SEARCH OVERLAY
   ========================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 16, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 100%;
  max-width: 600px;
  padding: 0 24px;
}

.search-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--brand-primary);
  padding-bottom: 16px;
}

#searchInput {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-heading);
  font-size: 1.5rem;
  outline: none;
}

#searchInput::placeholder {
  color: var(--text-subtle);
}

kbd {
  background: var(--bg-card);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
}

.search-results {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-item {
  display: block;
  padding: 16px;
  background: var(--glass-bg);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.search-item:hover {
  background: var(--glass-bg-hover);
  border-color: var(--brand-accent);
}

.search-item h4 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}

.search-item p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* =========================================
   5. MOBILE DRAWER
   ========================================= */
.mobile-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-scrim.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 400px;
  background: var(--bg-main);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  border-left: 1px solid var(--glass-border);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.drawer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
}

.drawer-close {
  color: var(--text-heading);
  font-size: 1.5rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-nav a {
  color: var(--text-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.m-group {
  display: flex;
  flex-direction: column;
}

.m-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-heading);
  font-size: 1.25rem;
  font-weight: 600;
  background: transparent;
  padding: 0;
}

.m-sub {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--glass-border);
  margin-top: 16px;
}

.m-group.open .m-sub {
  display: flex;
}

.drawer-cta {
  margin-top: auto;
  padding-top: 40px;
}

/* =========================================
   6. NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(4, 8, 20, 0.78) 0%, rgba(4, 8, 20, 0.55) 55%, rgba(4, 8, 20, 0) 100%);
  padding: 20px 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(6, 6, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 36px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.3px;
}

.brand-text small {
  font-size: 0.7rem;
  color: var(--brand-accent);
  letter-spacing: 1px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.nav-link:hover {
  color: var(--brand-accent);
}

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

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

.nav-item {
  list-style: none;
}

.nav-item.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu.mega {
  width: 500px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
}

.nav-item.has-dropdown:hover .dropdown-menu.mega {
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.mega-item:hover {
  background: var(--glass-bg);
}

.mega-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--brand-accent);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mega-item h4 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.mega-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mega-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-search {
  color: #f1f5f9;
  font-size: 1.25rem;
}

.nav-search:hover {
  color: var(--brand-accent);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  cursor: pointer;
  z-index: 1000;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #f1f5f9;
  transition: all var(--transition-normal);
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================
   7. HERO SECTION
   ========================================= */
.hero {
  min-height: 88vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 40px;
  background: radial-gradient(circle at center, var(--bg-section) 0%, var(--bg-main) 100%);
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-hover);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-body);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0.7;
}

.hero-scroll-cue .line {
  width: 1px;
  height: 32px;
  background: linear-gradient(var(--brand-accent), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* =========================================
   26c. BACKGROUND VIDEO (hero / page-hero)
   ========================================= */
.hero-video-bg,
.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-pool {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-video-pool .hero-video-bg {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video-pool .hero-video-bg.is-active {
  opacity: 1;
}

/* Slow cinematic zoom on the active hero background video */
.hero-video-bg {
  animation: heroKenBurns 16s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes heroKenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Section-level background video (why-techsmart, cta) */
.why-section.has-video,
.cta-section.has-video {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.section-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.section-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,14,20,.86) 0%, rgba(10,14,20,.9) 100%);
  z-index: 1;
}
.why-section.has-video .container,
.cta-section.has-video .container {
  position: relative;
  z-index: 2;
}
.why-section.has-video .section-title,
.why-section.has-video .eyebrow,
.cta-section.has-video .cta-title,
.cta-section.has-video .cta-desc {
  color: #fff;
}
.why-section.has-video .why-card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.why-section.has-video .why-card p {
  color: rgba(255,255,255,.75);
}
@media (max-width: 768px) {
  .why-section.has-video, .cta-section.has-video { background: var(--bg-dark, #0a0e14); }
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 520px at center, rgba(6, 9, 14, 0.72) 0%, rgba(6, 9, 14, 0.4) 55%, transparent 75%),
    linear-gradient(180deg, rgba(8, 11, 16, 0.68) 0%, rgba(8, 11, 16, 0.6) 45%, rgba(8, 11, 16, 0.78) 100%);
}

.page-hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.72) 0%, rgba(11, 15, 20, 0.85) 100%);
}

.page-hero .page-hero-video,
.page-hero .page-hero-video-overlay {
  z-index: 0;
}

.page-hero.has-video {
  color: #fff;
}

.page-hero.has-video .container {
  position: relative;
  z-index: 2;
}

.page-hero.has-video .hero-title,
.page-hero.has-video .hero-lead {
  color: #fff;
}

.page-hero.has-video .breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.page-hero.has-video .breadcrumb a,
.page-hero.has-video .breadcrumb li {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero.has-video .page-title {
  color: #fff;
}

.page-hero.has-video .breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero.has-video .breadcrumbs a:hover,
.page-hero.has-video .breadcrumbs .current {
  color: var(--brand-accent);
}

@media (max-width: 768px) {
  .page-hero.has-video { color: #fff; }
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  animation: heroFloat 10s infinite alternate;
}

.hero-glow-1 {
  top: -200px;
  left: -200px;
}

.hero-glow-2 {
  bottom: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(0, 106, 78, 0.15) 0%, transparent 70%);
  animation-delay: -5s;
}

.hero-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero.has-video .hero-title,
.hero.has-video .hero-lead {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 8px 30px rgba(0,0,0,0.65);
}

.hero.has-video .hero-badge {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero.has-video .accent {
  color: var(--brand-accent);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================
   8. STATS BAR
   ========================================= */
.stats-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  border-right: 1px solid var(--glass-border);
  text-align: center;
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-4px);
  background: var(--glass-bg);
}

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

.stat-icon {
  font-size: 2rem;
  color: var(--brand-accent);
  margin-bottom: 16px;
  transition: transform var(--transition-normal);
}

.stat-item:hover .stat-icon {
  transform: scale(1.15) rotate(-4deg);
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   9. TRUSTED CLIENTS
   ========================================= */
.trusted-clients {
  background: var(--bg-main);
}

.tc-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition-normal);
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-4px);
}

.cl-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
}

/* =========================================
   10. HOW WE OPERATE
   ========================================= */
.how-we-operate {
  background: var(--bg-section);
}

.oper-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.process-circle {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px dashed var(--glass-border);
  border-radius: 50%;
}

.process-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--brand-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
}

.center-ring {
  position: absolute;
  inset: -20px;
  border: 1px solid var(--brand-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.process-step {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 2px solid var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: 8px;
  z-index: 2;
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-body);
  white-space: nowrap;
}

/* Positioning steps around circle (angles) */
.step-1 { top: 15%; left: 85%; }
.step-2 { top: 50%; left: 100%; }
.step-3 { top: 85%; left: 85%; }
.step-4 { top: 100%; left: 50%; }
.step-5 { top: 85%; left: 15%; }
.step-6 { top: 50%; left: 0%; }
.step-7 { top: 15%; left: 15%; }

/* =========================================
   11. SCALE SECTION
   ========================================= */
.scale-section {
  background: var(--bg-main);
}

.scale-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.scale-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.ss-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-accent);
  margin-bottom: 4px;
}

.ss-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.live-card {
  position: relative;
  padding: 32px;
  overflow: hidden;
}

.live-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(16, 185, 129, 0.1));
  pointer-events: none;
}

.live-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.live-dot {
  width: 12px;
  height: 12px;
  background: #ef4444;
  border-radius: 50%;
  animation: livePulse 1.5s infinite;
}

.live-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.live-big {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.live-sub {
  color: var(--brand-accent);
  font-weight: 600;
}

/* =========================================
   12. TECHNOLOGY
   ========================================= */
.technology-section {
  background: var(--bg-alt);
}

.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tech-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.tech-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tech-features li::before {
  content: '✓';
  color: var(--brand-accent);
  font-weight: 900;
}

.dashboard-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dash-bar {
  background: #1e1e2d;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--glass-border);
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-dots span:nth-child(1) { background: #ff5f56; }
.dash-dots span:nth-child(2) { background: #ffbd2e; }
.dash-dots span:nth-child(3) { background: #27c93f; }

.dash-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ff5f56;
}

.dash-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5f56;
  animation: pulseDot 1.4s ease-in-out infinite;
}

.dash-media {
  position: relative;
  overflow: hidden;
}

.dash-img {
  width: 100%;
  display: block;
}

.dash-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.16), transparent);
  animation: dashScan 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dashScan {
  0% { top: -40%; }
  50% { top: 100%; }
  100% { top: -40%; }
}

.dash-float {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 20, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: floatChip 3.5s ease-in-out infinite;
}

.dash-float-1 {
  top: 14%;
  right: 6%;
  animation-delay: 0s;
}

.dash-float-2 {
  bottom: 12%;
  left: 6%;
  animation-delay: 1.2s;
}

@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.dash-float-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
}

.dash-float-value {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* =========================================
   13. SERVICES
   ========================================= */
.services-section {
  background: var(--bg-main);
}

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

.svc-card {
  position: relative;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  isolation: isolate;
}

.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.svc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px -12px rgba(16, 185, 129, 0.25);
}

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

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-index {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-heading);
  opacity: 0.06;
  line-height: 1;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.svc-card:hover .svc-index {
  opacity: 0.14;
  transform: translateY(-4px);
}

.svc-icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--brand-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.svc-card:hover .svc-icon {
  transform: scale(1.1) rotate(-6deg);
  background: var(--brand-accent);
  color: #fff;
}

.svc-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.svc-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  flex: 1;
}

.svc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--brand-accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-normal);
}

.svc-card:hover .svc-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}

/* =========================================
   14. INDUSTRIES
   ========================================= */
.industries-section {
  background: var(--bg-section);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Process Wheel (How We Work) */
.process-wheel-wrap {
  display: flex;
  justify-content: center;
  padding: 24px 0 16px;
}

.process-wheel {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.pw-orbit {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed var(--glass-border, rgba(255,255,255,0.18));
  animation: spin 60s linear infinite;
}

.pw-orbit::before,
.pw-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-accent, #10B981);
  box-shadow: 0 0 12px 2px var(--brand-accent, #10B981);
}
.pw-orbit::before { top: -4px; left: calc(50% - 4px); }
.pw-orbit::after { bottom: -4px; left: calc(50% - 4px); }

.pw-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from -90deg,
    rgba(16, 185, 129, 0.10) 0deg 40deg,
    rgba(16, 185, 129, 0.03) 40deg 80deg
  );
}

.pw-spokes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.pw-spokes line {
  stroke: var(--glass-border, rgba(255,255,255,0.18));
  stroke-width: 0.3;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: pwDrawSpoke 1.2s ease-out forwards;
}
.pw-spokes line:nth-child(1) { animation-delay: 0.15s; }
.pw-spokes line:nth-child(2) { animation-delay: 0.25s; }
.pw-spokes line:nth-child(3) { animation-delay: 0.35s; }
.pw-spokes line:nth-child(4) { animation-delay: 0.45s; }
.pw-spokes line:nth-child(5) { animation-delay: 0.55s; }
.pw-spokes line:nth-child(6) { animation-delay: 0.65s; }
.pw-spokes line:nth-child(7) { animation-delay: 0.75s; }
.pw-spokes line:nth-child(8) { animation-delay: 0.85s; }
.pw-spokes line:nth-child(9) { animation-delay: 0.95s; }

.pw-step {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  opacity: 0;
  animation: pwStepIn 0.6s ease-out forwards;
}
.pw-step:nth-child(5) { animation-delay: 0.5s; }
.pw-step:nth-child(6) { animation-delay: 0.6s; }
.pw-step:nth-child(7) { animation-delay: 0.7s; }
.pw-step:nth-child(8) { animation-delay: 0.8s; }
.pw-step:nth-child(9) { animation-delay: 0.9s; }
.pw-step:nth-child(10) { animation-delay: 1.0s; }
.pw-step:nth-child(11) { animation-delay: 1.1s; }
.pw-step:nth-child(12) { animation-delay: 1.2s; }
.pw-step:nth-child(13) { animation-delay: 1.3s; }

.pw-step:hover {
  z-index: 3;
}
.pw-step:hover .step-num {
  transform: scale(1.18);
  background: var(--brand-accent, #10B981);
  border-color: var(--brand-accent, #10B981);
  color: #04140f;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.15);
}
.pw-step:hover .step-label {
  color: var(--brand-accent, #10B981);
}

@keyframes pwStepIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes pwDrawSpoke {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 900px) {
  .process-wheel-wrap { display: none; }
}

/* Sectors icon grid */
.sectors-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sector-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--glass-border, rgba(255,255,255,0.12));
  border-radius: 16px;
  background: var(--glass-bg, rgba(255,255,255,0.02));
  color: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.sector-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.sector-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.08);
  color: var(--brand-accent, #10B981);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease;
}

.sector-tile-name {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.sector-tile:hover {
  transform: translateY(-6px);
  border-color: var(--brand-accent, #10B981);
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.12);
}
.sector-tile:hover::before { opacity: 1; }
.sector-tile:hover .sector-tile-icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--brand-accent, #10B981);
  color: #04140f;
}

@media (max-width: 900px) {
  .sectors-icon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sectors-icon-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sector-tile { padding: 22px 12px; }
}

.sectors-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sector-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 20px;
  border: 1px solid var(--border-color, rgba(255,255,255,0.12));
  border-radius: 12px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease, color .3s ease;
}

.sector-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--brand-accent, #10B981), var(--brand-primary, #059669));
  transform: translateX(-100%);
  transition: transform .35s ease;
  z-index: -1;
}

.sector-pill:hover {
  border-color: var(--brand-accent, #10B981);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 14px 30px -10px rgba(16, 185, 129, 0.35);
  color: #04140f;
}

.sector-pill:hover::before {
  transform: translateX(0);
}

@media (max-width: 900px) {
  .sectors-pill-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sectors-pill-grid { grid-template-columns: 1fr; }
}

.ind-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  text-align: left;
  isolation: isolate;
}

.ind-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}

.ind-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.15) 0%, rgba(11, 15, 20, 0.92) 100%);
  z-index: -1;
  transition: background var(--transition-normal);
}

.ind-card:hover .ind-card-img {
  transform: scale(1.1);
}

.ind-card:hover::before {
  background: linear-gradient(180deg, rgba(0, 106, 78, 0.25) 0%, rgba(11, 15, 20, 0.94) 100%);
}

.ind-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.ind-card:hover .ind-icon {
  transform: translateY(-4px);
  background: var(--brand-accent);
}

.ind-card h3 {
  color: #fff;
  margin-bottom: 8px;
}

.ind-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

/* =========================================
   15. CASE STUDIES
   ========================================= */
.case-studies-section {
  background: var(--bg-main);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.case-tag {
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--brand-accent);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.case-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.case-desc {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  margin-top: auto;
}

.cr-item {
  display: flex;
  flex-direction: column;
}

.cr-item strong {
  color: var(--brand-accent);
  font-size: 1.25rem;
  font-weight: 800;
}

.cr-item span {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* =========================================
   16. WHY SECTION
   ========================================= */
.why-section {
  background: var(--bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-card {
  padding: 40px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  min-width: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.why-card > div:last-child,
.why-card h3,
.why-card p {
  min-width: 0;
  overflow-wrap: break-word;
}

.process-steps-grid .why-card {
  padding: 28px 24px;
  flex-direction: column;
  gap: 12px;
}

.process-steps-grid .why-num {
  font-size: 2.25rem;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -10px rgba(16, 185, 129, 0.22);
  border-color: var(--brand-accent, #10B981);
}

.why-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(16, 185, 129, 0.2);
  line-height: 1;
  transition: color 0.35s ease, transform 0.35s ease;
}

.why-card:hover .why-num {
  color: rgba(16, 185, 129, 0.55);
  transform: scale(1.08);
}

.why-card h3 {
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-muted);
}

/* =========================================
   17. TESTIMONIALS
   ========================================= */
.testimonials-section {
  background: var(--bg-main);
  overflow: hidden;
}

.testi-carousel {
  width: 100%;
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform var(--transition-slow);
  gap: 32px;
}

.testi-card {
  min-width: calc(100% / 2 - 16px);
  padding: 48px;
}

.testi-quote {
  font-size: 3rem;
  color: var(--brand-accent);
  margin-bottom: 24px;
  opacity: 0.5;
}

.testi-card p {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 32px;
}

.testi-author strong {
  display: block;
  color: var(--text-heading);
  font-size: 1.125rem;
}

.testi-author span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.testi-prev, .testi-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
}

.testi-prev:hover, .testi-next:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.testi-dots {
  display: flex;
  gap: 8px;
}

.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glass-border);
  cursor: pointer;
}

.testi-dot.active {
  background: var(--brand-accent);
}

/* =========================================
   18. LEADERSHIP
   ========================================= */
.leadership-section {
  background: var(--bg-section);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
}

.careers-banner {
  background: var(--bg-alt);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.careers-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 48px 0;
}

.careers-banner-text h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.careers-banner-text p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .careers-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 4px solid var(--glass-border);
  transition: border-color var(--transition-fast);
}

.team-card:hover .team-photo {
  border-color: var(--brand-accent);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.team-card:hover .team-photo img {
  transform: scale(1.1);
}

.team-card h4 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.team-role {
  color: var(--brand-accent);
  font-size: 0.875rem;
}

/* =========================================
   19. CTA SECTION
   ========================================= */
.cta-section {
  background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(0, 106, 78, 0.4) 100%);
  text-align: center;
  padding: 120px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 24px;
}

.cta-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* =========================================
   20. FOOTER
   ========================================= */
.site-footer {
  background: var(--bg-main);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 24px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
}

.social-links a:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
}

.footer-col h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--brand-accent);
}

.footer-col address {
  font-style: normal;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-subtle);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-subtle);
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: var(--text-heading);
}

/* =========================================
   21. ENQUIRY TAB
   ========================================= */
.enquiry-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right bottom;
  background: var(--brand-primary);
  color: #fff;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 8px 8px 0 0;
  z-index: 90;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.enquiry-tab:hover {
  background: var(--brand-accent);
  padding-bottom: 20px;
}

/* =========================================
   22. CHAT WIDGET
   ========================================= */
.chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  cursor: pointer;
}

.chat-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid var(--bg-main);
  animation: livePulse 2s infinite;
}

.chat-window {
  position: fixed;
  bottom: 86px;
  right: 24px;
  width: 300px;
  height: 420px;
  max-height: 70vh;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: slideUp 0.3s ease-out;
}

.chat-head {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
}

.chat-head-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-status {
  width: 10px;
  height: 10px;
  background: var(--brand-accent);
  border-radius: 50%;
}

.chat-langbar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-border);
}

.chat-langbar span {
  font-size: 0.75rem;
  padding: 4px 8px;
  background: var(--glass-bg);
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.chat-langbar {
  padding: 8px 16px;
}

.chat-langbar select {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: inherit;
  border-radius: var(--radius-pill);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.chat-langbar select:focus {
  border-color: var(--brand-accent);
}

.chat-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.chat-msg.bot {
  align-self: flex-start;
  background: var(--glass-bg);
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--brand-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}

.chat-chip {
  font-size: 0.8rem;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--brand-accent);
  color: var(--brand-accent);
  border-radius: var(--radius-pill);
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: chatDot 1.4s infinite ease-in-out;
}
.chat-typing span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing span:nth-child(2) { animation-delay: -0.16s; }

.chat-form {
  display: flex;
  padding: 16px;
  border-top: 1px solid var(--glass-border);
  gap: 8px;
}

.chat-form input {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  color: var(--text-heading);
  outline: none;
}

.chat-form button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   23. REVEAL ANIMATIONS
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.stagger .reveal:nth-child(1) { transition-delay: 0.1s; }
.stagger .reveal:nth-child(2) { transition-delay: 0.2s; }
.stagger .reveal:nth-child(3) { transition-delay: 0.3s; }
.stagger .reveal:nth-child(4) { transition-delay: 0.4s; }
.stagger .reveal:nth-child(5) { transition-delay: 0.5s; }
.stagger .reveal:nth-child(6) { transition-delay: 0.6s; }
.stagger .reveal:nth-child(7) { transition-delay: 0.7s; }
.stagger .reveal:nth-child(8) { transition-delay: 0.8s; }
.stagger .reveal:nth-child(9) { transition-delay: 0.9s; }

/* =========================================
   24. KEYFRAMES
   ========================================= */
@keyframes heroFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes chatDot {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

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

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

/* =========================================
   25. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (max-width: 1080px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .case-grid, .services-grid, .industry-grid {
    gap: 16px;
  }
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

@media (max-width: 980px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  
  .tc-layout, .oper-layout, .scale-layout, .tech-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .oper-left, .tech-left, .scale-left {
    text-align: center;
  }
  
  .section-desc {
    margin: 0 auto 40px;
  }
  
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  
  .hero-title { font-size: clamp(2.5rem, 5vw, 3.5rem); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid var(--glass-border); }
  .stat-item:nth-child(even) { border-right: none; }
  
  .services-grid, .industry-grid, .case-grid, .why-grid,
  .sectors-pill-grid, .process-steps-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .process-circle { max-width: 350px; }
  
  .testi-card { min-width: 100%; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .mega-grid { grid-template-columns: 1fr; }
  .dropdown-menu.mega { width: 300px; }
}

@media (max-width: 640px) {
  .services-grid, .industry-grid, .case-grid, .why-grid, .scale-stats,
  .sectors-pill-grid, .process-steps-grid {
    grid-template-columns: 1fr !important;
  }
  
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .stat-item:last-child { border-bottom: none; }

  .process-circle { display: none; } /* Hide complex diagram on smallest screens */

  .chat-window {
    width: calc(100% - 48px);
    right: 24px;
    bottom: 90px;
  }

  section { padding: 48px 0; }
  .container { padding: 0 18px; }

  .hero-title { font-size: clamp(2rem, 8vw, 2.75rem); }

  .hero-actions, .cta-actions, .careers-banner-inner, .drawer-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn, .cta-actions .btn, .careers-banner-inner .btn {
    width: 100%;
  }

  .btn-lg { padding: 15px 24px; font-size: 1rem; }

  .timeline-scroll, .logo-grid, .dropdown-menu.mega {
    scroll-snap-type: x proximity;
  }

  .timeline-item { scroll-snap-align: center; }

  .why-card, .svc-card, .case-card, .ind-card, .team-card, .glass-card {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 360px) {
  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.5rem; }
  .container { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .svc-icon, .ind-icon, .stat-icon, .tl-icon, .why-icon,
  .ind-card-img, .team-photo img, .dash-img, .page-hero::before, .page-hero::after {
    animation: none !important;
  }
}

/* =========================================
   26b. FEATURE & PHOTO MOTION
   ========================================= */
@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-3deg); }
}

.svc-icon, .ind-icon, .stat-icon, .tl-icon, .why-icon {
  animation: iconFloat 3.4s ease-in-out infinite;
  will-change: transform;
}

.svc-card:nth-child(even) .svc-icon,
.ind-card:nth-child(even) .ind-icon,
.timeline-item:nth-child(even) .tl-icon,
.why-card:nth-child(even) .why-icon {
  animation-delay: 0.7s;
}

.svc-card:nth-child(3n) .svc-icon {
  animation-delay: 1.3s;
}

.svc-card:hover .svc-icon,
.ind-card:hover .ind-icon,
.stat-item:hover .stat-icon,
.timeline-item:hover .tl-icon {
  animation-play-state: paused;
}

@keyframes kenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.09); }
}

.ind-card-img {
  animation: kenBurns 12s ease-in-out infinite alternate;
}

.ind-card:hover .ind-card-img {
  animation-play-state: paused;
  transform: scale(1.16);
}

.team-photo img {
  animation: kenBurns 14s ease-in-out infinite alternate;
}

.team-card:hover .team-photo img {
  animation-play-state: paused;
  transform: scale(1.12);
}

.dash-img {
  animation: kenBurns 16s ease-in-out infinite alternate;
}

/* =========================================
   26. SUBPAGE STYLES
   ========================================= */
.page-hero {
  padding: 140px 0 64px;
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
  pointer-events: none;
  animation: heroBlobDrift 9s ease-in-out infinite alternate;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 106, 78, 0.10), transparent 70%);
  pointer-events: none;
  animation: heroBlobDrift 11s ease-in-out infinite alternate-reverse;
}

@keyframes heroBlobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-24px, 18px) scale(1.08); }
  100% { transform: translate(14px, -12px) scale(0.96); }
}

.page-hero .hero-title {
  text-align: left;
  max-width: 720px;
  margin-bottom: 16px;
}

.page-hero .hero-lead {
  text-align: left;
  margin: 0;
  max-width: 640px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 6px 14px;
  margin: 0 0 24px;
  border-radius: 100px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  width: fit-content;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 6px;
  color: var(--glass-border-hover);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--brand-accent);
}

.breadcrumb li:last-child {
  color: var(--brand-accent);
  font-weight: 600;
}

.crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--text-muted);
}

.crumbs a {
  color: var(--brand-accent);
}

.crumbs a:hover {
  text-decoration: underline;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.form-card {
  max-width: 600px;
  margin: 0 auto;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-main);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  margin-bottom: 16px;
  transition: border-color var(--transition-fast);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
}

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

.form-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--brand-accent);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-accent);
  margin-bottom: 24px;
  display: none;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
  padding: 24px 0;
  transition: padding-left 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  padding-left: 8px;
  border-color: var(--brand-accent, #10B981);
}

.faq-q {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--brand-accent);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  margin-top: 16px;
  color: var(--text-muted);
  display: none;
}

.faq-item.active .faq-a {
  display: block;
}

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

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 106, 78, 0.4);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover::after {
  opacity: 1;
}

.job-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  transition: all var(--transition-normal);
}

.job-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--brand-accent);
}

/* =========================================
   TIMELINE (Our Journey — pillar style)
   ========================================= */
.timeline-scroll {
  margin-top: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}

.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--glass-border-hover);
  border-radius: 10px;
}

.timeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 260px;
  gap: 20px;
  position: relative;
  padding-top: 12px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--glass-border-hover) 0 6px, transparent 6px 12px);
  z-index: 0;
}

.timeline-item {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 30px;
  margin-right: 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-accent);
  border: 3px solid var(--bg-main);
  box-shadow: 0 0 0 1px var(--glass-border-hover);
}

.timeline-item:hover {
  transform: translateY(-10px);
  border-color: var(--brand-accent);
  box-shadow: 0 20px 40px -14px rgba(16, 185, 129, 0.3);
}

.tl-year {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--brand-accent);
  background: rgba(16, 185, 129, 0.1);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.tl-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  transition: transform var(--transition-normal), background var(--transition-normal), color var(--transition-normal);
}

.timeline-item:hover .tl-icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--brand-accent);
  color: #fff;
}

.timeline-item h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  min-height: 2.7em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.timeline-item-highlight {
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.14), var(--bg-card));
  border-color: var(--brand-accent);
  border-width: 2px;
  box-shadow: 0 20px 44px -16px rgba(16, 185, 129, 0.35);
}

.timeline-item-highlight::after {
  background: var(--brand-accent);
  width: 12px;
  height: 12px;
}

.timeline-item-highlight .tl-year {
  background: var(--brand-accent);
  color: #fff;
}

@media (max-width: 640px) {
  .timeline { grid-auto-columns: 220px; }
  .timeline-item h4 { min-height: 0; }
}

/* =========================================
   24. TECH VIDEO SHOWCASE (mid-page)
   ========================================= */
.tech-showcase {
  padding: 5rem 0;
  background: var(--bg-card);
}

.tech-showcase-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.tech-showcase-copy .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.tech-showcase-copy .section-title {
  margin-bottom: 16px;
}

.tech-showcase-copy .section-desc {
  margin-bottom: 24px;
}

.tech-showcase-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-body);
  font-size: 0.95rem;
}

.tech-showcase-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-accent);
}

.tech-showcase-frame {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(160deg, var(--brand-dark), var(--brand-primary));
  box-shadow: var(--shadow-lg);
}

.tech-showcase-frame video {
  width: 100%;
  display: block;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #060610;
}

@media (max-width: 900px) {
  .tech-showcase-layout {
    grid-template-columns: 1fr;
  }
  .tech-showcase-frame {
    order: -1;
  }
}


/* =====================================================================
   MOBILE-FRIENDLY POLISH LAYER (v2)
   Fixes overflow, inline multi-column grids, big paddings, tap targets,
   iOS input zoom, chat widget and safe-area on phones & small tablets.
   Selectors are prefixed with `body` so they win over page-level <style>.
   ===================================================================== */

/* ---- Global safety nets (all sizes) ---- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body { overflow-x: hidden; }
img, video, svg, canvas, iframe { max-width: 100%; }
img, video { height: auto; }
table { max-width: 100%; }
p, li, h1, h2, h3, h4, a, td, th { overflow-wrap: break-word; }
a, button, [role="button"], .btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Respect notches / home-indicator on iPhones */
@supports (padding: max(0px)) {
  .navbar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .chat-window { bottom: max(86px, calc(env(safe-area-inset-bottom) + 76px)); }
}

/* Tables / code / wide blocks scroll inside themselves instead of the page */
.table-wrap, .table-responsive, .comparison-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---- Tablets & below ---- */
@media (max-width: 900px) {
  /* Inline multi-column grids (used on service pages) -> stack nicely */
  body [style*="grid-template-columns: repeat(5"],
  body [style*="grid-template-columns:repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
  body [style*="grid-template-columns: repeat(3"],
  body [style*="grid-template-columns:repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }

  /* Flex columns with inline min-width: 300px (about / contact) */
  body [style*="min-width: 300px"], body [style*="min-width:300px"] { min-width: 0 !important; flex: 1 1 100% !important; }
}

/* ---- Phones ---- */
@media (max-width: 640px) {
  body [style*="grid-template-columns: repeat(5"],
  body [style*="grid-template-columns:repeat(5"],
  body [style*="grid-template-columns: repeat(3"],
  body [style*="grid-template-columns:repeat(3"],
  body [style*="grid-template-columns: repeat(2"],
  body [style*="grid-template-columns:repeat(2"],
  body [style*="grid-template-columns: 1fr 1fr"],
  body [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Gallery inline auto-fill grid: smaller min so it never overflows 320px */
  body [style*="minmax(300px"] { grid-template-columns: 1fr !important; }

  /* Big inline paddings on cards / forms */
  body [style*="padding: 40px"], body [style*="padding:40px"] { padding: 22px 18px !important; }
  body [style*="max-width:500px"][style*="display:flex"] { flex-direction: column; max-width: 100% !important; }

  /* Page-level components defined in <style> blocks */
  body .careers-hero, body .insights-hero { padding: 112px 0 44px; }
  body .careers-hero-text h1, body .insights-hero-text h1 { font-size: 2rem; line-height: 1.2; }
  body .careers-hero-text p, body .insights-hero-text p { font-size: 0.98rem; max-width: 100%; }
  body .careers-hero-media img { height: 230px; border-radius: 28px 70px 28px 28px; }
  body .careers-hero-media::before { top: -10px; right: -8px; left: 24px; }
  body .cw-card { padding: 26px 20px; }
  body .cw-num { top: 18px; right: 20px; font-size: 2.2rem; }
  body .job-search-banner-v2 { padding: 28px 20px 24px; gap: 22px; }
  body .careers-cta-banner, body .newsletter-banner { padding: 26px 20px; }
  body .careers-cta-banner .cta-left, body .newsletter-banner .nl-left { flex-direction: column; align-items: flex-start; gap: 14px; }
  body .careers-cta-banner .btn-outline-white { width: 100%; justify-content: center; }
  body .newsletter-form { flex-direction: column; width: 100%; }
  body .newsletter-form input, body .newsletter-form button { width: 100%; min-width: 0; }
  body .insight-media { height: 170px; }
  body .insight-body { padding: 20px; }

  /* Hero & headings never overflow */
  h1 { font-size: clamp(1.8rem, 7.4vw, 2.4rem); line-height: 1.18; }
  h2 { font-size: clamp(1.45rem, 6vw, 1.9rem); line-height: 1.25; }
  .section-title { font-size: clamp(1.5rem, 6.2vw, 2rem); }

  /* Buttons: comfortable thumb targets, full width in action rows */
  .btn, button.btn, a.btn { min-height: 46px; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; text-align: center; }

  /* Forms: 16px stops iOS Safari auto-zoom; full width fields */
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  select, textarea { font-size: 16px !important; width: 100%; max-width: 100%; min-height: 46px; }
  textarea { min-height: 120px; }
  input[type="file"] { max-width: 100%; font-size: 14px; }

  /* Cards breathe less on small screens */
  .container { padding-left: 18px; padding-right: 18px; }

  /* Chat widget: fits narrow screens and clears the home-indicator */
  .chat-window { width: auto; left: 12px; right: 12px; bottom: 82px; height: min(70vh, 480px); }

  /* Video blocks keep their ratio */
  video { width: 100%; }
  iframe { width: 100%; }
}

/* ---- Small phones (<= 380px) ---- */
@media (max-width: 380px) {
  .container { padding-left: 14px; padding-right: 14px; }
  body .careers-hero-text h1, body .insights-hero-text h1 { font-size: 1.75rem; }
  .brand-text small { display: none; }
  .brand-name { font-size: 0.95rem; }
}

/* Landscape phones: don't let the hero eat the whole screen */
@media (max-height: 480px) and (orientation: landscape) {
  .hero, .page-hero { min-height: auto; }
  .chat-window { height: 78vh; }
}

/* Reduce motion preference stays respected */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
