/* 
  AUREVEX DIGITAL SOLUTIONS - Luxury Modern Corporate CSS
  Theme: Cyber Mint / Aqua Emerald & Metallic Silver (Matching Exact AX Logo Palette)
  Supports: High-Performance Dark Mode (Default) & Crisp Luxury Light Mode
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* DARK THEME - Rich Glowing Cyber-Slate (Not overly dark, matching AX Logo Neon Mint) */
  --bg-primary: #0D1724;
  --bg-secondary: #132235;
  --bg-card: rgba(20, 34, 52, 0.78);
  --bg-card-hover: rgba(28, 47, 72, 0.92);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-input: rgba(13, 23, 36, 0.85);
  --bg-dropdown: #132235;
  --bg-footer: #0A121D;
  --bg-header-scrolled: rgba(13, 23, 36, 0.94);
  
  /* Cyber Mint / Aqua-Emerald Palette */
  --accent-mint: #00FFA3;
  --accent-mint-bright: #00FFA3;
  --accent-cyan: #00F5D4;
  --accent-teal: #06D6A0;
  --accent-deep: #059669;
  
  /* Aliases for codebase compatibility */
  --accent-emerald: #00FFA3;
  --accent-emerald-bright: #00FFA3;
  --accent-emerald-glow: rgba(0, 255, 163, 0.45);
  --accent-emerald-subtle: rgba(0, 255, 163, 0.12);
  
  --accent-glow: rgba(0, 255, 163, 0.45);
  --accent-subtle: rgba(0, 255, 163, 0.12);

  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --border-light: rgba(255, 255, 255, 0.09);
  --border-accent: rgba(0, 255, 163, 0.32);
  --border-accent-glow: rgba(0, 255, 163, 0.7);
  --border-emerald: rgba(0, 255, 163, 0.32);
  --border-emerald-glow: rgba(0, 255, 163, 0.7);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --btn-primary-bg: linear-gradient(135deg, #00FFA3 0%, #059669 100%);
  --btn-primary-color: #03150F;
  --btn-primary-hover-bg: linear-gradient(135deg, #34D399 0%, #00FFA3 100%);
  --btn-primary-hover-color: #02110C;
  --btn-primary-shadow: 0 4px 20px rgba(0, 255, 163, 0.45);
  --btn-primary-shadow-hover: 0 8px 30px rgba(0, 255, 163, 0.7);

  --chat-user-bg: linear-gradient(135deg, #00FFA3, #059669);
  --chat-user-color: #03150F;
  --chat-bot-bg: rgba(255, 255, 255, 0.06);
  --chat-bot-color: #FFFFFF;
}

/* ==========================================================================
   LIGHT THEME OVERRIDES
   ========================================================================== */
[data-theme="light"] {
  --bg-primary: #F3F7FA;
  --bg-secondary: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(0, 0, 0, 0.03);
  --bg-input: #FFFFFF;
  --bg-dropdown: #FFFFFF;
  --bg-footer: #0A131E;
  --bg-header-scrolled: rgba(243, 247, 250, 0.94);

  --accent-mint: #059669;
  --accent-mint-bright: #047857;
  --accent-cyan: #0D9488;
  --accent-teal: #059669;
  --accent-deep: #065F46;

  --accent-emerald: #059669;
  --accent-emerald-bright: #047857;
  --accent-emerald-glow: rgba(5, 150, 105, 0.25);
  --accent-emerald-subtle: rgba(5, 150, 105, 0.08);

  --accent-glow: rgba(5, 150, 105, 0.25);
  --accent-subtle: rgba(5, 150, 105, 0.08);

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;

  --border-light: rgba(15, 23, 42, 0.09);
  --border-accent: rgba(5, 150, 105, 0.28);
  --border-accent-glow: rgba(5, 150, 105, 0.55);
  --border-emerald: rgba(5, 150, 105, 0.28);
  --border-emerald-glow: rgba(5, 150, 105, 0.55);

  --btn-primary-bg: linear-gradient(135deg, #059669 0%, #047857 100%);
  --btn-primary-color: #FFFFFF;
  --btn-primary-hover-bg: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --btn-primary-hover-color: #FFFFFF;
  --btn-primary-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
  --btn-primary-shadow-hover: 0 8px 25px rgba(5, 150, 105, 0.5);

  --chat-user-bg: linear-gradient(135deg, #059669, #047857);
  --chat-user-color: #FFFFFF;
  --chat-bot-bg: #F1F5F9;
  --chat-bot-color: #0F172A;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body {
  position: relative;
  background-color: var(--bg-primary);
  min-height: 100vh;
  transition: background-color 0.35s ease;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: -10%;
  width: 120vw;
  height: 120vh;
  background-image: 
    radial-gradient(circle at 18% 22%, rgba(0, 255, 163, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 82% 48%, rgba(0, 245, 212, 0.13) 0%, transparent 45%),
    radial-gradient(circle at 45% 82%, rgba(6, 214, 160, 0.11) 0%, transparent 48%),
    radial-gradient(circle at 88% 88%, rgba(0, 255, 163, 0.1) 0%, transparent 40%),
    linear-gradient(rgba(0, 255, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 163, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  z-index: 0;
  pointer-events: none;
  animation: auroraFlow 20s ease-in-out infinite alternate;
}

[data-theme="light"] body::before {
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(5, 150, 105, 0.09) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(13, 148, 136, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
}

@keyframes auroraFlow {
  0% {
    transform: translate(0, 0) scale(1);
    filter: hue-rotate(0deg);
  }
  50% {
    transform: translate(-25px, 20px) scale(1.05);
    filter: hue-rotate(18deg);
  }
  100% {
    transform: translate(20px, -15px) scale(1.02);
    filter: hue-rotate(-12deg);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #203144;
  border-radius: 4px;
}
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #CBD5E1;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-emerald);
}

/* Selection */
::selection {
  background: var(--accent-emerald);
  color: #03150F;
}
[data-theme="light"] ::selection {
  color: #FFFFFF;
}

/* Typography & Utility classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

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

ul {
  list-style: none;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 45%, var(--accent-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 45%, var(--accent-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-emerald, .text-mint {
  color: var(--accent-emerald-bright);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-full);
  color: var(--accent-emerald-bright);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag i {
  font-size: 0.8rem;
  color: var(--accent-emerald-bright);
}

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

.section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-color);
  font-weight: 700;
  box-shadow: var(--btn-primary-shadow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--btn-primary-shadow-hover);
  background: var(--btn-primary-hover-bg);
  color: var(--btn-primary-hover-color);
}

.btn-secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}
[data-theme="light"] .btn-secondary {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--accent-emerald-bright);
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald-bright);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  outline: none;
  position: relative;
  z-index: 10;
}
.theme-toggle-btn i {
  pointer-events: none;
}
[data-theme="light"] .theme-toggle-btn {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.theme-toggle-btn:hover {
  border-color: var(--accent-emerald-bright);
  color: var(--accent-emerald-bright);
  transform: rotate(20deg) scale(1.08);
  box-shadow: 0 0 15px var(--accent-emerald-subtle);
}

/* Glass Card Baseline */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}
[data-theme="light"] .glass-card {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.glass-card:hover {
  border-color: var(--border-emerald);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 25px var(--accent-emerald-subtle);
  transform: translateY(-4px) translateZ(0);
}
[data-theme="light"] .glass-card:hover {
  box-shadow: 0 14px 35px rgba(5, 150, 105, 0.12), 0 4px 12px rgba(0,0,0,0.04);
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  will-change: transform;
  transform: translateZ(0);
}
.header.scrolled {
  padding: 12px 0;
  background: var(--bg-header-scrolled);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}
[data-theme="light"] .header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.brand-logo img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  filter: drop-shadow(0 0 12px rgba(0, 255, 163, 0.35));
}
.brand-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--accent-emerald));
  border: 1px solid var(--accent-emerald-bright);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 0 18px var(--accent-emerald-glow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-emerald-bright);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-emerald-bright);
  transition: var(--transition-fast);
  border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-nav-cta {
  display: none;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.hero-glow-orb {
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 255, 163, 0.32) 0%, rgba(0, 245, 212, 0.14) 40%, rgba(0,0,0,0) 70%);
  top: -120px;
  right: -120px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}
[data-theme="light"] .hero-glow-orb {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.16) 0%, rgba(13, 148, 136, 0.08) 45%, rgba(0,0,0,0) 70%);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald-bright);
  animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 18px var(--accent-emerald-bright); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title-main {
  display: block;
}

#typing-text, .hero-typing-wrap {
  display: inline-block;
  min-height: 1.22em;
  line-height: 1.22;
  color: var(--accent-emerald-bright);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

/* Highlight Pills */
.highlights-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 60px;
}
.highlight-pill {
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}
[data-theme="light"] .highlight-pill {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.highlight-pill:hover {
  border-color: var(--accent-emerald-bright);
  color: var(--text-main);
  background: var(--accent-emerald-subtle);
}
.highlight-pill i {
  color: var(--accent-emerald-bright);
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition-smooth);
}
[data-theme="light"] .stat-card {
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}
.stat-card:hover {
  border-color: var(--border-emerald);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 25px var(--accent-emerald-subtle);
}
[data-theme="light"] .stat-card:hover {
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.12);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-emerald-bright);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.mv-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: var(--radius-md);
}
[data-theme="light"] .mv-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.mv-card h4 {
  font-size: 1.1rem;
  color: var(--accent-emerald-bright);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mv-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Core Values Grid */
.values-header {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}
[data-theme="light"] .value-card {
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.value-card:hover {
  border-color: var(--border-emerald);
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}
.value-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--border-emerald);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald-bright);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.value-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Services Section */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-icon-box {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0, 255, 163, 0.22), rgba(6, 214, 160, 0.08));
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald-bright);
  font-size: 1.8rem;
  margin-bottom: 24px;
  box-shadow: 0 0 25px var(--accent-emerald-subtle);
}
[data-theme="light"] .service-icon-box {
  background: rgba(5, 150, 105, 0.1);
}
.service-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-includes-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.service-list {
  margin-bottom: 24px;
  flex-grow: 1;
}
.service-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list li i {
  color: var(--accent-emerald-bright);
  font-size: 0.85rem;
}

