/* ==========================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================== */
:root {
  /* Fonts */
  --font-heading:
    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:
    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Theme: Light */
  --bg-primary: #f5f5ed;
  --bg-secondary: #eaeae0;
  --bg-tertiary: #e0e0d4;

  --text-primary: #050a30;
  --text-secondary: #252f2a;
  --text-tertiary: #314c3a;

  --accent-primary: #c8d87b;
  --accent-primary-rgb: 200, 216, 123;
  --accent-secondary: #314c3a;
  --accent-secondary-rgb: 49, 76, 58;
  --accent-tertiary: #c8d87b;

  /* Glassmorphism Light */
  --glass-bg: rgba(245, 245, 237, 0.65);
  --glass-bg-hover: rgba(245, 245, 237, 0.85);
  --glass-border: rgba(49, 76, 58, 0.15);
  --glass-border-hover: rgba(49, 76, 58, 0.3);
  --glass-shadow:
    0 8px 32px 0 rgba(37, 47, 42, 0.05), 0 1px 3px 0 rgba(37, 47, 42, 0.02);
  --glass-shadow-hover:
    0 16px 48px 0 rgba(37, 47, 42, 0.1), 0 2px 8px 0 rgba(37, 47, 42, 0.05);

  /* Gradient Meshes Light */
  --mesh-gradient:
    radial-gradient(
      circle at 15% 15%,
      rgba(200, 216, 123, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 85% 10%,
      rgba(49, 76, 58, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(37, 47, 42, 0.05) 0%,
      transparent 70%
    );

  /* Cards Backgrounds */
  --card-bg: rgba(245, 245, 237, 0.85);
  --glow-color: rgba(200, 216, 123, 0.25);
  --badge-bg: rgba(49, 76, 58, 0.1);
  --badge-text: #314c3a;
  --timeline-line-color: rgba(37, 47, 42, 0.15);

  /* Transition Speeds */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Layout Bounds */
  --max-width: 1280px;
  --header-height: 80px;

  /* Code Block Colors (Light Theme) */
  --code-bg: #eaeae0;
  --code-color: #314c3a;

  /* Form Input Colors (Light Theme) */
  --input-bg: #f5f5ed;
  --input-bg-focus: #ffffff;
  --input-border: rgba(37, 47, 42, 0.2);
  --input-border-focus: var(--accent-primary);
}

/* Dark Theme Override */
[data-theme="dark"] {
  --bg-primary: #0b1610;
  --bg-secondary: #14221a;
  --bg-tertiary: #1c2e23;

  --text-primary: #ffffff;
  --text-secondary: #f5f5ed;
  --text-tertiary: #c8d87b;

  /* Mid-tones NEVER shift between themes (Global Rule 28) */
  --accent-primary: #c8d87b;
  --accent-primary-rgb: 200, 216, 123;
  --accent-secondary: #314c3a;
  --accent-secondary-rgb: 49, 76, 58;
  --accent-tertiary: #c8d87b;

  /* Glassmorphism Dark */
  --glass-bg: rgba(11, 22, 16, 0.65);
  --glass-bg-hover: rgba(20, 34, 26, 0.8);
  --glass-border: rgba(200, 216, 123, 0.12);
  --glass-border-hover: rgba(200, 216, 123, 0.25);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  --glass-shadow-hover: 0 16px 48px 0 rgba(0, 0, 0, 0.6);

  /* Gradient Meshes Dark */
  --mesh-gradient:
    radial-gradient(
      circle at 15% 15%,
      rgba(200, 216, 123, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 85% 10%,
      rgba(49, 76, 58, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(37, 47, 42, 0.1) 0%,
      transparent 70%
    );

  --card-bg: rgba(20, 34, 26, 0.7);
  --glow-color: rgba(49, 76, 58, 0.35);
  --badge-bg: rgba(200, 216, 123, 0.15);
  --badge-text: #c8d87b;
  --timeline-line-color: var(--glass-border);

  /* Code Block Colors (Dark Theme) */
  --code-bg: rgba(11, 22, 16, 0.8);
  --code-color: #c8d87b;

  /* Form Input Colors (Dark Theme) */
  --input-bg: rgba(20, 34, 26, 0.6);
  --input-bg-focus: rgba(20, 34, 26, 0.9);
  --input-border: var(--glass-border);
  --input-border-focus: var(--accent-primary);
}

/* ==========================================
   RESET & SYSTEM STYLES
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg-primary);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

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

ul {
  list-style: none;
}

/* ==========================================
   TYPOGRAPHY UTILITIES
   ========================================== */
.font-display {
  font-family: var(--font-heading);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient,
[data-theme="light"] .text-gradient {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #c8d87b !important;
  background-clip: unset !important;
  color: #c8d87b !important;
}

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

.text-gradient-pink,
[data-theme="light"] .text-gradient-pink {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #314c3a !important;
  background-clip: unset !important;
  color: #314c3a !important;
}

[data-theme="dark"] .text-gradient,
[data-theme="dark"] .text-gradient-pink,
[data-theme="dark"] .hero-title .text-gradient {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #4c735a !important;
  background-clip: unset !important;
  color: #4c735a !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
  margin-bottom: 16px;
  width: fit-content;
  backdrop-filter: blur(5px);
  transition: all var(--transition-fast);
}

.badge:hover {
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  transform: translateY(-1px);
}

/* ==========================================
   GLASSMORPHISM SYSTEM
   ========================================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  transition:
    background var(--transition-normal),
    border var(--transition-normal),
    box-shadow var(--transition-normal);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px) saturate(170%);
  -webkit-backdrop-filter: blur(15px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  padding: 32px;
  transition:
    background var(--transition-normal),
    border var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-normal);
}

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

.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.glass-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.glass-btn:hover::before {
  left: 100%;
}

.glass-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-2px);
}

.glass-btn.primary {
  background: #314c3a !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(49, 76, 58, 0.35) !important;
}

.glass-btn.primary:hover {
  background: #252f2a !important;
  color: #ffffff !important;
  box-shadow: 0 8px 30px rgba(49, 76, 58, 0.5) !important;
  transform: translateY(-3px);
}

.glass-btn.secondary {
  border: 1px solid rgba(var(--accent-primary-rgb), 0.25);
  background: rgba(var(--accent-primary-rgb), 0.03);
}

.glass-btn.secondary:hover {
  background: rgba(var(--accent-primary-rgb), 0.08);
}

/* Light mode outline buttons: transparent background and #c8d87bc9 border */
:root .glass-btn.secondary,
[data-theme="light"] .glass-btn.secondary,
:root .glass-btn:not(.primary),
[data-theme="light"] .glass-btn:not(.primary) {
  background: transparent !important;
  border: 1px solid #c8d87bc9 !important;
}

:root .glass-btn.secondary:hover,
[data-theme="light"] .glass-btn.secondary:hover,
:root .glass-btn:not(.primary):hover,
[data-theme="light"] .glass-btn:not(.primary):hover {
  background: rgba(200, 216, 123, 0.15) !important;
  border-color: #c8d87b !important;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.reveal-on-scroll.fade-in {
  transform: translateY(0);
}

.reveal-on-scroll.slide-up {
  transform: translateY(40px);
}

.reveal-on-scroll.slide-down {
  transform: translateY(-40px);
}

.reveal-on-scroll.slide-left {
  transform: translateX(40px);
}

.reveal-on-scroll.slide-right {
  transform: translateX(-40px);
}

.reveal-on-scroll.scale-up {
  transform: scale(0.9);
}

/* Animation active states */
.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delay modifiers */
.delay-100 {
  transition-delay: 100ms;
}
.delay-200 {
  transition-delay: 200ms;
}
.delay-300 {
  transition-delay: 300ms;
}
.delay-400 {
  transition-delay: 400ms;
}
.delay-500 {
  transition-delay: 500ms;
}
.delay-600 {
  transition-delay: 600ms;
}

/* Micro-animations */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-primary-rgb), 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(var(--accent-primary-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-primary-rgb), 0);
  }
}

@keyframes wave {
  0%,
  100% {
    height: 10px;
  }
  50% {
    height: 45px;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ==========================================
   NAVIGATION (HEADER)
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  height: 70px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-circle {
  fill: none;
  stroke: url(#logo-grad);
  stroke-width: 3;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #314c3a;
  border-radius: var(--radius-pill);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.nav-link.active {
  color: var(--text-primary);
}

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

/* ==========================================
   NAVIGATION DROPDOWN MENU
   ========================================== */
.nav-item.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-caret {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-item.dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 280px;
  background: #0b1610 !important; /* 100% solid opacity dark background */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(200, 216, 123, 0.25) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7) !important;
  border-radius: var(--radius-md);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    visibility var(--transition-fast);
  z-index: 1100;
}

[data-theme="light"] .dropdown-menu {
  background: #f5f5ed !important; /* 100% solid opacity light background */
  border: 1px solid rgba(37, 47, 42, 0.2) !important;
  box-shadow: 0 16px 36px rgba(37, 47, 42, 0.15) !important;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(var(--accent-primary-rgb), 0.08);
  color: var(--text-primary);
  padding-left: 20px;
}

/* Mobile Responsive Dropdown Styles */
@media (max-width: 768px) {
  .nav-item.dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-toggle {
    justify-content: center;
  }

  .nav-link::after,
  .dropdown-toggle::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.4s ease-out,
      opacity 0.3s ease;
  }

  .nav-item.dropdown.active .dropdown-menu {
    max-height: 200px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    padding: 8px 0;
  }

  .dropdown-item {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .dropdown-item:hover {
    padding-left: 12px;
    background: transparent;
    color: var(--accent-primary);
  }

  .text-gradient {
    text-align: start;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  transform: rotate(15deg) scale(1.05);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

.theme-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Sun/Moon Toggle Anim styling */
[data-theme="dark"] .sun-icon {
  transform: rotate(180deg) scale(0);
  opacity: 0;
}

.moon-icon {
  position: absolute;
  transform: rotate(-180deg) scale(0);
  opacity: 0;
}

[data-theme="dark"] .moon-icon {
  transform: rotate(0) scale(1);
  opacity: 1;
}

/* Hamburger mobile nav toggle */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   PARTNERS / TRUST LOGOS
   ========================================== */
.trust-section {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.trust-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.trust-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
}

.logo-marquee {
  --marquee-gap: 60px;
  display: flex;
  width: 100%;
  gap: var(--marquee-gap);
  overflow: hidden;
  position: relative;
  user-select: none;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--marquee-gap);
  animation: marquee 35s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.logo-marquee:hover .marquee-content {
  animation-play-state: paused;
}

.trust-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-tertiary);
  opacity: 0.55;
  transition:
    opacity var(--transition-fast),
    color var(--transition-fast);
}

.trust-logo svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.trust-logo:hover {
  opacity: 1;
  color: var(--text-primary);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - var(--marquee-gap)));
  }
}

@media (max-width: 640px) {
  .logo-marquee {
    --marquee-gap: 40px;
  }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  padding: 80px 0;
  position: relative;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--accent-primary);
  color: white;
  transform: scale(1.05) rotate(5deg);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.service-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.bullet-chk {
  width: 16px;
  height: 16px;
  color: #588567;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--accent-primary);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
  color: currentColor;
  stroke: currentColor;
}

/* Glow gradient behind hover */
.service-card::after {
  content: "";
  position: absolute;
  top: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  z-index: -1;
}

.service-card:hover::after {
  opacity: 1;
}

/* ==========================================
   INTERACTIVE SHOWCASE (DASHBOARD HUB)
   ========================================== */
.showcase-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.showcase-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: #314c3a !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(49, 76, 58, 0.3) !important;
}

.tab-btn:hover:not(.active) {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.showcase-viewscreen {
  min-height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.showcase-view-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.view-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-tertiary);
  opacity: 0.2;
}

.window-dot.active-red {
  background-color: #ef4444;
  opacity: 0.85;
}
.window-dot.active-yellow {
  background-color: #f59e0b;
  opacity: 0.85;
}
.window-dot.active-green {
  background-color: #10b981;
  opacity: 0.85;
}

.view-title-display {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

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

.view-indicator-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-content-pane {
  flex-grow: 1;
  padding: 40px;
  display: none;
  width: 100%;
  min-height: 440px;
}

.view-content-pane.active {
  display: flex;
  flex-direction: column;
}

/* Tab 1: Live Chat simulator styles */
.pane-chat-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  width: 100%;
  min-height: 400px;
}

.sidebar-stats-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-min-card {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
}

.stat-min-header {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.stat-min-num {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  display: block;
  text-align: right; /* Right align metrics inside mini stats card */
}

.stat-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  margin-top: 10px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  border-radius: var(--radius-pill);
}

.chat-viewport-module {
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  max-height: 420px;
}

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

/* Custom modern premium scrollbar design */
.chat-messages-container::-webkit-scrollbar {
  width: 6px;
}

.chat-messages-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-pill);
}

