/* ==========================================================================
   TECLYQ DESIGN SYSTEM & CORE STYLES
   Dynamic Tech Sapphire Atmosphere, Glowing Cyan Constellations & Photographic Cards
   ========================================================================== */

:root {
  /* Surface Colors (Rich Deep Sapphire Void with Radiant Cyan Glassmorphism) */
  --bg-body: #060d1a;
  --bg-surface: rgba(11, 23, 44, 0.78);
  --bg-surface-elevated: rgba(15, 30, 56, 0.88);
  --bg-card: rgba(12, 25, 48, 0.72);
  --bg-card-hover: rgba(18, 36, 68, 0.85);
  --bg-glass: rgba(9, 20, 39, 0.82);
  --bg-glass-input: rgba(6, 14, 28, 0.75);

  /* Brand Accents */
  --cyan-primary: #00f0ff;
  --cyan-light: #70f8ff;
  --cyan-deep: #00b4d8;
  --blue-electric: #0284c7;
  --blue-vibrant: #38bdf8;
  --indigo-accent: #6366f1;
  --accent-gradient: linear-gradient(135deg, #00f0ff 0%, #0ea5e9 50%, #6366f1 100%);
  --accent-glow: 0 0 25px rgba(0, 240, 255, 0.35);
  --accent-glow-strong: 0 0 40px rgba(0, 240, 255, 0.6);

  /* Semantic State */
  --status-online: #10b981;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #030712;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-card: rgba(0, 240, 255, 0.18);
  --border-glow: rgba(0, 240, 255, 0.55);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-neon: 0 0 30px rgba(0, 240, 255, 0.22);

  /* Layout */
  --container-max: 1280px;
  --nav-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BRIGHT / LIGHT THEME DESIGN SYSTEM (Clean Clinical Tech Palette)
   ========================================================================== */
html[data-theme="light"] {
  /* Surface Colors: Clean, Bright Pearl & Elevated Translucent Glass */
  --bg-body: #f8fafc;
  --bg-surface: rgba(255, 255, 255, 0.88);
  --bg-surface-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-input: #ffffff;

  /* Brand Accents - Vibrant Tech Azure & Sapphire */
  --cyan-primary: #0284c7;        /* Crisp accessible oceanic sapphire */
  --cyan-light: #0ea5e9;
  --cyan-deep: #0369a1;
  --blue-electric: #2563eb;
  --blue-vibrant: #0284c7;
  --indigo-accent: #4f46e5;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #4f46e5 100%);
  --accent-glow: 0 0 20px rgba(2, 132, 199, 0.22);
  --accent-glow-strong: 0 0 35px rgba(2, 132, 199, 0.35);

  /* Typography Colors */
  --text-main: #0f172a;           /* Punchy deep slate 900 */
  --text-secondary: #334155;      /* Slate 700 */
  --text-muted: #64748b;          /* Slate 500 */
  --text-inverse: #ffffff;

  /* Borders & Dividers */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: rgba(2, 132, 199, 0.2);
  --border-glow: rgba(2, 132, 199, 0.5);

  /* Shadows - Clean, soft, crisp light mode shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-neon: 0 10px 30px rgba(2, 132, 199, 0.14);
}

/* Ambient Elements in Light Mode */
html[data-theme="light"] body {
  background-color: var(--bg-body);
}

html[data-theme="light"] body::before {
  background-image: 
    radial-gradient(circle at 50% -5%, rgba(2, 132, 199, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 85% 25%, rgba(14, 165, 233, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 15% 65%, rgba(99, 102, 241, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 75% 85%, rgba(2, 132, 199, 0.08) 0%, transparent 40%);
}

html[data-theme="light"] .ambient-grid {
  background-image: 
    linear-gradient(to right, rgba(2, 132, 199, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 132, 199, 0.06) 1px, transparent 1px);
}

html[data-theme="light"] .glow-orb-1 {
  background: radial-gradient(circle, rgba(2, 132, 199, 0.18) 0%, rgba(14, 165, 233, 0.10) 55%, transparent 75%);
}

html[data-theme="light"] .glow-orb-2 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, rgba(2, 132, 199, 0.08) 55%, transparent 75%);
}

html[data-theme="light"] .glow-orb-3 {
  background: radial-gradient(circle, rgba(2, 132, 199, 0.14) 0%, rgba(56, 189, 248, 0.08) 55%, transparent 75%);
}

/* Header & Brand in Light Mode */
html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(2, 132, 199, 0.25);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .brand-name {
  background: linear-gradient(135deg, #0f172a 30%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .brand-tagline {
  color: #64748b;
}

html[data-theme="light"] .nav-link {
  color: #334155;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active {
  color: var(--cyan-primary);
}

/* Hero Elements in Light Mode */
html[data-theme="light"] .hero-status-pill {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #059669;
}

html[data-theme="light"] .hero-badge-overlay {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(2, 132, 199, 0.28);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .hud-stat-num {
  color: var(--cyan-primary);
}

html[data-theme="light"] .hud-stat-label {
  color: #64748b;
}

/* Buttons in Light Mode */
html[data-theme="light"] .btn-primary {
  color: #ffffff;
}

html[data-theme="light"] .btn-primary:hover {
  color: #ffffff;
}

html[data-theme="light"] .btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .btn-secondary:hover {
  background: #ffffff;
  border-color: var(--cyan-primary);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.16);
}

html[data-theme="light"] .btn-outline-cyan {
  color: var(--cyan-primary);
  border-color: rgba(2, 132, 199, 0.45);
}

html[data-theme="light"] .btn-outline-cyan:hover {
  background: rgba(2, 132, 199, 0.1);
  border-color: var(--cyan-primary);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
}

/* Section Tag in Light Mode */
html[data-theme="light"] .section-tag {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: var(--cyan-primary);
}

/* Metrics Strip in Light Mode */
html[data-theme="light"] .metrics-grid {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 132, 199, 0.2);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

/* Category Filter Bar in Light Mode */
html[data-theme="light"] .filter-btn {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .filter-btn:hover {
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}

html[data-theme="light"] .filter-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

/* Slide Nav Arrows in Light Mode */
html[data-theme="light"] .slide-nav-arrow {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 132, 199, 0.3);
  color: var(--cyan-primary);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .slide-nav-arrow:hover {
  background: var(--cyan-primary);
  color: #ffffff;
  border-color: var(--cyan-primary);
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.4);
}

/* Service Cards in Light Mode */
html[data-theme="light"] .service-card {
  border: 1px solid rgba(2, 132, 199, 0.22);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .service-card:hover {
  border-color: rgba(2, 132, 199, 0.65);
  box-shadow: 0 20px 35px -8px rgba(2, 132, 199, 0.25);
}

html[data-theme="light"] .service-category-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284c7;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
}

/* Technical Dwell Drawer in Light Mode (Sleek High-Contrast Sapphire Glass, Never Opaque White Flash) */
html[data-theme="light"] .service-card-drawer {
  background: rgba(6, 15, 32, 0.96);
  border-color: rgba(2, 132, 199, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] .drawer-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .drawer-badge {
  color: #38bdf8;
}

html[data-theme="light"] .drawer-hint {
  color: #94a3b8;
}

html[data-theme="light"] .spec-label {
  color: #38bdf8;
}

html[data-theme="light"] .spec-val {
  color: #f1f5f9;
}

/* Footer in Light Mode */
html[data-theme="light"] .site-footer {
  background: #f1f5f9;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.03);
}

html[data-theme="light"] .footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .footer-link {
  color: #64748b;
}

html[data-theme="light"] .footer-link:hover {
  color: var(--cyan-primary);
}

/* Modals in Light Mode */
html[data-theme="light"] dialog.custom-modal::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

html[data-theme="light"] .modal-content-wrap {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

html[data-theme="light"] .modal-close-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: #64748b;
}

html[data-theme="light"] .modal-close-btn:hover {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}

html[data-theme="light"] .form-input,
html[data-theme="light"] .form-select,
html[data-theme="light"] .form-textarea {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

html[data-theme="light"] .form-input:focus,
html[data-theme="light"] .form-select:focus,
html[data-theme="light"] .form-textarea:focus {
  background: #ffffff;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
}

html[data-theme="light"] .form-select option {
  background: #ffffff;
  color: #0f172a;
}

/* Mobile Nav in Light Mode */
html[data-theme="light"] .nav-menu.open {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}

/* Chatbot in Light Mode */
html[data-theme="light"] .faq-chatbot-widget {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(2, 132, 199, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16), 0 0 25px rgba(2, 132, 199, 0.12);
}

html[data-theme="light"] .chat-header {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  border-bottom: 1px solid rgba(2, 132, 199, 0.3);
}

html[data-theme="light"] .chat-title {
  color: #ffffff;
}

html[data-theme="light"] .chat-topic-btn {
  background: #f8fafc;
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: #1e293b;
}

html[data-theme="light"] .chat-topic-btn:hover {
  background: rgba(2, 132, 199, 0.1);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}

html[data-theme="light"] .chat-topic-btn.special-discuss {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284c7;
}

html[data-theme="light"] .chat-topic-btn.special-discuss:hover {
  background: var(--cyan-primary);
  color: #ffffff;
}

html[data-theme="light"] .chat-msg.bot .chat-bubble {
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .chat-msg.user .chat-bubble {
  background: var(--accent-gradient);
  border: none;
  color: #ffffff;
}

html[data-theme="light"] .chat-pill-action {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
}

html[data-theme="light"] .chat-pill-action:hover {
  background: var(--cyan-primary);
  color: #ffffff;
}

html[data-theme="light"] .chat-pill-action.back {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.15);
  color: #475569;
}

html[data-theme="light"] .chat-pill-action.back:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

html[data-theme="light"] .chat-input-bar {
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .chat-input-field {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

html[data-theme="light"] .chat-input-field:focus {
  background: #ffffff;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.2);
}

html[data-theme="light"] .chat-send-btn {
  background: var(--cyan-primary);
  color: #ffffff;
}

html[data-theme="light"] .chat-send-btn:hover {
  background: #0369a1;
}

html[data-theme="light"] .toast-notification {
  background: #ffffff;
  border-color: var(--cyan-primary);
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

/* ==========================================================================
   FLOATING THEME TOGGLE & BACK TO TOP FLOATING CONTROLS
   ========================================================================== */
.theme-toggle-floating {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 23, 44, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-card);
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), var(--accent-glow);
  transition: all var(--trans-smooth);
}

.theme-toggle-floating:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--cyan-primary);
  color: #ffffff;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
}

html[data-theme="light"] .theme-toggle-floating {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .theme-toggle-floating:hover {
  background: #ffffff;
  border-color: #0284c7;
  color: #0369a1;
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.28);
}

.theme-toggle-floating .theme-icon {
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

/* In Dark Mode: Show Sun icon (clicking switches to light) */
:root:not([data-theme="light"]) .theme-toggle-floating .theme-icon.icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
:root:not([data-theme="light"]) .theme-toggle-floating .theme-icon.icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
  pointer-events: none;
}

/* In Light Mode: Show Moon icon (clicking switches to dark) */
html[data-theme="light"] .theme-toggle-floating .theme-icon.icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  pointer-events: none;
}
html[data-theme="light"] .theme-toggle-floating .theme-icon.icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ==========================================================================
   BACK TO TOP FLOATING BUTTON (Positioned Directly on Top of FAQ Icon)
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: calc(1.5rem + 58px);
  right: calc(1.5rem + 3px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 23, 44, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-card);
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 995;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 240, 255, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.88);
  transition: opacity var(--trans-smooth), transform var(--trans-smooth), visibility var(--trans-smooth), background var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan-primary);
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.55);
}

html[data-theme="light"] .back-to-top-btn {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .back-to-top-btn:hover {
  background: #ffffff;
  border-color: #0284c7;
  color: #0369a1;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3);
}

body.faq-chat-open .back-to-top-btn {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 50% -5%, rgba(0, 240, 255, 0.22) 0%, transparent 55%),
    radial-gradient(circle at 85% 25%, rgba(14, 165, 233, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 15% 65%, rgba(99, 102, 241, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 75% 85%, rgba(0, 240, 255, 0.12) 0%, transparent 40%);
  transform: translateZ(0);
}

/* Dynamic Ambient Canvas, Floating Glow Orbs & Cyber Grid */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  contain: strict;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at 50% 50%, black 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 70%, transparent 100%);
}

.ambient-glow-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.52;
  animation: floatOrb 20s ease-in-out infinite alternate;
  will-change: transform;
}

