/* ==========================================================================
   TEZZCORP PRIVATE LIMITED - ENTERPRISE DESIGN SYSTEM (DAY & NIGHT)
   Brand Colors: Electric Cyan/Blue, Vibrant Orange, Energetic Lime/Emerald
   Corporate Software & Automation Hardware Systems
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Dark Mode Default Tokens */
  --bg-primary: #070B14;
  --bg-secondary: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-faint: #64748B;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(14, 165, 233, 0.4);

  /* TezzCorp Brand Palette (from Logo) */
  --brand-blue: #0EA5E9;       /* Electric Cyan Blue */
  --brand-blue-dark: #0284C7;
  --brand-orange: #F97316;     /* Vibrant Sunset Orange */
  --brand-orange-dark: #EA580C;
  --brand-green: #84CC16;      /* Energetic Lime */
  --brand-emerald: #10B981;    /* Deep Emerald */
  --brand-indigo: #6366F1;
}

/* Dual-Theme System: Dark Obsidian vs Clean White */
:root,
html.dark {
  --bg-primary: #070B14;
  --bg-secondary: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.68);
  --bg-card-hover: rgba(22, 33, 56, 0.85);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-faint: #64748B;
  --border-subtle: rgba(255, 255, 255, 0.10);
  --border-highlight: rgba(14, 165, 233, 0.50);

  /* TezzCorp Brand Palette (from Logo) */
  --brand-blue: #0EA5E9;       /* Electric Cyan Blue */
  --brand-blue-dark: #0284C7;
  --brand-orange: #F97316;     /* Vibrant Sunset Orange */
  --brand-orange-dark: #EA580C;
  --brand-green: #84CC16;      /* Energetic Lime */
  --brand-emerald: #10B981;    /* Deep Emerald */
  --brand-indigo: #6366F1;
  color-scheme: dark;
}

html.light {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-faint: #64748B;
  --border-subtle: rgba(226, 232, 240, 0.95);
  --border-highlight: rgba(14, 165, 233, 0.50);

  /* TezzCorp Brand Palette */
  --brand-blue: #0284C7;
  --brand-blue-dark: #0369A1;
  --brand-orange: #EA580C;
  --brand-orange-dark: #C2410C;
  --brand-green: #65A30D;
  --brand-emerald: #059669;
  --brand-indigo: #4F46E5;
  color-scheme: light;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  letter-spacing: -0.015em;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
html.light ::-webkit-scrollbar-thumb {
  background: #CBD5E1;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-blue);
}

/* Glassmorphism Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(14, 165, 233, 0.18);
}

/* Gradient Texts */
.text-gradient-logo {
  background: linear-gradient(135deg, #0EA5E9 0%, #F97316 50%, #84CC16 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 50%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #FDBA74 0%, #F97316 50%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-lime {
  background: linear-gradient(135deg, #BEF264 0%, #84CC16 50%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   ANIMATED MODERN BACKGROUND SYSTEM (DAY & NIGHT)
   ========================================================================== */
.animated-modern-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transition: background-color 0.4s ease;
}

#corporate-mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Smooth Fluid Mesh Float Animations */
@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(45px, -55px) scale(1.08); }
  66% { transform: translate(-35px, 35px) scale(0.94); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-55px, 50px) scale(1.1); }
  66% { transform: translate(40px, -45px) scale(0.92); }
}

@keyframes floatOrb3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(65px, 45px) scale(1.06); }
}

@keyframes floatOrb4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -40px) scale(1.05); }
}

.ambient-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(85px);
  opacity: 0.24;
  transition: opacity 0.5s ease, filter 0.5s ease;
  will-change: transform;
}

/* Dark Mode Orbs */
.orb-1 {
  top: -10%;
  left: 10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #0EA5E9 0%, transparent 72%);
  animation: floatOrb1 20s ease-in-out infinite;
}

.orb-2 {
  top: 15%;
  right: 5%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, #F97316 0%, transparent 72%);
  animation: floatOrb2 24s ease-in-out infinite;
}

.orb-3 {
  bottom: 5%;
  left: 25%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, #84CC16 0%, transparent 72%);
  animation: floatOrb3 22s ease-in-out infinite;
}

.orb-4 {
  top: 45%;
  left: -5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #6366F1 0%, transparent 72%);
  animation: floatOrb4 26s ease-in-out infinite;
}

/* Dark Mode Blueprint Grid Pattern */
.tech-pattern-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 40%, black 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 50%, transparent 90%);
  transition: opacity 0.4s ease;
}

/* ==========================================================================
   ANIMATED MODERN BACKGROUND SYSTEM (DAY & NIGHT)
   Light Mode: White (#FFFFFF) with crisp 40px square lines & glass effect
   Dark Mode: Obsidian (#070B14) with white blueprint 40px square lines
   ========================================================================== */
.animated-modern-bg,
html.dark .animated-modern-bg,
html:not(.light) .animated-modern-bg {
  background-color: #070B14 !important;
}

html.light .animated-modern-bg {
  background-color: #FFFFFF !important;
}

.ambient-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(95px);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

html.dark .ambient-orb,
html:not(.light) .ambient-orb {
  opacity: 0.30;
  filter: blur(95px);
  mix-blend-mode: screen;
}

html.light .ambient-orb {
  opacity: 0.16;
  filter: blur(100px);
  mix-blend-mode: normal;
}

.orb-1 {
  background: radial-gradient(circle, #0EA5E9 0%, transparent 72%) !important;
}

.orb-2 {
  background: radial-gradient(circle, #F97316 0%, transparent 72%) !important;
}

.orb-3 {
  background: radial-gradient(circle, #84CC16 0%, transparent 72%) !important;
}

.orb-4 {
  background: radial-gradient(circle, #6366F1 0%, transparent 72%) !important;
}

/* Blueprint Grid Pattern: Crisp 40px Square Lines */
.tech-pattern-grid,
html.dark .tech-pattern-grid,
html:not(.light) .tech-pattern-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
  background-size: 40px 40px !important;
  mask-image: radial-gradient(circle at 50% 40%, black 50%, transparent 92%) !important;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 50%, transparent 92%) !important;
}

/* LIGHT MODE: Crisp 40px Square Lines on White Background */
html.light .tech-pattern-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.07) 1px, transparent 1px) !important;
  background-size: 40px 40px !important;
  mask-image: radial-gradient(circle at 50% 40%, black 55%, transparent 95%) !important;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 55%, transparent 95%) !important;
}

/* Legacy and Secondary Page Animated Background Integration */
.hero-graphic-bg,
html.dark .hero-graphic-bg,
html:not(.light) .hero-graphic-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: #070B14 !important;
  transition: background-color 0.4s ease;
}

html.light .hero-graphic-bg {
  background-color: #FFFFFF !important;
}

.hero-radial-glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(85px);
  opacity: 0.28;
  top: -10%;
  left: 10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #0EA5E9 0%, transparent 72%) !important;
  animation: floatOrb1 20s ease-in-out infinite;
}

html.light .hero-radial-glow {
  opacity: 0.16;
  filter: blur(95px);
}

.hero-grid-pattern,
html.dark .hero-grid-pattern,
html:not(.light) .hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
  background-size: 40px 40px !important;
  mask-image: radial-gradient(circle at 50% 40%, black 50%, transparent 90%) !important;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 50%, transparent 90%) !important;
}

html.light .hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.065) 1px, transparent 1px) !important;
  background-size: 40px 40px !important;
  mask-image: radial-gradient(circle at 50% 40%, black 55%, transparent 95%) !important;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 55%, transparent 95%) !important;
}


/* ==========================================================================
   INFINITE SERVICES STREAM (ANIMATION WITH LEFT FADE OPACITY 0)
   Right end 100% visible, origin from right, left end opacity 0
   ========================================================================== */

