/* ==========================================================================
   AVISHATECH — DUAL THEME ENTERPRISE DIGITAL ENGINEERING STYLESHEET
   Brand: Avisha Technologies (AvishaTech)
   Default Theme: Clean Light Mode (White Background)
   Secondary Theme: Obsidian Dark Mode ([data-theme="dark"])
   Fully Responsive (320px Mobile to 4K Ultra-Wide Desktop)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS — DEFAULT LIGHT MODE (WHITE BACKGROUND)
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-card-alt: #F8FAFC;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-heavy: rgba(255, 255, 255, 0.94);

  /* Lines & Borders */
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-card: #E2E8F0;
  --border-active: #0D9488;
  --border-glow: rgba(13, 148, 136, 0.35);

  /* Text & Contrast */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-faint: #94A3B8;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
  --shadow-card-hover: 0 20px 40px -12px rgba(15, 23, 42, 0.14), 0 0 25px -4px rgba(13, 148, 136, 0.12);

  /* Brand Accents */
  --teal-400: #0D9488;
  --teal-500: #0F766E;
  --cyan-neon: #0284C7;
  --blue-400: #2563EB;
  --blue-500: #1D4ED8;
  --blue-600: #1E40AF;
  --emerald-400: #059669;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #0D9488 0%, #0284C7 50%, #2563EB 100%);
  --grad-btn-hover: linear-gradient(135deg, #14B8A6 0%, #38BDF8 50%, #3B82F6 100%);
  --grad-text: linear-gradient(120deg, #0F172A 0%, #0D9488 45%, #2563EB 100%);
  --grad-card-glow: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.06) 0%, transparent 70%);

  /* Atmosphere */
  --mesh-line: rgba(15, 23, 42, 0.04);
  --orb-1-color: rgba(37, 99, 235, 0.09);
  --orb-2-color: rgba(13, 148, 136, 0.09);
  --orb-3-color: rgba(14, 165, 233, 0.07);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Sizing & Transitions */
  --max-w: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS — DARK MODE ([data-theme="dark"])
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  /* Surfaces */
  --bg-primary: #06090E;
  --bg-secondary: #0A0F18;
  --bg-tertiary: #101726;
  --bg-card: #0E1624;
  --bg-card-hover: #131E31;
  --bg-card-alt: #111A2B;
  --bg-glass: rgba(14, 22, 36, 0.78);
  --bg-glass-heavy: rgba(8, 12, 20, 0.92);

  /* Lines & Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(148, 163, 184, 0.16);
  --border-card: rgba(148, 163, 184, 0.12);
  --border-active: rgba(45, 212, 191, 0.5);
  --border-glow: rgba(34, 211, 238, 0.35);

  /* Text & Contrast */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-faint: #475569;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.8);
  --shadow-card-hover: 0 20px 45px -12px rgba(0, 0, 0, 0.8), 0 0 30px -8px rgba(0, 245, 212, 0.2);

  /* Brand Accents */
  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;
  --cyan-neon: #00F5D4;
  --blue-400: #60A5FA;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --emerald-400: #34D399;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #00F5D4 0%, #14B8A6 35%, #2563EB 80%, #1D4ED8 100%);
  --grad-btn-hover: linear-gradient(135deg, #2DD4BF 0%, #38BDF8 60%, #3B82F6 100%);
  --grad-text: linear-gradient(120deg, #F8FAFC 0%, #E2E8F0 30%, #38BDF8 70%, #00F5D4 100%);
  --grad-card-glow: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.14) 0%, transparent 70%);

  /* Atmosphere */
  --mesh-line: rgba(255, 255, 255, 0.03);
  --orb-1-color: #2563EB;
  --orb-2-color: #0D9488;
  --orb-3-color: #1E3A8A;
}

/* --------------------------------------------------------------------------
   3. BASE RESET & GLOBAL ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

::selection {
  background: rgba(13, 148, 136, 0.25);
  color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-wrap: balance;
}

.mono {
  font-family: var(--font-mono);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   4. ATMOSPHERE & BACKGROUNDS
   -------------------------------------------------------------------------- */