.glow-orb-1 {
  width: 580px;
  height: 580px;
  top: -120px;
  left: 10%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.32) 0%, rgba(14, 165, 233, 0.16) 55%, transparent 75%);
}

.glow-orb-2 {
  width: 680px;
  height: 680px;
  top: 35%;
  right: -120px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(2, 132, 199, 0.16) 55%, transparent 75%);
  animation-duration: 24s;
  animation-delay: -6s;
}

.glow-orb-3 {
  width: 520px;
  height: 520px;
  bottom: 8%;
  left: -80px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, rgba(56, 189, 248, 0.14) 55%, transparent 75%);
  animation-duration: 28s;
  animation-delay: -12s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 35px) scale(1.1); }
  100% { transform: translate(-35px, 60px) scale(0.95); }
}

/* Accessibility Focus */
:focus-visible {
  outline: 2px solid var(--cyan-primary);
  outline-offset: 3px;
}

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

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(0, 240, 255, 0.09);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.mobile-break {
  display: none;
}

.section-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #030712;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 240, 255, 0.55);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-card);
  transform: translateY(-2px);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--cyan-primary);
  border-color: rgba(0, 240, 255, 0.45);
}

.btn-outline-cyan:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--cyan-primary);
  box-shadow: var(--accent-glow);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   NAVIGATION BAR (Just Transparent Logo)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--trans-smooth);
}

