/* ==========================================================================
   BIRCH INTERACTIVE — DESIGN SYSTEM & STYLESHEET (ALL-WHITE HIGH CONTRAST)
   ========================================================================== */

:root {
  /* Dark Atmosphere Backgrounds */
  --bg-dark: #070A12;
  --bg-dark-secondary: #0D1322;
  --bg-card: rgba(13, 19, 34, 0.92);
  --bg-glass: rgba(255, 255, 255, 0.1);
  --border-glass: rgba(255, 255, 255, 0.22);
  --border-glow: rgba(245, 158, 11, 0.5);

  /* Primary Accents */
  --accent-gold: #F59E0B;
  --accent-gold-light: #FCD34D;
  --accent-emerald: #10B981;
  --accent-emerald-light: #34D399;
  --accent-cyan: #06B6D4;
  --accent-indigo: #6366F1;
  --accent-pink: #EC4899;

  /* ALL HIGH-CONTRAST BRIGHT WHITE TEXT TOKENS */
  --text-main: #FFFFFF;
  --text-muted: #F1F5F9; /* Pure crisp bright white-gray */
  --text-dim: #E2E8F0;

  /* Fonts */
  --font-primary: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* UI Tokens */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  --shadow-glow: 0 0 35px rgba(245, 158, 11, 0.4);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: #FFFFFF !important; /* Force all text to white */
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

/* Ensure ALL headings, paragraphs, spans, labels, buttons have white text */
h1, h2, h3, h4, h5, h6, p, span, strong, label, input, textarea, button, div, a, li {
  color: #FFFFFF;
}

/* High Contrast Accent Utilities */
.text-emerald { color: #34D399 !important; }
.text-gold { color: #FCD34D !important; }
.text-amber { color: #FBBF24 !important; }
.text-cyan { color: #67E8F9 !important; }
.text-indigo { color: #A5B4FC !important; }

/* Utility Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(7, 10, 18, 0.9);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
}

/* ==========================================================================
   BACKGROUND & AMBIENT CANVAS
   ========================================================================== */

#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatAura 18s ease-in-out infinite alternate;
}

.aura-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: 20%;
  background: radial-gradient(circle, var(--accent-emerald) 0%, transparent 70%);
}

.aura-2 {
  width: 600px;
  height: 600px;
  bottom: -15%;
  right: 15%;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
  animation-delay: -6s;
}

.aura-3 {
  width: 450px;
  height: 450px;
  top: 40%;
  left: -10%;
  background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
  animation-delay: -12s;
}

@keyframes floatAura {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 50;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.95) 0%, rgba(7, 10, 18, 0) 100%);
  backdrop-filter: blur(10px);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1.5px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: var(--transition-normal);
}

.header-brand:hover .brand-icon {
  transform: rotate(12deg) scale(1.08);
  border-color: var(--accent-gold);
}

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

.brand-name {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF !important;
}

.brand-name .highlight {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-emerald-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.78rem;
  color: #F1F5F9 !important;
  font-weight: 600;
}

/* Control Buttons */
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-glass);
  color: #FFFFFF !important;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  position: relative;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-gold);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.control-btn.active {
  color: var(--accent-gold-light) !important;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.control-btn.muted {
  color: #E2E8F0 !important;
  border-color: rgba(255, 255, 255, 0.15);
}

/* Header Primary CTA Button */
.btn-primary-glow {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF !important; /* Pure white text */
  border: none;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
  transition: var(--transition-normal);
}

.btn-primary-glow * {
  color: #FFFFFF !important;
}

.btn-primary-glow:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.7);
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
}

/* ==========================================================================
   100VH MAIN VIEWPORT & STAGE
   ========================================================================== */

.viewport-main {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#svg-connectors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
}

.connector-line {
  fill: none;
  stroke: rgba(245, 158, 11, 0.3);
  stroke-width: 2.5;
  stroke-dasharray: 6 6;
  animation: dashPulse 20s linear infinite;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.connector-line.active {
  stroke: url(#connectorGlowGrad);
  stroke-width: 4;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.9));
}

@keyframes dashPulse {
  to { stroke-dashoffset: -100; }
}

.orbital-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 100%;
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   CENTER MASCOT WIDGET
   ========================================================================== */

.mascot-wrapper {
  position: absolute;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  will-change: transform;
}

/* Speech Bubble */
.mascot-bubble {
  position: absolute;
  top: -65px;
  background: #0D1322;
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF !important;
  box-shadow: var(--shadow-glass), 0 0 25px rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  pointer-events: none;
  z-index: 30;
  animation: bubbleFloat 3s ease-in-out infinite alternate;
  transition: var(--transition-normal);
}