.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--mesh-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--mesh-line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 10%, black 15%, transparent 75%);
  opacity: 0.75;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.25;
  transition: background var(--transition-smooth);
}

.orb-1 {
  width: 650px;
  height: 650px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, var(--orb-1-color) 0%, transparent 70%);
}

.orb-2 {
  width: 550px;
  height: 550px;
  top: 400px;
  left: -150px;
  background: radial-gradient(circle, var(--orb-2-color) 0%, transparent 70%);
}

.orb-3 {
  width: 600px;
  height: 600px;
  bottom: 200px;
  right: -50px;
  background: radial-gradient(circle, var(--orb-3-color) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

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

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 20px;
  transition: height var(--transition-fast);
}

header.site-header.scrolled .nav-container {
  height: 68px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 101;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 175px;
  transition: transform var(--transition-smooth);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.03);
}

nav.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 28px);
  flex-shrink: 0;
}

nav.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 8px 0;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}

nav.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--teal-400);
  transition: width var(--transition-smooth), left var(--transition-smooth);
  border-radius: 2px;
}

nav.nav-links a:hover,
nav.nav-links a.active {
  color: var(--text-primary);
}

nav.nav-links a:hover::after,
nav.nav-links a.active::after {
  width: 100%;
  left: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-smooth), color var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--teal-400);
  color: var(--teal-400);
  transform: scale(1.08) rotate(15deg);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-smooth), opacity var(--transition-fast);
}

.theme-toggle-btn .sun-icon { display: none; }
.theme-toggle-btn .moon-icon { display: block; }

[data-theme="dark"] .theme-toggle-btn .sun-icon { display: block; }
[data-theme="dark"] .theme-toggle-btn .moon-icon { display: none; }

.nav-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  transition: border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.nav-phone-pill:hover {
  border-color: var(--teal-400);
  color: var(--teal-400);
}

.nav-phone-pill svg {
  width: 14px;
  height: 14px;
  stroke: var(--teal-400);
}

/* Hamburger */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  z-index: 102;
  cursor: pointer;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 100px 28px 40px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.mobile-nav-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 4px 0;
}

.mobile-nav-links a:hover {
  color: var(--teal-400);
}

/* --------------------------------------------------------------------------
   6. BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: var(--grad-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 18px -4px rgba(13, 148, 136, 0.4);
}

[data-theme="dark"] .btn-primary {
  color: #041113;
  box-shadow: 0 4px 20px -4px rgba(0, 245, 212, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px -4px rgba(13, 148, 136, 0.55);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: var(--teal-400);
  color: var(--teal-400);
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  min-height: 38px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 15px 32px;
  min-height: 50px;
  font-size: 1rem;
}

/* Blip live pill */
.blip-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--teal-400);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.22);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.blip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7);
  animation: pulseBlip 2s infinite cubic-bezier(0.66, 0, 0, 1);
  flex-shrink: 0;
}

