/* Custom style.css for Premium Creative Agency Website */

/* Typography Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --color-primary: #ff5e00; /* Vibrant architectural orange */
  --color-primary-dark: #cc4b00; /* Darker burnt orange */
  --color-accent: #f97316; /* Tailwind orange-500 */
  --color-neutral-dark: #121824; /* Deep slate charcoal */
  --color-neutral-light: #f8fafc; /* Crisp modern architectural paper tone */

  /* Theme-dependent backgrounds */
  --bg-main: #f8fafc;
  --bg-section-alt: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-header: rgba(248, 250, 252, 0.85);
  --bg-header-scrolled: rgba(255, 255, 255, 0.95);
  --bg-modal: #ffffff;
  --bg-input: #ffffff;
  --bg-pill-active: #ff5e00;

  /* Theme-dependent texts */
  --text-primary: #121824;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-on-primary: #ffffff;

  /* Theme-dependent borders */
  --border-primary: #e2e8f0;
  --border-secondary: #f1f5f9;
  --border-card-hover: #fdba74;

  /* Overlays and shadows */
  --overlay-accent: rgba(255, 94, 0, 0.05);
  --overlay-card: rgba(15, 23, 42, 0.08);
}

/* Dark Theme overrides */
html[data-theme="dark"],
html.dark {
  color-scheme: dark;
  --color-neutral-light: #121824;
  --color-neutral-dark: #f8fafc;

  --bg-main: #0b0f19;
  --bg-section-alt: #121824;
  --bg-card: #182030;
  --bg-card-hover: #1e293b;
  --bg-header: rgba(11, 15, 25, 0.8);
  --bg-header-scrolled: rgba(18, 24, 36, 0.95);
  --bg-modal: #121824;
  --bg-input: #182030;
  --bg-pill-active: #ff5e00;

  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-on-primary: #ffffff;

  --border-primary: #1e293b;
  --border-secondary: #1e293b;
  --border-card-hover: #ff5e00;

  --overlay-accent: rgba(255, 94, 0, 0.15);
  --overlay-card: rgba(0, 0, 0, 0.5);
}

/* Light Theme defaults */
html:not([data-theme="dark"]):not(.dark) {
  color-scheme: light;
}

/* Smooth theme transitions */
body, main, header, section, footer, .premium-card, .custom-input, button, input, textarea, select {
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & styling */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-neutral-light);
  color: #334155; /* Slate 700 */
  overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Premium Keyframe Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.05);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw-line {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Animation Helper Classes & Scroll Reveal Engine */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 8s ease-in-out infinite;
}