.chat-messages-container::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-primary-rgb), 0.25);
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast);
}

.chat-messages-container::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-primary-rgb), 0.45);
}

.chat-input-bar-module {
  padding: 16px 20px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 10px;
}

.chat-input-bar-module input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  outline: none;
  font-size: 0.9rem;
}

/* Tab 2: Voice Dashboard styles */
.pane-voice-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  min-height: 400px;
}

.voice-left-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  padding: 36px 24px;
  transition: all var(--transition-normal);
}

[data-theme="light"] .voice-left-panel {
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(49, 76, 58, 0.16) !important;
  box-shadow: 0 8px 32px rgba(37, 47, 42, 0.05) !important;
}

.audio-wavelength-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 80px;
}

.audio-bar {
  width: 6px;
  height: 10px;
  background: linear-gradient(
    to top,
    var(--accent-primary),
    var(--accent-secondary)
  );
  border-radius: var(--radius-pill);
  animation: wave 1.2s ease-in-out infinite;
}

.audio-bar:nth-child(2) {
  animation-delay: 0.1s;
}
.audio-bar:nth-child(3) {
  animation-delay: 0.2s;
}
.audio-bar:nth-child(4) {
  animation-delay: 0.3s;
}
.audio-bar:nth-child(5) {
  animation-delay: 0.4s;
}
.audio-bar:nth-child(6) {
  animation-delay: 0.5s;
}
.audio-bar:nth-child(7) {
  animation-delay: 0.6s;
}
.audio-bar:nth-child(8) {
  animation-delay: 0.7s;
}
.audio-bar:nth-child(9) {
  animation-delay: 0.8s;
}
.audio-bar:nth-child(10) {
  animation-delay: 0.9s;
}

.call-control-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.voice-pulse-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #314c3a !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(49, 76, 58, 0.4) !important;
  animation: pulse-glow 2s infinite;
}

.call-timer {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

[data-theme="light"] .call-timer {
  color: #050a30 !important;
}

.voice-right-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.transcript-log-screen {
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(11, 22, 16, 0.75);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.35),
    var(--glass-shadow);
  padding: 24px;
  flex-grow: 1;
  font-family: monospace;
  font-size: 0.88rem;
  overflow-y: auto;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-normal);
}

[data-theme="light"] .transcript-log-screen {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(49, 76, 58, 0.18) !important;
  box-shadow:
    0 8px 32px rgba(37, 47, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* Custom modern slim scrollbar for transcript */
.transcript-log-screen::-webkit-scrollbar {
  width: 5px;
}

.transcript-log-screen::-webkit-scrollbar-track {
  background: transparent !important;
}

.transcript-log-screen::-webkit-scrollbar-thumb {
  background: rgba(200, 216, 123, 0.35) !important;
  border-radius: var(--radius-pill);
}

.transcript-log-screen::-webkit-scrollbar-thumb:hover {
  background: #c8d87b !important;
}

[data-theme="light"] .transcript-log-screen::-webkit-scrollbar-thumb {
  background: rgba(49, 76, 58, 0.3) !important;
}

[data-theme="light"] .transcript-log-screen::-webkit-scrollbar-thumb:hover {
  background: #314c3a !important;
}

.transcript-log-screen .transcript-line {
  line-height: 1.5;
  color: rgba(245, 245, 237, 0.75);
  padding: 8px 12px;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

[data-theme="light"] .transcript-log-screen .transcript-line {
  color: #556058 !important;
}

.transcript-log-screen .transcript-line.agent {
  color: #c8d87b !important;
  background: rgba(200, 216, 123, 0.08);
  border-left: 3px solid #c8d87b;
  font-weight: 500;
}

[data-theme="light"] .transcript-log-screen .transcript-line.agent {
  color: #1b5e20 !important;
  background: rgba(49, 76, 58, 0.06) !important;
  border-left: 3px solid #314c3a !important;
  font-weight: 600 !important;
}

.transcript-log-screen .transcript-line.user {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #ffffff;
  font-weight: 500;
}

[data-theme="light"] .transcript-log-screen .transcript-line.user {
  color: #050a30 !important;
  background: rgba(5, 10, 48, 0.04) !important;
  border-left: 3px solid #050a30 !important;
  font-weight: 600 !important;
}

/* Tab 3: Custom Node agent Builder styles */
.pane-flow-wrapper {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.flow-node {
  position: absolute;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-hover);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.flow-node-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
}

.flow-node-info {
  display: flex;
  flex-direction: column;
}

.flow-node-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
}

.flow-node-status {
  font-size: 0.65rem;
  font-weight: 600;
  color: #10b981;
}

.node-trigger {
  top: 20%;
  left: 10%;
}
.node-processor-1 {
  top: 15%;
  right: 15%;
}
.node-processor-2 {
  bottom: 20%;
  left: 20%;
}
.node-output {
  bottom: 25%;
  right: 10%;
}

.svg-connections-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.connection-path {
  fill: none;
  stroke: var(--accent-primary);
  stroke-width: 2;
  stroke-dasharray: 8 4;
  opacity: 0.3;
  animation: strokeDash 15s linear infinite;
}

.connection-path.active {
  stroke: var(--accent-secondary);
  stroke-width: 3;
  opacity: 0.8;
}

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

/* ==========================================
   HOW IT WORKS (TIMELINE)
   ========================================== */
.timeline-section {
  padding: 80px 0;
  overflow: hidden; /* Bulletproof overflow fix for translated timeline nodes on mobile */
}

.pipeline-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.pipeline-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--accent-primary);
  border-radius: var(--radius-pill);
  opacity: 0.25;
}

.timeline-item {
  width: 100%;
  margin-bottom: 60px;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
}

.timeline-dot {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--accent-primary);
  z-index: 10;
  box-shadow: 0 0 0 4px var(--bg-primary);
  transition: all var(--transition-normal);
}

.timeline-item.in-view .timeline-dot {
  background: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
}

.timeline-card {
  width: 45%;
}

.timeline-step {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline-step {
  color: #87963f !important;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================
   INDUSTRIES SECTION
   ========================================== */
.industries-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.01);
}

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

.industry-card {
  text-align: center;
  position: relative;
}

.ind-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin: 0 auto 20px auto;
  transition: all var(--transition-normal);
}

.ind-icon-box svg {
  color: var(--accent-primary);
  stroke: var(--accent-primary);
  transition: all var(--transition-normal);
}

.industry-card:hover .ind-icon-box {
  background: var(--accent-primary);
  color: #080d0a;
  transform: translateY(-4px) rotate(360deg);
}

.industry-card:hover .ind-icon-box svg {
  color: #080d0a;
  stroke: #080d0a;
}

