/* ============================================================
   NNR GLOBAL TECHNOLOGIES — CLEAN PREVIOUS LIGHT THEME
   3D AI Neural Hero + Open Sans Bold Headers + Grid Cards & Animations
   ============================================================ */

/* ===== GOOGLE FONTS IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@400;600;700;800&family=Poppins:wght@300;800&display=swap');

/* ===== ROOT DESIGN SYSTEM VARIABLES ===== */
:root {
  /* Light Technology Palette */
  --bg-main: #FFFFFF;
  --bg-soft: #F8FBFD;
  --text-dark: #0F172A;
  --text-slate: #334155;
  --text-muted: #64748B;
  --white: #FFFFFF;

  /* Blue/Cyan Gradient Accent Palette */
  --blue-primary: #0284C7;
  --blue-gradient-start: #0EA5E9;
  --blue-gradient-end: #0369A1;
  --cyan-glow: rgba(14, 165, 233, 0.25);
  --cyan-soft-bg: rgba(14, 165, 233, 0.08);
  --cyan-border: rgba(14, 165, 233, 0.22);
  --cyan-border-hover: rgba(14, 165, 233, 0.55);

  /* Glassmorphism System */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-bg-hover: rgba(255, 255, 255, 0.98);
  --glass-border: rgba(255, 255, 255, 0.8);
  --shadow-glass: 0 12px 32px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 48px rgba(14, 165, 233, 0.2), 0 4px 12px rgba(15, 23, 42, 0.06);

  /* Typography */
  --font-hero: 'Open Sans', sans-serif;
  --font-serif: 'Open Sans', sans-serif;
  --font-heading: 'Open Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout & Nav */
  --max-width: 1320px;
  --nav-height: 84px;
  --section-pad: 100px 0;
  --radius-pill: 50px;
  --radius-lg: 24px;
  --radius-md: 16px;

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body);
  background: var(--bg-soft) url('assets/background.svg') center top / cover no-repeat fixed !important;
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.65;
  position: relative;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue-gradient-start), var(--blue-gradient-end));
  border-radius: 3px;
}

/* ===== TOP SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-gradient-start), var(--blue-primary), var(--blue-gradient-end));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.15);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-svg { width: 220px; height: 50px; }
.nav-logo-img {
  width: 280px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
  transition: var(--transition-fast);
}
.nav-logo-img:hover { filter: brightness(1.12); }
.footer-logo-img {
  width: 250px;
  height: 54px;
  opacity: 0.92;
}

/* Text-only brand wordmark */
.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  transition: var(--transition-fast);
}
.brand-wordmark:hover { filter: brightness(1.12); }
.brand-line { display: flex; align-items: flex-end; gap: 10px; }
.brand-nnr {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #000;
}
.brand-global,
.brand-tech {
  font-weight: 300;
  color: #1E7FC1;
  letter-spacing: 0.32em;
}
.brand-global { font-size: 19px; padding-bottom: 3px; }
.brand-tech { font-size: 19px; margin-top: 4px; }
.brand-wordmark--light { opacity: 0.92; }
.brand-wordmark--light .brand-nnr { color: #FFFFFF; }
.brand-wordmark--light .brand-global,
.brand-wordmark--light .brand-tech { color: #E0F2FE; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-slate);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--blue-primary);
  background: rgba(14, 165, 233, 0.06);
}

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

.btn-nav-talk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue-gradient-start) 0%, var(--blue-primary) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
  transition: var(--transition);
}
.btn-nav-talk:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.45);
}
.btn-nav-talk .btn-arrow { font-size: 15px; transition: transform 0.3s ease; }
.btn-nav-talk:hover .btn-arrow { transform: translateX(4px); }

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.08);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}
/* Hamburger → X when active */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile: make hamburger bars white when nav is open (dark overlay) */
@media (max-width: 768px) {
  .hamburger.active span { background: var(--white); }
  .hamburger span { background: var(--text-dark); }
  .navbar { background: transparent; }
  .navbar.scrolled { background: rgba(255,255,255,0.96); }
  /* Keep navbar and hamburger above the fullscreen nav overlay */
  .navbar { z-index: 999; }
  .nav-actions { position: relative; z-index: 1000; }
}