.hero-stream-mask {
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.1) 6%, rgba(0, 0, 0, 0.6) 20%, #000 38%, #000 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.1) 6%, rgba(0, 0, 0, 0.6) 20%, #000 38%, #000 100%);
  overflow: hidden;
  position: relative;
  width: 100%;
}

@keyframes streamScrollLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.animate-stream-track-1 {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: streamScrollLeft 32s linear infinite;
}

.animate-stream-track-2 {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: streamScrollLeft 42s linear infinite;
}

.animate-stream-track-1:hover,
.animate-stream-track-2:hover {
  animation-play-state: paused;
}

/* Service Card inside Hero Stream (Compact & Aligned with Left Content) */
.stream-service-card {
  width: 290px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 0.875rem 1rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stream-service-card:hover {
  background: var(--bg-card-hover);
  border-color: #0EA5E9;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px -10px rgba(14, 165, 233, 0.25);
}

.service-blog-link,
.service-press-link {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border-radius: 9999px !important; /* Full rounded capsule pill */
  padding: 4px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

/* Dark Mode Pill Styling */
.service-blog-link {
  background: rgba(14, 165, 233, 0.16) !important;
  color: #38BDF8 !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 1px 4px rgba(14, 165, 233, 0.15) !important;
}
.service-blog-link:hover {
  background: rgba(14, 165, 233, 0.28) !important;
  border-color: #38BDF8 !important;
  color: #7DD3FC !important;
  transform: translateY(-1px) !important;
}

.service-press-link {
  background: rgba(249, 115, 22, 0.16) !important;
  color: #FB923C !important;
  border: 1.5px solid rgba(251, 146, 60, 0.4) !important;
  box-shadow: 0 1px 4px rgba(249, 115, 22, 0.15) !important;
}
.service-press-link:hover {
  background: rgba(249, 115, 22, 0.28) !important;
  border-color: #FB923C !important;
  color: #FDBA74 !important;
  transform: translateY(-1px) !important;
}

/* Unified Pill Styling (Day & Night) */
html.light .service-blog-link,
html.dark .service-blog-link {
  background: rgba(14, 165, 233, 0.16) !important;
  color: #38BDF8 !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 1px 4px rgba(14, 165, 233, 0.15) !important;
}

html.light .service-blog-link:hover,
html.dark .service-blog-link:hover {
  background: rgba(14, 165, 233, 0.28) !important;
  border-color: #38BDF8 !important;
  color: #7DD3FC !important;
  transform: translateY(-1px) !important;
}

html.light .service-press-link,
html.dark .service-press-link {
  background: rgba(249, 115, 22, 0.16) !important;
  color: #FB923C !important;
  border: 1.5px solid rgba(251, 146, 60, 0.4) !important;
  box-shadow: 0 1px 4px rgba(249, 115, 22, 0.15) !important;
}

html.light .service-press-link:hover,
html.dark .service-press-link:hover {
  background: rgba(249, 115, 22, 0.28) !important;
  border-color: #FB923C !important;
  color: #FDBA74 !important;
  transform: translateY(-1px) !important;
}

/* Small Pill Icons - Crystal Clear Stroke and Fill in All Modes */
.service-blog-link svg,
.service-press-link svg,
html.light .service-blog-link svg,
html.light .service-press-link svg {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 2.3px !important;
  margin-right: 6px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  opacity: 1 !important;
}

.service-blog-link svg,
html.light .service-blog-link svg {
  color: #38BDF8 !important;
  stroke: #38BDF8 !important;
}

.service-press-link svg,
html.light .service-press-link svg {
  color: #FB923C !important;
  stroke: #FB923C !important;
}

/* Hero Section Headline Spacing */
.hero-title {
  line-height: 1.32 !important;
}

/* Dropdown Menu styling */
.nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-group:hover .nav-dropdown-menu,
.nav-dropdown-group:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile Sidebar Drawer */
.mobile-sidebar {
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sidebar.open {
  transform: translateX(0);
}

/* ==========================================================================
   DROPDOWN MENU HOVER & INTERACTION ENGINE
   Visible on hover, focus, and click-toggle with invisible mouse bridge
   ========================================================================== */
.nav-dropdown-group {
  position: relative;
}

.nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Invisible bridge so cursor never drops hover while traveling to menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown-group:hover .nav-dropdown-menu,
.nav-dropdown-group:focus-within .nav-dropdown-menu,
.nav-dropdown-group.active .nav-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* ==========================================================================
   CORE HTML TAG BASE STYLES (DARK MODE - DEFAULT)
   Comprehensive base styling for all standard HTML5 semantic tags
   ========================================================================== */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #F8FAFC;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Paragraphs & Text Content */
p {
  color: #94A3B8;
  line-height: 1.65;
  margin: 0;
}

span {
  font-family: inherit;
}

strong, b {
  color: #FFFFFF;
  font-weight: 700;
}

em, i {
  font-style: italic;
}

u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

s, del {
  text-decoration: line-through;
  color: #64748B;
}

ins {
  text-decoration: underline;
  color: #38BDF8;
}

mark {
  background-color: rgba(14, 165, 233, 0.25);
  color: #38BDF8;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

small {
  font-size: 0.8125rem;
  color: #64748B;
}

sub, sup {
  font-size: 0.75rem;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875em;
}

address {
  font-style: normal;
  line-height: 1.6;
  color: #94A3B8;
}

/* Hyperlinks */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: #38BDF8;
}

/* Lists */
ul, ol {
  margin: 0;
  padding-left: 1.25rem;
}
ul { list-style-type: disc; }
ol { list-style-type: decimal; }
li {
  color: #94A3B8;
  margin-bottom: 0.35rem;
  line-height: 1.6;
}
li::marker {
  color: #0EA5E9;
}

/* Definition Lists */
dl {
  margin: 0;
}
dt {
  font-weight: 700;
  color: #F8FAFC;
  margin-top: 0.75rem;
}
dd {
  margin-left: 1rem;
  color: #94A3B8;
}

/* Blockquotes, Quotes & Horizontal Rule */
blockquote {
  border-left: 3px solid #0EA5E9;
  padding: 0.75rem 1.25rem;
  margin: 1rem 0;
  background-color: rgba(15, 23, 42, 0.6);
  border-radius: 0 0.75rem 0.75rem 0;
  color: #CBD5E1;
  font-style: italic;
}

q {
  quotes: "“" "”" "‘" "’";
}

cite {
  font-style: italic;
  color: #64748B;
  font-size: 0.875em;
}

hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 2rem 0;
}

/* Code, Preformatted & Technical Elements */
code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background-color: rgba(15, 23, 42, 0.85);
  color: #38BDF8;
  padding: 0.2em 0.45em;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background-color: #0B0F19;
  color: #E2E8F0;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  line-height: 1.5;
}
pre code {
  background: transparent;
  padding: 0;
  border: none;
  color: inherit;
}

kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8em;
  background-color: #1E293B;
  color: #F8FAFC;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
  border: 1px solid #334155;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

samp, var {
  font-family: 'JetBrains Mono', monospace;
  color: #A5B4FC;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
}

caption {
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 0.5rem;
  text-align: left;
}

thead {
  background-color: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
}

td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: #CBD5E1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

tbody tr:hover {
  background-color: rgba(30, 41, 59, 0.4);
}

tfoot {
  background-color: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

/* Forms & Interactive Inputs */
form {
  margin: 0;
}

fieldset {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin: 0;
}

legend {
  font-weight: 700;
  color: #F8FAFC;
  padding: 0 0.5rem;
  font-size: 0.875rem;
}

label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 0.35rem;
}

input, select, textarea {
  width: 100%;
  background-color: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #F8FAFC !important;
  border-radius: 0.75rem;
  padding: 0.625rem 0.875rem;
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none !important;
  border-color: #0EA5E9 !important;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25) !important;
}

input::placeholder, textarea::placeholder {
  color: #64748B;
}

select option {
  background-color: #0F172A;
  color: #F8FAFC;
}

optgroup {
  font-weight: 700;
  color: #38BDF8;
}

/* Media Elements */
img, picture, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 0.75rem;
  color: #64748B;
  text-align: center;
  margin-top: 0.5rem;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Structural & Semantic Containers */
header, nav, main, section, article, aside, footer {
  display: block;
  position: relative;
}

/* Details, Summary & Dialogs */
details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: rgba(15, 23, 42, 0.5);
  margin-bottom: 0.75rem;
}