/* Baseline Scroll Reveal Properties */
.reveal-on-scroll,
.reveal-up,
.reveal-down,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-fade,
[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Directional Variant Initial Offsets */
.reveal-on-scroll,
.reveal-up {
  transform: translateY(32px);
}

.reveal-down {
  transform: translateY(-32px);
}

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

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

.reveal-scale {
  transform: scale(0.92);
}

.reveal-fade {
  transform: none;
}

/* Active State Triggered by IntersectionObserver */
.reveal-on-scroll.active,
.reveal-up.active,
.reveal-down.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active,
.reveal-fade.active,
[data-reveal].active {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Staggered Delay Utilities */
.delay-100 { transition-delay: 100ms !important; }
.delay-150 { transition-delay: 150ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-250 { transition-delay: 250ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-350 { transition-delay: 350ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }
.delay-600 { transition-delay: 600ms !important; }
.delay-700 { transition-delay: 700ms !important; }

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-up,
  .reveal-down,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-fade,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Card Hover Accent Effects & Premium Interactivity */
.premium-card {
  position: relative;
  overflow: hidden;
  background-color: var(--color-neutral-light);
  border-color: #f1f5f9 !important; /* slate-100 initial border */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle elegant colored gradient top line that appears on hover */
.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover {
  transform: translateY(-6px);
  background-color: #ffffff !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08), 0 12px 16px -8px rgba(15, 23, 42, 0.04);
  border-color: #c7d2fe !important; /* indigo-200 hover border */
}

.premium-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* Icon container animation inside premium cards */
.premium-card .w-12 {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover .w-12 {
  transform: scale(1.1) rotate(6deg);
}

/* Make inner icons turn white on hover */
.premium-card .w-12 svg,
.premium-card .w-12 i {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              stroke 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover .w-12 svg,
.premium-card:hover .w-12 i {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Individual Icon Hover Color Conversions (Matching their brand gradients) */
.premium-card:hover .bg-indigo-50,
.premium-card:hover .bg-orange-50 {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary-dark) !important;
}

.premium-card:hover .bg-violet-50 {
  background-color: var(--color-accent) !important;
  border-color: var(--color-primary) !important;
}

.premium-card:hover .bg-cyan-50 {
  background-color: #f97316 !important;
  border-color: #ea580c !important;
}

.premium-card:hover .bg-pink-50 {
  background-color: #ff7a00 !important;
  border-color: #cc4b00 !important;
}

/* Navigation links elegant slider underlines */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.font-semibold::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Footer links subtle slide-in underline effect */
.footer-link {
  position: relative;
  display: inline-block;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #fb923c);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Microinteraction: Arrow translations inside card links */
.premium-card a i,
.premium-card a svg,
.premium-card div i[data-lucide="arrow-right"],
.premium-card div svg[data-lucide="arrow-right"] {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover a i,
.premium-card:hover a svg,
.premium-card:hover div i[data-lucide="arrow-right"],
.premium-card:hover div svg[data-lucide="arrow-right"] {
  transform: translateX(4px);
}

/* Estimator Checkbox Label Interactivity (Modern CSS :has selector) */
#project-estimator label {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#project-estimator label:hover {
  transform: translateX(4px);
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

#project-estimator label:has(input:checked) {
  background-color: #fff7ed !important;
  border-color: #fdba74 !important;
  box-shadow: 0 4px 15px -2px rgba(253, 186, 116, 0.15);
}


/* Infinite Marquee */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  align-items: center;
  justify-content: space-around;
  animation: marquee 65s linear infinite;
}

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

/* Custom Gradients */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.gradient-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.4));
}

/* Interactive Accordion Styles */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

/* Custom Checkbox/Radio */
.custom-input {
  transition: all 0.2s ease-in-out;
}
.custom-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Confetti Container */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ==========================================
   DYNAMIC DARK & LIGHT MODE IMPLEMENTATION
   ========================================== */

[data-theme="dark"] body,
html.dark body {
  background-color: var(--bg-main) !important;
  color: var(--text-secondary) !important;
}

/* Background class mappings */
[data-theme="dark"] .bg-\[\#f8fafc\],
[data-theme="dark"] .bg-slate-50,
[data-theme="dark"] .bg-slate-100,
html.dark .bg-\[\#f8fafc\],
html.dark .bg-slate-50,
html.dark .bg-slate-100 {
  background-color: var(--bg-main) !important;
}

[data-theme="dark"] .bg-white,
html.dark .bg-white {
  background-color: var(--bg-section-alt) !important;
}

[data-theme="dark"] .bg-white\/80,
html.dark .bg-white\/80 {
  background-color: rgba(18, 24, 36, 0.85) !important;
}

[data-theme="dark"] .bg-white\/90,
html.dark .bg-white\/90,
[data-theme="dark"] .bg-white\/95,
html.dark .bg-white\/95 {
  background-color: rgba(18, 24, 36, 0.95) !important;
}

/* Radial from-to background support for hero section in dark mode */
[data-theme="dark"] .from-slate-50.to-slate-100,
html.dark .from-slate-50.to-slate-100 {
  background-image: radial-gradient(circle at center, var(--bg-section-alt), var(--bg-main)) !important;
}

[data-theme="dark"] .bg-radial.from-slate-50.to-slate-100,
html.dark .bg-radial.from-slate-50.to-slate-100 {
  --tw-gradient-from: var(--bg-section-alt) !important;
  --tw-gradient-to: var(--bg-main) !important;
  background-image: radial-gradient(circle at center, var(--bg-section-alt), var(--bg-main)) !important;
}

/* Floating background dynamic orbs */
[data-theme="dark"] .bg-indigo-100,
[data-theme="dark"] .bg-orange-50,
html.dark .bg-indigo-100,
html.dark .bg-orange-50 {
  background-color: var(--overlay-accent) !important;
}

[data-theme="dark"] .bg-cyan-100,
html.dark .bg-cyan-100 {
  background-color: rgba(249, 115, 22, 0.05) !important;
}

/* Text class mappings - High Contrast in Dark Mode */
[data-theme="dark"] .text-slate-950,
[data-theme="dark"] .text-slate-900,
[data-theme="dark"] .text-slate-850,
[data-theme="dark"] .text-slate-800,
[data-theme="dark"] .text-black,
html.dark .text-slate-950,
html.dark .text-slate-900,
html.dark .text-slate-850,
html.dark .text-slate-800,
html.dark .text-black {
  color: var(--text-primary) !important;
}

[data-theme="dark"] h1:not(.text-transparent):not(#hero-section *):not(footer *),
[data-theme="dark"] h2:not(.text-transparent):not(#hero-section *):not(footer *),
[data-theme="dark"] h3:not(.text-transparent):not(#hero-section *):not(footer *),
[data-theme="dark"] h4:not(.text-transparent):not(#hero-section *):not(footer *),
[data-theme="dark"] h5:not(.text-transparent):not(#hero-section *):not(footer *),
[data-theme="dark"] h6:not(.text-transparent):not(#hero-section *):not(footer *),
html.dark h1:not(.text-transparent):not(#hero-section *):not(footer *),
html.dark h2:not(.text-transparent):not(#hero-section *):not(footer *),
html.dark h3:not(.text-transparent):not(#hero-section *):not(footer *),
html.dark h4:not(.text-transparent):not(#hero-section *):not(footer *),
html.dark h5:not(.text-transparent):not(#hero-section *):not(footer *),
html.dark h6:not(.text-transparent):not(#hero-section *):not(footer *) {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .text-slate-750,
[data-theme="dark"] .text-slate-700,
html.dark .text-slate-750,
html.dark .text-slate-700 {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .text-slate-650,
[data-theme="dark"] .text-slate-600,
html.dark .text-slate-650,
html.dark .text-slate-600 {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .text-slate-500,
[data-theme="dark"] .text-slate-400,
html.dark .text-slate-500,
html.dark .text-slate-400 {
  color: #94a3b8 !important;
}

/* Card overrides */
[data-theme="dark"] .premium-card,
html.dark .premium-card {
  background-color: var(--bg-card) !important;
  border-color: var(--border-primary) !important;
}

[data-theme="dark"] .premium-card:hover,
html.dark .premium-card:hover {
  background-color: var(--bg-card-hover) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 25px 50px -12px var(--overlay-card) !important;
}

/* Sticky Header and dynamic background */
[data-theme="dark"] header#main-header.bg-white\/95,
html.dark header#main-header.bg-white\/95 {
  background-color: var(--bg-header-scrolled) !important;
  border-bottom: 1px solid var(--border-primary) !important;
}

/* Borders and lines */
[data-theme="dark"] .border-slate-100,
[data-theme="dark"] .border-slate-200,
[data-theme="dark"] .border-slate-200\/50,
[data-theme="dark"] .border-slate-200\/60,
[data-theme="dark"] .border-slate-200\/80,
[data-theme="dark"] .border-slate-300,
[data-theme="dark"] .border-slate-150,
[data-theme="dark"] .border-slate-100\/50,
[data-theme="dark"] hr,
html.dark .border-slate-100,
html.dark .border-slate-200,
html.dark .border-slate-200\/50,
html.dark .border-slate-200\/60,
html.dark .border-slate-200\/80,
html.dark .border-slate-300,
html.dark .border-slate-150,
html.dark .border-slate-100\/50,
html.dark hr {
  border-color: var(--border-primary) !important;
}

/* interactive state hovers */
[data-theme="dark"] .hover\:bg-slate-50:hover,
html.dark .hover\:bg-slate-50:hover,
[data-theme="dark"] .hover\:bg-slate-100:hover,
html.dark .hover\:bg-slate-100:hover {
  background-color: var(--bg-card-hover) !important;
}

[data-theme="dark"] .hover\:border-slate-200:hover,
html.dark .hover\:border-slate-200:hover,
[data-theme="dark"] .hover\:border-slate-300:hover,
html.dark .hover\:border-slate-300:hover {
  border-color: var(--border-primary) !important;
}

/* Cost estimator labels */
[data-theme="dark"] #project-estimator label,
html.dark #project-estimator label {
  background-color: var(--bg-card) !important;
  border-color: var(--border-primary) !important;
}

[data-theme="dark"] #project-estimator label:hover,
html.dark #project-estimator label:hover {
  background-color: var(--bg-card-hover) !important;
  border-color: var(--border-card-hover) !important;
}

[data-theme="dark"] #project-estimator label:has(input:checked),
html.dark #project-estimator label:has(input:checked) {
  background-color: var(--overlay-accent) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 15px -2px rgba(255, 94, 0, 0.3) !important;
}

[data-theme="dark"] #project-estimator label span,
html.dark #project-estimator label span {
  color: var(--text-primary) !important;
}

[data-theme="dark"] #project-estimator label p,
html.dark #project-estimator label p {
  color: var(--text-secondary) !important;
}

/* Modals overlays and cards */
[data-theme="dark"] #project-modal > div,
html.dark #project-modal > div {
  background-color: var(--bg-main) !important;
}

[data-theme="dark"] #project-modal .bg-white,
html.dark #project-modal .bg-white {
  background-color: var(--bg-card) !important;
}

[data-theme="dark"] #project-modal .border-b,
[data-theme="dark"] #project-modal .border-t,
html.dark #project-modal .border-b,
html.dark #project-modal .border-t {
  border-color: var(--border-primary) !important;
}

/* Mobile drawer navigation */
[data-theme="dark"] #mobile-menu,
html.dark #mobile-menu {
  background-color: var(--bg-card) !important;
  border-color: var(--border-primary) !important;
}

[data-theme="dark"] #mobile-menu .nav-link,
html.dark #mobile-menu .nav-link {
  color: var(--text-primary) !important;
}

[data-theme="dark"] #mobile-menu .nav-link:hover,
html.dark #mobile-menu .nav-link:hover {
  background-color: var(--bg-card-hover) !important;
}

/* Forms input fields, textareas, selectors */
[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
[data-theme="dark"] textarea,
[data-theme="dark"] select,
html.dark input:not([type="checkbox"]):not([type="radio"]),
html.dark textarea,
html.dark select {
  background-color: var(--bg-input) !important;
  border-color: var(--border-primary) !important;
  color: var(--text-primary) !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder,
html.dark input::placeholder,
html.dark textarea::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.7;
}

/* ==========================================
   THEME TOGGLE BUTTON STYLING (FOCUS SELECTOR TARGET)
   header#main-header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > button#theme-toggle-desktop:nth-of-type(1)
   ========================================== */
header#main-header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > button#theme-toggle-desktop:nth-of-type(1),
#theme-toggle-desktop,
#theme-toggle-mobile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

/* Light Theme Styling (Default) */
html:not([data-theme="dark"]):not(.dark) header#main-header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > button#theme-toggle-desktop:nth-of-type(1),
html:not([data-theme="dark"]):not(.dark) #theme-toggle-desktop,
html:not([data-theme="dark"]):not(.dark) #theme-toggle-mobile {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

html:not([data-theme="dark"]):not(.dark) header#main-header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > button#theme-toggle-desktop:nth-of-type(1):hover,
html:not([data-theme="dark"]):not(.dark) #theme-toggle-desktop:hover,
html:not([data-theme="dark"]):not(.dark) #theme-toggle-mobile:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #ff9100;
  color: #ff9100;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 14px rgba(255, 145, 0, 0.3);
}

html:not([data-theme="dark"]):not(.dark) header#main-header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > button#theme-toggle-desktop:nth-of-type(1):active,
html:not([data-theme="dark"]):not(.dark) #theme-toggle-desktop:active,
html:not([data-theme="dark"]):not(.dark) #theme-toggle-mobile:active {
  transform: scale(0.95);
}

/* Dark Theme Styling (Activated upon clicking button) */
html[data-theme="dark"] header#main-header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > button#theme-toggle-desktop:nth-of-type(1),
html.dark header#main-header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > button#theme-toggle-desktop:nth-of-type(1),
html[data-theme="dark"] #theme-toggle-desktop,
html.dark #theme-toggle-desktop,
html[data-theme="dark"] #theme-toggle-mobile,
html.dark #theme-toggle-mobile {
  background-color: rgba(18, 24, 36, 0.85);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #fbbf24;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] header#main-header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > button#theme-toggle-desktop:nth-of-type(1):hover,
html.dark header#main-header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > button#theme-toggle-desktop:nth-of-type(1):hover,
html[data-theme="dark"] #theme-toggle-desktop:hover,
html.dark #theme-toggle-desktop:hover,
html[data-theme="dark"] #theme-toggle-mobile:hover,
html.dark #theme-toggle-mobile:hover {
  background-color: rgba(30, 41, 59, 0.95);
  border-color: #ff5e00;
  color: #f59e0b;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 0 16px rgba(255, 94, 0, 0.4);
}

html[data-theme="dark"] header#main-header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > button#theme-toggle-desktop:nth-of-type(1):active,
html.dark header#main-header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > button#theme-toggle-desktop:nth-of-type(1):active,
html[data-theme="dark"] #theme-toggle-desktop:active,
html.dark #theme-toggle-desktop:active,
html[data-theme="dark"] #theme-toggle-mobile:active,
html.dark #theme-toggle-mobile:active {
  transform: scale(0.95);
}

/* Theme Toggle Button Icon Display Rules */
/* In Light Mode: Show Moon icon (click to switch to dark), Hide Sun icon */
html:not([data-theme="dark"]):not(.dark) .theme-icon-moon,
html:not([data-theme="dark"]):not(.dark) #theme-toggle-desktop [data-lucide="moon"],
html:not([data-theme="dark"]):not(.dark) #theme-toggle-mobile [data-lucide="moon"],
html:not([data-theme="dark"]):not(.dark) #theme-toggle-desktop .lucide-moon,
html:not([data-theme="dark"]):not(.dark) #theme-toggle-mobile .lucide-moon {
  display: block !important;
}

html:not([data-theme="dark"]):not(.dark) .theme-icon-sun,
html:not([data-theme="dark"]):not(.dark) #theme-toggle-desktop [data-lucide="sun"],
html:not([data-theme="dark"]):not(.dark) #theme-toggle-mobile [data-lucide="sun"],
html:not([data-theme="dark"]):not(.dark) #theme-toggle-desktop .lucide-sun,
html:not([data-theme="dark"]):not(.dark) #theme-toggle-mobile .lucide-sun {
  display: none !important;
}

/* In Dark Mode: Hide Moon icon, Show Sun icon (click to switch to light) */
html[data-theme="dark"] .theme-icon-moon,
html.dark .theme-icon-moon,
html[data-theme="dark"] #theme-toggle-desktop [data-lucide="moon"],
html.dark #theme-toggle-desktop [data-lucide="moon"],
html[data-theme="dark"] #theme-toggle-mobile [data-lucide="moon"],
html.dark #theme-toggle-mobile [data-lucide="moon"],
html[data-theme="dark"] #theme-toggle-desktop .lucide-moon,
html.dark #theme-toggle-desktop .lucide-moon,
html[data-theme="dark"] #theme-toggle-mobile .lucide-moon,
html.dark #theme-toggle-mobile .lucide-moon {
  display: none !important;
}

html[data-theme="dark"] .theme-icon-sun,
html.dark .theme-icon-sun,
html[data-theme="dark"] #theme-toggle-desktop [data-lucide="sun"],
html.dark #theme-toggle-desktop [data-lucide="sun"],
html[data-theme="dark"] #theme-toggle-mobile [data-lucide="sun"],
html.dark #theme-toggle-mobile [data-lucide="sun"],
html[data-theme="dark"] #theme-toggle-desktop .lucide-sun,
html.dark #theme-toggle-desktop .lucide-sun,
html[data-theme="dark"] #theme-toggle-mobile .lucide-sun,
html.dark #theme-toggle-mobile .lucide-sun {
  display: block !important;
}

/* Accordion interactive items */
[data-theme="dark"] .accordion-item,
html.dark .accordion-item {
  border-color: var(--border-primary) !important;
}

[data-theme="dark"] .accordion-item .text-slate-900,
html.dark .accordion-item .text-slate-900 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .accordion-content,
html.dark .accordion-content {
  color: var(--text-secondary) !important;
}

/* ==========================================
   EXPLICIT LIGHT MODE CONTRAST TUNING
   ========================================== */
html:not([data-theme="dark"]):not(.dark) body {
  background-color: var(--bg-main);
  color: #334155;
}

html:not([data-theme="dark"]):not(.dark) .text-slate-950 {
  color: #020617;
}

html:not([data-theme="dark"]):not(.dark) .text-slate-900 {
  color: #0f172a;
}

html:not([data-theme="dark"]):not(.dark) .text-slate-800 {
  color: #1e293b;
}

html:not([data-theme="dark"]):not(.dark) .text-slate-700 {
  color: #334155;
}

html:not([data-theme="dark"]):not(.dark) .text-slate-600 {
  color: #475569;
}

/* CAD Grid lines and blueprints inside portfolio cards in dark mode */
[data-theme="dark"] #cadGrid path {
  stroke: #182030 !important;
}