/* Service Calculator Box */
.calculator-box {
  margin-top: 70px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 0 50px var(--accent-emerald-subtle);
}
[data-theme="light"] .calculator-box {
  background: #FFFFFF;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.calc-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.calc-option {
  padding: 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
[data-theme="light"] .calc-option {
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.calc-option.selected {
  border-color: var(--accent-emerald-bright);
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald-bright);
  font-weight: 600;
}
.calc-option i {
  font-size: 1.1rem;
}
.calc-summary {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
[data-theme="light"] .calc-summary {
  background: #F8FAFC;
}
.calc-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-emerald-bright);
  margin: 14px 0;
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}
[data-theme="light"] .why-card {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.why-card:hover {
  border-color: var(--border-emerald);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}
.why-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--border-emerald);
  color: var(--accent-emerald-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-text {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Process Section */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 50px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-emerald), rgba(0, 255, 163, 0.2), rgba(255,255,255,0.05));
  z-index: 1;
}
[data-theme="light"] .process-timeline::before {
  background: linear-gradient(90deg, #059669, rgba(5, 150, 105, 0.2), rgba(0,0,0,0.05));
}
.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
}
.step-num {
  width: 70px;
  height: 70px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-emerald-bright);
  box-shadow: 0 0 20px var(--accent-emerald-subtle);
  transition: var(--transition-smooth);
}
.process-step:hover .step-num {
  background: var(--accent-emerald);
  color: var(--btn-primary-color);
  transform: scale(1.15);
  box-shadow: 0 0 30px var(--accent-emerald-glow);
}
.step-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Portfolio Section */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
[data-theme="light"] .filter-btn {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--accent-emerald);
  color: var(--btn-primary-color);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 18px var(--accent-emerald-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}