.site-header.scrolled {
  height: 72px;
  background: rgba(7, 16, 30, 0.94);
  border-bottom-color: var(--border-card);
  box-shadow: var(--shadow-md);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Clean logo display without background */
.brand-logo-wrap {
  width: 44px;
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  overflow: visible;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.55));
  transition: transform var(--trans-smooth);
}

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

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.brand-tagline {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--trans-fast);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-primary);
  box-shadow: var(--accent-glow);
  transition: width var(--trans-smooth);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5.5rem 0 6rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--status-online);
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--status-online);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--status-online);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.4rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
}

/* Hero Media Display Card */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
  transition: transform var(--trans-smooth), border-color var(--trans-smooth);
}

.hero-visual-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--border-glow);
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 20, 38, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hud-stat-item {
  display: flex;
  flex-direction: column;
}

.hud-stat-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cyan-primary);
  line-height: 1;
}

.hud-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ==========================================================================
   METRICS COUNTER STRIP
   ========================================================================== */
.metrics-strip {
  padding: 0;
  margin: 1.25rem 0;
  background: transparent;
  border: none;
  position: relative;
  z-index: 2;
}

.metrics-strip .container {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  max-width: 1220px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: rgba(10, 22, 42, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.1rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.metric-card {
  text-align: center;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: transform var(--trans-smooth);
}

.metric-card:hover {
  transform: translateY(-2px);
}

.metric-value {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.metric-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.metric-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   SERVICES CATEGORY SLIDESHOW (AUTOLOOPING & INTERACTIVE)
   ========================================================================== */
.services-section {
  padding: 6rem 0;
  position: relative;
}

.category-slideshow-container {
  position: relative;
  width: 100%;
}

/* Restored Category Filter Buttons */
.services-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.62rem 1.45rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--trans-smooth);
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--cyan-primary);
  box-shadow: 0 0 10px var(--cyan-primary);
  transition: width 1s linear, left 1s linear;
  pointer-events: none;
}