.mascot-bubble * {
  color: #FFFFFF !important;
}

.mascot-bubble strong {
  color: var(--accent-gold-light) !important;
}

.bubble-arrow {
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid var(--accent-gold);
}

@keyframes bubbleFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.birch-mascot-svg {
  width: 290px;
  height: 310px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
}

#mascot-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mascot-click-hint {
  margin-top: -10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFFFFF !important;
  background: rgba(245, 158, 11, 0.25);
  border: 1.5px dashed var(--accent-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  animation: pulseHint 2s ease-in-out infinite;
}

.mascot-click-hint * {
  color: #FFFFFF !important;
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ==========================================================================
   6 SURROUND RADIAL NAVIGATION NODES
   ========================================================================== */

.nav-node {
  position: absolute;
  z-index: 25;
  background: #0D1322;
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 12px 20px 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #FFFFFF !important;
  cursor: pointer;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-normal);
  width: 210px;
}

.nav-node * {
  color: #FFFFFF !important;
}

.node-icon-bg {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #FFFFFF !important;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.node-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.node-label {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF !important;
  line-height: 1.2;
}

.node-sub {
  font-size: 0.78rem;
  color: #F1F5F9 !important;
  font-weight: 600;
}

.node-pulse-ring {
  display: none;
}

/* Radial Positions around Mascot Center */
.node-1 { top: 4%; left: 8%; }
.node-2 { top: 4%; right: 8%; }
.node-3 { top: 42%; right: 2%; }
.node-4 { bottom: 6%; right: 8%; }
.node-5 { bottom: 6%; left: 8%; }
.node-6 { top: 42%; left: 2%; }

/* Hover States for Navigation Nodes (Clean Single Border Glow) */
.nav-node:hover {
  transform: scale(1.07) translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.4);
  z-index: 30;
}

.nav-node:hover .node-icon-bg {
  background: var(--accent-gold);
  color: #FFFFFF !important;
  transform: rotate(8deg);
}

.node-1:hover { border-color: var(--accent-emerald-light); box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(52, 211, 153, 0.4); }
.node-1:hover .node-icon-bg { background: var(--accent-emerald); }

.node-2:hover { border-color: var(--accent-gold); box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.4); }

.node-3:hover { border-color: var(--accent-pink); box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(236, 72, 153, 0.4); }
.node-3:hover .node-icon-bg { background: var(--accent-pink); }

.node-4:hover { border-color: var(--accent-cyan); box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(6, 182, 212, 0.4); }
.node-4:hover .node-icon-bg { background: var(--accent-cyan); }

.node-5:hover { border-color: var(--accent-gold-light); box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(252, 211, 77, 0.4); }

.node-6:hover { border-color: var(--accent-indigo); box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(99, 102, 241, 0.4); }
.node-6:hover .node-icon-bg { background: var(--accent-indigo); }

/* Viewport Footer */
.viewport-footer {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0D1322;
  border: 1.5px solid var(--border-glass);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF !important;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glass);
}

.footer-badge * {
  color: #FFFFFF !important;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-emerald);
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.5; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ==========================================================================
   MODAL OVERLAY SYSTEM (100% ALL-WHITE READABLE TYPOGRAPHY)
   ========================================================================== */

dialog.agency-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 940px;
  max-height: 88vh;
  background: transparent;
  border: none;
  padding: 0;
  outline: none;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: visible;
}

dialog.agency-modal[open] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

dialog.agency-modal::backdrop {
  background: rgba(4, 6, 12, 0.9);
  backdrop-filter: blur(20px);
  animation: fadeIn 0.3s ease;
}

.modal-wrapper {
  background: #0B1120; /* Solid dark background */
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.98), 0 0 50px rgba(245, 158, 11, 0.25);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow: hidden;
  position: relative;
  color: #FFFFFF !important;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: #EF4444;
  color: #FFFFFF !important;
  border-color: #EF4444;
  transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
  padding: 2.2rem 2.5rem 1.2rem;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFFFF !important;
  background: rgba(245, 158, 11, 0.25);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.modal-badge * {
  color: #FFFFFF !important;
}