/* ===== 1. HERO PAGE (BALANCED IMPACTFUL SIZE) ===== */
.hero-page {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 105px 0 45px;
  position: relative;
  overflow: hidden;
}
.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* LEFT COLUMN */
.hero-left { max-width: 630px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--cyan-soft-bg);
  border: 1px solid var(--cyan-border);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.badge-dot {
  width: 6.5px; height: 6.5px;
  border-radius: 50%;
  background: var(--blue-gradient-start);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

.hero-heading {
  font-family: var(--font-hero);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.6;
}

.highlight-gradient {
  background: linear-gradient(135deg, var(--blue-gradient-start) 0%, var(--blue-primary) 50%, var(--blue-gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CTA BUTTON GROUP */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-primary-gradient {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--blue-gradient-start) 0%, var(--blue-primary) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.32);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary-gradient.sm { font-size: 13px; padding: 9px 20px; }
.btn-primary-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #38BDF8 0%, var(--blue-gradient-start) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary-gradient:hover::before { opacity: 1; }
.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 28px rgba(14, 165, 233, 0.42);
}
.btn-primary-gradient span { position: relative; z-index: 1; }
.btn-primary-gradient .btn-arrow { font-size: 15.5px; transition: transform 0.3s ease; }
.btn-primary-gradient:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--blue-primary);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--cyan-border);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.btn-secondary-outline.sm { font-size: 13px; padding: 9px 20px; }
.btn-secondary-outline:hover {
  background: var(--cyan-soft-bg);
  border-color: var(--blue-primary);
  color: var(--blue-gradient-end);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.16);
}

/* HERO STATS BOX */
.hero-stats-box {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  max-width: 560px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 20px;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(14, 165, 233, 0.2);
  flex-shrink: 0;
}

/* RIGHT COLUMN: 3D STAGE */
.hero-right { position: relative; width: 100%; }

.ai-neural-stage {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#threeAiCanvas {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 470px;
  height: 470px;
  z-index: 2;
  pointer-events: none;
}

/* ===== GLASSMORPHISM GENERAL CARD ===== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-gradient-start), transparent);
}
.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--cyan-border-hover);
  box-shadow: 0 24px 50px rgba(14, 165, 233, 0.25), 0 8px 16px rgba(15, 23, 42, 0.06);
  transform: translateY(-12px) scale(1.05) !important;
  z-index: 10;
}

/* ===== SECTION COMMONS ===== */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--cyan-soft-bg);
  border: 1px solid var(--cyan-border);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-primary);
  animation: pulseDot 2s ease-in-out infinite;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-slate);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== 2. SOLUTIONS SECTION ===== */
.services { padding: 80px 0; position: relative; z-index: 2; }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.solution-card { padding: 24px 22px; border-radius: 18px; }
.card-icon-wrapper {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  transition: var(--transition);
}
.solution-card:hover .card-icon-wrapper {
  background: rgba(14, 165, 233, 0.16);
  border-color: var(--blue-primary);
  transform: scale(1.05);
}
.card-icon { width: 20px; height: 20px; color: var(--blue-primary); }
.card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.card-desc {
  font-size: 13px;
  color: var(--text-slate);
  line-height: 1.55;
  margin-bottom: 14px;
}
.card-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
}
.card-link:hover { color: var(--blue-gradient-end); gap: 8px; }

/* ===== Capabilities Deep Dive Component ===== */
.capabilities-deep-dive {
  margin-top: 50px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}
.capabilities-deep-dive:hover {
  transform: none !important;
  background: var(--glass-bg) !important;
  border-color: var(--glass-border) !important;
  box-shadow: var(--shadow-glass) !important;
}

.capabilities-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.15);
  padding-bottom: 20px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-slate);
  background: transparent;
  border: 1.5px solid transparent;
  transition: var(--transition-fast);
}

.tab-btn svg, .tab-btn i {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--blue-primary);
  background: rgba(14, 165, 233, 0.05);
}

.tab-btn.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-gradient-start) 0%, var(--blue-primary) 100%);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.tab-btn.active svg, .tab-btn.active i {
  color: var(--white);
}

