/* ==========================================================================
   LIQUID SPECTRUM THEME - CORE VARIABLES & RESETS
   A modern service-business theme adapted for electrical contractors.
   Lines: ~2000 equivalents of deep styling.
   ========================================================================== */

:root {
  /* Color Palette */
  --base-bg: #fcfcfd;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --section-tint: #f3f4f6;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);

  /* Liquid Gradients */
  --liquid-grad: linear-gradient(135deg, #00e5ff, #ff4d9d, #8b5cf6);
  --support-grad: linear-gradient(135deg, #22d3ee, #ec4899);

  /* Layout & Spacing (MUI-like approach) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;

  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-pill: 9999px;

  /* Shadows & Transitions */
  --shadow-soft: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
  --shadow-float: 0 20px 50px -10px rgba(15, 23, 42, 0.12);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-primary: "Outfit", sans-serif;
}

/* Base Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--base-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Scales */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.display-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-sm);
}
.text-muted {
  color: var(--text-muted);
}
.text-lg {
  font-size: 1.125rem;
}
.text-sm {
  font-size: 0.875rem;
}
.text-xs {
  font-size: 0.75rem;
}
.text-center {
  text-align: center;
}
.font-semibold {
  font-weight: 600;
}
.gradient-text-liquid {
  background: var(--liquid-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ==========================================================================
   UTILITY CLASSES (MUI-like Stacks and Grids)
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}

.stack {
  display: flex;
  flex-direction: column;
}
.row,
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.align-center {
  align-items: center;
}
.align-end {
  align-items: flex-end;
}
.justify-center {
  justify-content: center;
}

.gap-xs {
  gap: var(--space-xs);
}
.gap-sm {
  gap: var(--space-sm);
}
.gap-md {
  gap: var(--space-md);
}
.gap-lg {
  gap: var(--space-lg);
}
.gap-xl {
  gap: var(--space-xl);
}
.gap-xxl {
  gap: var(--space-xxl);
}

.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.section-padding {
  padding: var(--space-xxl) 0;
}
.pt-150 {
  padding-top: 150px;
}
.pb-100 {
  padding-bottom: 100px;
}
.p-md {
  padding: var(--space-md);
}
.p-xl {
  padding: var(--space-xl);
}
.p-xxl {
  padding: var(--space-xxl);
}
.pl-xl {
  padding-left: var(--space-xl);
}

.mt-md {
  margin-top: var(--space-md);
}
.mt-auto {
  margin-top: auto;
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.full-height {
  min-height: 100vh;
}
.full-width {
  width: 100%;
}
.max-w-sm {
  max-width: 400px;
}
.max-w-md {
  max-width: 600px;
}
.max-w-lg {
  max-width: 800px;
}
.max-w-3xl {
  max-width: 1024px;
}

.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.overflow-hidden {
  overflow: hidden;
}
.z-10 {
  z-index: 10;
}

.tint-bg {
  background-color: var(--section-tint);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
.btn-icon {
  padding: 0.75rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
}
.btn-text {
  background: transparent;
  color: var(--text-main);
}
.btn-text:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-gradient {
  background: var(--liquid-grad);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
  background-size: 200% auto;
}
.btn-gradient:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 77, 157, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text-main);
  color: var(--text-main);
}
.btn-outline:hover {
  background: var(--text-main);
  color: white;
}

.btn-dark {
  background: var(--text-main);
  color: white;
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.link-arrow:hover {
  color: #8b5cf6;
  gap: 0.75rem;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
/* Glass Panels */
.glass-panel,
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.rounded-lg {
  border-radius: var(--radius-lg);
}

/* Floating Pill Nav */
.floating-pill-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: var(--container-max);
  z-index: 1000;
  transition: var(--transition-smooth);
}
.floating-pill-nav .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(252, 252, 253, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.nav-logo {
  height: 80px;
  width: auto;
  display: block;
  filter: invert(1);
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-list a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--liquid-grad);
  transition: var(--transition-smooth);
}
.nav-list a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--base-bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-content {
  text-align: center;
}
.mobile-menu-content a {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  margin-bottom: 1.5rem;
}

/* Forms */
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}
.form-control {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}
.form-control:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.select-dropdown {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%230F172A" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
@keyframes morphBlob {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: rotate(0deg) scale(1);
  }
  34% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    transform: rotate(120deg) scale(1.05);
  }
  67% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    transform: rotate(240deg) scale(0.95);
  }
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: rotate(360deg) scale(1);
  }
}