.filter-btn.hover-charging::after {
  width: 100%;
  left: 0;
}

.filter-btn:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.35);
  color: var(--text-main);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--cyan-primary);
  border-color: var(--cyan-primary);
  color: #030712;
  font-weight: 700;
  box-shadow: 0 2px 18px rgba(0, 240, 255, 0.45);
}

.filter-btn.active::after {
  display: none;
}

/* Slideshow Stage & Navigation Controls */
.slideshow-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.slide-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 14, 28, 0.78);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--cyan-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all var(--trans-smooth);
}

.slide-nav-arrow.prev {
  left: 1rem;
}

.slide-nav-arrow.next {
  right: 1rem;
}

.slide-nav-arrow:hover {
  background: var(--cyan-primary);
  color: #030712;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  transform: translateY(-50%) scale(1.08);
}

.slideshow-track {
  display: flex;
  width: 100%;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.category-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  opacity: 1;
  visibility: visible;
  padding: 0.25rem 0.15rem;
}

.category-slide.active {
  opacity: 1;
}

/* Grids tailored for card counts in each slide */
.slide-cards-grid {
  display: grid;
  gap: 1.75rem;
  width: 100%;
}

.slide-cards-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.slide-cards-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.slide-cards-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Service Card: The Image fills the card with Text directly Overlaid */
.service-card {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  background-color: #09152a !important;
  transition: all var(--trans-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
}

/* Full-bleed background stock image */
.service-card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #09152a;
  color: transparent;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.service-card:hover .service-card-bg-img {
  transform: scale(1.08);
}

/* Rich cinematic gradient scrim over the image */
.service-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 16, 30, 0.15) 0%,
    rgba(7, 16, 30, 0.45) 35%,
    rgba(5, 12, 24, 0.88) 70%,
    rgba(4, 9, 18, 0.98) 100%
  );
  z-index: 2;
  pointer-events: none;
  transition: background var(--trans-smooth);
}