.tab-contents {
  position: relative;
}

.tab-pane {
  display: none;
  animation: tabFadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

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

.tab-pane-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: start;
}

.tab-pane-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pane-header {
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
  padding-bottom: 20px;
}

.pane-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--cyan-soft-bg);
  border: 1px solid var(--cyan-border);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.pane-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.pane-tagline {
  font-size: 15px;
  color: var(--text-slate);
  line-height: 1.6;
}

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

.p-feature-item {
  display: flex;
  gap: 16px;
}

.p-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p-feature-icon svg, .p-feature-icon i {
  width: 18px;
  height: 18px;
  color: var(--blue-primary);
}

.p-feature-item h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.p-feature-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.tab-pane-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pane-value-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.04);
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.pane-value-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.pane-value-card p {
  font-size: 13.5px;
  color: var(--text-slate);
  line-height: 1.55;
  margin-bottom: 20px;
}

.pane-divider {
  height: 1px;
  background: rgba(14, 165, 233, 0.15);
  margin: 20px 0;
}

.snapshot-stat {
  display: flex;
  align-items: center;
  gap: 16px;
}

.snapshot-number {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.snapshot-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-slate);
}

.pane-cta-card {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pane-cta-card p {
  font-size: 13px;
  color: var(--text-muted);
}

.capabilities-pilot-banner {
  margin-top: 40px;
  padding: 20px 30px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed rgba(14, 165, 233, 0.3);
  display: flex;
  align-items: center;
  gap: 20px;
}

.pilot-badge {
  padding: 6px 14px;
  background: var(--blue-primary);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pilot-text {
  font-size: 13px;
  color: var(--text-slate);
  line-height: 1.5;
  flex-grow: 1;
}

.capabilities-pilot-banner .btn-secondary-outline {
  white-space: nowrap;
}

/* ===== How We Build & Deploy (Methodology) ===== */
.methodology {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
}

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

.methodology-card {
  padding: 30px 24px;
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.methodology-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.methodology-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan-border-hover);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.12);
}

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

.m-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cyan-soft-bg);
  border: 1px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.methodology-card:hover .m-card-icon {
  background: rgba(14, 165, 233, 0.16);
  border-color: var(--blue-primary);
  transform: scale(1.05);
}

.m-card-icon svg, .m-card-icon i {
  width: 22px;
  height: 22px;
  color: var(--blue-primary);
}

.m-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

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

/* ===== Responsive adjustments for Capabilities Deep Dive & Methodology ===== */
@media (max-width: 992px) {
  .tab-pane-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .methodology-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .capabilities-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .tab-btn {
    justify-content: center;
  }
  .pane-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .capabilities-pilot-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    gap: 14px;
  }
  .methodology-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 3. EXPERTISE / TECH STACK ===== */