@keyframes floatBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.02);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.6;
    filter: blur(40px);
  }
  50% {
    opacity: 1;
    filter: blur(60px);
  }
}

.liquid-orb-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: auto;
}
.liquid-orb {
  width: 100%;
  height: 100%;
  background: var(--liquid-grad);
  animation: morphBlob 15s ease-in-out infinite alternate;
  box-shadow:
    inset 20px 20px 40px rgba(255, 255, 255, 0.4),
    0 30px 60px rgba(139, 92, 246, 0.4);
  position: relative;
  z-index: 2;
}
.liquid-orb-blur {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: var(--liquid-grad);
  filter: blur(50px);
  animation: morphBlob 15s ease-in-out infinite alternate-reverse;
  z-index: 1;
  opacity: 0.7;
}

.bg-blob-1,
.bg-blob-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}
.bg-blob-1 {
  top: -100px;
  right: -200px;
  background: #00e5ff;
  animation: floatBreathe 10s ease-in-out infinite;
}
.bg-blob-2 {
  bottom: -200px;
  left: -200px;
  background: #ff4d9d;
  animation: floatBreathe 12s ease-in-out infinite reverse;
}

/* ==========================================================================
   SPECIFIC SECTIONS
   ========================================================================== */

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
}
.glow-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  width: fit-content;
}

/* Stats / About */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  width: 100%;
  margin-top: var(--space-lg);
}
.stat-card {
  padding: var(--space-lg);
  text-align: center;
  transition: var(--transition-smooth);
}
.stat-card:hover {
  transform: translateY(-10px);
}
.stat-number {
  font-size: 3.5rem;
}
.stat-label {
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 2;
}
.service-card {
  background: #fff;
  padding: var(--space-xl) var(--space-lg);
  border-radius: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--liquid-grad);
  filter: blur(40px);
  opacity: 0;
  transition: var(--transition-smooth);
  border-radius: 50%;
}
.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-float);
}
.service-card:hover::before {
  opacity: 0.15;
}
.card-icon {
  font-size: 2.5rem;
  color: #8b5cf6;
}

/* Work */
.work-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.work-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  height: 400px;
}

.work-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.work-image img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.work-item:hover .work-image {
  transform: scale(1.05);
}
.placeholder-grad-1 {
  background: linear-gradient(45deg, #1e293b, #0f172a);
}
.placeholder-grad-2 {
  background: linear-gradient(45deg, #334155, #1e293b);
}
.work-category {
  color: #8b5cf6;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Calculator */
.calc-interface {
  padding: var(--space-xl);
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  margin: 10px 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #e2e8f0;
  border-radius: 4px;
}
input[type="range"]::-webkit-slider-thumb {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #8b5cf6;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.result-number {
  font-size: 4rem;
  margin: 0;
}
.feature-list {
  list-style: none;
  margin-top: var(--space-md);
}
.text-liquid {
  color: #8b5cf6;
}

/* Insights */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.insight-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  cursor: pointer;
}
.insight-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-float);
}
.insight-image {
  height: 200px;
  background-size: cover;
}
.img-grad-1 {
  background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
}
.img-grad-2 {
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
}
.img-grad-3 {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}
.insight-content {
  padding: var(--space-lg);
}
.insight-date {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   Clients / Logo Cloud (FIXED)
   ========================================================================== */
.logo-cloud {
  position: relative;
  width: 100%; /* FIX: Forces the container to expand */
  max-width: 800px; /* Limits how far they spread out */
  height: 400px; /* Gives them vertical breathing room */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-xl);
}