[data-theme="light"] .project-card {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.project-card:hover {
  border-color: var(--border-emerald);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35), 0 0 25px var(--accent-emerald-subtle);
}
[data-theme="light"] .project-card:hover {
  box-shadow: 0 15px 40px rgba(5, 150, 105, 0.15);
}
.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}
.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}
.project-info {
  padding: 24px;
}
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.project-cat {
  font-size: 0.8rem;
  color: var(--accent-emerald-bright);
  font-weight: 600;
  text-transform: uppercase;
}
.project-tech {
  font-size: 0.78rem;
  color: var(--text-dim);
  background: var(--bg-glass);
  padding: 2px 8px;
  border-radius: 4px;
}
[data-theme="light"] .project-tech {
  background: #F1F5F9;
}
.project-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
[data-theme="light"] .testimonial-card {
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.stars {
  color: #F59E0B;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}
.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.6;
}
.client-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.client-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-emerald);
  object-fit: cover;
}
.client-name {
  font-size: 1rem;
  font-weight: 700;
}
.client-company {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* FAQ Section */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}
[data-theme="light"] .faq-item {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.faq-item.active {
  border-color: var(--border-emerald);
}
.faq-question {
  padding: 20px 24px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-question i {
  color: var(--accent-emerald-bright);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-side h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}
.contact-info-side p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-pills {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.contact-pill-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}
[data-theme="light"] .contact-pill-item {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.pill-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-emerald-subtle);
  border: 1px solid var(--border-emerald);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald-bright);
  font-size: 1.2rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}