.ind-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.ind-metric {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ind-metric {
  color: #68997a !important;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
  padding: 80px 0;
  position: relative;
}

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

.premium-stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.premium-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 45px rgba(var(--accent-primary-rgb), 0.12);
}

.stat-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(var(--accent-primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 20px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
}

.premium-stat-card::before {
  display: none !important;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  font-family: var(--font-heading);
  margin-bottom: 8px;
  display: block;
  z-index: 2;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  z-index: 2;
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.why-section {
  padding: 80px 0;
  position: relative;
  background: rgba(255, 255, 255, 0.005);
  overflow: hidden; /* Prevent horizontal overflow from translated scroll-reveal child cards */
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.why-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition-normal);
  position: relative;
}

.why-card.premium-glass {
  background: rgba(var(--accent-primary-rgb), 0.02);
  border: 1px solid rgba(16, 185, 129, 0.3); /* Green to match the checkmark check icon */
  box-shadow: 0 8px 32px 0 rgba(79, 70, 229, 0.03);
}

.why-card.premium-glass:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 16px 48px 0 rgba(79, 70, 229, 0.08);
}

.why-card.generic-glass {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(239, 68, 68, 0.25); /* Red/orange to match the cross icons */
  opacity: 0.85;
  transition: all var(--transition-normal);
}

.why-card.generic-glass:hover {
  border-color: rgba(239, 68, 68, 0.5);
}

.why-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.why-icon {
  color: #10b981; /* Green */
  width: 28px;
  height: 28px;
}

.why-icon-cross {
  color: #ef4444; /* Red */
  width: 28px;
  height: 28px;
}

.why-title {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.why-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.why-check {
  color: #10b981;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.why-cross {
  color: #ef4444;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================
   FLOATING WHATSAPP SUPPORT WIDGET
   ========================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse-glow-green 2s infinite;
  transition: transform var(--transition-fast);
}

.whatsapp-widget:hover .whatsapp-icon-box {
  transform: scale(1.1) rotate(10deg);
}

.whatsapp-badge {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--glass-shadow);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transition:
    opacity var(--transition-normal),
    transform var(--transition-normal);
  pointer-events: none;
  white-space: nowrap;
}

.whatsapp-widget:hover .whatsapp-badge {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes pulse-glow-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================
   CLIENT TESTIMONIALS
   ========================================== */
.reviews-section {
  padding: 80px 0;
}
.reviews-section .section-header {
  margin-bottom: 44px !important;
}
.reviews-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.reviews-marquee-wrapper::before,
.reviews-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 10;
  pointer-events: none;
}

.reviews-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.reviews-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll-marquee 25s linear infinite;
}

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

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 15px));
  }
}

.review-card {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.review-star {
  width: 20px;
  height: 20px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.review-client {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--glass-border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  object-fit: cover;
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.client-company {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 600;
}

/* ==========================================
   CLOSING CTA BANNER
   ========================================== */
.cta-section {
  padding: 80px 0;
  position: relative;
}

.cta-banner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.cta-glass-box {
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-xl);
}

/* Background mesh glow inside CTA banner */
.cta-glass-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(var(--accent-primary-rgb), 0.15) 0%,
    transparent 80%
  );
  z-index: -1;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  max-width: 830px;
}

.cta-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  padding: 80px 0 30px 0;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.6fr 1.1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 333px;
}

.footer-status-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: #10b981;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-contact-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-contact-item:has(.footer-contact-link):hover .footer-contact-icon {
  border-color: var(--glass-border-hover);
  color: var(--accent-primary);
  background: var(--glass-bg-hover);
}

.footer-contact-static,
.footer-contact-static .footer-contact-icon,
.footer-contact-static .footer-contact-text {
  cursor: default;
}

.footer-contact-static:hover .footer-contact-text {
  color: var(--text-secondary) !important;
}

.footer-contact-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: color var(--transition-fast);
  text-decoration: none;
  word-break: break-word;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: color var(--transition-fast);
  text-decoration: none;
  word-break: break-word;
  cursor: pointer;
}

.footer-contact-link:hover {
  color: var(--accent-primary);
}

.footer-contact-link:hover .footer-contact-icon {
  border-color: var(--glass-border-hover);
  color: var(--accent-primary);
  background: var(--glass-bg-hover);
}

.footer-contact-link:hover .footer-contact-text {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  text-align: center;
  width: 100%;
}

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

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
}

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

.social-btn:hover {
  border-color: var(--glass-border-hover);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .premium-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pane-chat-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  /* Reduce and lock section padding on mobile */
  .services-section,
  .why-section,
  .showcase-section,
  .timeline-section,
  .industries-section,
  .stats-section,
  .reviews-section,
  .cta-section {
    padding: 60px 0;
  }

  /* Responsive header */
  .header-cta-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .mobile-menu-toggle {
    display: flex;
    border: none;
    background: transparent;
    padding: 4px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid var(--glass-border);
    padding: 40px;
    display: none;
    justify-content: center;
    z-index: 999;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Showcase Sandbox mobile optimization */
  .showcase-tabs {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 10px;
  }

  .tab-btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.78rem;
    white-space: nowrap; /* Prevent double-line wrapping on mobile */
  }

  .tab-btn:last-child {
    flex: 1 1 100%;
  }

  .view-content-pane {
    padding: 20px 16px;
  }

  /* Truncate long header titles inside showcase screen on mobile */
  .view-title-display {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .view-indicator-pill {
    white-space: nowrap; /* Prevent Sandbox Mode from wrapping to 2 lines */
  }

  /* Prevent floats from overflowing body horizontally on mobile */
  .float-card-1 {
    top: 5% !important;
    left: 10px !important;
  }

  .float-card-2 {
    bottom: 5% !important;
    right: 10px !important;
  }

  /* Stack nodes vertically and hide connectors on mobile */
  .pane-flow-wrapper {
    height: auto;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 0;
  }

  .flow-node {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    margin: 0;
  }

  .svg-connections-layer {
    display: none;
  }

  /* Rest of mobile grid layouts */
  .pipeline-timeline::before {
    left: 15px;
  }

  .timeline-item {
    display: block; /* Convert from flex to block to prevent layout offsets pushing past edges */
    width: 100%;
    margin-bottom: 40px;
  }

  .timeline-item:nth-child(even) {
    display: block;
  }

  .timeline-dot {
    left: 15px;
    top: 24px;
  }

  .timeline-card {
    width: calc(100% - 35px);
    margin-left: 35px;
    margin-right: 0;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .premium-stats-grid {
    grid-template-columns: 1fr;
  }

  .pane-voice-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* CTA responsive styling */
  .cta-glass-box {
    padding: 30px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-buttons .glass-btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer styling on mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* WhatsApp support widget placement on mobile */
  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-icon-box {
    width: 48px;
    height: 48px;
  }

  .whatsapp-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-cta-btn {
    display: none;
  }

  /* Optimize showcase layout for small screens (below 480px) */
  .showcase-container {
    padding: 0 12px;
  }

  .showcase-view-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .view-controls {
    width: 100%;
    justify-content: space-between;
  }

  .view-title-display {
    max-width: none; /* Do not truncate when stacked */
  }

  .view-content-pane {
    padding: 16px 12px;
  }

  /* Make sure figures in stats cards don't cut off */
  .stat-min-card {
    padding: 12px;
  }

  .stat-min-num {
    font-size: 1.35rem; /* Allow numbers to scale down on smaller widths */
  }

  /* Allow the chat input box to shrink dynamically without overflowing */
  .chat-viewport-module {
    max-width: 100%;
  }

  .chat-input-bar-module {
    padding: 12px 14px;
    gap: 8px;
  }

  .chat-input-bar-module input {
    min-width: 0;
    width: 100%;
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .chat-input-bar-module button {
    padding: 8px 14px !important;
    font-size: 0.8rem;
  }
}

/* ==========================================
   PORTFOLIO PAGE STYLING
   ========================================== */
.portfolio-hero {
  padding: calc(var(--header-height) + 60px) 0 60px 0;
  text-align: center;
  position: relative;
}

.portfolio-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 24px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.portfolio-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.portfolio-section.portfolio-first-section {
  padding-top: calc(var(--header-height) + 60px) !important;
}

.portfolio-section.case-studies-section {
  background: rgba(255, 255, 255, 0.005);
}

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

/* Portfolio Cards general */
.portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Agent Demos styling */
.agent-status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
}

.agent-name {
  font-size: 1.35rem;
  text-align: left;
  margin-bottom: 4px;
}

.agent-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.agent-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: left;
  margin-bottom: 24px;
  line-height: 1.5;
  flex-grow: 1;
}

.agent-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.agent-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.agent-bullets .bullet-chk {
  width: 16px;
  height: 16px;
  color: var(--accent-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.agent-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Custom Case Studies styling */
.case-image-wrapper {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  position: relative;
}

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

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

.case-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
  margin-bottom: 8px;
}

.case-card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.case-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Case Study Detail Popup Lightbox Modal */
.case-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
  padding: 20px;
}

.case-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.case-modal-content {
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg-primary);
  border: 1px solid var(--bg-tertiary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-modal-overlay.active .case-modal-content {
  transform: scale(1) translateY(0);
}

.case-modal-content::-webkit-scrollbar {
  width: 6px;
}

.case-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-pill);
}

.case-modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
}

.case-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-body-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
}

.modal-title {
  font-size: 1.8rem;
  margin-top: -8px;
  margin-bottom: 8px;
}