[data-theme="dark"] rect[fill="#fbfbfa"] {
  fill: var(--bg-main) !important;
}

[data-theme="dark"] rect[fill="#ffffff"] {
  fill: var(--bg-card) !important;
}

[data-theme="dark"] rect[fill="#f8fafc"] {
  fill: var(--bg-main) !important;
}

[data-theme="dark"] line[stroke="#121824"],
[data-theme="dark"] polygon[stroke="#121824"],
[data-theme="dark"] rect[stroke="#121824"] {
  stroke: var(--text-primary) !important;
}

[data-theme="dark"] text[fill="#121824"] {
  fill: var(--text-secondary) !important;
}

[data-theme="dark"] rect[fill="#ffffff"][fill-opacity="0.92"] {
  fill: var(--bg-card) !important;
  fill-opacity: 0.95 !important;
  stroke: var(--border-primary) !important;
}

[data-theme="dark"] text[fill="#94a3b8"] {
  fill: var(--text-muted) !important;
}

/* ==========================================
   PREMIUM VISUAL EFFECT & GRADIENT ADDITIONS
   ========================================== */

/* Animated Mesh Gradient Background */
.hero-mesh-gradient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

.hero-mesh-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(234, 88, 12, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 75% 45%, rgba(249, 115, 22, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 45% 85%, rgba(185, 28, 28, 0.05) 0%, transparent 45%);
  filter: blur(90px);
  animation: rotate-mesh 25s linear infinite;
  transform-origin: center center;
}