summary {
  font-weight: 700;
  color: #F8FAFC;
  cursor: pointer;
  outline: none;
  user-select: none;
}

dialog {
  background: #0F172A;
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   UNIVERSAL BUTTON SYSTEM (BOLD TEXT & VISIBLE ICONS IN ALL MODES)
   ========================================================================== */
button,
a.btn,
.btn,
input[type="button"],
input[type="submit"],
input[type="reset"],
[role="button"],
a[class*="rounded-"][class*="bg-"]:not(.cmd-nav-item):not(nav a),
a[class*="bg-slate-"]:not(.cmd-nav-item):not(nav a),
a[class*="bg-sky-"]:not(.cmd-nav-item):not(nav a),
a[class*="bg-indigo-"]:not(.cmd-nav-item):not(nav a),
a[class*="bg-orange-"]:not(.cmd-nav-item):not(nav a),
a[class*="bg-emerald-"]:not(.cmd-nav-item):not(nav a),
a[class*="bg-gradient-"]:not(.cmd-nav-item):not(nav a),
.hero-btn-secondary,
.theme-toggle-btn {
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

/* Button SVG icons visibility & alignment */
button svg,
a.btn svg,
.btn svg,
a[class*="bg-"] svg,
.hero-btn-secondary svg,
.theme-toggle-btn svg {
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

/* Dark Mode Theme Toggle Button */
.theme-toggle-btn {
  background-color: #0F172A !important;
  border: 1px solid #334155 !important;
  color: #38BDF8 !important;
}
.theme-toggle-btn svg {
  color: #38BDF8 !important;
  stroke: #38BDF8 !important;
}
.theme-toggle-btn:hover {
  border-color: #0EA5E9 !important;
  background-color: #1E293B !important;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.3) !important;
}

/* Dark Mode Secondary CTA */
.hero-btn-secondary {
  background-color: #0F172A !important;
  color: #F8FAFC !important;
  border: 1px solid #334155 !important;
  font-weight: 700 !important;
}
.hero-btn-secondary svg {
  color: #38BDF8 !important;
  stroke: #38BDF8 !important;
}
.hero-btn-secondary:hover {
  background-color: #1E293B !important;
  border-color: #0EA5E9 !important;
  color: #FFFFFF !important;
}

/* High-Contrast Bold White Text on Solid Saturated / Gradient Buttons */
button.bg-gradient-to-r,
a.bg-gradient-to-r,
.bg-gradient-to-r,
button[class*="bg-sky-500"],
button[class*="bg-sky-600"],
a[class*="bg-sky-500"],
a[class*="bg-sky-600"],
button[class*="bg-orange-500"],
button[class*="bg-orange-600"],
a[class*="bg-orange-500"],
a[class*="bg-orange-600"],
button[class*="bg-indigo-500"],
button[class*="bg-indigo-600"],
a[class*="bg-indigo-500"],
a[class*="bg-indigo-600"],
button[class*="bg-emerald-500"],
button[class*="bg-emerald-600"],
a[class*="bg-emerald-500"],
a[class*="bg-emerald-600"] {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
button.bg-gradient-to-r svg,
a.bg-gradient-to-r svg,
button[class*="bg-sky-500"] svg,
button[class*="bg-sky-600"] svg,
button[class*="bg-orange-500"] svg,
button[class*="bg-orange-600"] svg,
button[class*="bg-indigo-500"] svg,
button[class*="bg-indigo-600"] svg,
button[class*="bg-emerald-500"] svg,
button[class*="bg-emerald-600"] svg,
a.btn-primary svg {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

/* Tertiary Action: Explore Tech Stack Button (Dark in Both Modes) */
.explore-tech-stack-btn {
  background-color: #0F172A !important;
  color: #F8FAFC !important;
  border: 1px solid #334155 !important;
  border-radius: 0.75rem !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}
.explore-tech-stack-btn:hover {
  background-color: #1E293B !important;
  border-color: #0EA5E9 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25) !important;
}

html.light .explore-tech-stack-btn {
  background-color: #1C1917 !important; /* Deep Stone 900 Charcoal */
  color: #FFFFFF !important;
  border: 1px solid #292524 !important;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.22) !important;
}
html.light .explore-tech-stack-btn:hover {
  background-color: #0C0A09 !important;
  border-color: #0284C7 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(28, 25, 23, 0.32) !important;
}

/* Stream cards action links & buttons */
.stream-service-card button,
.stream-service-card a {
  font-weight: 700 !important;
}

input:focus, select:focus, textarea:focus {
  outline: none !important;
  border-color: #0EA5E9 !important;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25) !important;
}

/* Sticky CRM Layout Utilities */
.crm-layout-container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.crm-sticky-sidebar {
  width: 16rem; /* 256px */
  height: 100vh;
  position: sticky;
  top: 0;
  flex-shrink: 0;
  overflow-y: auto;
}

.crm-scroll-body {
  flex: 1 1 0%;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   ENTERPRISE DUAL-THEME DESIGN SYSTEM: CLEAN WHITE DAY & OBSIDIAN NIGHT
   Light Mode: White (#FFFFFF) canvas, 40px square blueprint lines, frosted glass
   Dark Mode: Obsidian (#070B14) canvas, white blueprint lines, deep frosted glass
   ========================================================================== */
html.light {
  color-scheme: light;
}

html.dark,
html:not(.light) {
  color-scheme: dark;
}

/* Base Body System */
html.light body {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}

html.dark body,
html:not(.light) body {
  background-color: #070B14 !important;
  color: #F8FAFC !important;
}

/* Headings in Both Modes */
html.light h1, html.light h2, html.light h3, html.light h4, html.light h5, html.light h6 {
  color: #0F172A !important;
  font-weight: 800;
}

html.dark h1, html.dark h2, html.dark h3, html.dark h4, html.dark h5, html.dark h6,
html:not(.light) h1, html:not(.light) h2, html:not(.light) h3, html:not(.light) h4, html:not(.light) h5, html:not(.light) h6 {
  color: #FFFFFF !important;
  font-weight: 800;
}

/* Paragraphs & Core Body Typography */
html.light p {
  color: #334155 !important;
  font-weight: 450;
  line-height: 1.6;
}

html.dark p,
html:not(.light) p {
  color: #E2E8F0 !important;
  font-weight: 450;
  line-height: 1.6;
}

html.light strong, html.light b {
  color: #0F172A !important;
  font-weight: 700;
}

html.dark strong, html.dark b,
html:not(.light) strong, html:not(.light) b {
  color: #FFFFFF !important;
  font-weight: 700;
}

html.light small {
  color: #64748B !important;
}

html.dark small,
html:not(.light) small {
  color: #94A3B8 !important;
}

html.light hr {
  border-color: rgba(226, 232, 240, 0.95) !important;
}

html.dark hr,
html:not(.light) hr {
  border-color: rgba(255, 255, 255, 0.10) !important;
}

/* Code & Pre Formatting */
html.light code,
html.light code[class*="text-sky"] {
  background-color: rgba(241, 245, 249, 0.95) !important;
  color: #0369A1 !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  padding: 0.15rem 0.45rem;
  border-radius: 0.375rem;
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
  font-weight: 600 !important;
}

html.dark code,
html.dark code[class*="text-sky"],
html:not(.light) code,
html:not(.light) code[class*="text-sky"] {
  background-color: rgba(15, 23, 42, 0.8) !important;
  color: #38BDF8 !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  padding: 0.15rem 0.45rem;
  border-radius: 0.375rem;
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
  font-weight: 600 !important;
}

html.light pre {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 0.75rem;
}

html.dark pre,
html:not(.light) pre {
  background-color: rgba(11, 17, 32, 0.95) !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0.75rem;
}

html.light blockquote {
  border-left-color: #0284C7 !important;
  background-color: rgba(2, 132, 199, 0.06) !important;
  color: #1E293B !important;
}

html.dark blockquote,
html:not(.light) blockquote {
  border-left-color: #0EA5E9 !important;
  background-color: rgba(14, 165, 233, 0.08) !important;
  color: #F8FAFC !important;
}

/* ==========================================================================
   GLASS EFFECT: TOPBAR / NAVBAR
   ========================================================================== */
html.light header {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.06), inset 0 -1px 0 0 rgba(226, 232, 240, 0.5) !important;
}

html.dark header,
html:not(.light) header {
  background: rgba(7, 11, 20, 0.78) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), inset 0 -1px 0 0 rgba(255, 255, 255, 0.05) !important;
}

html.light header nav a,
html.light header nav button {
  color: #1E293B !important;
  font-weight: 600 !important;
}

html.light header nav a:hover,
html.light header nav button:hover {
  color: #0284C7 !important;
}

html.dark header nav a,
html.dark header nav button,
html:not(.light) header nav a,
html:not(.light) header nav button {
  color: #E2E8F0 !important;
  font-weight: 600 !important;
}

html.dark header nav a:hover,
html.dark header nav button:hover,
html:not(.light) header nav a:hover,
html:not(.light) header nav button:hover {
  color: #38BDF8 !important;
}

html.light .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12), inset 0 1px 1px 0 rgba(255, 255, 255, 0.9) !important;
}

html.light .nav-dropdown-menu a:hover {
  background-color: rgba(241, 245, 249, 0.95) !important;
}

html.dark .nav-dropdown-menu,
html:not(.light) .nav-dropdown-menu {
  background: rgba(15, 23, 42, 0.92) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), inset 0 1px 1px 0 rgba(255, 255, 255, 0.15) !important;
}

html.dark .nav-dropdown-menu a:hover,
html:not(.light) .nav-dropdown-menu a:hover {
  background-color: rgba(30, 41, 59, 0.7) !important;
}

html.light .brand-company-name {
  color: #0F172A !important;
}

html.dark .brand-company-name,
html:not(.light) .brand-company-name {
  color: #FFFFFF !important;
}

html.light .brand-company-subtitle {
  color: #0284C7 !important;
  font-weight: 700 !important;
}

html.dark .brand-company-subtitle,
html:not(.light) .brand-company-subtitle {
  color: #38BDF8 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   GLASS EFFECT: EACH CARD & PANEL
   ========================================================================== */
html.light .glass-card,
html.light .glass-panel,
html.light .stream-service-card,
html.light .hero-trust-stat {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06), inset 0 1px 1px 0 rgba(255, 255, 255, 0.9) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html.light .glass-card:hover,
html.light .glass-panel:hover,
html.light .stream-service-card:hover {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(14, 165, 233, 0.6) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 20px 45px -10px rgba(14, 165, 233, 0.18), inset 0 1px 1px 0 rgba(255, 255, 255, 0.9) !important;
}

html.dark .glass-card,
html.dark .glass-panel,
html.dark .stream-service-card,
html.dark .hero-trust-stat,
html:not(.light) .glass-card,
html:not(.light) .glass-panel,
html:not(.light) .stream-service-card,
html:not(.light) .hero-trust-stat {
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.12) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html.dark .glass-card:hover,
html.dark .glass-panel:hover,
html.dark .stream-service-card:hover,
html:not(.light) .glass-card:hover,
html:not(.light) .glass-panel:hover,
html:not(.light) .stream-service-card:hover {
  background: rgba(22, 33, 56, 0.85) !important;
  border-color: rgba(14, 165, 233, 0.5) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 20px 45px -10px rgba(14, 165, 233, 0.25), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2) !important;
}

html.light .stream-service-card h4,
html.light .glass-card h3,
html.light .glass-card h4,
html.light .glass-card .text-white,
html.light .stream-service-card .text-white,
html.light .glass-panel .text-white {
  color: #0F172A !important;
  font-weight: 800 !important;
}

html.dark .stream-service-card h4,
html.dark .glass-card h3,
html.dark .glass-card h4,
html.dark .glass-card .text-white,
html.dark .stream-service-card .text-white,
html.dark .glass-panel .text-white,
html:not(.light) .stream-service-card h4,
html:not(.light) .glass-card h3,
html:not(.light) .glass-card h4,
html:not(.light) .glass-card .text-white,
html:not(.light) .stream-service-card .text-white,
html:not(.light) .glass-panel .text-white {
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

html.light .stream-service-card p,
html.light .glass-card p,
html.light .glass-panel p {
  color: #334155 !important;
  font-weight: 450 !important;
}

html.dark .stream-service-card p,
html.dark .glass-card p,
html.dark .glass-panel p,
html:not(.light) .stream-service-card p,
html:not(.light) .glass-card p,
html:not(.light) .glass-panel p {
  color: #CBD5E1 !important;
  font-weight: 450 !important;
}

html.light .glass-card .text-slate-200,
html.light .stream-service-card .text-slate-200,
html.light .glass-panel .text-slate-200 {
  color: #0F172A !important;
  font-weight: 700 !important;
}

html.light .glass-card .text-slate-300,
html.light .stream-service-card .text-slate-300,
html.light .glass-panel .text-slate-300 {
  color: #334155 !important;
}

html.light .glass-card .text-slate-400,
html.light .stream-service-card .text-slate-400,
html.light .glass-panel .text-slate-400,
html.light .hero-trust-stat .text-slate-400 {
  color: #64748B !important;
  font-weight: 600 !important;
}

html.dark .hero-trust-stat .text-slate-400,
html:not(.light) .hero-trust-stat .text-slate-400 {
  color: #94A3B8 !important;
  font-weight: 600 !important;
}

html.light .glass-card .border-t,
html.light .stream-service-card .border-t,
html.light .glass-panel .border-t {
  border-color: rgba(226, 232, 240, 0.95) !important;
}

html.light .hero-trust-stat .text-white {
  color: #0F172A !important;
}

html.dark .hero-trust-stat .text-white,
html:not(.light) .hero-trust-stat .text-white {
  color: #FFFFFF !important;
}

/* Service Blog and Press Links inside cards */
html.light .service-blog-link {
  color: #0284C7 !important;
  font-weight: 700 !important;
}
html.light .service-blog-link svg {
  color: #0284C7 !important;
}
html.light .service-blog-link:hover {
  color: #0369A1 !important;
}

html.light .service-press-link {
  color: #D97706 !important;
  font-weight: 700 !important;
}
html.light .service-press-link svg {
  color: #D97706 !important;
}
html.light .service-press-link:hover {
  color: #B45309 !important;
}

/* ==========================================================================
   ROUNDED CORNER BUTTONS: CAPSULE PILL SPECIFICATION (DAY & NIGHT)
   ========================================================================== */
.glass-btn,
.explore-tech-stack-btn,
.hero-btn-secondary,
.theme-toggle-btn,
.topbar-theme-btn,
.rounded-corner-btn,
.stream-service-card a,
.stream-service-card button,
button.bg-slate-800,
a.bg-slate-800,
[class*="glass-btn"],
[class*="rounded-full"] {
  border-radius: 9999px !important;
}

/* Light Mode Glass Buttons */
html.light .glass-btn,
html.light .hero-btn-secondary,
html.light .explore-tech-stack-btn {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(203, 213, 225, 0.95) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05), inset 0 1px 1px 0 rgba(255, 255, 255, 0.9) !important;
  color: #0F172A !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html.light .glass-btn:hover,
html.light .hero-btn-secondary:hover,
html.light .explore-tech-stack-btn:hover {
  background: #0284C7 !important;
  border-color: #0284C7 !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25) !important;
  transform: translateY(-1px) !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   THEME TOGGLE ICONS: EXACT DAY & NIGHT SPECIFICATION
   Day mode: show ONLY Sun (amber/gold), hide Moon
   Night mode: show ONLY Moon (luminous sky-blue), hide Sun
   ========================================================================== */
html.light .theme-icon-sun,
html:not(.dark) .theme-icon-sun {
  display: block !important;
  color: #F59E0B !important;
}

html.light .theme-icon-moon,
html:not(.dark) .theme-icon-moon {
  display: none !important;
}

html.dark .theme-icon-sun {
  display: none !important;
}

html.dark .theme-icon-moon {
  display: block !important;
  color: #38BDF8 !important;
}

html.light .theme-toggle-btn {
  background: rgba(241, 245, 249, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(203, 213, 225, 0.95) !important;
  color: #0F172A !important;
  border-radius: 9999px !important;
}

html.light .theme-toggle-btn:hover {
  background: rgba(226, 232, 240, 0.95) !important;
  border-color: #0284C7 !important;
  transform: translateY(-1px) !important;
}

/* Header Sign-In Capsule Button (High-Contrast & Visible in Both Modes) */
.header-signin-btn {
  border-radius: 9999px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
html.light .header-signin-btn {
  background: rgba(241, 245, 249, 0.95) !important;
  border: 1px solid rgba(203, 213, 225, 0.95) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}
html.light .header-signin-btn .header-signin-icon {
  color: #0284C7 !important;
}
html.light .header-signin-btn .header-signin-text {
  color: #0F172A !important;
  font-weight: 700 !important;
}
html.light .header-signin-btn:hover {
  background: #0284C7 !important;
  border-color: #0284C7 !important;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3) !important;
  transform: translateY(-1px) !important;
}
html.light .header-signin-btn:hover .header-signin-icon,
html.light .header-signin-btn:hover .header-signin-text {
  color: #FFFFFF !important;
}

html.dark .header-signin-btn,
html:not(.light) .header-signin-btn {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}
html.dark .header-signin-btn .header-signin-icon,
html:not(.light) .header-signin-btn .header-signin-icon {
  color: #38BDF8 !important;
}
html.dark .header-signin-btn .header-signin-text,
html:not(.light) .header-signin-btn .header-signin-text {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}
html.dark .header-signin-btn:hover,
html:not(.light) .header-signin-btn:hover {
  background: rgba(255, 255, 255, 0.20) !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25) !important;
  transform: translateY(-1px) !important;
}

/* Header Mobile Hamburger */
html.light #mobile-sidebar-open {
  background: rgba(241, 245, 249, 0.95) !important;
  border: 1px solid rgba(203, 213, 225, 0.95) !important;
  color: #334155 !important;
}
html.light #mobile-sidebar-open svg {
  color: #334155 !important;
}
html.light #mobile-sidebar-open:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}
html.dark #mobile-sidebar-open,
html:not(.light) #mobile-sidebar-open {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #E2E8F0 !important;
}

/* ==========================================================================
   MOBILE SIDEBAR DRAWER: CRISP WHITE DAY MODE & OBSIDIAN NIGHT MODE
   ========================================================================== */
html.light .mobile-sidebar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border-right: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.08) !important;
  color: #0F172A !important;
}
html.light .mobile-sidebar .border-b,
html.light .mobile-sidebar .border-t {
  border-color: rgba(226, 232, 240, 0.95) !important;
}
html.light .mobile-sidebar #mobile-sidebar-close {
  background: rgba(241, 245, 249, 0.95) !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  color: #334155 !important;
}
html.light .mobile-sidebar #mobile-sidebar-close:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}
html.light .mobile-sidebar nav a,
html.light .mobile-sidebar nav button {
  color: #334155 !important;
}
html.light .mobile-sidebar nav a:hover,
html.light .mobile-sidebar nav button:hover {
  background: rgba(241, 245, 249, 0.9) !important;
  color: #0284C7 !important;
}
html.light .mobile-sidebar nav a[class*="bg-sky-500"] {
  background: rgba(2, 132, 199, 0.12) !important;
  color: #0284C7 !important;
  font-weight: 700 !important;
}
html.light .mobile-sidebar .accordion-chevron {
  color: #64748B !important;
}
html.light .mobile-sidebar .brand-company-name {
  color: #0F172A !important;
}
html.light .mobile-sidebar .brand-company-subtitle {
  color: #0284C7 !important;
}