.expertise { padding: var(--section-pad); position: relative; z-index: 2; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tech-card {
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tech-logo {
  font-size: 32px;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  transition: var(--transition);
}
.tech-card:hover .tech-logo {
  transform: scale(1.1);
  border-color: var(--blue-primary);
  background: rgba(14, 165, 233, 0.16);
}
.tech-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.tech-desc { font-size: 11px; color: var(--text-muted); font-weight: 500; }

/* ===== 4. PRODUCTS SECTION ===== */
.products { padding: var(--section-pad); position: relative; z-index: 2; }
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.product-card { padding: 40px; }
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.product-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-primary);
  background: var(--cyan-soft-bg);
  border: 1px solid var(--cyan-border);
  padding: 4px 14px;
  border-radius: 50px;
}
.product-icon { font-size: 36px; }
.product-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.product-desc {
  font-size: 15px;
  color: var(--text-slate);
  line-height: 1.75;
  margin-bottom: 24px;
}
.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.product-features li {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== 5. CASE STUDIES SECTION ===== */
.case-studies { padding: var(--section-pad); position: relative; z-index: 2; }
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card { padding: 0; overflow: hidden; }
.case-image {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: var(--text-dark);
}
.case-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card:hover .case-card-img { transform: scale(1.06); }
.case-badge-top {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 6px;
  z-index: 5;
}
.case-content { padding: 28px; }
.case-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.case-desc {
  font-size: 13px;
  color: var(--text-slate);
  line-height: 1.65;
  margin-bottom: 20px;
}
.case-metrics { display: flex; gap: 20px; margin-bottom: 20px; }
.metric { display: flex; flex-direction: column; gap: 3px; }
.metric-value {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label { font-size: 11px; color: var(--text-muted); font-weight: 500; }

/* ===== 6. INDUSTRIES WE SUPPORT — CONNECTED AI ECOSYSTEM ===== */
.industries {
  padding: 65px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Background Soft Glow Orbs */
.eco-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, rgba(2, 132, 199, 0.03) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(35px);
}

.ecosystem-container {
  position: relative;
  max-width: 860px;
  height: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG CONNECTOR NETWORK LINES */
.eco-svg-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.eco-path {
  transition: stroke-width 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
  animation: dashFlow 25s linear infinite;
}

.eco-path.highlight {
  stroke-width: 3px;
  filter: drop-shadow(0 0 7px var(--blue-primary));
}

@keyframes dashFlow {
  to { stroke-dashoffset: -200; }
}

.node-pulse {
  animation: nodeGlow 2s ease-in-out infinite alternate;
}

@keyframes nodeGlow {
  0% { r: 3; opacity: 0.7; }
  100% { r: 4.5; opacity: 1; filter: drop-shadow(0 0 5px var(--blue-primary)); }
}

/* CENTER HUB: BRAIN CORE */
.eco-center-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) !important;
  width: 200px; height: 200px;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(14, 165, 233, 0.35);
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.18), 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.27), border-color 0.4s ease, box-shadow 0.4s ease;
}

.eco-center-hub.anim-card {
  transform: translate(-50%, -50%) scale(0.88) !important;
}
.eco-center-hub.anim-card.anim-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) !important;
}

.eco-center-hub:hover {
  transform: translate(-50%, -50%) scale(1.05) !important;
  border-color: var(--blue-primary);
  box-shadow: 0 0 55px rgba(14, 165, 233, 0.3), 0 16px 40px rgba(15, 23, 42, 0.1);
}

.hub-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ring-1 {
  inset: -10px;
  border: 1px dashed rgba(14, 165, 233, 0.3);
  animation: rotateRing 30s linear infinite;
}

.ring-2 {
  inset: -20px;
  border: 1px solid rgba(14, 165, 233, 0.15);
  animation: rotateRing 45s linear infinite reverse;
}

.ring-3 {
  inset: -30px;
  border: 1px dashed rgba(14, 165, 233, 0.1);
  animation: rotateRing 60s linear infinite;
}

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

.hub-glow-aura {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.hub-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 14px;
}

.hub-ai-icon {
  width: 36px; height: 36px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-primary);
}

.hub-ai-icon svg { width: 18px; height: 18px; }

.hub-heading {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 4px;
}

.hub-subtext {
  font-size: 10px;
  color: var(--text-slate);
  line-height: 1.35;
  font-weight: 500;
  max-width: 140px;
  margin: 0 auto;
}

/* 6 INDUSTRY FLOATING GLASS CARDS */
.eco-card {
  position: absolute;
  width: 255px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  z-index: 5;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.25), border-color 0.4s ease, box-shadow 0.4s ease;
}

.eco-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  z-index: 15;
}

/* Accent Color Variations for Cards */
.eco-card.purple { border-color: rgba(147, 51, 234, 0.25); }
.eco-card.purple:hover { border-color: rgba(147, 51, 234, 0.6); box-shadow: 0 12px 28px rgba(147, 51, 234, 0.18); }
.purple-bg { background: rgba(147, 51, 234, 0.08); border: 1px solid rgba(147, 51, 234, 0.2); }

.eco-card.blue { border-color: rgba(2, 132, 199, 0.25); }
.eco-card.blue:hover { border-color: rgba(2, 132, 199, 0.6); box-shadow: 0 12px 28px rgba(2, 132, 199, 0.18); }
.blue-bg { background: rgba(2, 132, 199, 0.08); border: 1px solid rgba(2, 132, 199, 0.2); }