@keyframes rotate-mesh {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Dark mode adjustment for the mesh gradient */
[data-theme="dark"] .hero-mesh-gradient::before {
  background: radial-gradient(circle at 30% 30%, rgba(234, 88, 12, 0.09) 0%, transparent 45%),
              radial-gradient(circle at 75% 45%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 45% 85%, rgba(147, 51, 234, 0.04) 0%, transparent 40%);
  filter: blur(100px);
}

/* Shimmering Premium CTA Button Effect */
.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}

.shimmer-btn:hover::after {
  animation: shimmer-swipe 1.6s ease-out infinite;
}

@keyframes shimmer-swipe {
  0% {
    left: -60%;
  }
  100% {
    left: 140%;
  }
}

/* Floating Theme Toggle Ambient Glow aura */
#theme-toggle-btn {
  box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.15), 0 8px 10px -6px rgba(234, 88, 12, 0.1);
}

#theme-toggle-btn:hover {
  box-shadow: 0 20px 35px -5px rgba(234, 88, 12, 0.3), 0 12px 16px -6px rgba(234, 88, 12, 0.2);
}

/* Gradient glow effects for premium-card */
.premium-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.5), rgba(185, 28, 28, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* Text glow accent */
.glow-text-orange {
  text-shadow: 0 0 15px rgba(234, 88, 12, 0.2);
}

[data-theme="dark"] .glow-text-orange {
  text-shadow: 0 0 20px rgba(234, 88, 12, 0.35);
}

/* Cinematic Section Fade-In Transitions */
@keyframes cinematic-fade-up {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.99);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.section-reveal {
  opacity: 0;
  will-change: transform, opacity, filter;
}

.section-reveal.animate-in {
  animation: cinematic-fade-up 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .section-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .section-reveal.animate-in {
    animation: none !important;
  }
}

/* World-Class Architectural Background Images & Immersive Glassmorphic Effects */
.luxury-header-dark {
  position: relative;
  background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.93) 0%, rgba(11, 15, 25, 0.98) 100%), url('./src/assets/images/luxury_architecture_bg_1783765649225.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.luxury-header-light {
  position: relative;
  background-image: linear-gradient(to bottom, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%), url('./src/assets/images/concrete_glass_facade_1783765677599.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

/* Smart automatic adjustment using html theme class */
.luxury-header-adaptive {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  transition: background-image 0.5s ease;
}

html:not(.dark) .luxury-header-adaptive {
  background-image: linear-gradient(to bottom, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%), url('./src/assets/images/concrete_glass_facade_1783765677599.jpg');
}

html.dark .luxury-header-adaptive {
  background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.94) 0%, rgba(11, 15, 25, 0.98) 100%), url('./src/assets/images/luxury_architecture_bg_1783765649225.jpg');
}