@keyframes pulseBlip {
  0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(13, 148, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.section-pad {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 8vw, 100px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 50px;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 14px;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  z-index: 1;
  padding: clamp(120px, 14vw, 165px) 0 clamp(60px, 8vw, 95px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 5vw, 60px);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  line-height: 1.12;
  margin-top: 20px;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

/* Stats Row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-item .stat-num .stat-plus {
  color: var(--teal-400);
  font-size: 1.3rem;
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 4px;
}

/* 3D Tech Hub Visual */
.hero-visual-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.tech-hub-wrapper {
  position: relative;
  width: min(440px, 90vw);
  height: min(440px, 90vw);
  margin: 0 auto;
}

.hub-center-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(110px, 28vw, 140px);
  height: clamp(110px, 28vw, 140px);
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: var(--shadow-lg), 0 0 35px -8px rgba(13, 148, 136, 0.25);
  animation: floatCenter 6s ease-in-out infinite;
}

.hub-center-card img {
  width: clamp(52px, 14vw, 72px);
  height: auto;
}

.hub-pulse-ring {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px dashed rgba(13, 148, 136, 0.3);
  animation: rotateRing 30s linear infinite;
  pointer-events: none;
}

.hub-pulse-ring-outer {
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  animation: rotateRingReverse 45s linear infinite;
  pointer-events: none;
}

.tech-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 6;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.tech-chip:hover {
  transform: scale(1.08) !important;
  border-color: var(--teal-400);
}

.tech-chip.chip-1 { top: 25px; left: 10%; animation: floatChip 5s ease-in-out infinite; }
.tech-chip.chip-2 { top: 35px; right: 5%; animation: floatChip 6s ease-in-out 1s infinite; }
.tech-chip.chip-3 { bottom: 120px; left: 2%; animation: floatChip 5.5s ease-in-out 1.5s infinite; }
.tech-chip.chip-4 { bottom: 35px; right: 8%; animation: floatChip 6.5s ease-in-out 0.5s infinite; }
.tech-chip.chip-5 { bottom: 20px; left: 24%; animation: floatChip 5.8s ease-in-out 2s infinite; }

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

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

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

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

/* --------------------------------------------------------------------------
   8. MARQUEE BANNER
   -------------------------------------------------------------------------- */
.marquee-band {
  position: relative;
  z-index: 2;
  padding: 24px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 32px;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.marquee-item:hover {
  color: var(--teal-400);
  border-color: var(--border-active);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   9. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-card-hover);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--teal-400);
  transition: transform var(--transition-smooth), background var(--transition-smooth);
  flex-shrink: 0;
}

.service-card:hover .service-icon-box {
  transform: scale(1.08);
  background: rgba(13, 148, 136, 0.16);
  border-color: var(--teal-400);
}

.service-icon-box svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal-400);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.22);
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.service-outcomes {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-outcomes li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-outcomes li svg {
  width: 14px;
  height: 14px;
  stroke: var(--teal-400);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. LIVE PROJECTS PORTFOLIO
   -------------------------------------------------------------------------- */
.live-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-card-hover);
}

.project-browser-frame {
  position: relative;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-subtle);
}

.browser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.browser-dot.red { background: #EF4444; }
.browser-dot.yellow { background: #F59E0B; }
.browser-dot.green { background: #10B981; }

.browser-address-bar {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-preview-wrap {
  position: relative;
  height: 215px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.project-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.project-card:hover .project-preview-wrap img {
  transform: scale(1.05);
}

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

.project-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-400);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  white-space: nowrap;
}

.project-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.project-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.project-tech-pills span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.project-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-400);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.project-cta-link:hover {
  gap: 12px;
  color: var(--blue-500);
}

.project-cta-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* --------------------------------------------------------------------------
   11. PROCESS SECTION
   -------------------------------------------------------------------------- */
.process-section {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.process-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  margin-top: 40px;
}

.process-progress-line {
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 1;
}

.process-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-brand);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px var(--teal-400);
}

.process-step-card {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
}

.process-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--teal-400);
  color: var(--teal-400);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 14px rgba(13, 148, 136, 0.2);
}

.process-step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.process-step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.process-deliverables {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--teal-400);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. COMPARISON TABLE (WHY US)
   -------------------------------------------------------------------------- */
.comparison-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.94rem;
}

.comparison-table th {
  background: var(--bg-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
  background: rgba(13, 148, 136, 0.05);
  border-left: 1px solid rgba(13, 148, 136, 0.18);
  border-right: 1px solid rgba(13, 148, 136, 0.18);
  color: var(--text-primary);
  font-weight: 600;
}

.comparison-table th.highlight-col {
  color: var(--teal-400);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.check-green {
  color: var(--emerald-400);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.cross-red {
  color: #EF4444;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   13. CONTACT & ESTIMATOR SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 32px);
  box-shadow: var(--shadow-sm);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-method:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-method:first-child {
  padding-top: 0;
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-400);
  flex-shrink: 0;
}

.method-content {
  flex-grow: 1;
}

.method-content .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.method-content .value {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}

.copy-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal-400);
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.copy-btn:hover {
  background: var(--teal-400);
  color: #FFFFFF;
}

.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 40px);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
  outline: none;
  background: var(--bg-card);
}

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