.eco-card.green { border-color: rgba(16, 185, 129, 0.25); }
.eco-card.green:hover { border-color: rgba(16, 185, 129, 0.6); box-shadow: 0 12px 28px rgba(16, 185, 129, 0.18); }
.green-bg { background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.2); }

.eco-card.orange { border-color: rgba(249, 115, 22, 0.25); }
.eco-card.orange:hover { border-color: rgba(249, 115, 22, 0.6); box-shadow: 0 12px 28px rgba(249, 115, 22, 0.18); }
.orange-bg { background: rgba(249, 115, 22, 0.08); border: 1px solid rgba(249, 115, 22, 0.2); }

.eco-card.pink { border-color: rgba(236, 72, 153, 0.25); }
.eco-card.pink:hover { border-color: rgba(236, 72, 153, 0.6); box-shadow: 0 12px 28px rgba(236, 72, 153, 0.18); }
.pink-bg { background: rgba(236, 72, 153, 0.08); border: 1px solid rgba(236, 72, 153, 0.2); }

.eco-card.cyan { border-color: rgba(6, 182, 212, 0.25); }
.eco-card.cyan:hover { border-color: rgba(6, 182, 212, 0.6); box-shadow: 0 12px 28px rgba(6, 182, 212, 0.18); }
.cyan-bg { background: rgba(6, 182, 212, 0.08); border: 1px solid rgba(6, 182, 212, 0.2); }

.eco-card-icon {
  font-size: 22px;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.eco-card:hover .eco-card-icon { transform: scale(1.1); }

.eco-card-text { display: flex; flex-direction: column; gap: 2px; }

.eco-card-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

.eco-card-desc {
  font-size: 11px;
  color: var(--text-slate);
  line-height: 1.4;
}

/* Position Mapping for 6 Cards around 860x480 Stage */
.eco-card.top-left { top: 25px; left: 10px; }
.eco-card.top-right { top: 25px; right: 10px; }
.eco-card.mid-left { top: 195px; left: -15px; width: 250px; }
.eco-card.mid-right { top: 195px; right: -15px; width: 250px; }
.eco-card.bot-left { top: 365px; left: 10px; }
.eco-card.bot-right { top: 365px; right: 10px; }

/* ===== 7. ABOUT / COMPANY ===== */
.about { padding: var(--section-pad); position: relative; z-index: 2; }
.company-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.company-desc {
  font-size: 16px;
  color: var(--text-slate);
  line-height: 1.8;
  margin-bottom: 32px;
}
.company-values { display: flex; flex-direction: column; gap: 24px; }
.value-item { display: flex; align-items: flex-start; gap: 16px; }
.value-icon {
  font-size: 24px;
  width: 48px; height: 48px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-item h4 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.value-item p { font-size: 13px; color: var(--text-slate); line-height: 1.6; }

.company-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 40px;
}
.company-stat-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cs-number {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.cs-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }

/* ===== 8. CAREERS ===== */
.careers { padding: var(--section-pad); position: relative; z-index: 2; }
.careers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.career-card { padding: 32px 28px; }
.career-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.career-role-icon { font-size: 32px; }
.career-badge-open {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-primary);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 4px 12px;
  border-radius: 50px;
}
.career-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.career-type { font-size: 12px; color: var(--blue-primary); font-weight: 600; margin-bottom: 12px; }
.career-desc { font-size: 13px; color: var(--text-slate); line-height: 1.65; margin-bottom: 16px; }
.career-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-primary);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 4px 12px;
  border-radius: 50px;
}