/* Wireframe technical engineering blueprint pattern background */
.wireframe-header-tech {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  transition: background-image 0.5s ease;
}

html:not(.dark) .wireframe-header-tech {
  background-image: linear-gradient(to bottom, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%), url('./src/assets/images/architectural_wireframe_bg_1783765662879.jpg');
  filter: saturate(0.9);
}

html.dark .wireframe-header-tech {
  background-image: linear-gradient(to bottom, rgba(11, 15, 25, 0.95) 0%, rgba(8, 10, 18, 0.99) 100%), url('./src/assets/images/architectural_wireframe_bg_1783765662879.jpg');
}

/* Floating Architectural Schematic Lines overlay */
.schematic-blueprint-lines::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(249, 115, 22, 0.05) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* World-class Ambient Light Orbs that bounce/pulse */
@keyframes glow-orb-pulse {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
  50% {
    transform: translate(30px, -20px) scale(1.15);
    opacity: 0.5;
  }
}

.luxury-glow-orb-orange {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: glow-orb-pulse 12s ease-in-out infinite;
}

.luxury-glow-orb-lime {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(163, 230, 21, 0.15) 0%, rgba(163, 230, 21, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: glow-orb-pulse 15s ease-in-out infinite-reverse;
  animation-delay: 2s;
}

/* World-class custom glassmorphism containers */
.glassmorphic-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

html.dark .glassmorphic-card {
  background: rgba(18, 24, 36, 0.75);
  backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Immersive video/image parallax sections */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Floating WhatsApp Button Pulse Effect */
@keyframes whatsapp-ripple {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.5), 0 10px 25px -5px rgba(255, 94, 0, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 18px rgba(255, 94, 0, 0), 0 15px 30px -5px rgba(255, 94, 0, 0.4);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 94, 0, 0), 0 10px 25px -5px rgba(255, 94, 0, 0.4);
  }
}