.service-card:hover .service-card-scrim {
  background: linear-gradient(
    180deg,
    rgba(7, 16, 30, 0.1) 0%,
    rgba(7, 16, 30, 0.35) 30%,
    rgba(5, 12, 24, 0.85) 65%,
    rgba(4, 9, 18, 0.98) 100%
  );
}

/* Category badge floating at top right */
.service-category-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(7, 16, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--cyan-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Text Content directly on top of the image */
.service-card-overlay-content {
  position: relative;
  z-index: 3;
  padding: 2rem 1.75rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.01em;
}

.service-card-summary {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 1.15rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: #e2e8f0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.service-feature-item svg {
  color: var(--cyan-primary);
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(0, 240, 255, 0.6));
}

/* ==========================================================================
   ON-CARD DWELL DETAILS DRAWER (HOVER FOR 2 SECONDS)
   ========================================================================== */
.card-dwell-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-primary), #38bdf8);
  box-shadow: 0 0 10px var(--cyan-primary);
  z-index: 5;
  pointer-events: none;
}

.service-card.dwelling .card-dwell-bar {
  width: 100%;
  transition: width 2s linear;
}

/* Glassmorphic On-Card Technical Drawer Overlay (NOT A POPUP OR NEW PAGE) */
.service-card-drawer {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: rgba(5, 12, 26, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card.revealed .service-card-drawer {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.75rem;
}

.drawer-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.drawer-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.drawer-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  justify-content: center;
}

.drawer-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan-primary);
  font-family: var(--font-display);
}

.spec-val {
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.45;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040913;
  border-top: 1px solid var(--border-subtle);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
  padding: 2.25rem 0 0.825rem 0;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-brand-col {
  width: 100%;
}

.footer-brand-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 100%;
  width: 100%;
}

.footer-subs-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 2.5rem;
  width: 100%;
}

.footer-sub-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.footer-link,
button.footer-link,
.footer-link-btn {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  transition: color var(--trans-fast), padding-left var(--trans-fast);
}

button.footer-link,
.footer-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline;
  vertical-align: baseline;
  appearance: none;
  -webkit-appearance: none;
}

.footer-link:hover,
button.footer-link:hover,
.footer-link-btn:hover {
  color: var(--cyan-primary);
  padding-left: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   NATIVE MODAL DIALOG
   ========================================================================== */
dialog.custom-modal {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  background: transparent;
  max-width: 580px;
  width: 90%;
  margin: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  outline: none;
}

dialog.custom-modal::backdrop {
  background: rgba(3, 7, 18, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content-wrap {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.modal-close-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-primary);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-glass-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--trans-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.2);
  background: rgba(10, 20, 40, 0.85);
}

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

.form-select option {
  background: #09152a;
  color: #fff;
}


/* ==========================================================================
   FLOATING INTERACTIVE FAQ CHATBOT & ASSISTANT (IN PLACE OF WHATSAPP ICON)
   ========================================================================== */
.faq-chatbot-wrapper {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
}

/* Launcher Button: Sleek 50px */
.faq-chat-launcher {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #00f0ff 100%);
  color: #040d1a;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform var(--trans-smooth), box-shadow var(--trans-smooth);
}

.faq-chat-launcher:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.6), 0 0 15px rgba(0, 240, 255, 0.35);
}