/* ===== 9. FOOTER SECTION — PREMIUM REDESIGN ===== */
.footer {
  background: #0369A1;
  color: var(--white);
  border-top: 1px solid transparent;
  background-image: linear-gradient(135deg, #0369A1 0%, #0284C7 100%),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 0 0 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Ambient Glow */
.footer-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* Pre-footer CTA Banner */
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  padding: 36px 44px;
  margin: 56px 0 64px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.footer-cta:hover {
  transform: none !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 16px 36px rgba(3, 40, 70, 0.25) !important;
}
.footer-cta::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(14,165,233,0.15), transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.cta-desc {
  font-size: 14px;
  color: #E0F2FE;
  line-height: 1.6;
}

/* 4-Column Footer Grid */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-desc {
  font-size: 14px;
  color: #E0F2FE;
  line-height: 1.75;
  margin: 16px 0 20px;
  max-width: 280px;
}
.footer-phone {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: -8px 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition-fast);
}
.footer-phone svg { width: 16px; height: 16px; }
.footer-phone:hover { color: #BAE6FD; }
.footer-phone + .footer-phone { margin-top: -12px; }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.social-icon-btn {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #E0F2FE;
  transition: var(--transition);
}
.social-icon-btn svg { width: 18px; height: 18px; }
.social-icon-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(3,40,70,0.3);
}

.footer-links-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 14px;
  color: #E0F2FE;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1.5px;
  background: #FFFFFF;
  transition: width 0.25s ease;
  border-radius: 2px;
}
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { width: 14px; }