.whatsapp-fab {
  animation: whatsapp-ripple 3.0s infinite ease-in-out;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-fab:hover {
  transform: translateY(-6px) scale(1.1);
  animation-play-state: paused;
}

/* Custom Leaflet Map Popup Elegant Styling */
.innoventra-custom-popup .leaflet-popup-content-wrapper {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  border-radius: 1rem !important;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  padding: 0 !important;
}

html.dark .innoventra-custom-popup .leaflet-popup-content-wrapper {
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.innoventra-custom-popup .leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.96) !important;
}

html.dark .innoventra-custom-popup .leaflet-popup-tip {
  background: rgba(15, 23, 42, 0.96) !important;
}

.innoventra-custom-popup .leaflet-popup-content {
  margin: 0 !important;
}

/* Fix leaflet map sizing context in flex containers */
#office-interactive-map {
  outline: none;
}

/* Premium Skeleton Loader Styles with Shimmer Animation */
.skeleton {
  position: relative;
  overflow: hidden;
  background-color: rgba(226, 232, 240, 0.7); /* light tailwind slate-200 */
}

html.dark .skeleton {
  background-color: rgba(30, 41, 59, 0.75); /* dark tailwind slate-800 */
}

/* Shimmer gradient layout overlay */
.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 20%,
    rgba(255, 255, 255, 0.8) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: skeleton-shimmer 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