[data-theme="light"] .contact-form {
  background: #FFFFFF;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
@keyframes formGlowPulse {
  0% { box-shadow: 0 0 15px var(--accent-emerald-glow); border-color: var(--accent-emerald-bright); }
  50% { box-shadow: 0 0 35px var(--accent-emerald-bright); border-color: var(--accent-emerald-bright); transform: scale(1.015); }
  100% { box-shadow: 0 0 15px var(--accent-emerald-glow); border-color: var(--accent-emerald-bright); transform: scale(1); }
}
.contact-form.highlighted {
  animation: formGlowPulse 1.8s ease-in-out 2;
  border-color: var(--accent-emerald-bright) !important;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}
[data-theme="light"] .form-input, [data-theme="light"] .form-select, [data-theme="light"] .form-textarea {
  border: 1px solid #CBD5E1;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-emerald-bright);
  box-shadow: 0 0 18px var(--accent-emerald-subtle);
}

/* Map placeholder mockup */
.map-container {
  margin-top: 50px;
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  position: relative;
  background: #142235;
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="light"] .map-container {
  background: #E2E8F0;
}

/* Floating AI Chat Assistant Widget */
.ai-widget-trigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: var(--btn-primary-shadow);
  transition: var(--transition-smooth);
}
.ai-widget-trigger:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: var(--btn-primary-shadow-hover);
}

.whatsapp-widget-trigger {
  position: fixed;
  bottom: 30px;
  right: 100px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition-smooth);
  text-decoration: none;
}
.whatsapp-widget-trigger:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.65);
  color: #FFFFFF;
}

.ai-chat-modal {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 380px;
  height: 520px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.65), 0 0 35px var(--accent-emerald-subtle);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}