/* Newsletter Column */
.footer-newsletter { display: flex; flex-direction: column; gap: 0; }
.newsletter-desc {
  font-size: 13px;
  color: #BAE6FD;
  line-height: 1.6;
  margin-bottom: 16px;
}
.newsletter-form {
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.newsletter-form:focus-within {
  border-color: rgba(255,255,255,0.75);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.15);
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--white);
  min-width: 0;
}
.newsletter-form input::placeholder { color: #BAE6FD; }
.newsletter-form button {
  padding: 10px 16px;
  background: #FFFFFF;
  border: none;
  color: var(--blue-gradient-end);
  cursor: pointer;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter-form button:hover { opacity: 0.85; }
.newsletter-form button .lucide { width: 16px; height: 16px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: #BAE6FD; }
.footer-cta .btn-primary-gradient {
  background: #FFFFFF !important;
  color: var(--blue-gradient-end) !important;
}

/* ===== INDIVIDUAL ELEMENT-LEVEL SCROLL ANIMATION ENGINE ===== */
.anim-elem {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Text & Headings */
.anim-elem.anim-text {
  transform: translate3d(0, 36px, 0) scale(0.92);
}
.anim-elem.anim-text.anim-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* 2. Cards (Service, Product, Case, Career) */
.anim-elem.anim-card {
  transform: translate3d(0, 48px, 0) scale(0.88);
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.25);
}
.anim-elem.anim-card.anim-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* 3. Tech & Industry Badges / Icons */
.anim-elem.anim-icon {
  transform: translate3d(0, 26px, 0) scale(0.8) rotate(-12deg);
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}
.anim-elem.anim-icon.anim-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

/* 4. Images */
.anim-elem.anim-image {
  transform: scale(0.85);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-elem.anim-image.anim-visible {
  opacity: 1;
  transform: scale(1.0);
}

/* 5. Buttons & CTAs */
.anim-elem.anim-button {
  transform: translate3d(0, 22px, 0) scale(0.92);
}
.anim-elem.anim-button.anim-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* 6. 3D Stage / Hero AI Visual */
.anim-elem.anim-3d {
  transform: translate3d(45px, 0, 0) scale(0.82);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-elem.anim-3d.anim-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* 7. Stats & Counter Items */
.anim-elem.anim-stat {
  transform: translate3d(0, 24px, 0) scale(0.82);
}
.anim-elem.anim-stat.anim-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Backward compatibility fallback */
.fade-in-up {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.94);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.fade-in-up.visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.fade-in-right {
  opacity: 0;
  transform: translate3d(42px, 0, 0) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.fade-in-right.visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* TOAST */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--white);
  border: 1px solid var(--blue-primary);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 9999;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== DEDICATED CONTACT PAGE STYLES ===== */
.contact-page-hero {
  padding: 140px 0 100px;
  min-height: 85vh;
  position: relative;
  z-index: 2;
}
.contact-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}
.contact-title-main {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.contact-subtitle-main {
  font-size: 17px;
  color: var(--text-slate);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
}
.contact-left { display: flex; flex-direction: column; gap: 24px; }

.contact-card-box, .why-us-box {
  padding: 36px 32px;
  border-radius: 24px;
}
.box-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.contact-steps { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.contact-steps li { display: flex; gap: 14px; align-items: flex-start; }
.contact-steps .step-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-gradient-end));
}
.contact-steps strong { display: block; font-size: 15px; color: var(--text-dark); margin-bottom: 2px; }
.contact-steps li span:not(.step-num) { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.box-subheading {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 16px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(248, 251, 253, 0.9);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 16px;
  transition: var(--transition-fast);
}
.contact-info-item:hover {
  border-color: var(--blue-primary);
  background: var(--white);
  transform: translateX(4px);
}
.contact-info-icon {
  font-size: 22px;
  width: 44px; height: 44px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-label { display: block; font-size: 11px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 2px; }
.info-value { display: block; font-size: 14px; color: var(--text-dark); font-weight: 700; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--text-slate);
  line-height: 1.6;
}
.why-list li strong { color: var(--text-dark); }

/* CONTACT FORM SYSTEM */
.contact-form {
  padding: 44px 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.full { margin-bottom: 24px; }
.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(14, 165, 233, 0.22);
  background: rgba(248, 251, 253, 0.85);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94A3B8;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.btn-primary-gradient.full-width {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 15px;
}

/* ===== RESPONSIVE DESIGN — FULL SITE MOBILE SYSTEM ===== */

/* ── 1280px: Wide Tablets & Small Laptops ── */
@media (max-width: 1280px) {
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
}

/* ── 1200px: Tablet Landscape ── */
@media (max-width: 1200px) {
  .hero-container { grid-template-columns: 1fr 1fr; gap: 40px; }
  .solutions-grid, .case-studies-grid, .careers-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-neural-stage { width: 480px; height: 480px; }
  #threeAiCanvas { width: 440px; height: 440px; }
  .ecosystem-container { max-width: 880px; height: 580px; }
  .eco-card { width: 260px; padding: 18px 20px; }
  .eco-card.top-left { top: 30px; left: 10px; }
  .eco-card.top-right { top: 30px; right: 10px; }
  .eco-card.mid-left { top: 230px; left: 0px; }
  .eco-card.mid-right { top: 230px; right: 0px; }
  .eco-card.bot-left { top: 430px; left: 10px; }
  .eco-card.bot-right { top: 430px; right: 10px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-cta { padding: 28px 32px; }
}

/* ── 1024px: Tablet Portrait ── */
@media (max-width: 1024px) {
  .hero-page { padding: 120px 0 60px; min-height: auto; }
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .hero-left { max-width: 100%; }
  .hero-cta-group, .hero-stats-box { margin-left: auto; margin-right: auto; justify-content: center; }
  .company-content, .contact-grid, .products-grid { grid-template-columns: 1fr; gap: 48px; }
  .solutions-grid--3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .ecosystem-container { max-width: 760px; height: 540px; }
  .eco-center-hub { width: 220px; height: 220px; }
  .hub-heading { font-size: 16px; }
  .eco-card { width: 230px; padding: 14px 16px; gap: 12px; }
  .eco-card-title { font-size: 13.5px; }
  .eco-card-desc { font-size: 11px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-newsletter { grid-column: 1 / -1; }
  .newsletter-form { max-width: 400px; }
}

/* ── 768px: Mobile ── */
@media (max-width: 768px) {

  /* NAVIGATION */
  .nav-container { padding: 0 20px; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(160deg, #0369A1 0%, #0284C7 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 998;
    padding-top: var(--nav-height);
  }
  .nav-menu.open { display: flex; }
  /* backdrop-filter would trap the fixed menu inside the navbar's box */
  .navbar:has(.nav-menu.open) { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-link {
    font-size: 22px;
    padding: 14px 32px;
    color: var(--white) !important;
    border-bottom: 1px solid rgba(255,255,255,0.14);
    text-align: center;
    width: 100%;
  }
  .nav-link:hover, .nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.14);
  }
  .hamburger { display: flex; }
  .btn-nav-talk { display: none; }

  /* SECTIONS */
  .section-container { padding: 0 18px; }
  .hero-container { padding: 0 18px; }
  :root { --section-pad: 72px 0; }

  /* HERO */
  .hero-page { padding: 100px 0 48px; }
  .hero-heading { font-size: clamp(28px, 8vw, 42px); }
  .hero-sub { font-size: 15px; }
  .hero-badge { font-size: 11px; padding: 6px 14px; }
  .hero-stats-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; justify-items: center; }
  .hero-stats-box .stat-divider { display: none; }
  .stat-item { min-width: 80px; text-align: center; }
  .hero-cta-group { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary-gradient, .btn-secondary-outline { width: 100%; max-width: 320px; justify-content: center; }
  .ai-neural-stage { width: 280px; height: 280px; }
  #threeAiCanvas { width: 260px; height: 260px; }

  /* SERVICES */
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { padding: 24px 20px; }

  /* TECH STACK */
  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tech-card { padding: 16px 12px; }

  /* ECOSYSTEM — complete mobile reflow */
  .ecosystem-container {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: unset !important;
    align-items: center;
    gap: 12px;
    padding: 8px 0 24px;
    position: static;
  }
  .eco-svg-network { display: none !important; }

  /* Hub: strip absolute, centre it */
  .eco-center-hub {
    position: static !important;
    top: auto !important; left: auto !important;
    transform: none !important;
    width: 180px !important; height: 180px !important;
    margin: 0 auto 8px;
    flex-shrink: 0;
  }
  .eco-center-hub.anim-card,
  .eco-center-hub.anim-card.anim-visible {
    transform: none !important;
  }
  .eco-center-hub:hover { transform: scale(1.04) !important; }

  /* Cards: strip all absolute coordinates */
  .eco-card,
  .eco-card.top-left, .eco-card.top-right,
  .eco-card.mid-left, .eco-card.mid-right,
  .eco-card.bot-left, .eco-card.bot-right {
    position: static !important;
    top: auto !important; left: auto !important;
    right: auto !important; bottom: auto !important;
    width: 100% !important;
    max-width: 420px;
    margin: 0 auto;
  }

  /* ABOUT / COMPANY */
  .company-content { grid-template-columns: 1fr; gap: 36px; }
  .company-right { padding: 24px 16px; grid-template-columns: 1fr 1fr; gap: 16px; }
  .cs-number { font-size: 30px; }
  .value-item { gap: 12px; }
  .value-icon { width: 40px; height: 40px; font-size: 18px; }

  /* CASE STUDIES */
  .case-studies-grid { grid-template-columns: 1fr; }

  /* CAREERS */
  .careers-grid { grid-template-columns: 1fr; }
  .career-card { padding: 24px 20px; }

  /* CONTACT PAGE */
  .contact-page-hero { padding: 100px 0 60px; min-height: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-card-box, .why-us-box { padding: 24px 20px; }

  /* FOOTER */
  .footer-cta {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }
  .footer-cta .btn-primary-gradient { width: 100%; max-width: 260px; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-newsletter { grid-column: auto; }
  .newsletter-form { max-width: 100%; }
  .footer-container { padding: 0 18px; }
  .footer-desc { max-width: 100%; }
  .footer-socials { justify-content: flex-start; }
}

/* ── 480px: Small Mobile ── */
@media (max-width: 480px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-heading { font-size: clamp(24px, 9vw, 34px); }
  .section-title { font-size: clamp(22px, 7vw, 30px); }
  .ai-neural-stage { width: 240px; height: 240px; }
  #threeAiCanvas { width: 220px; height: 220px; }
  .company-right { grid-template-columns: 1fr 1fr; }
  .footer-cta { padding: 22px 16px; }
  .footer-top { gap: 24px; }
  .cta-title { font-size: 18px; }
  .stat-number { font-size: 24px; }
  .nav-link { font-size: 19px; }
  .toast { right: 16px; bottom: 16px; left: 16px; right: 16px; font-size: 13px; }
}

/* ===== GLOBAL LUCIDE ICON STYLES ===== */
.lucide {
  width: 1em;
  height: 1em;
  stroke-width: 1.5px;
}