.case-detail-row {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-detail-row strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.case-flow-box {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.case-flow-box h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.case-flow-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-flow-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.case-flow-list .bullet-chk {
  width: 14px;
  height: 14px;
  color: var(--accent-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.case-footer {
  display: flex;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.case-toggle-btn {
  flex: 1;
  font-size: 0.85rem;
  justify-content: center;
  padding: 10px 12px;
  white-space: nowrap;
}

.case-cta-btn {
  flex: 1;
  font-size: 0.85rem;
  justify-content: center;
  padding: 10px 16px;
}

/* ==========================================
   PORTFOLIO RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .portfolio-hero {
    padding: calc(var(--header-height) + 40px) 0 40px 0;
  }

  .portfolio-section {
    padding: 60px 0;
  }

  .portfolio-section.portfolio-first-section {
    padding-top: calc(var(--header-height) + 40px) !important;
  }

  .case-footer {
    flex-direction: column;
    gap: 10px;
  }

  .case-toggle-btn,
  .case-cta-btn {
    width: 100%;
  }
}

/* ==========================================
   ABOUT PAGE CUSTOM STYLES
   ========================================== */
.about-hero {
  padding: calc(var(--header-height) + 80px) 0 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-top: 16px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.about-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

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

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

.about-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

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

.about-card-icon-box {
  width: 56px;
  height: 56px;
  background: var(--badge-bg);
  color: var(--accent-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
}

.about-card-icon-box svg {
  width: 28px;
  height: 28px;
}

.about-card-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.about-card-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.pillar-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #314c3a !important;
  color: #314c3a !important;
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-container {
  max-width: 800px;
  margin: 40px auto 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-container::before {
  display: none;
}

.timeline-container .timeline-step {
  display: flex;
  gap: 30px;
  position: relative;
}

.timeline-container .timeline-step::after {
  content: "";
  position: absolute;
  top: 29px; /* center of step-num circle */
  left: 28px;
  width: 2px;
  height: calc(100% + 40px); /* spans down to next circle center */
  background: var(--timeline-line-color);
  z-index: 1;
}

.timeline-container .timeline-step:last-child::after {
  display: none;
}

.step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-primary);
  color: var(--text-primary);
  font-weight: 800;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-content {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  flex-grow: 1;
  box-shadow: var(--glass-shadow);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: none;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  text-transform: none;
}

.stats-section {
  padding: 60px 0;
}

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

.about-stat-item {
  text-align: center;
  padding: 32px;
}

.about-stat-item .stat-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #314c3a !important;
  color: #314c3a !important;
  display: block;
  margin-bottom: 8px;
}

.about-stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .mission-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .about-card {
    padding: 32px;
  }
  .timeline-container .timeline-step::after {
    left: 20px;
    top: 21px;
  }
  .step-num {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }
  .timeline-container .timeline-step {
    gap: 16px;
  }
  .step-content {
    padding: 20px;
  }
}

/* ==========================================
   BLOG PAGE STYLES
   ========================================== */
.blog-hero {
  padding: 140px 0 60px 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.blog-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.filter-btn.active {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(var(--accent-primary-rgb), 0.4);
}

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

.blog-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.premium-3d {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.premium-3d:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-hover);
}

.blog-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.mesh-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.blog-card:hover .mesh-placeholder {
  transform: scale(1.08);
}
.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.blog-card:hover .blog-img {
  transform: scale(1.08);
}

/* Mesh gradients for placeholders */
.mesh-blue {
  background:
    radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.4) 0px, transparent 50%),
    var(--bg-tertiary);
}
.mesh-purple {
  background:
    radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.4) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.4) 0px, transparent 50%),
    var(--bg-tertiary);
}
.mesh-emerald {
  background:
    radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(20, 184, 166, 0.4) 0px, transparent 50%),
    var(--bg-tertiary);
}
.mesh-sunset {
  background:
    radial-gradient(at 100% 100%, rgba(244, 63, 94, 0.4) 0px, transparent 50%),
    radial-gradient(at 0% 0%, rgba(249, 115, 22, 0.4) 0px, transparent 50%),
    var(--bg-tertiary);
}
.mesh-ocean {
  background:
    radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.4) 0px, transparent 50%),
    var(--bg-tertiary);
}
.mesh-dark {
  background:
    radial-gradient(at 0% 0%, rgba(100, 116, 139, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.8) 0px, transparent 50%),
    var(--bg-secondary);
}

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(11, 22, 16, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(200, 216, 123, 0.45) !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #c8d87b !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
  z-index: 2 !important;
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.dot-separator {
  color: var(--accent-primary);
  font-weight: 800;
}

[data-theme="light"] .dot-separator {
  color: #314c3a;
}

.blog-title {
  font-size: 1.3rem;
  font-family: var(--font-heading);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card:hover .blog-title {
  color: var(--accent-primary);
}

[data-theme="light"] .blog-card:hover .blog-title {
  color: #314c3a !important;
}

.blog-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #c8d87b !important; /* Bright luminous lime for dark theme contrast */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  transition: all var(--transition-fast);
}

[data-theme="light"] .read-more-link {
  color: #252f2a !important; /* Deep ink for crisp light theme contrast */
}

.blog-card:hover .read-more-link {
  gap: 12px;
  color: #ffffff !important;
}

[data-theme="light"] .blog-card:hover .read-more-link {
  color: #314c3a !important;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.page-num-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-primary);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-num-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border);
}

.page-num-btn.active {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.3);
}

.page-nav-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

.page-nav-btn svg {
  width: 20px;
  height: 20px;
}