html.dark .skeleton::after {
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 20%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Brand orange thematic pulse variants */
.skeleton-orange::after {
  background-image: linear-gradient(
    90deg,
    rgba(255, 94, 0, 0) 0%,
    rgba(255, 94, 0, 0.08) 25%,
    rgba(255, 94, 0, 0.2) 60%,
    rgba(255, 94, 0, 0) 100%
  );
}

html.dark .skeleton-orange::after {
  background-image: linear-gradient(
    90deg,
    rgba(255, 94, 0, 0) 0%,
    rgba(255, 94, 0, 0.05) 25%,
    rgba(255, 94, 0, 0.12) 60%,
    rgba(255, 94, 0, 0) 100%
  );
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.animate-pulse-slow {
  animation: pulse-slow 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .65;
  }
}

/* --- Interactive Solid Build Aesthetic: Brand Animated Elements --- */

/* Slow organic drifting wave flow 1 */
@keyframes wave-flow-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(3%, 4%) scale(1.08) rotate(5deg);
  }
  66% {
    transform: translate(-2%, -3%) scale(0.92) rotate(-3deg);
  }
}

/* Slow organic drifting wave flow 2 */
@keyframes wave-flow-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-4%, 3%) scale(1.1) rotate(-6deg);
  }
}

/* Continuous rotation for structural target viewfinder overlays */
@keyframes continuous-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Continuous counter-rotation for nested lens rings */
@keyframes continuous-spin-reverse {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.animate-wave-1 {
  animation: wave-flow-1 22s ease-in-out infinite;
}

.animate-wave-2 {
  animation: wave-flow-2 18s ease-in-out infinite;
}

.animate-spin-slow {
  animation: continuous-spin 35s linear infinite;
}

.animate-spin-reverse-slow {
  animation: continuous-spin-reverse 25s linear infinite;
}

/* Concentric lens mask / architectural target sightlines background pattern */
.circular-lens-rings {
  background-image: radial-gradient(circle, transparent 20%, rgba(255, 94, 0, 0.08) 20.5%, rgba(255, 94, 0, 0.08) 21.5%, transparent 22%, transparent 35%, rgba(255, 94, 0, 0.05) 35.5%, rgba(255, 94, 0, 0.05) 37%, transparent 37.5%, transparent 55%, rgba(255, 94, 0, 0.03) 55.5%, rgba(255, 94, 0, 0.03) 57%, transparent 57.5%);
}

.circular-lens-rings-white {
  background-image: radial-gradient(circle, transparent 20%, rgba(255, 255, 255, 0.15) 20.5%, rgba(255, 255, 255, 0.15) 21.5%, transparent 22%, transparent 35%, rgba(255, 255, 255, 0.1) 35.5%, rgba(255, 255, 255, 0.1) 37%, transparent 37.5%, transparent 55%, rgba(255, 255, 255, 0.06) 55.5%, rgba(255, 255, 255, 0.06) 57%, transparent 57.5%);
}

/* --- Professional Architectural & Structural Section Backgrounds --- */

/* CAD Grid Pattern Dark */
.bg-arch-grid-dark {
  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);
  background-size: 40px 40px;
}