[data-theme="light"] .ai-chat-modal {
  box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 0 25px var(--accent-emerald-subtle);
}
.ai-chat-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.ai-chat-header {
  padding: 16px 20px;
  background: var(--accent-emerald-subtle);
  border-bottom: 1px solid var(--border-emerald);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-chat-body {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.4;
}
.chat-msg.bot {
  background: var(--chat-bot-bg);
  color: var(--chat-bot-color);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
[data-theme="light"] .chat-msg.bot {
  border: 1px solid rgba(0,0,0,0.06);
}
.chat-msg.user {
  background: var(--chat-user-bg);
  color: var(--chat-user-color);
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.ai-chat-footer {
  padding: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 8px;
}

/* Footer */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px;
  color: #FFFFFF;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-desc {
  color: #94A3B8;
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 320px;
}
.footer-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--accent-emerald-bright);
}
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  transition: var(--transition-fast);
}
.social-icon:hover {
  background: var(--accent-emerald);
  color: var(--btn-primary-color);
  border-color: var(--accent-emerald);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748B;
  font-size: 0.85rem;
}

/* Mobile Drawer Backdrop & Lock */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-backdrop.active {
  display: block;
  opacity: 1;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* Responsiveness & Mobile Perfection */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(2.3rem, 4.5vw, 3.2rem); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process-timeline { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .process-timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .calc-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .section { padding: 65px 0; }
  
  .mobile-toggle { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 1.15rem;
    transition: var(--transition-fast);
    z-index: 1001;
  }
  .mobile-toggle:active {
    transform: scale(0.94);
    background: var(--accent-emerald-subtle);
    border-color: var(--accent-emerald);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-card);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    padding: 85px 24px 30px;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: flex-start;
    gap: 12px;
    border-right: 1px solid var(--border-light);
    box-shadow: 10px 0 40px rgba(0,0,0,0.6);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open { left: 0; }
  .nav-link { 
    font-size: 1.05rem;
    font-weight: 500;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    transition: var(--transition-fast);
  }
  .nav-link:hover, .nav-link.active {
    background: var(--accent-emerald-subtle);
    color: var(--accent-emerald-bright);
  }

  .mobile-nav-cta {
    display: block;
    width: 100%;
    margin-top: 16px;
  }

  .hero { 
    padding-top: 115px; 
    padding-bottom: 50px; 
    min-height: auto; 
  }
  .hero-title { 
    font-size: clamp(2.0rem, 6.5vw, 2.6rem); 
    line-height: 1.25;
  }
  .hero-subtitle { 
    font-size: 0.98rem; 
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-actions { 
    flex-direction: column; 
    width: 100%; 
    gap: 12px;
  }
  .hero-actions .btn { 
    width: 100%; 
    min-height: 48px;
    justify-content: center;
  }

  .about-grid, .contact-wrapper, .calc-grid { grid-template-columns: 1fr; gap: 30px; }
  .services-grid, .portfolio-grid, .values-grid, .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .process-timeline { grid-template-columns: 1fr; gap: 20px; }
  .mission-vision-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  
  .portfolio-img {
    height: 210px;
    object-fit: cover;
  }
  
  .form-input, .form-select, .form-textarea { 
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 13px 16px;
    min-height: 48px;
  }
  .form-textarea { min-height: 100px; }
  
  .contact-wrapper > div > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  
  .header-consult-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  .header-consult-btn .header-btn-text {
    display: none;
  }
  .brand-logo {
    font-size: 1.15rem;
    gap: 8px;
  }
  .brand-logo img {
    height: 30px;
  }

  .hero-title { font-size: 1.95rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 20px 14px; }
  .stat-number { font-size: 2.1rem; }
  .stat-label { font-size: 0.78rem; }
  
  .service-card, .glass-card, .value-card {
    padding: 24px 18px;
  }
  
  .calc-options { grid-template-columns: 1fr; }

  .ai-widget-trigger {
    width: 50px;
    height: 50px;
    bottom: 18px;
    right: 18px;
    font-size: 1.35rem;
  }
  .whatsapp-widget-trigger {
    width: 50px;
    height: 50px;
    bottom: 18px;
    right: 76px;
    font-size: 1.55rem;
  }
  .ai-chat-modal {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 78px;
    max-height: calc(100vh - 100px);
    height: 480px;
  }
}

/* Ensure Zero Horizontal Scroll on Any Device */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}