.page-ellipsis {
  color: var(--text-secondary);
  font-weight: 700;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */
.contact-section {
  padding: 140px 0 80px 0;
  position: relative;
  z-index: 10;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
}

a.contact-info-card {
  cursor: pointer;
}

a.contact-info-card:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.info-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon-box svg {
  width: 24px;
  height: 24px;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-title {
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.info-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.info-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.info-link:hover svg,
.contact-info-card:hover .info-link svg {
  transform: translateX(4px) translateY(-4px);
}

.live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-info-card .status-pulse-dot {
  background: var(--accent-primary);
}

.map-placeholder {
  width: 100%;
  height: 100px;
  margin-top: 12px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 70%
    ),
    var(--bg-tertiary);
  border: 1px dashed var(--glass-border);
  position: relative;
  overflow: hidden;
}

.map-placeholder::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(var(--accent-primary-rgb), 0.2);
  animation: pulse-glow 2s infinite;
}

.contact-form-wrapper {
  padding: 48px;
}

.form-heading {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.form-subheading {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.liquid-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.liquid-input-group {
  position: relative;
}

.liquid-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

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

.liquid-input:focus {
  outline: none;
  border-color: var(--input-border-focus);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 4px rgba(var(--accent-primary-rgb), 0.1);
}

.liquid-label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  pointer-events: none;
  transition: all var(--transition-fast);
}

/* Float label on focus or when valid (has input) */
.liquid-input:focus ~ .liquid-label,
.liquid-input:valid ~ .liquid-label {
  top: -10px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--bg-secondary);
  padding: 0 8px;
  border-radius: 4px;
}

.static-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.radio-card input {
  display: none;
}

.radio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.radio-content svg {
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.radio-card:hover .radio-content {
  background: var(--input-bg-focus);
  border-color: var(--accent-primary);
}

.radio-card input:checked + .radio-content {
  background: rgba(var(--accent-primary-rgb), 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.radio-card input:checked + .radio-content svg {
  color: var(--accent-primary);
}

.form-submit-btn {
  width: fit-content;
  padding: 14px 32px;
  font-size: 1rem;
  margin-top: 10px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.form-submit-btn .btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.form-submit-btn:hover .btn-icon {
  transform: translateX(4px) translateY(-4px);
}

/* ==========================================
   RESPONSIVE OVERRIDES FOR BLOG & CONTACT
   ========================================== */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .section-container {
    padding: 0 16px !important;
  }

  .header-container {
    padding: 0 16px !important;
  }

  .reveal-on-scroll.slide-left,
  .reveal-on-scroll.slide-right {
    transform: translateY(30px) !important;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .contact-info-card {
    padding: 24px 16px !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .contact-form-wrapper {
    padding: 24px 16px !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .header-actions {
    gap: 6px !important;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 12px !important;
  }

  .theme-toggle-btn,
  .mobile-menu-toggle {
    width: 38px !important;
    height: 38px !important;
  }

  .header-actions {
    gap: 6px !important;
  }
}

@media (max-width: 360px) {
  .section-container {
    padding: 0 12px !important;
  }

  .header-container {
    padding: 0 8px !important;
  }

  .theme-toggle-btn,
  .mobile-menu-toggle {
    width: 34px !important;
    height: 34px !important;
  }

  .header-actions {
    gap: 4px !important;
  }
}

/* ==========================================
   SINGLE ARTICLE / BLOG POST LAYOUT STYLES
   ========================================== */
.article-section {
  padding: 140px 0 80px 0;
  position: relative;
  z-index: 10;
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.article-breadcrumbs a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  font-weight: 500;
}

.article-breadcrumbs a:hover {
  color: var(--accent-primary);
}

.article-breadcrumbs svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.current-crumb {
  color: var(--text-primary);
  font-weight: 600;
}

.article-header {
  margin-bottom: 40px;
}

.article-header .blog-category {
  position: static;
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
}

.article-title {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.author-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 4px 12px 4px 4px;
  border-radius: var(--radius-pill);
}

.author-avatar {
  width: 28px;
  height: 28px;
  background: var(--accent-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.75rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.article-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.article-body {
  padding: 48px;
  border-radius: var(--radius-lg);
  min-width: 0;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.article-body p.lead-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
}

.article-body h2 {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body h3 {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-body ul,
.article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.05rem;
}

.article-body pre {
  background: var(--code-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
  overflow-x: auto;
}

.article-body code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95rem;
  color: var(--code-color);
}

.article-table-container {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.article-body th,
.article-body td {
  padding: 16px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--glass-border);
}

.article-body th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text-primary);
}

.article-body td {
  color: var(--text-secondary);
}

.article-body tr:last-child td {
  border-bottom: none;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  padding: 32px;
  border-radius: var(--radius-lg);
}

.widget-title {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  margin-bottom: 20px;
  border-left: 3px solid var(--accent-primary);
  padding-left: 12px;
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none !important;
  padding-left: 0 !important;
}

.widget-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

.widget-category {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-secondary);
  letter-spacing: 0.05em;
}

.widget-category {
  color: #548064 !important;
}

.widget-post-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.widget-link:hover .widget-post-title {
  color: var(--accent-primary);
}

.newsletter-widget p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-form button {
  width: 100%;
  padding: 14px;
  justify-content: center;
}

/* Responsive overrides for articles */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-sidebar {
    position: static;
  }

  .form-heading {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }

  .article-body {
    padding: 24px;
  }
}

/* ==========================================
/* ==========================================
   BOOK A CALL SECTION
   ========================================== */
.book-a-call-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
}

.book-a-call-section .section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-primary);
}

/* Cal.com / Calendly embed wrapper */
.book-a-call-section #my-cal-inline-30min,
.book-a-call-section iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

/* Placeholder message when no embed is configured */
.booking-placeholder {
  color: var(--text-secondary);
  font-size: 1rem;
  padding: 40px;
  text-align: center;
  border: 1px dashed var(--glass-border);
  border-radius: 16px;
  background: var(--glass-bg);
}

   /* CONTACT PAGE PROCESS & FAQ STYLES
   ========================================== */
.contact-process-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
  overflow: hidden;
}

.faq-section {
  padding: 80px 0 100px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.faq-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}

.faq-trigger:hover {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .faq-trigger:hover {
  background: rgba(0, 0, 0, 0.01);
}

.faq-caret {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--accent-primary);
}

.faq-card.active .faq-caret {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease-out,
    padding 0.3s ease-out;
  padding: 0 24px;
}

.faq-card.active .faq-content {
  padding: 0 24px 24px 24px;
  max-height: 300px;
}

.faq-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   AI VOICE AGENT PAGE STYLES
   ========================================== */
.voice-hero {
  padding: 160px 0 70px 0;
  position: relative;
  z-index: 10;
  text-align: center;
  border-bottom: 1px solid var(--glass-border) ;
  margin-bottom: 70px;
}

.voice-hero .hero-actions {
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Audio visualizer animations */
.voice-waveform {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 80px;
  margin: 30px auto;
  max-width: 400px;
}

.wave-bar {
  width: 4px;
  height: 10px;
  background: linear-gradient(
    180deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  border-radius: var(--radius-pill);
  animation: bounceBar 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) {
  animation-delay: 0.1s;
  height: 18px;
}
.wave-bar:nth-child(3) {
  animation-delay: 0.2s;
  height: 28px;
}
.wave-bar:nth-child(4) {
  animation-delay: 0.3s;
  height: 40px;
}
.wave-bar:nth-child(5) {
  animation-delay: 0.4s;
  height: 60px;
}
.wave-bar:nth-child(6) {
  animation-delay: 0.5s;
  height: 45px;
}
.wave-bar:nth-child(7) {
  animation-delay: 0.6s;
  height: 30px;
}
.wave-bar:nth-child(8) {
  animation-delay: 0.7s;
  height: 50px;
}
.wave-bar:nth-child(9) {
  animation-delay: 0.8s;
  height: 22px;
}
.wave-bar:nth-child(10) {
  animation-delay: 0.9s;
  height: 12px;
}

@keyframes bounceBar {
  0% {
    transform: scaleY(0.3);
  }
  100% {
    transform: scaleY(1.3);
  }
}

/* Voice sandbox console */
.voice-sandbox-card {
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}

.sandbox-console {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 40px;
  align-items: stretch;
}

.sandbox-sidebar {
  border-right: 1px solid var(--glass-border);
  padding-right: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.voice-select-btn {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.voice-select-btn:hover,
.voice-select-btn.active {
  background: var(--input-bg-focus);
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px rgba(var(--accent-primary-rgb), 0.15);
}

.voice-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.3);
}

.voice-details {
  display: flex;
  flex-direction: column;
}

.voice-name {
  font-weight: 700;
  font-family: var(--font-heading);
}

.voice-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.sandbox-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.sandbox-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseGreen 1.5s infinite alternate;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  100% {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

.sandbox-transcript {
  flex-grow: 1;
  overflow-y: auto;
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.sandbox-transcript .transcript-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeIn 0.4s ease-out forwards;
}

.line-speaker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.speaker-ai {
  color: var(--accent-primary);
}
.speaker-user {
  color: var(--accent-secondary);
}

.line-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.transcript-line.user-line {
  align-items: flex-end;
}

.transcript-line.user-line .line-text {
  background: rgba(var(--accent-secondary-rgb), 0.05);
  border-color: rgba(var(--accent-secondary-rgb), 0.15);
}

.sandbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
  margin-top: 16px;
}

.sandbox-latency {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.latency-value {
  color: #10b981;
  font-weight: 700;
}

/* Pricing Grid Styles */
.pricing-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  position: relative;
  height: 100%;
}

.pricing-card.popular {
  border-color: var(--accent-primary);
  box-shadow: 0 0 32px rgba(var(--accent-primary-rgb), 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #314c3a !important;
  color: white !important;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(49, 76, 58, 0.25) !important;
}

.pricing-header {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 20px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.plan-price {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: #314c3a !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #314c3a !important;
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.plan-deliverables {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.deliverable-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-cta {
  width: 100%;
  justify-content: center;
  padding: 16px;
  text-decoration: none;
  font-size: 1rem;
}

.plan-delivery {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 12px;
}

/* Add-ons styles */
.addons-section {
  padding: 60px 0 100px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
}

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

.addon-card {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.addon-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.addon-title {
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
}

.addon-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.addon-price {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-primary);
  white-space: nowrap;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .addons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sandbox-console {
    grid-template-columns: 1fr;
  }
  .sandbox-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .voice-waveform {
    height: 60px;
  }

  .page-id-9 .voice-sandbox-card .sandbox-console {
    display: flex;
    flex-direction: column;
  }
}

/* Custom Scrollbar for Sandbox Transcript */
.sandbox-transcript::-webkit-scrollbar {
  width: 4px;
}
.sandbox-transcript::-webkit-scrollbar-track {
  background: transparent;
}
.sandbox-transcript::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}
.sandbox-transcript::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Voice wave container next to text */
.voice-wave-container {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  height: 14px;
}

.voice-wave-container span {
  width: 2px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: var(--radius-pill);
  animation: wavePulse 1s ease-in-out infinite alternate;
}

.voice-wave-container span:nth-child(2) {
  animation-delay: 0.15s;
}
.voice-wave-container span:nth-child(3) {
  animation-delay: 0.3s;
}
.voice-wave-container span:nth-child(4) {
  animation-delay: 0.45s;
}
.voice-wave-container span:nth-child(5) {
  animation-delay: 0.6s;
}

.user-line .voice-wave-container span {
  background: var(--accent-secondary);
}

@keyframes wavePulse {
  0% {
    height: 4px;
    transform: scaleY(1);
  }
  100% {
    height: 14px;
    transform: scaleY(1.4);
  }
}

.custom-agent-heading {
  width: 692px !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.custom-pillar-header {
  max-width: 800px !important;
}

.custom-pillar-heading {
  width: 800px !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.custom-pillar-header .section-subtitle {
  max-width: 700px !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 840px) {
  .custom-pillar-header,
  .custom-pillar-heading {
    width: 100% !important;
    max-width: 100% !important;
  }
  .voice-sandbox-card .sandbox-console .call-timer-box,
  .workflow-node-item.success .node-status-badge {
    display: none;
  }
  .voice-sandbox-card .sandbox-console .call-meta .call-number {
    line-height: 1;
    font-size: 14px;
  }

  .page-id-51 h1 {
    text-align: center !important;
  }

  .woocommerce-NoticeGroup-checkout,
  .woocommerce-info,
  .woocommerce-message,
  .woocommerce-error {
    margin-top: 30px !important;
  }
  span.woocommerce-terms-and-conditions-checkbox-text {
    text-transform: none;
  }

  .page-id-9 .workflow-grid-nodes::before {
    left: 20px;
    top: 27px;
    bottom: -190px;
  }

  .page-id-12 .contact-info-card {
    display: flex;
    flex-direction: column;
  }
}

/* Voice Pillars Grid */
.voice-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.voice-pillar-card {
  padding: 28px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  height: 100%;
}

.voice-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  box-shadow: 0 12px 32px rgba(var(--accent-primary-rgb), 0.08);
}

.voice-pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.voice-pillar-icon-box svg {
  width: 22px;
  height: 22px;
}

.voice-pillar-title {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.voice-pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Slim Primary Border on Active FAQ Card */
.faq-card.active {
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 24px rgba(var(--accent-primary-rgb), 0.12) !important;
}

/* CTA Layout Enhancement with Info-graphics */
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  text-align: left;
}

.cta-content-left {
  display: flex;
  flex-direction: column;
}

.cta-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.cta-visual-right {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cta-visual-box {
  width: 100%;
  max-width: 380px;
  padding: 24px;
  background: rgba(13, 18, 30, 0.4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--glass-shadow);
}

[data-theme="light"] .cta-visual-box {
  background: rgba(255, 255, 255, 0.6);
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.visual-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.visual-timer {
  color: var(--accent-primary);
  font-family: monospace;
  font-size: 0.95rem;
}

.visual-waves {
  height: 80px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

[data-theme="light"] .visual-waves {
  background: rgba(0, 0, 0, 0.03);
}

.visual-wave-svg {
  width: 100%;
  height: 100%;
}

.visual-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.v-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v-label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.v-val {
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

@media (max-width: 1024px) {
  .voice-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .cta-content-left {
    align-items: center;
  }
}

/* Light Theme Borders and Divider Lines Visibility */
[data-theme="light"] .about-section,
[data-theme="light"] .pricing-section,
[data-theme="light"] .addons-section,
[data-theme="light"] .faq-section,
[data-theme="light"] .sandbox-sidebar,
[data-theme="light"] .sandbox-status,
[data-theme="light"] .sandbox-controls,
[data-theme="light"] .line-text,
[data-theme="light"] .pricing-header,
[data-theme="light"] .visual-stats {
  border-color: rgba(15, 23, 42, 0.12) !important;
}

/* Light Theme Scrollbar for Live Playground */
[data-theme="light"] .sandbox-transcript::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
}

/* Mobile Responsiveness Overrides (max-width: 768px) */
@media (max-width: 768px) {
  /* Sandbox Card Sizing & Padding */
  .voice-sandbox-card {
    padding: 20px !important;
  }
  .sandbox-controls {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .sandbox-controls button {
    width: 100%;
  }

  /* Full-width Testimonials Marquee on Mobile */
  .reviews-marquee-wrapper {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 20px 0 !important;
  }

  /* Add-ons Stacked Layout */
  .addon-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .addon-price {
    align-self: flex-start;
  }

  /* CTA Section Padding & Buttons */
  .cta-glass-box {
    padding: 40px 20px !important;
  }
  .cta-ctas {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .cta-ctas .glass-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }
}

/* ==========================================================================
   AI VOICE AGENT TELEPHONY INTERFACE & METRICS
   ========================================================================== */
.voice-call-dashboard {
  background: rgba(10, 15, 26, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--glass-shadow);
  height: 100%;
  min-height: 440px;
  box-sizing: border-box;
}
[data-theme="light"] .voice-call-dashboard {
  background: rgba(255, 255, 255, 0.45);
}

.active-call-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}
.call-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.call-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
}
.call-number {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: monospace;
}
.call-timer-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}
[data-theme="light"] .call-timer-box {
  background: rgba(0, 0, 0, 0.02);
}
.pulse-red-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulseRedTimer 1s infinite alternate;
}
@keyframes pulseRedTimer {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
.call-duration {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.9rem;
}

.active-call-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
}
.phone-dialer-orb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  opacity: 0;
  animation: dialerRing 2s infinite linear;
}
.ring-2 {
  animation-delay: 0.6s;
}
.ring-3 {
  animation-delay: 1.2s;
}
.orb-avatar-inner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #ffffff;
  font-size: 1.5rem;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(var(--accent-primary-rgb), 0.3);
}
@keyframes dialerRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.telephony-sound-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
}
.telephony-sound-wave span {
  width: 3px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: var(--radius-pill);
  animation: phoneSoundWave 1.2s infinite ease-in-out alternate;
}
.telephony-sound-wave span:nth-child(even) {
  background: var(--accent-secondary);
  animation-delay: 0.2s;
}
.telephony-sound-wave span:nth-child(3n) {
  animation-delay: 0.4s;
}
@keyframes phoneSoundWave {
  0% {
    height: 8px;
  }
  100% {
    height: 36px;
  }
}

.telephony-captions-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--glass-border);
  width: 100%;
  box-sizing: border-box;
}
[data-theme="light"] .telephony-captions-box {
  background: rgba(255, 255, 255, 0.6);
}
.caption-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

/* ==========================================================================
   AI CHATBOT WIDGET SIMULATOR UI
   ========================================================================= */
.chatbot-widget-window {
  background: rgba(10, 15, 26, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 440px;
  box-sizing: border-box;
}
[data-theme="light"] .chatbot-widget-window {
  background: rgba(255, 255, 255, 0.6);
}

.chat-header-bar {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}
[data-theme="light"] .chat-header-bar {
  background: rgba(15, 23, 42, 0.02);
}
.chat-agent-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar-ring {
  position: relative;
}
.chat-avatar-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid rgba(10, 15, 26, 0.95);
  border-radius: 50%;
}
.chat-agent-meta {
  display: flex;
  flex-direction: column;
}
.chat-agent-name {
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-heading);
}
.chat-agent-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.chat-window-controls {
  display: flex;
  gap: 10px;
  color: var(--text-tertiary);
}

.chat-transcript-scroller {
  flex-grow: 1;
  overflow-y: auto;
  height: 240px;
  min-height: 240px;
  max-height: 240px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.chat-bubble-row {
  display: flex;
  gap: 12px;
  max-width: 85%;
  animation: fadeInBubble 0.4s ease-out forwards;
}
.chat-bubble-row.user-bubble {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 80%;
}
.chat-bubble-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 4px;
}
.chat-bubble-text {
  padding: 12px 16px;
  border-radius: 0 16px 16px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  line-height: 1.5;
}
.chat-bubble-row.user-bubble .chat-bubble-text {
  border-radius: 16px 0 16px 16px;
  background: rgba(var(--accent-secondary-rgb), 0.08);
  border-color: rgba(var(--accent-secondary-rgb), 0.2);
}
@keyframes fadeInBubble {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-quick-replies {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.01);
  min-height: 54px;
  align-items: center;
  box-sizing: border-box;
}
.reply-pill-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.reply-pill-btn:hover {
  background: var(--input-bg-focus);
  color: var(--text-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 2px 10px rgba(var(--accent-primary-rgb), 0.1);
}

.chat-input-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
[data-theme="light"] .chat-input-placeholder {
  background: rgba(15, 23, 42, 0.01);
}
.chat-input-placeholder input {
  background: transparent;
  border: none;
  width: 80%;
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
}

.chat-typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 0 16px 16px 16px;
  width: fit-content;
}
.chat-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
  animation: chatTypingDot 1.4s infinite both;
}
.chat-typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.chat-typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes chatTypingDot {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* ==========================================================================
   CUSTOM AI AGENT WORKFLOW BUILDER UI
   ========================================================================== */
.workflow-builder-window {
  background: rgba(10, 15, 26, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--glass-shadow);
  height: 100%;
  min-height: 440px;
  box-sizing: border-box;
}
[data-theme="light"] .workflow-builder-window {
  background: rgba(255, 255, 255, 0.6);
}

.workflow-grid-nodes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding: 10px 8px 10px 14px;
  height: 240px;
  min-height: 240px;
  max-height: 240px;
  overflow-y: auto;
  box-sizing: border-box;
}
.workflow-grid-nodes::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--accent-primary) 0%,
    rgba(var(--accent-primary-rgb), 0.1) 100%
  );
  z-index: 1;
}