.modal-header h2 {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.modal-subtitle {
  color: #F1F5F9 !important;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.5;
}

/* Modal Body */
.modal-body {
  padding: 2rem 2.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  background: #0B1120;
}

.modal-footer {
  padding: 1.2rem 2.5rem;
  border-top: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #070A12;
}

/* ==========================================================================
   MODAL 1: ABOUT US CONTENT
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 20px;
}

.about-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.6rem;
}

.about-card.hero-card h3 {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-card.hero-card p {
  color: #FFFFFF !important;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.stat-row {
  display: flex;
  gap: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  padding-top: 1rem;
}

.mini-stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-primary);
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF !important;
}

.stat-lbl {
  font-size: 0.8rem;
  font-weight: 700;
  color: #F1F5F9 !important;
}

.mascot-spotlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.2) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1.5px solid var(--accent-gold);
}

.spotlight-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #FFFFFF !important;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

.mascot-spotlight h4 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 6px;
}

.mascot-spotlight p {
  font-size: 0.9rem;
  color: #FFFFFF !important;
  line-height: 1.55;
  margin-bottom: 14px;
}

.btn-secondary-sm {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-secondary-sm:hover {
  background: var(--accent-gold);
  color: #FFFFFF !important;
  border-color: var(--accent-gold);
}

/* Pillars Section */
.pillars-section h3, .team-section h3 {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 1rem;
}

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

.pillar-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1rem;
  transition: var(--transition-fast);
}

.pillar-box:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 1.5rem;
  color: #FFFFFF !important;
  margin-bottom: 8px;
}

.pillar-box h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 4px;
}

.pillar-box p {
  font-size: 0.84rem;
  color: #F1F5F9 !important;
  line-height: 1.5;
}

.team-cards-row {
  display: flex;
  gap: 16px;
}

.team-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  padding: 8px 18px;
  border-radius: var(--radius-full);
}

.chip-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-indigo);
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-2 { background: var(--accent-emerald); }
.avatar-3 { background: var(--accent-pink); }

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

.chip-info strong {
  font-size: 0.9rem;
  color: #FFFFFF !important;
}

.chip-info span {
  font-size: 0.75rem;
  color: #F1F5F9 !important;
}

/* ==========================================================================
   MODAL 2: SERVICES & ESTIMATOR
   ========================================================================== */

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

.service-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: var(--transition-fast);
}