html.dark .mobile-sidebar,
html:not(.light) .mobile-sidebar {
  background: rgba(7, 11, 20, 0.96) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.6) !important;
  color: #F8FAFC !important;
}
html.dark .mobile-sidebar #mobile-sidebar-close,
html:not(.light) .mobile-sidebar #mobile-sidebar-close {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #CBD5E1 !important;
}

/* ==========================================================================
   HIGH-CONTRAST BADGES, CHIPS & MONOSPACE TAGS (DAY & NIGHT)
   ========================================================================== */
/* Monospace specs tags & pills (e.g. HS512, AES-256-GCM, SAC: 998314, CAN-Bus, Statutory Tax Team) */
html.light span.bg-slate-900\/90,
html.light span.bg-slate-900,
html.light .stream-service-card span.bg-slate-900\/90,
html.light .glass-card span.bg-slate-900\/90,
html.light .rounded-pill,
html.light [class*="rounded-pill"],
html.light .badge-pill {
  background-color: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 9999px !important;
  padding: 0.2rem 0.7rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
}

html.dark span.bg-slate-900\/90,
html.dark span.bg-slate-900,
html.dark .stream-service-card span.bg-slate-900\/90,
html.dark .glass-card span.bg-slate-900\/90,
html.dark .rounded-pill,
html.dark [class*="rounded-pill"],
html.dark .badge-pill,
html:not(.light) span.bg-slate-900\/90,
html:not(.light) span.bg-slate-900,
html:not(.light) .stream-service-card span.bg-slate-900\/90,
html:not(.light) .glass-card span.bg-slate-900\/90,
html:not(.light) .rounded-pill,
html:not(.light) [class*="rounded-pill"],
html:not(.light) .badge-pill {
  background-color: rgba(15, 23, 42, 0.95) !important;
  color: #7DD3FC !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 9999px !important;
  padding: 0.2rem 0.7rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Category Badges, SAC Code Pills & Icon Containers */
html.light [class*="bg-sky-950"] {
  background-color: #E0F2FE !important;
  color: #0369A1 !important;
  border-color: #BAE6FD !important;
}
html.light [class*="bg-sky-950"] svg {
  color: #0284C7 !important;
}
html.light [class*="bg-emerald-950"] {
  background-color: #D1FAE5 !important;
  color: #047857 !important;
  border-color: #A7F3D0 !important;
}
html.light [class*="bg-emerald-950"] svg {
  color: #059669 !important;
}
html.light [class*="bg-orange-950"],
html.light [class*="bg-amber-950"] {
  background-color: #FEF3C7 !important;
  color: #B45309 !important;
  border-color: #FDE68A !important;
}
html.light [class*="bg-orange-950"] svg,
html.light [class*="bg-amber-950"] svg {
  color: #D97706 !important;
}
html.light [class*="bg-lime-950"] {
  background-color: #ECFCCB !important;
  color: #4D7C0F !important;
  border-color: #D9F99D !important;
}
html.light [class*="bg-lime-950"] svg {
  color: #65A30D !important;
}
html.light [class*="bg-indigo-950"] {
  background-color: #E0E7FF !important;
  color: #4338CA !important;
  border-color: #C7D2FE !important;
}
html.light [class*="bg-indigo-950"] svg {
  color: #4F46E5 !important;
}
html.light [class*="bg-purple-950"] {
  background-color: #F3E8FF !important;
  color: #7E22CE !important;
  border-color: #DDD6FE !important;
}
html.light [class*="bg-purple-950"] svg {
  color: #9333EA !important;
}
html.light [class*="bg-cyan-950"] {
  background-color: #CFFAFE !important;
  color: #0E7490 !important;
  border-color: #A5F3FC !important;
}
html.light [class*="bg-cyan-950"] svg {
  color: #0891B2 !important;
}

/* Dark Mode Category Badges & Icon Containers: High-Luminance Contrast */
html.dark [class*="bg-sky-950"],
html:not(.light) [class*="bg-sky-950"] {
  background-color: rgba(8, 47, 73, 0.85) !important;
  color: #38BDF8 !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}
html.dark [class*="bg-emerald-950"],
html:not(.light) [class*="bg-emerald-950"] {
  background-color: rgba(6, 78, 59, 0.85) !important;
  color: #34D399 !important;
  border-color: rgba(52, 211, 153, 0.35) !important;
}
html.dark [class*="bg-orange-950"],
html.dark [class*="bg-amber-950"],
html:not(.light) [class*="bg-orange-950"],
html:not(.light) [class*="bg-amber-950"] {
  background-color: rgba(124, 45, 18, 0.85) !important;
  color: #FB923C !important;
  border-color: rgba(251, 146, 60, 0.35) !important;
}
html.dark [class*="bg-lime-950"],
html:not(.light) [class*="bg-lime-950"] {
  background-color: rgba(54, 83, 20, 0.85) !important;
  color: #A3E635 !important;
  border-color: rgba(163, 230, 53, 0.35) !important;
}
html.dark [class*="bg-indigo-950"],
html:not(.light) [class*="bg-indigo-950"] {
  background-color: rgba(49, 46, 129, 0.85) !important;
  color: #818CF8 !important;
  border-color: rgba(129, 140, 248, 0.35) !important;
}
html.dark [class*="bg-purple-950"],
html:not(.light) [class*="bg-purple-950"] {
  background-color: rgba(88, 28, 135, 0.85) !important;
  color: #C084FC !important;
  border-color: rgba(192, 132, 252, 0.35) !important;
}
html.dark [class*="bg-cyan-950"],
html:not(.light) [class*="bg-cyan-950"] {
  background-color: rgba(8, 51, 68, 0.85) !important;
  color: #22D3EE !important;
  border-color: rgba(34, 211, 238, 0.35) !important;
}

/* Service card circular enquiry buttons (Image 4 Chat Icon - High-Contrast Day & Night) */
html.light button[onclick*="openEnquiryModal"].p-2\.5 {
  border-width: 1px !important;
  border-style: solid !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
html.light button[onclick*="openEnquiryModal"].p-2\.5 svg {
  stroke-width: 2.2 !important;
}

/* Light Mode variants */
html.light button[onclick*="openEnquiryModal"][class*="bg-sky-500"] {
  background-color: #E0F2FE !important;
  border-color: #BAE6FD !important;
  color: #0284C7 !important;
}
html.light button[onclick*="openEnquiryModal"][class*="bg-indigo-500"] {
  background-color: #E0E7FF !important;
  border-color: #C7D2FE !important;
  color: #4338CA !important;
}
html.light button[onclick*="openEnquiryModal"][class*="bg-emerald-500"] {
  background-color: #D1FAE5 !important;
  border-color: #A7F3D0 !important;
  color: #047857 !important;
}
html.light button[onclick*="openEnquiryModal"][class*="bg-orange-500"],
html.light button[onclick*="openEnquiryModal"][class*="bg-amber-500"] {
  background-color: #FEF3C7 !important;
  border-color: #FDE68A !important;
  color: #B45309 !important;
}
html.light button[onclick*="openEnquiryModal"][class*="bg-cyan-500"] {
  background-color: #CFFAFE !important;
  border-color: #A5F3FC !important;
  color: #0E7490 !important;
}

html.light button[onclick*="openEnquiryModal"].p-2\.5:hover {
  background-color: #0284C7 !important;
  border-color: #0284C7 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3) !important;
}
html.light button[onclick*="openEnquiryModal"].p-2\.5:hover svg {
  color: #FFFFFF !important;
}

/* Dark Mode variants */
html.dark button[onclick*="openEnquiryModal"].p-2\.5,
html:not(.light) button[onclick*="openEnquiryModal"].p-2\.5 {
  border-width: 1px !important;
  border-style: solid !important;
}
html.dark button[onclick*="openEnquiryModal"].p-2\.5 svg,
html:not(.light) button[onclick*="openEnquiryModal"].p-2\.5 svg {
  stroke-width: 2.2 !important;
}
html.dark button[onclick*="openEnquiryModal"][class*="bg-sky-500"],
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-sky-500"] {
  background-color: rgba(14, 165, 233, 0.20) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  color: #38BDF8 !important;
}
html.dark button[onclick*="openEnquiryModal"][class*="bg-indigo-500"],
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-indigo-500"] {
  background-color: rgba(99, 102, 241, 0.20) !important;
  border-color: rgba(129, 140, 248, 0.45) !important;
  color: #818CF8 !important;
}
html.dark button[onclick*="openEnquiryModal"][class*="bg-emerald-500"],
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-emerald-500"] {
  background-color: rgba(16, 185, 129, 0.20) !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
  color: #34D399 !important;
}
html.dark button[onclick*="openEnquiryModal"][class*="bg-orange-500"],
html.dark button[onclick*="openEnquiryModal"][class*="bg-amber-500"],
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-orange-500"],
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-amber-500"] {
  background-color: rgba(245, 158, 11, 0.20) !important;
  border-color: rgba(251, 191, 36, 0.45) !important;
  color: #FBBF24 !important;
}
html.dark button[onclick*="openEnquiryModal"][class*="bg-cyan-500"],
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-cyan-500"] {
  background-color: rgba(6, 182, 212, 0.20) !important;
  border-color: rgba(34, 211, 238, 0.45) !important;
  color: #22D3EE !important;
}