.workflow-node-item {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 5;
  animation: fadeIn 0.4s ease-out forwards;
}
.node-circle-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--input-bg-focus);
  border: 3px solid var(--glass-border);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.workflow-node-item.active .node-circle-indicator {
  background: var(--accent-primary);
  border-color: rgba(var(--accent-primary-rgb), 0.2);
  box-shadow: 0 0 12px var(--accent-primary);
}
.workflow-node-item.success .node-circle-indicator {
  background: #10b981;
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 10px #10b981;
}

.node-container-box {
  flex-grow: 1;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}
[data-theme="light"] .node-container-box {
  background: rgba(0, 0, 0, 0.01);
}
.workflow-node-item.active .node-container-box {
  background: rgba(var(--accent-primary-rgb), 0.04);
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(var(--accent-primary-rgb), 0.08);
}
.workflow-node-item.success .node-container-box {
  background: rgba(16, 185, 129, 0.03);
  border-color: #10b981;
}

.node-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.node-label-title {
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-heading);
}
.node-desc-text {
  font-size: 0.76rem;
  color: var(--text-secondary);
}
.node-status-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}
.workflow-node-item.active .node-status-badge {
  background: rgba(var(--accent-primary-rgb), 0.15);
  color: var(--accent-primary);
}
.workflow-node-item.success .node-status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.human-gate-prompt-card {
  background: rgba(var(--accent-secondary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: pulseSecRing 2s infinite alternate;
}
@keyframes pulseSecRing {
  0% {
    box-shadow: 0 0 4px rgba(var(--accent-secondary-rgb), 0.1);
  }
  100% {
    box-shadow: 0 0 12px rgba(var(--accent-secondary-rgb), 0.25);
  }
}
.human-gate-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gate-title {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent-secondary);
}
.gate-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
}
.gate-actions-row {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   CTA GAUGE & DEFLECTION INFOGRAPHICS (HIGH IMPACT)
   ========================================================================== */
.radial-gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 140px;
  height: 140px;
}
.gauge-svg {
  transform: rotate(-90deg);
}
.gauge-background-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
}
[data-theme="light"] .gauge-background-circle {
  stroke: rgba(0, 0, 0, 0.05);
}
.gauge-active-circle {
  fill: none;
  stroke: var(--accent-primary);
  stroke-width: 8;
  stroke-dasharray: 339;
  stroke-dashoffset: 339;
  stroke-linecap: round;
  transition: stroke-dashoffset 2s ease-in-out;
}
.gauge-text-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gauge-big-num {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-heading);
}
.gauge-small-label {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.analytics-funnel-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.funnel-level-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.funnel-bar-fill {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-primary);
  transition: width 1.5s ease-in-out;
}
.funnel-val-text {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: monospace;
}

/* Custom Modern Scrollbar (Site-Wide & Containers) */
html,
body,
.chat-transcript-scroller,
.sandbox-transcript,
.terminal-logs,
.chat-messages-container,
.case-modal-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(49, 76, 58, 0.35) transparent;
}

[data-theme="dark"] html,
[data-theme="dark"] body,
[data-theme="dark"] .chat-transcript-scroller,
[data-theme="dark"] .sandbox-transcript,
[data-theme="dark"] .terminal-logs,
[data-theme="dark"] .chat-messages-container,
[data-theme="dark"] .case-modal-content {
  scrollbar-color: rgba(200, 216, 123, 0.35) transparent;
}