@keyframes launcherRadarPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.8), 0 6px 20px rgba(0, 240, 255, 0.4);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 16px rgba(0, 240, 255, 0), 0 8px 26px rgba(0, 240, 255, 0.7);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0), 0 6px 20px rgba(0, 240, 255, 0.4);
  }
}

.faq-chat-launcher.pulse-focus {
  animation: launcherRadarPulse 0.85s ease-out;
}

.launcher-online-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 11px;
  height: 11px;
  background: #10b981;
  border: 2px solid #071325;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.launcher-icon {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.launcher-icon.icon-close {
  display: none;
}

.faq-chat-launcher.open .launcher-icon.icon-chat {
  display: none;
}

.faq-chat-launcher.open .launcher-icon.icon-close {
  display: block;
}

/* ==========================================================================
   SLIMLINE CHATBOT WINDOW (COMPACT 320px x 430px)
   ========================================================================== */
.faq-chatbot-widget {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 320px;
  max-width: calc(100vw - 2rem);
  height: 430px;
  max-height: calc(100vh - 5.5rem);
  background: rgba(6, 15, 30, 0.97);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 240, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

.faq-chatbot-widget.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Chat Header: Top of chat box with only Teclyq Assistant */
.chat-header {
  padding: 0.75rem 1rem;
  background: rgba(10, 24, 48, 0.95);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.chat-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}

/* Chat Body / Message Stream */
.chat-body {
  flex: 1;
  padding: 0.8rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  scroll-behavior: smooth;
}

.chat-body::-webkit-scrollbar {
  width: 4px;
}

.chat-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.chat-body::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.2);
  border-radius: 4px;
}

/* Vertical Topic & FAQ Buttons Menu */
.chat-vertical-menu {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  animation: msgFadeIn 0.25s ease-out;
}

.chat-topic-btn {
  width: 100%;
  text-align: left;
  background: rgba(14, 29, 56, 0.82);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: #e2e8f0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: all var(--trans-fast);
  text-decoration: none;
}

.chat-topic-btn:hover {
  background: rgba(0, 240, 255, 0.16);
  border-color: var(--cyan-primary);
  color: #ffffff;
  transform: translateX(2px);
}

.chat-topic-btn svg {
  flex-shrink: 0;
  opacity: 0.65;
  transition: transform var(--trans-fast), opacity var(--trans-fast);
}

.chat-topic-btn:hover svg {
  opacity: 1;
  transform: translateX(2px);
  color: var(--cyan-primary);
}

.chat-topic-btn.special-wa {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.35);
  color: #4ade80;
}

.chat-topic-btn.special-wa:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25D366;
  color: #ffffff;
}

.chat-topic-btn.special-discuss {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--cyan-primary);
}

.chat-topic-btn.special-discuss:hover {
  background: var(--cyan-primary);
  color: #040d1a;
  border-color: var(--cyan-primary);
}

/* Message Bubbles */
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 90%;
  animation: msgFadeIn 0.2s ease-out;
}

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

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
}

.chat-bubble {
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  line-height: 1.45;
  border-radius: 12px;
  position: relative;
  word-wrap: break-word;
}

.chat-msg.bot .chat-bubble {
  background: rgba(14, 29, 56, 0.92);
  border: 1px solid rgba(0, 240, 255, 0.18);
  color: #e2e8f0;
  border-bottom-left-radius: 3px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.chat-msg.user .chat-bubble {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.22) 0%, rgba(2, 132, 199, 0.3) 100%);
  border: 1px solid rgba(0, 240, 255, 0.45);
  color: #ffffff;
  border-bottom-right-radius: 3px;
  box-shadow: 0 3px 10px rgba(0, 240, 255, 0.12);
}