html.dark button[onclick*="openEnquiryModal"].p-2\.5:hover,
html:not(.light) button[onclick*="openEnquiryModal"].p-2\.5:hover {
  background-color: #0284C7 !important;
  border-color: #0284C7 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
}
html.light button[onclick*="openEnquiryModal"][class*="bg-sky-500"] svg { color: #0284C7 !important; stroke: currentColor !important; }
html.light button[onclick*="openEnquiryModal"][class*="bg-indigo-500"] svg { color: #4338CA !important; stroke: currentColor !important; }
html.light button[onclick*="openEnquiryModal"][class*="bg-emerald-500"] svg { color: #047857 !important; stroke: currentColor !important; }
html.light button[onclick*="openEnquiryModal"][class*="bg-orange-500"] svg,
html.light button[onclick*="openEnquiryModal"][class*="bg-amber-500"] svg { color: #B45309 !important; stroke: currentColor !important; }
html.light button[onclick*="openEnquiryModal"][class*="bg-cyan-500"] svg { color: #0E7490 !important; stroke: currentColor !important; }

html.dark button[onclick*="openEnquiryModal"][class*="bg-sky-500"] svg,
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-sky-500"] svg { color: #38BDF8 !important; stroke: currentColor !important; }
html.dark button[onclick*="openEnquiryModal"][class*="bg-indigo-500"] svg,
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-indigo-500"] svg { color: #818CF8 !important; stroke: currentColor !important; }
html.dark button[onclick*="openEnquiryModal"][class*="bg-emerald-500"] svg,
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-emerald-500"] svg { color: #34D399 !important; stroke: currentColor !important; }
html.dark button[onclick*="openEnquiryModal"][class*="bg-orange-500"] svg,
html.dark button[onclick*="openEnquiryModal"][class*="bg-amber-500"] svg,
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-orange-500"] svg,
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-amber-500"] svg { color: #FBBF24 !important; stroke: currentColor !important; }
html.dark button[onclick*="openEnquiryModal"][class*="bg-cyan-500"] svg,
html:not(.light) button[onclick*="openEnquiryModal"][class*="bg-cyan-500"] svg { color: #22D3EE !important; stroke: currentColor !important; }

/* High-Contrast Code Tags (Day & Night) */
code {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.85em !important;
}

html.light code,
html.light code[class*="text-sky"] {
  background-color: #F1F5F9 !important;
  color: #0369A1 !important;
  border: 1px solid #CBD5E1 !important;
  padding: 0.15rem 0.4rem !important;
  border-radius: 0.375rem !important;
  font-weight: 600 !important;
}

html.dark code,
html:not(.light) code,
html.dark code[class*="text-sky"],
html:not(.light) code[class*="text-sky"] {
  background-color: rgba(15, 23, 42, 0.85) !important;
  color: #38BDF8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  padding: 0.15rem 0.4rem !important;
  border-radius: 0.375rem !important;
  font-weight: 600 !important;
}

/* Dark Mode Glass Buttons */
.glass-btn,
.explore-tech-stack-btn,
.hero-btn-secondary,
.theme-toggle-btn,
button.bg-slate-800,
a.bg-slate-800,
html.dark .glass-btn,
html.dark .explore-tech-stack-btn,
html.dark .hero-btn-secondary,
html.dark .theme-toggle-btn,
html.dark button.bg-slate-800,
html.dark a.bg-slate-800,
html:not(.light) .glass-btn,
html:not(.light) .explore-tech-stack-btn,
html:not(.light) .hero-btn-secondary,
html:not(.light) .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 9999px !important;
}

.glass-btn:hover,
.explore-tech-stack-btn:hover,
.hero-btn-secondary:hover,
.theme-toggle-btn:hover,
button.bg-slate-800:hover,
a.bg-slate-800:hover,
html.dark .glass-btn:hover,
html.dark .explore-tech-stack-btn:hover,
html.dark .hero-btn-secondary:hover,
html.dark .theme-toggle-btn:hover,
html:not(.light) .glass-btn:hover,
html:not(.light) .explore-tech-stack-btn:hover,
html:not(.light) .hero-btn-secondary:hover,
html:not(.light) .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(14, 165, 233, 0.6) !important;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3), inset 0 1px 1px 0 rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px) !important;
  color: #FFFFFF !important;
}

/* Saturated Primary Action Buttons: Maintain crisp white text in all modes */
button[class*="bg-gradient-"],
a[class*="bg-gradient-"],
.btn-primary,
html.light button[class*="bg-gradient-"],
html.light a[class*="bg-gradient-"],
html.light .btn-primary,
html.dark button[class*="bg-gradient-"],
html.dark a[class*="bg-gradient-"],
html.dark .btn-primary {
  color: #FFFFFF !important;
  border-radius: 9999px !important;
}

/* Form Controls with Glassmorphism */
html.light input, html.light select, html.light textarea {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(203, 213, 225, 0.95) !important;
  color: #0F172A !important;
  font-weight: 500 !important;
  border-radius: 0.75rem !important;
}

html.light input::placeholder, html.light textarea::placeholder {
  color: #94A3B8 !important;
}

html.light label {
  color: #0F172A !important;
  font-weight: 600 !important;
}

html.dark input, html.dark select, html.dark textarea,
html:not(.light) input, html:not(.light) select, html:not(.light) textarea {
  background-color: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #F8FAFC !important;
  font-weight: 500 !important;
  border-radius: 0.75rem !important;
}

html.dark input::placeholder, html.dark textarea::placeholder,
html:not(.light) input::placeholder, html:not(.light) textarea::placeholder {
  color: #64748B !important;
}

html.dark label,
html:not(.light) label {
  color: #E2E8F0 !important;
  font-weight: 600 !important;
}

/* Modals & Dialogs with Deep Frosted Glass */
html.light #service-enquiry-modal .glass-card,
html.light #blog-reader-modal .glass-panel {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(32px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15) !important;
  color: #0F172A !important;
}

html.dark #service-enquiry-modal .glass-card,
html.dark #blog-reader-modal .glass-panel,
html:not(.light) #service-enquiry-modal .glass-card,
html:not(.light) #blog-reader-modal .glass-panel {
  background: rgba(11, 17, 32, 0.94) !important;
  backdrop-filter: blur(32px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Modal Scrollbar Removal (Image 1 fix) */
#service-enquiry-modal .glass-card,
.no-scrollbar {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
#service-enquiry-modal .glass-card::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Modal Close Button: High-Contrast Day & Night Mode (Image 1 fix) */
html.light .modal-close-btn {
  background: rgba(241, 245, 249, 0.95) !important;
  border: 1px solid rgba(203, 213, 225, 0.95) !important;
  color: #0F172A !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}
html.light .modal-close-btn svg {
  color: #0F172A !important;
}
html.light .modal-close-btn:hover {
  background: #E2E8F0 !important;
  color: #0284C7 !important;
  transform: scale(1.05) !important;
}
html.dark .modal-close-btn,
html:not(.light) .modal-close-btn {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #E2E8F0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}
html.dark .modal-close-btn svg,
html:not(.light) .modal-close-btn svg {
  color: #E2E8F0 !important;
}
html.dark .modal-close-btn:hover,
html:not(.light) .modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.20) !important;
  color: #38BDF8 !important;
  transform: scale(1.05) !important;
}

/* High-Priority White Action Button Text (Image 3 fix) */
button[type="submit"],
button[type="submit"] *,
button[class*="bg-gradient-"],
button[class*="bg-gradient-"] *,
a[class*="bg-gradient-"],
a[class*="bg-gradient-"] *,
.btn-primary,
.btn-primary *,
.login-submit-btn,
.login-submit-btn *,
.register-submit-btn,
.register-submit-btn *,
html.light button[type="submit"],
html.light button[type="submit"] *,
html.light button[class*="bg-gradient-"],
html.light button[class*="bg-gradient-"] *,
html.light a[class*="bg-gradient-"],
html.light a[class*="bg-gradient-"] *,
html.light .glass-card button[type="submit"],
html.light .glass-card button[type="submit"] *,
html.light .glass-card button[class*="bg-gradient-"],
html.light .glass-card button[class*="bg-gradient-"] *,
html.light .glass-panel button[type="submit"],
html.light .glass-panel button[type="submit"] *,
html.light .glass-panel button[class*="bg-gradient-"],
html.light .glass-panel button[class*="bg-gradient-"] *,
html.light #service-enquiry-modal button[type="submit"],
html.light #service-enquiry-modal button[type="submit"] * {
  color: #FFFFFF !important;
}

/* Login Page Day Mode White Palette (Image 4 & 5 fix) */
html.light main .glass-panel {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.10) !important;
  color: #0F172A !important;
}
html.light main .glass-panel h2 {
  color: #0F172A !important;
}
html.light .auth-tab-container {
  background-color: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
}
html.light #tab-login-btn.bg-sky-600,
html.light #tab-register-btn.bg-sky-600 {
  background-color: #0284C7 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25) !important;
}