/* Chrome / Edge / Safari Global Scrollbar */
::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}

::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

::-webkit-scrollbar-track {
  background: transparent !important;
}

::-webkit-scrollbar-thumb {
  background: rgba(49, 76, 58, 0.35) !important;
  border-radius: 10px !important;
  transition: background var(--transition-fast) !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #314c3a !important;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(200, 216, 123, 0.35) !important;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #c8d87b !important;
}

/* ==========================================
   INNER PAGE HERO SUBTITLE WIDTH
   Desktop / Laptop: 80% centered
   ========================================== */
.voice-hero .hero-subtitle,
.portfolio-hero-subtitle,
.about-hero-subtitle,
.contact-section .hero-subtitle,
.contact-section .contact-header h1 + .hero-subtitle,
.blog-hero .hero-subtitle {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   INNER PAGE HERO SUBTITLE WIDTH (MOBILE)
   Mobile: 100% full container width
   ========================================== */
@media (max-width: 768px) {
  .voice-hero .hero-subtitle,
  .portfolio-hero-subtitle,
  .about-hero-subtitle,
  .contact-section .hero-subtitle,
  .contact-section .contact-header h1 + .hero-subtitle,
  .blog-hero .hero-subtitle {
    width: 100%;
  }
}

/* ==========================================
   WOOCOMMERCE CHECKOUT COUPON AREA
   ========================================== */
.woocommerce-form-coupon-toggle {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  height: auto !important;
  min-height: 0 !important;
}

form.checkout_coupon button[name="apply_coupon"],
.woocommerce-form-coupon button[name="apply_coupon"],
.woocommerce #place_order,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  padding: 0 24px !important;
  background: #314c3a !important;
  color: #ffffff !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 18px rgba(49, 76, 58, 0.35) !important;
  transition: all var(--transition-fast) !important;
  line-height: 1 !important;
}

form.checkout_coupon button[name="apply_coupon"]:hover,
.woocommerce-form-coupon button[name="apply_coupon"]:hover,
.woocommerce #place_order:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #252f2a !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 26px rgba(49, 76, 58, 0.5) !important;
}