.service-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.icon-emerald { background: rgba(16, 185, 129, 0.3); color: #FFFFFF !important; }
.icon-amber { background: rgba(245, 158, 11, 0.3); color: #FFFFFF !important; }
.icon-indigo { background: rgba(99, 102, 241, 0.3); color: #FFFFFF !important; }
.icon-cyan { background: rgba(6, 182, 212, 0.3); color: #FFFFFF !important; }

.service-card h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: #F1F5F9 !important;
  line-height: 1.6;
  margin-bottom: 12px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.86rem;
  color: #FFFFFF !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list i {
  color: var(--accent-emerald-light) !important;
  font-size: 0.85rem;
}

/* Estimator */
.estimator-widget {
  background: linear-gradient(135deg, #0D1322 0%, #070A12 100%);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
}

.estimator-header h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 4px;
}

.estimator-header p {
  font-size: 0.9rem;
  color: #F1F5F9 !important;
  margin-bottom: 1.2rem;
}

.estimator-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.4rem;
}

.est-option input {
  display: none;
}

.option-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.option-box i {
  font-size: 1.35rem;
  color: #FFFFFF !important;
}

.option-box span {
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF !important;
}

.option-box small {
  font-size: 0.75rem;
  font-weight: 800;
  color: #FFFFFF !important;
}

.est-option input:checked + .option-box {
  background: rgba(245, 158, 11, 0.35);
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.est-option input:checked + .option-box * {
  color: #FFFFFF !important;
}

.estimator-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
}

.est-stat {
  display: flex;
  flex-direction: column;
}

.est-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #F1F5F9 !important;
}

.est-value {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF !important;
}

.est-divider {
  width: 1.5px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
}

.btn-primary-sm {
  background: var(--accent-gold);
  color: #FFFFFF !important;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary-sm:hover {
  background: var(--accent-gold-light);
  transform: scale(1.05);
}

/* ==========================================================================
   MODAL 3: PORTFOLIO / OUR WORK
   ========================================================================== */

.work-filter-bar {
  display: flex;
  gap: 10px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--accent-gold);
  color: #FFFFFF !important;
  border-color: var(--accent-gold);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.project-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.project-thumb {
  height: 150px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px;
}

.thumb-1 { background: linear-gradient(135deg, #2E1065 0%, #4C1D95 100%); }
.thumb-2 { background: linear-gradient(135deg, #064E3B 0%, #047857 100%); }
.thumb-3 { background: linear-gradient(135deg, #78350F 0%, #B45309 100%); }
.thumb-4 { background: linear-gradient(135deg, #831843 0%, #BE185D 100%); }

.project-tag {
  background: rgba(7, 10, 18, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  color: #FFFFFF !important;
  backdrop-filter: blur(8px);
}

.project-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-hover-overlay {
  opacity: 1;
}

.btn-view-case {
  background: var(--accent-gold);
  color: #FFFFFF !important;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
}

.project-meta {
  padding: 1.3rem;
}

.project-meta h4 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 6px;
}

.project-meta p {
  font-size: 0.88rem;
  color: #F1F5F9 !important;
  line-height: 1.5;
  margin-bottom: 12px;
}

.project-stats {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFFFF !important;
}

/* ==========================================================================
   MODAL 4: SECRET SAUCE WORKFLOW
   ========================================================================== */

.workflow-stepper {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
}

.step-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-fast);
}

.step-num {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF !important;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF !important;
}

.step-btn.active, .step-btn:hover {
  background: rgba(245, 158, 11, 0.3);
  border-color: var(--accent-gold);
}

.step-content-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.step-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: fadeIn 0.3s ease;
}

.step-panel.active {
  display: flex;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #FFFFFF !important;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-panel h3 {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF !important;
}

.step-panel p {
  color: #FFFFFF !important;
  font-size: 0.98rem;
  line-height: 1.65;
}

.step-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.d-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF !important;
}

.d-chip * {
  color: #FFFFFF !important;
}

/* ==========================================================================
   MODAL 5: TESTIMONIALS & REVIEWS
   ========================================================================== */

.testimonial-carousel {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.testimonial-track {
  position: relative;
  min-height: 160px;
}

.testimonial-card {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: fadeIn 0.4s ease;
}

.testimonial-card.active {
  display: flex;
}

.stars-row {
  color: var(--accent-gold-light) !important;
  font-size: 1.1rem;
  display: flex;
  gap: 4px;
}

.quote-text {
  font-size: 1.12rem;
  font-style: italic;
  color: #FFFFFF !important;
  line-height: 1.65;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-emerald);
  color: #FFFFFF !important;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-b { background: var(--accent-gold); }
.avatar-c { background: var(--accent-indigo); }

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

.author-info strong {
  font-size: 1rem;
  color: #FFFFFF !important;
}

.author-info span {
  font-size: 0.82rem;
  color: #F1F5F9 !important;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  border-top: 1.5px solid rgba(255, 255, 255, 0.18);
  padding-top: 1rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF !important;
  cursor: pointer;
}

.carousel-btn:hover {
  background: var(--accent-gold);
  color: #FFFFFF !important;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dots .dot.active {
  background: var(--accent-gold);
  width: 26px;
  border-radius: var(--radius-full);
}

.logo-wall h4 {
  font-size: 0.88rem;
  color: #F1F5F9 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-align: center;
}

.logos-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.logo-item {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.2rem;
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   MODAL 6: CONTACT FORM
   ========================================================================== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF !important;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap i {
  position: absolute;
  left: 14px;
  color: #FFFFFF !important;
  font-size: 1rem;
}

.input-icon-wrap input, textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: 14px 14px 14px 44px;
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  outline: none;
  transition: var(--transition-fast);
}

textarea {
  padding-left: 16px;
}

.input-icon-wrap input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.input-icon-wrap input:focus, textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  background: rgba(255, 255, 255, 0.2);
}

.pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-item input {
  display: none;
}

.pill-item span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF !important;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pill-item input:checked + span {
  background: var(--accent-gold);
  color: #FFFFFF !important;
  border-color: var(--accent-gold);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 14px;
  margin-top: 8px;
}

.form-success-box {
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.form-success-box * {
  color: #FFFFFF !important;
}

.success-icon {
  font-size: 3.8rem;
  color: var(--accent-emerald-light) !important;
  animation: bounceSuccess 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceSuccess {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
  pointer-events: none;
}

.toast {
  background: #0D1322;
  border: 1.5px solid var(--accent-gold);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-glass), 0 0 20px rgba(245, 158, 11, 0.4);
  animation: slideToast 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast * {
  color: #FFFFFF !important;
}

@keyframes slideToast {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 992px) {
  .orbital-stage {
    max-width: 700px;
    max-height: 550px;
  }

  .nav-node {
    width: 170px;
    padding: 8px 12px;
    gap: 8px;
  }

  .node-icon-bg {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .node-label {
    font-size: 0.88rem;
  }

  .node-sub {
    display: none;
  }

  .birch-mascot-svg {
    width: 220px;
    height: 240px;
  }

  .about-grid, .services-grid, .portfolio-grid, .workflow-stepper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .app-header {
    padding: 0 1rem;
  }

  .brand-tagline {
    display: none;
  }

  .orbital-stage {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .mascot-wrapper {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 20px;
  }

  .nav-node {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 90%;
    margin: 4px auto;
  }

  #svg-connectors {
    display: none;
  }
}