.service-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pill-checkbox {
  position: relative;
}

.pill-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-checkbox label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.pill-checkbox input:checked + label {
  background: rgba(13, 148, 136, 0.1);
  border-color: var(--teal-400);
  color: var(--teal-400);
  font-weight: 600;
}

.form-status-alert {
  margin-top: 18px;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status-alert.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
}

.form-status-alert.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #DC2626;
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
footer.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: clamp(50px, 7vw, 80px) 0 36px;
  position: relative;
  z-index: 1;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--teal-400);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.86rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

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

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  border-color: var(--teal-400);
  color: var(--teal-400);
  transform: translateY(-2px);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   15. AI ASSISTANT CHATBOT
   -------------------------------------------------------------------------- */
.chat-launcher-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 8px 25px -4px rgba(13, 148, 136, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

[data-theme="dark"] .chat-launcher-btn {
  color: #041113;
}

.chat-launcher-btn:hover {
  transform: scale(1.08);
}

.chat-launcher-btn svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.chat-badge-ping {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid var(--bg-primary);
}

.chat-modal-window {
  position: fixed;
  bottom: 95px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 130px);
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 91;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.chat-modal-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

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

.chat-bot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-bot-avatar img {
  width: 22px;
  height: 22px;
}

.chat-title-group h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.chat-title-group p {
  font-size: 0.72rem;
  color: var(--teal-400);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-messages-container {
  flex-grow: 1;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-msg.bot {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-msg.user {
  background: var(--blue-500);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.chat-chip-btn {
  font-size: 0.76rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.chat-chip-btn:hover {
  background: rgba(13, 148, 136, 0.1);
  border-color: var(--teal-400);
  color: var(--teal-400);
}

.chat-input-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.chat-input-field {
  flex-grow: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 9px 16px;
  font-size: 0.88rem;
  color: var(--text-primary);
  outline: none;
}

.chat-input-field:focus {
  border-color: var(--teal-400);
}

.chat-send-action-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--teal-400);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.chat-send-action-btn:hover {
  transform: scale(1.08);
}

.chat-send-action-btn svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   16. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS (DESKTOP, TABLET, MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .nav-phone-pill {
    display: none !important;
  }
  nav.nav-links {
    gap: clamp(10px, 1.4vw, 20px);
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats-row {
    justify-content: center;
  }
  .hero-visual-col {
    order: -1;
  }
  .services-grid,
  .live-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-progress-line {
    display: none;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  nav.nav-links {
    display: none !important;
  }
  .hamburger-btn {
    display: flex !important;
  }
  .nav-phone-pill {
    display: none !important;
  }
}

@media (max-width: 768px) {
  nav.nav-links,
  .nav-phone-pill {
    display: none !important;
  }
  .hamburger-btn {
    display: flex !important;
  }
  .hero-section {
    padding-top: 110px;
  }
  .hero-title {
    font-size: clamp(2.1rem, 7vw, 3rem);
  }
  .hero-lead {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: left;
  }
  .tech-hub-wrapper {
    width: min(320px, 86vw);
    height: min(320px, 86vw);
  }
  .hub-center-card {
    width: 100px;
    height: 100px;
  }
  .hub-center-card img {
    width: 48px;
    height: 48px;
  }
  .tech-chip {
    padding: 6px 12px;
    font-size: 0.76rem;
  }
  .services-grid,
  .live-projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card,
  .project-card {
    padding: 24px 20px;
  }
  .process-pipeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-form-panel {
    padding: 24px 18px;
  }
  .service-checkbox-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .nav-actions .btn-sm {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand-logo-img {
    height: 36px;
  }
  .theme-toggle-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
  .hamburger-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
  .section-pad {
    padding: 50px 0;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-item .stat-num {
    font-size: 1.6rem;
  }
  .contact-card-box {
    padding: 18px 14px;
  }
  .chat-modal-window {
    right: 12px;
    bottom: 80px;
    width: calc(100vw - 24px);
    height: calc(100vh - 120px);
  }
  .chat-launcher-btn {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
}