/* ==========================================================================
   GLASS EFFECT: FOOTER
   ========================================================================== */
html.light footer {
  background: rgba(248, 250, 252, 0.92) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 -4px 20px -5px rgba(0, 0, 0, 0.04) !important;
  color: #334155 !important;
}

html.light footer h4 {
  color: #0F172A !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
}

html.light footer .footer-desc,
html.light footer p {
  color: #475569 !important;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
}

html.light footer .footer-cin,
html.light footer .footer-subinfo {
  color: #1E293B !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

html.light footer a,
html.light footer .footer-link,
html.light footer .footer-nav-link {
  color: #475569 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: color 0.2s ease !important;
}

html.light footer a:hover,
html.light footer .footer-link:hover,
html.light footer .footer-nav-link:hover {
  color: #0284C7 !important;
  text-decoration: underline !important;
}

html.light footer .footer-copyright {
  color: #64748B !important;
}

html.dark footer,
html:not(.light) footer {
  background: rgba(7, 11, 20, 0.88) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: #E2E8F0 !important;
}

html.dark footer h4,
html:not(.light) footer h4 {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
}

html.dark footer .footer-desc,
html.dark footer p,
html:not(.light) footer .footer-desc,
html:not(.light) footer p {
  color: #E2E8F0 !important;
  font-weight: 450 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
}

html.dark footer .footer-cin,
html.dark footer .footer-subinfo,
html:not(.light) footer .footer-cin,
html:not(.light) footer .footer-subinfo {
  color: #CBD5E1 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

html.dark footer a,
html.dark footer .footer-link,
html.dark footer .footer-nav-link,
html:not(.light) footer a,
html:not(.light) footer .footer-link,
html:not(.light) footer .footer-nav-link {
  color: #CBD5E1 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: color 0.2s ease !important;
}

html.dark footer a:hover,
html.dark footer .footer-link:hover,
html.dark footer .footer-nav-link:hover,
html:not(.light) footer a:hover,
html:not(.light) footer .footer-link:hover,
html:not(.light) footer .footer-nav-link:hover {
  color: #38BDF8 !important;
  text-decoration: underline !important;
}

/* High-Contrast Body Text Overrides */
html.light .text-slate-200 {
  color: #334155 !important;
}
html.light .text-slate-300 {
  color: #475569 !important;
}
html.light .text-slate-400 {
  color: #64748B !important;
}
html.light .text-slate-500 {
  color: #64748B !important;
}

html.dark .text-slate-200,
html:not(.light) .text-slate-200 {
  color: #E2E8F0 !important;
}
html.dark .text-slate-300,
html:not(.light) .text-slate-300 {
  color: #CBD5E1 !important;
}
html.dark .text-slate-400,
html:not(.light) .text-slate-400 {
  color: #CBD5E1 !important;
}
html.dark .text-slate-500,
html:not(.light) .text-slate-500 {
  color: #94A3B8 !important;
}


/* Light Mode Interactive & Semantic HTML Tags */
html.light details {
  background-color: #FFFFFF !important;
  border-color: #CBD5E1 !important;
}
html.light summary {
  color: #0F172A !important;
  font-weight: 700 !important;
}
html.light dialog {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2) !important;
}
html.light mark {
  background-color: #BAE6FD !important;
  color: #0369A1 !important;
}
html.light kbd {
  background-color: #E2E8F0 !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15) !important;
}
html.light samp,
html.light var {
  color: #4F46E5 !important;
}
html.light caption {
  color: #0F172A !important;
}
html.light tfoot {
  background-color: #E2E8F0 !important;
  border-top-color: #CBD5E1 !important;
}
html.light fieldset {
  border-color: #CBD5E1 !important;
}
html.light legend {
  color: #0F172A !important;
}
html.light dt {
  color: #0F172A !important;
}
html.light dd {
  color: #334155 !important;
}
html.light select option {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}
html.light optgroup {
  color: #0284C7 !important;
}
html.light em,
html.light i {
  color: #334155;
}
html.light u {
  text-decoration-color: #0284C7 !important;
}
html.light s,
html.light del {
  color: #94A3B8 !important;
}
html.light ins {
  color: #0284C7 !important;
}
html.light abbr[title] {
  color: #0F172A !important;
}
html.light time {
  color: #475569 !important;
}
html.light address {
  color: #475569 !important;
}

/* Status Badges & Pills - Figma Woorkroom Rectangular Rounded Shape */
[class*="badge-"],
.badge-approved, .badge-success,
.badge-pending, .badge-warning,
.badge-progress, .badge-info,
.badge-purple,
.badge-danger, .badge-error, .badge-rejected,
.badge-neutral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3.5px 9px !important;
  border-radius: 6px !important; /* rectangular rounded shape */
  font-family: 'Poppins', sans-serif;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-sizing: border-box;
  transition: all 0.15s ease;
}
.badge-approved, .badge-success {
  background: rgba(0, 208, 132, 0.12) !important;
  color: #00A86B !important;
  border: 1px solid rgba(0, 208, 132, 0.3) !important;
}
.dark .badge-approved, .dark .badge-success {
  background: rgba(0, 208, 132, 0.16) !important;
  color: #34D399 !important;
  border-color: rgba(0, 208, 132, 0.38) !important;
}
.badge-pending, .badge-warning {
  background: rgba(255, 159, 67, 0.12) !important;
  color: #D97706 !important;
  border: 1px solid rgba(255, 159, 67, 0.3) !important;
}
.dark .badge-pending, .dark .badge-warning {
  background: rgba(255, 159, 67, 0.16) !important;
  color: #FBBF24 !important;
  border-color: rgba(255, 159, 67, 0.38) !important;
}
.badge-progress, .badge-info {
  background: rgba(63, 140, 255, 0.12) !important;
  color: #2563EB !important;
  border: 1px solid rgba(63, 140, 255, 0.3) !important;
}
.dark .badge-progress, .dark .badge-info {
  background: rgba(63, 140, 255, 0.16) !important;
  color: #60A5FA !important;
  border-color: rgba(63, 140, 255, 0.38) !important;
}
.badge-purple {
  background: rgba(127, 86, 217, 0.12) !important;
  color: #7C3AED !important;
  border: 1px solid rgba(127, 86, 217, 0.3) !important;
}
.dark .badge-purple {
  background: rgba(127, 86, 217, 0.16) !important;
  color: #A78BFA !important;
  border-color: rgba(127, 86, 217, 0.38) !important;
}
.badge-danger, .badge-error, .badge-rejected {
  background: rgba(255, 86, 48, 0.12) !important;
  color: #DC2626 !important;
  border: 1px solid rgba(255, 86, 48, 0.3) !important;
}
.dark .badge-danger, .dark .badge-error, .dark .badge-rejected {
  background: rgba(255, 86, 48, 0.16) !important;
  color: #F87171 !important;
  border-color: rgba(255, 86, 48, 0.38) !important;
}
.badge-neutral {
  background: rgba(100, 116, 139, 0.08) !important;
  color: #475569 !important;
  border: 1px solid rgba(100, 116, 139, 0.22) !important;
}
.dark .badge-neutral {
  background: rgba(148, 163, 184, 0.12) !important;
  color: #94A3B8 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
}

/* ==========================================================================
   ROUNDED CAPSULE PILL SPECIFICATION (Day & Night)
   ========================================================================== */
.rounded-pill,
.status-pill,
.badge-pill,
[class*="rounded-full"] {
  border-radius: 9999px !important;
}

/* Ensure SVG icons inside pills and buttons retain crisp vibrancy */
.rounded-pill svg,
.status-pill svg,
.badge-pill svg,
[class*="rounded-full"] svg {
  flex-shrink: 0;
  display: inline-block;
}

/* ==========================================================================
   SELECT OPTIONS NATIVE OVERRIDE PER THEME
   ========================================================================== */
html.light select option {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}

html.dark select option,
html:not(.light) select option {
  background-color: #0F172A !important;
  color: #F8FAFC !important;
}