/* CAD Grid Pattern Light */
.bg-arch-grid-light {
  background-image: linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Dot Matrix Light */
.bg-arch-dots-light {
  background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}

/* Dot Matrix Dark */
.bg-arch-dots-dark {
  background-image: radial-gradient(rgba(249, 115, 22, 0.12) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
}

/* Blueprint Line Grid Dark Accent */
.bg-blueprint-dark {
  background-color: #0b0f17;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.14) 0%, transparent 65%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
}

/* Continuous Connected Architectural Canvas Light */
.bg-arch-light-canvas {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.035) 0%, transparent 65%),
    linear-gradient(to right, rgba(15, 23, 42, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.022) 1px, transparent 1px);
  background-size: 100% 800px, 48px 48px, 48px 48px;
  background-repeat: repeat-y, repeat, repeat;
}

html.dark .bg-arch-light-canvas,
html[data-theme="dark"] .bg-arch-light-canvas {
  background-color: #0b0f19;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.07) 0%, transparent 65%),
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 100% 800px, 48px 48px, 48px 48px;
  background-repeat: repeat-y, repeat, repeat;
}

/* Subtle Architectural Pure Canvas (Seamlessly Connected) */
.bg-arch-pure-canvas {
  background-color: #f8fafc;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  background-repeat: repeat;
}

html.dark .bg-arch-pure-canvas,
html[data-theme="dark"] .bg-arch-pure-canvas {
  background-color: #0b0f19;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  background-repeat: repeat;
}