.chat-bubble p {
  margin: 0;
}

.chat-bubble p + p {
  margin-top: 0.4rem;
}

.chat-bubble strong {
  color: var(--cyan-primary);
}

.chat-bubble-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.chat-pill-action {
  font-size: 0.7rem;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cyan-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.chat-pill-action:hover {
  background: var(--cyan-primary);
  color: #030712;
  border-color: var(--cyan-primary);
}

.chat-pill-action.back {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
}

.chat-pill-action.back:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.chat-pill-action.wa {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.35);
  color: #25D366;
}

.chat-pill-action.wa:hover {
  background: #25D366;
  color: #030712;
  border-color: #25D366;
}

/* Inline Embedded Contact Icons in Chat Messages */
.chat-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  vertical-align: -3px;
  margin: 0 0.2rem;
  transition: all var(--trans-fast);
  text-decoration: none;
}

.chat-icon-link svg {
  display: block;
}

.chat-icon-link.wa {
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #25D366;
}

.chat-icon-link.wa:hover {
  background: #25D366;
  color: #030712;
  border-color: #25D366;
  transform: translateY(-1px) scale(1.1);
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.5);
}

.chat-icon-link.mail {
  background: rgba(0, 240, 255, 0.14);
  border: 1px solid rgba(0, 240, 255, 0.45);
  color: var(--cyan-primary);
}

.chat-icon-link.mail:hover {
  background: var(--cyan-primary);
  color: #030712;
  border-color: var(--cyan-primary);
  transform: translateY(-1px) scale(1.1);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.chat-icon-link.call {
  background: rgba(14, 165, 233, 0.16);
  border: 1px solid rgba(14, 165, 233, 0.45);
  color: #38bdf8;
}

.chat-icon-link.call:hover {
  background: #38bdf8;
  color: #030712;
  border-color: #38bdf8;
  transform: translateY(-1px) scale(1.1);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

/* Typing Indicator Animation */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0.45rem 0.7rem;
}

.typing-dot {
  width: 5px;
  height: 5px;
  background: var(--cyan-primary);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* Chat Input Bar */
.chat-input-bar {
  padding: 0.45rem 0.7rem;
  background: rgba(8, 18, 36, 0.95);
  border-top: 1px solid rgba(0, 240, 255, 0.18);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chat-input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.8rem;
  color: #ffffff;
  font-size: 0.8rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.chat-input-field:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
}

.chat-send-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cyan-primary);
  color: #030712;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--trans-fast);
}

.chat-send-btn:hover {
  background: #38bdf8;
  transform: scale(1.04);
}