.center-orb {
  width: 130px;
  height: 130px;
  background: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  z-index: 5;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}

.orbiting-logo {
  position: absolute;
  font-size: 3.5rem;
  color: #94a3b8;
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.orbiting-logo:hover {
  opacity: 1;
  color: #8b5cf6;
  transform: scale(1.2);
  z-index: 10;
}

/* Placed in a perfect pentagon/circle pattern around the orb */
.logo-1 {
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
}
.logo-2 {
  top: 30%;
  right: 5%;
}
.logo-3 {
  bottom: 10%;
  right: 20%;
}
.logo-4 {
  bottom: 10%;
  left: 20%;
}
.logo-5 {
  top: 30%;
  left: 5%;
}

.logo-1:hover {
  transform: translateX(-50%) scale(1.2);
} /* Keep center offset on hover */


/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.testimonial-card {
  padding: var(--space-xl);
}
.quote {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  margin: var(--space-sm) 0;
}
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ccc;
}
.avatar-1 {
  background: linear-gradient(45deg, #fca5a5, #f87171);
}
.avatar-2 {
  background: linear-gradient(45deg, #93c5fd, #60a5fa);
}

/* CTA Blob Section */
.cta-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.giant-gradient-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150vw;
  height: 150vw;
  background: var(--liquid-grad);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(80px);
  opacity: 0.2;
  animation: morphBlob 20s infinite alternate;
}
.cta-content-glass {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  padding: var(--space-xl) var(--space-xxl);
  border-radius: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Footer */
#main-footer {
  background: var(--text-main);
  color: white;
  padding: var(--space-xxl) 0 var(--space-md) 0;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer-logo {
  height: 80px;
}
.footer-links h4 {
  color: white;
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.footer-links a:hover {
  color: white;
  padding-left: 5px;
}
.footer-contact li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: #94a3b8;
}
.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.social-icons a:hover {
  background: var(--liquid-grad);
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Legal Pages */
.page-legal .legal-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.page-legal .legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.list-disc {
  list-style-type: disc;
}

/* Live Chat */
.live-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}
.chat-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--liquid-grad);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
  transition: var(--transition-smooth);
}
.chat-btn:hover {
  transform: scale(1.1);
}
.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 450px;
  background: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transition: all 0.3s ease;
}
.chat-window.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}
.chat-header {
  padding: 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
}
.chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.chat-msg {
  padding: 0.75rem;
  border-radius: var(--radius-md);
  max-width: 80%;
  font-size: 0.9rem;
}
.bot-msg {
  background: #f1f5f9;
  align-self: flex-start;
  border-bottom-left-radius: 0;
}
.user-msg {
  background: #8b5cf6;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0;
}
.chat-input-area {
  padding: 1rem;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.chat-input-area input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-pill);
  outline: none;
}
.dot-online {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}
.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .grid-3-col,
  .grid-2-col,
  .footer-grid,
  .stats-grid,
  .services-grid,
  .insights-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-visual {
    display: none;
  } /* Hide orb on tablet for space */
  .cta-content-glass {
    padding: var(--space-xl) var(--space-lg);
  }
}

@media (max-width: 768px) {
  .desktop-nav,
  .header-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .grid-3-col,
  .grid-2-col,
  .footer-grid,
  .stats-grid,
  .services-grid,
  .insights-grid,
  .testimonials-grid,
  .work-item {
    grid-template-columns: 1fr;
  }
  .logo-cloud { height: 250px; }
    .orbiting-logo { font-size: 2rem; }
  .work-image-wrapper {
    height: 250px;
    order: -1;
  }
  .display-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .hidden-mobile {
    display: none;
  }
  .chat-window {
    width: calc(100vw - 40px);
    right: -10px;
  }
}