@media (max-width: 640px) {
  form.checkout_coupon {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  form.checkout_coupon .form-row {
    width: 100% !important;
  }
  form.checkout_coupon button[name="apply_coupon"],
  .woocommerce-form-coupon button[name="apply_coupon"] {
    width: 100% !important;
  }
}

/* ==========================================
   GLOBAL BRAND RULES (Midnight AI Agents)
   ========================================== */

/* Global Rule 13: Headings Capitalized (Title Case) */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.article-title,
.blog-title,
.info-title,
.form-heading,
.cta-title {
  text-transform: capitalize !important;
}

/* Header dropdown solid background and full opacity */
.site-header .dropdown-menu {
  background: #0b1610 !important;
}
[data-theme="light"] .site-header .dropdown-menu {
  background: #f5f5ed !important;
  border-color: rgba(37, 47, 42, 0.2) !important;
}
.site-header .nav-item.dropdown:hover .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Global Rule 15: SVG icon wrappers carry no visible border */
.icon-wrapper,
.btn-icon,
.social-btn,
.feature-icon-wrapper,
.stat-icon-wrapper,
.dropdown-toggle svg,
summary svg,
button svg,
.whatsapp-icon-box,
.info-icon-box {
  border: 0 !important;
  outline: none !important;
}

/* Global Rule 17 & Section 7.1b: Location/address non-clickable styling */
.footer-contact .address,
.contact-address,
.address-text,
.footer-info address {
  cursor: default !important;
  text-decoration: none !important;
  pointer-events: none;
}

/* Section 2.8: Dual Logo display based on active theme & responsive heights */
.logo-wrapper {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-wrapper .logo-img,
.site-header .logo-wrapper .logo-img,
.site-footer .logo-wrapper .logo-img,
.woocommerce .logo-wrapper .logo-img,
.woocommerce-page .logo-wrapper .logo-img {
  height: 42px !important;
  max-height: 42px;
  width: auto !important;
  object-fit: contain !important;
  display: block;
}

.site-footer .footer-info a img{
	  height: 37px !important;
    max-height: 37px !important;
    width: auto !important;
}

[data-theme="dark"] .logo-wrapper .logo-light,
:root:not([data-theme="light"]) .logo-wrapper .logo-light {
  display: inline-block !important;
}
[data-theme="dark"] .logo-wrapper .logo-dark,
:root:not([data-theme="light"]) .logo-wrapper .logo-dark {
  display: none !important;
}
[data-theme="light"] .logo-wrapper .logo-light {
  display: none !important;
}
[data-theme="light"] .logo-wrapper .logo-dark {
  display: inline-block !important;
}

/* Mobile Screen Logo Height: 27px in Header & Footer across all pages and both themes */
@media (max-width: 768px) {
  .logo-wrapper .logo-img,
  .site-header .logo-wrapper .logo-img,
  .site-footer .logo-wrapper .logo-img,
  .woocommerce .logo-wrapper .logo-img,
  .woocommerce-page .logo-wrapper .logo-img,
  .woocommerce-checkout .logo-wrapper .logo-img,
  .woocommerce-cart .logo-wrapper .logo-img {
    height: 27px !important;
    max-height: 27px !important;
    width: auto !important;
  }
}

@media (max-width: 480px) {
  .site-header .logo-wrapper .logo-img {
    height: 27px !important;
    max-height: 27px !important;
    width: auto !important;
  }
}

@media (max-width: 360px) {
  .site-header .logo-wrapper .logo-img {
    height: 19px !important;
    max-height: 19px !important;
    width: auto !important;
  }
}

/* Section 9.1 & 9.2: WooCommerce Coupon button width & toggle fix */
form.checkout_coupon button[name="apply_coupon"],
.woocommerce-form-coupon button[name="apply_coupon"] {
  width: max-content !important;
}
form.checkout_coupon[style*="display: none"],
.woocommerce-form-coupon[style*="display: none"] {
  display: none !important;
}

/* Section 4.3a: Blog card heading & description line-clamping */
.blog-card .blog-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-card .blog-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section 7.1c: Footer description mobile responsiveness */
@media (max-width: 768px) {
  .footer-desc {
    max-width: 100% !important;
  }
}

/* ============================================================
   LIGHT THEME REFINEMENTS: #314C3A (Deep Primary) For Icons, Hover & Cards
   ============================================================ */

/* 1. Light theme hover on links, nav items, and footer links */
[data-theme="light"] a:hover,
[data-theme="light"] .footer-link:hover,
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .dropdown-item:hover,
[data-theme="light"] .dropdown-toggle:hover,
[data-theme="light"] .footer-contact-link:hover,
[data-theme="light"] .info-link:hover {
  color: #314c3a !important;
}

[data-theme="light"] .nav-link:hover::after,
[data-theme="light"] .nav-link.active::after {
  background: #314c3a !important;
}

[data-theme="light"] .dropdown-item:hover {
  background: rgba(49, 76, 58, 0.08) !important;
  color: #314c3a !important;
}

/* 2. Light theme social icons & hover */
[data-theme="light"] .social-btn {
  color: #314c3a !important;
  border-color: rgba(49, 76, 58, 0.2) !important;
  background: rgba(49, 76, 58, 0.06) !important;
}

[data-theme="light"] .social-btn svg {
  fill: #314c3a !important;
  color: #314c3a !important;
}

[data-theme="light"] .social-btn:hover {
  border-color: #314c3a !important;
  color: #314c3a !important;
  background: rgba(49, 76, 58, 0.15) !important;
}

[data-theme="light"] .social-btn:hover svg {
  fill: #314c3a !important;
  color: #314c3a !important;
}

/* 3. Stats bar icons and icon background in Light Theme (matching healthcare/real estate style) */
[data-theme="light"] .stat-icon-wrapper {
  background: rgba(49, 76, 58, 0.08) !important;
  border: 1px solid rgba(49, 76, 58, 0.15) !important;
  color: #314c3a !important;
}

[data-theme="light"] .stat-icon-wrapper svg {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="light"] .premium-stat-card:hover .stat-icon-wrapper {
  background: #314c3a !important;
  color: #ffffff !important;
}

[data-theme="light"] .premium-stat-card:hover .stat-icon-wrapper svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* 4. Contact page info cards in Light Theme (icons, icon bg, and links take #314C3A) */
[data-theme="light"] .info-icon-box {
  background: rgba(49, 76, 58, 0.08) !important;
  border: 1px solid rgba(49, 76, 58, 0.15) !important;
  color: #314c3a !important;
}

[data-theme="light"] .info-icon-box svg {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="light"] .info-link {
  color: #314c3a !important;
}

[data-theme="light"] .info-link svg {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="light"] .contact-info-card:hover .info-icon-box {
  background: #314c3a !important;
  color: #ffffff !important;
}

[data-theme="light"] .contact-info-card:hover .info-icon-box svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

[data-theme="light"] .contact-info-card .status-pulse-dot {
  background: #314c3a !important;
}

/* 5. Footer Contact Info icons in Light Theme */
[data-theme="light"] .footer-contact-icon {
  background: rgba(49, 76, 58, 0.08) !important;
  border: 1px solid rgba(49, 76, 58, 0.15) !important;
  color: #314c3a !important;
}

[data-theme="light"] .footer-contact-icon svg {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="light"] .footer-contact-item svg[fill="currentColor"],
[data-theme="light"] .footer-contact-icon svg[fill="currentColor"] {
  fill: #314c3a !important;
  color: #314c3a !important;
}

[data-theme="light"] .footer-contact-link {
  color: #252f2a !important;
}

[data-theme="light"] .footer-contact-link:hover {
  color: #314c3a !important;
}

[data-theme="light"] .footer-contact-link:hover .footer-contact-text {
  color: #314c3a !important;
}

[data-theme="light"]
  .footer-contact-item:has(.footer-contact-link):hover
  .footer-contact-icon,
[data-theme="light"] .footer-contact-link:hover .footer-contact-icon {
  border-color: #314c3a !important;
  color: #314c3a !important;
  background: rgba(49, 76, 58, 0.12) !important;
}

/* 6. Home page Operational Capabilities cards in Light Theme */
[data-theme="light"] .service-icon-box {
  background: rgba(49, 76, 58, 0.08) !important;
  border: 1px solid rgba(49, 76, 58, 0.15) !important;
  color: #314c3a !important;
}

[data-theme="light"] .service-icon-box svg {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="light"] .service-card:hover .service-icon-box {
  background: #c8d87b !important;
  color: #ffffff !important;
}

[data-theme="light"] .service-card:hover .service-icon-box svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

[data-theme="light"] .service-link {
  color: #314c3a !important;
}

[data-theme="light"] .service-link svg {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="light"] .service-card:hover .service-link,
[data-theme="light"] .service-link:hover {
  color: #314c3a !important;
}

[data-theme="light"] .service-card:hover .service-link svg,
[data-theme="light"] .service-link:hover svg {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="dark"] .service-card:hover .service-link,
[data-theme="dark"] .service-link:hover {
  color: var(--accent-primary) !important;
}

[data-theme="dark"] .service-card:hover .service-link svg,
[data-theme="dark"] .service-link:hover svg {
  color: var(--accent-primary) !important;
  stroke: var(--accent-primary) !important;
}

[data-theme="light"] .bullet-chk {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="light"] .ind-icon-box {
  background: rgba(49, 76, 58, 0.08) !important;
  border: 1px solid rgba(49, 76, 58, 0.15) !important;
  color: #314c3a !important;
}

[data-theme="light"] .ind-icon-box svg {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="light"] .industry-card:hover .ind-icon-box {
  background: #314c3a !important;
  color: #ffffff !important;
  transform: translateY(-4px) rotate(360deg) !important;
}

[data-theme="light"] .industry-card:hover .ind-icon-box svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* 7. About page cards (Mission, Vision, Values & Engineering Excellence) in Light Theme */
[data-theme="light"] .about-card-icon-box {
  background: rgba(49, 76, 58, 0.08) !important;
  border: 1px solid rgba(49, 76, 58, 0.15) !important;
  color: #314c3a !important;
}

[data-theme="light"] .about-card-icon-box svg {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="light"] .about-card:hover .about-card-icon-box {
  background: #314c3a !important;
  color: #ffffff !important;
}

[data-theme="light"] .about-card:hover .about-card-icon-box svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

[data-theme="light"] .pillar-number {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #314c3a !important;
  color: #314c3a !important;
  opacity: 0.8 !important;
}

/* 8. Service pages cards (Pillars & Deliverables) in Light Theme */
[data-theme="light"] .voice-pillar-icon-box {
  background: rgba(49, 76, 58, 0.08) !important;
  border: 1px solid rgba(49, 76, 58, 0.15) !important;
  color: #314c3a !important;
}

[data-theme="light"] .voice-pillar-icon-box svg {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="light"] .voice-pillar-card:hover .voice-pillar-icon-box {
  background: #314c3a !important;
  color: #ffffff !important;
}

[data-theme="light"] .voice-pillar-card:hover .voice-pillar-icon-box svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

[data-theme="light"] .deliverable-item svg {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

/* 9. FAQ Accordion refinements in Light Theme */
[data-theme="light"] .faq-card {
  background: rgba(245, 245, 237, 0.85) !important;
  border: 1px solid rgba(49, 76, 58, 0.15) !important;
  box-shadow: 0 4px 20px 0 rgba(37, 47, 42, 0.04) !important;
}

[data-theme="light"] .faq-card.active {
  border-color: rgba(49, 76, 58, 0.35) !important;
}

[data-theme="light"] .faq-trigger {
  color: #111827 !important;
}

[data-theme="light"] .faq-caret {
  color: #314c3a !important;
  stroke: #314c3a !important;
}

[data-theme="light"] .faq-trigger:hover .faq-caret {
  color: #252f2a !important;
  stroke: #252f2a !important;
}

[data-theme="light"] .faq-content p {
  color: #374151 !important;
}

/* self code ---------------------------- */

[data-theme="dark"] .service-card:hover .service-icon-box {
  background: #314c3a !important;
}

[data-theme="dark"] .pillar-number {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #c8d87b !important;
  color: #c8d87b !important;
  opacity: 0.8 !important;
}

.page-id-9 .workflow-grid-nodes::before {
  left: 20px;
  top: 15px;
  bottom: -7px;
}

.page-id-9 .sandbox-console .voice-select-btn.active .voice-avatar {
  background: #314c3a;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-top: 16px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-actions {
  display: flex;
}

[data-theme="light"] .industry-card:hover .ind-icon-box {
  background: #c8d87b !important;
}

[data-theme="dark"] .single-post .text-gradient {
  -webkit-text-fill-color: #c8d87b !important;
  background-clip: unset !important;
  color: #c8d87b !important;
}

[data-theme="light"] .single-post .text-gradient {
  -webkit-text-fill-color: #4c735a !important;
  background-clip: unset !important;
  color: #4c735a !important;
}

.single-post .text-gradient,
.modal-body-content .text-gradient {
  text-align: left !important;
}

[data-theme="dark"] .modal-body-content .modal-tag,
[data-theme="dark"] .modal-body-content .modal-title.text-gradient {
  -webkit-text-fill-color: #c8d87b !important;
  background-clip: unset !important;
  color: #c8d87b !important;
}

[data-theme="light"] .modal-body-content .modal-tag,
[data-theme="light"] .modal-body-content .modal-title.text-gradient {
  -webkit-text-fill-color: #4c735a !important;
  background-clip: unset !important;
  color: #4c735a !important;
}

.page-id-7 .sandbox-console .voice-select-btn.active .voice-avatar,
.page-id-8 .sandbox-console .voice-select-btn.active .voice-avatar {
  background: #314c3a;
}

[data-theme="dark"] .popular .pricing-header .plan-name {
  color: #c8d87b !important;
}

.plan-price {
    -webkit-text-fill-color: #5f8b6d !important;
    color: #5f8b6d !important;
}

.page-id-14 .article-header{
display: flex;
    flex-direction: column;
    align-items: center;
}

.book-a-call-section .section-title {
text-align: center;
}

.book-a-call-section .section-title{
    font-size: clamp(2rem, 3.5vw, 3rem);
}

@media (max-width: 768px) {
  .page-id-12 .contact-section, .page-id-10 .about-hero, .blog .blog-hero, .page-id-8 .voice-hero, .page-id-7 .voice-hero, .page-id-9 .voice-hero{
padding-top: 110px !important;
}

.page-id-8 .contact-process-section{
padding-bottom: 80px;
}

.trust-section .trust-title{
text-align: center;
    line-height: 20px;

}
}

.page-id-6 #tab-chat .avatar{
	padding: 5px 9px;
	font-size: 14px;
    background: #314c3a;
    border-radius: 100px;
	margin-right: 5px;
	color: #fff;
}

.page-id-6 #tab-chat .chat-bubble.user{
	align-self: flex-end;
	background: var(--badge-bg);
	padding: 8px 16px;
	border-radius: 50px;
}

@media(max-width: 767px){
	.page-id-6 #tab-chat .chat-bubble.user{
	border-radius: 16px;
}
}

/* ==========================================
   HOME — BUSINESS OUTCOMES (Revision Round 1)
   Reuses .industries-section / .industry-card; only the column count differs.
   ========================================== */
.outcomes-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.outcomes-grid .industry-card {
  padding: 28px 20px;
}

.outcome-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 1024px) {
  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .outcomes-grid .industry-card:last-child {
    grid-column: 1 / -1;
  }
}

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

/* ==========================================
   SERVICE PRICING — currency note + strategy call CTA (Revision Round 1)
   ========================================== */
.pricing-footnote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  text-align: center;
}

.pricing-currency-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.8;
  margin: 0;
}

/* ==========================================
   TABLET HEADER 769–1099px (Round 1 Cleanup)
   The full desktop nav does not fit below ~1100px (CTA wrapped, logo squeezed).
   Reuse the existing mobile hamburger menu in this range; desktop (>=1100px)
   and mobile (<=768px) are unchanged.
   ========================================== */
@media (min-width: 769px) and (max-width: 1099px) {
  .header-cta-btn {
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: flex;
    border: none;
    background: transparent;
    padding: 4px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid var(--glass-border);
    padding: 40px;
    display: none;
    justify-content: center;
    z-index: 999;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .nav-item.dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-toggle {
    justify-content: center;
  }

  .nav-link::after,
  .dropdown-toggle::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
  }

  .nav-item.dropdown.active .dropdown-menu {
    max-height: 200px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    padding: 8px 0;
  }

  .dropdown-item {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .dropdown-item:hover {
    padding-left: 12px;
    background: transparent;
    color: var(--accent-primary);
  }
}

/* ==========================================
   BOOK A CALL — booking embed wrapper (Contact page)
   ========================================== */
.book-a-call-section .contact-header {
  margin-bottom: 40px;
}

.book-a-call-section .contact-header .section-title {
  margin-bottom: 16px;
}

.book-a-call-section .booking-embed {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-primary);
  box-shadow: var(--glass-shadow);
}

.book-a-call-section .calendly-inline-widget {
  min-width: 0 !important;
  width: 100%;
}

.book-a-call-section .calendly-inline-widget iframe {
  border-radius: 20px;
}

@media (max-width: 768px) {
  .book-a-call-section .booking-embed {
    border-radius: 16px;
  }
  .book-a-call-section .calendly-inline-widget {
    height: 640px !important;
  }
}