.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f1c34;
  border: 1px solid var(--cyan-primary);
  color: var(--text-main);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg), var(--accent-glow);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all var(--trans-smooth);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .slide-cards-grid.grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .slide-cards-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-break {
    display: block;
  }

  .nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  /* Mobile Header: Shorten Let's Discuss to icon only */
  .nav-discuss-btn .nav-btn-text {
    display: none;
  }

  .nav-discuss-btn {
    padding: 0.5rem;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    justify-content: center;
    gap: 0;
  }

  .nav-discuss-btn .nav-btn-icon {
    display: block;
    margin: 0;
  }

  /* Mobile Hero CTAs: Explore Services & Let's Discuss on the same horizontal line */
  .hero-ctas {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
  }

  .hero-ctas .btn {
    flex: 1 1 50%;
    min-width: 0;
    padding: 0.7rem 0.5rem;
    font-size: 0.82rem;
    gap: 0.35rem;
    white-space: nowrap;
    justify-content: center;
  }

  .hero-ctas .btn svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: #081427;
    border-bottom: 1px solid var(--border-card);
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: var(--shadow-lg);
  }

  .services-filter-bar {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .filter-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1.1rem;
  }

  .slide-nav-arrow {
    width: 32px;
    height: 32px;
  }

  .slide-nav-arrow.prev {
    left: 0.3rem;
  }

  .slide-nav-arrow.next {
    right: 0.3rem;
  }

  /* Compact Service Cards: 2-column grid to view multiple cards on screen */
  .slide-cards-grid.grid-2,
  .slide-cards-grid.grid-3,
  .slide-cards-grid.grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .service-card {
    min-height: 250px;
    border-radius: var(--radius-md);
  }

  .service-category-badge {
    top: 0.55rem;
    right: 0.55rem;
    font-size: 0.62rem;
    padding: 0.2rem 0.5rem;
  }

  .service-card-overlay-content {
    padding: 0.85rem 0.75rem 0.75rem 0.75rem;
  }

  .service-card-title {
    font-size: 0.98rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
  }

  .service-card-summary {
    font-size: 0.75rem;
    line-height: 1.35;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .service-features-list {
    gap: 0.25rem;
  }

  .service-feature-item {
    font-size: 0.7rem;
    gap: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .service-feature-item svg {
    width: 12px;
    height: 12px;
  }

  .service-card-drawer {
    padding: 0.9rem 0.75rem;
    border-radius: var(--radius-md);
  }

  .drawer-specs-list {
    gap: 0.4rem;
  }

  .spec-label {
    font-size: 0.72rem;
  }

  .spec-val {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  /* 2 by 2 Statistics on Mobile */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem 0.85rem;
  }

  .metric-card {
    padding: 0.35rem 0.25rem;
  }

  .metric-value {
    font-size: 1.55rem;
    margin-bottom: 0.15rem;
  }

  .metric-label {
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
  }

  .metric-desc {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  /* Footer on Mobile: Full length description & horizontal subs */
  .footer-top {
    gap: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .footer-brand-col {
    width: 100%;
  }

  .footer-brand-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-top: 0.75rem;
    max-width: 100%;
    width: 100%;
  }

  .footer-subs-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 0.75rem;
    width: 100%;
  }

  .footer-col-title {
    font-size: 0.84rem;
    margin-bottom: 0.65rem;
    letter-spacing: 0.01em;
  }

  .footer-links-list {
    gap: 0.45rem;
    font-size: 0.76rem;
  }

  .footer-link,
  button.footer-link,
  .footer-link-btn {
    font-size: 0.76rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .footer-sub-col .btn-whatsapp.btn-sm {
    padding: 0.35rem 0.5rem;
    font-size: 0.72rem;
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    padding-top: 0.55rem;
    font-size: 0.78rem;
  }

  .faq-chatbot-wrapper {
    bottom: 1rem;
    right: 1rem;
  }

  .faq-chat-launcher {
    width: 48px;
    height: 48px;
  }

  .faq-chatbot-widget {
    right: 0;
    width: fit-content;
    max-width: calc(100vw - 2rem);
    min-width: min(285px, calc(100vw - 2rem));
    height: min(420px, calc(100vh - 5rem));
    bottom: 56px;
  }

  .chat-vertical-menu {
    width: fit-content;
    min-width: 100%;
  }

  .chat-topic-btn {
    width: 100%;
    justify-content: space-between;
    gap: 2ch;
    padding: 0.5rem 0.65rem;
    white-space: nowrap;
  }

  .chat-topic-btn span {
    white-space: nowrap;
  }

  /* Floating Theme Toggle (Bottom-Left on mobile) */
  .theme-toggle-floating {
    bottom: 1rem;
    left: 1rem;
    width: 44px;
    height: 44px;
  }

  /* Back to Top Floating Button (Stacked directly on top of FAQ Icon on mobile) */
  .back-to-top-btn {
    bottom: calc(1rem + 56px);
    right: calc(1rem + 3px);
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .hero-ctas .btn {
    padding: 0.65rem 0.35rem;
    font-size: 0.76rem;
    gap: 0.25rem;
  }

  .hero-ctas .btn svg {
    width: 14px;
    height: 14px;
  }

  .footer-subs-row {
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 0.5rem;
  }

  .footer-col-title {
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
  }

  .footer-link,
  button.footer-link,
  .footer-link-btn {
    font-size: 0.72rem;
  }

  .service-card {
    min-height: 235px;
  }

  .slide-cards-grid.grid-2,
  .slide-cards-grid.grid-3,
  .slide-cards-grid.grid-4 {
    gap: 0.5rem;
  }

  .metric-value {
    font-size: 1.4rem;
  }
}
