/* YRN Mining - Professional Dark Theme Design */

/* === CSS VARIABLES === */
:root {
  /* YRN Mining Brand Colors */
  --primary-orange: #FF9500;
  --primary-teal: #1e9a9a;
  --gold: #FFB84D;
  --dark-blue: #0A1628;
  --navy-blue: #1E293B;
  --charcoal: #334155;
  --light-gray: #94A3B8;
  --white: #FFFFFF;
  --accent-orange: #FF6B35;
  --success-green: #10B981;
  --warning-yellow: #F59E0B;
  --error-red: #EF4444;
  
  /* YRN Mining Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-orange) 0%, var(--gold) 50%, var(--primary-teal) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy-blue) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(255, 149, 0, 0.1) 0%, rgba(64, 224, 208, 0.1) 100%);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(255, 149, 0, 0.3);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Viewport Scaling (Desktop Only) */
  --viewport-width: 100vw;
  --base-viewport: 1920px; /* Will be set dynamically via JavaScript */
  --scale-factor: 1;
  --min-scale: 0.5;
}

/* === VIEWPORT SCALING SYSTEM (DESKTOP ONLY) === */
/* This system scales the entire page layout proportionally on desktop
   while keeping text sizes readable with slower scaling and minimums */

@media (min-width: 1025px) {
  /* Capture initial viewport width and calculate scale factor via JS */
  body {
    transform-origin: top center;
    /* Scale factor will be applied via JS inline style */
  }
  
  /* Text scaling with slower rate and minimums using clamp() */
  /* Base body text: 16px base, scales 50% slower, 12px minimum */
  body {
    font-size: clamp(12px, calc(1rem * var(--text-scale, 1)), 20px);
  }
  
  /* Headings scale slower with higher minimums */
  h1 {
    font-size: clamp(24px, calc(3rem * var(--text-scale, 1)), 5rem);
  }
  
  h2 {
    font-size: clamp(20px, calc(2.5rem * var(--text-scale, 1)), 4rem);
  }
  
  h3 {
    font-size: clamp(18px, calc(2rem * var(--text-scale, 1)), 3rem);
  }
  
  h4 {
    font-size: clamp(16px, calc(1.5rem * var(--text-scale, 1)), 2rem);
  }
  
  h5, h6 {
    font-size: clamp(14px, calc(1.25rem * var(--text-scale, 1)), 1.75rem);
  }
  
  /* Small text elements */
  small, .small-text {
    font-size: clamp(10px, calc(0.875rem * var(--text-scale, 1)), 1rem);
  }
  
  /* Button text */
  button, .btn {
    font-size: clamp(12px, calc(1rem * var(--text-scale, 1)), 1.25rem);
  }
  
  /* Navigation links */
  .nav-link {
    font-size: clamp(12px, calc(0.875rem * var(--text-scale, 1)), 1.125rem) !important;
  }
  
  /* Hero title specific override */
  .hero-title {
    font-size: clamp(28px, calc(3.5rem * var(--text-scale, 1)), 5.5rem) !important;
  }
  
  /* Stat numbers */
  .stat-number {
    font-size: clamp(32px, calc(4rem * var(--text-scale, 1)), 6rem) !important;
  }
  
  .stat-label {
    font-size: clamp(12px, calc(0.875rem * var(--text-scale, 1)), 1.125rem) !important;
  }
  
  /* Section titles */
  .section-title {
    font-size: clamp(24px, calc(2.5rem * var(--text-scale, 1)), 4rem) !important;
  }
  
  .section-subtitle {
    font-size: clamp(14px, calc(1.125rem * var(--text-scale, 1)), 1.5rem) !important;
  }
  
  /* Card text */
  .card-title {
    font-size: clamp(16px, calc(1.5rem * var(--text-scale, 1)), 2rem) !important;
  }
  
  .card-description {
    font-size: clamp(12px, calc(1rem * var(--text-scale, 1)), 1.25rem) !important;
  }
  
  /* Timeline milestone text */
  .milestone-year {
    font-size: clamp(12px, calc(0.875rem * var(--text-scale, 1)), 1.125rem) !important;
  }
  
  .milestone-title {
    font-size: clamp(11px, calc(0.75rem * var(--text-scale, 1)), 1rem) !important;
  }
  
  .milestone-content h3 {
    font-size: clamp(16px, calc(1.125rem * var(--text-scale, 1)), 1.5rem) !important;
  }
  
  .milestone-content p {
    font-size: clamp(12px, calc(0.875rem * var(--text-scale, 1)), 1.125rem) !important;
  }
  
  /* Team member text */
  .member-name-modern {
    font-size: clamp(16px, calc(1.25rem * var(--text-scale, 1)), 1.75rem) !important;
  }
  
  .member-title-modern {
    font-size: clamp(12px, calc(0.875rem * var(--text-scale, 1)), 1.125rem) !important;
  }
  
  .member-credentials-modern {
    font-size: clamp(11px, calc(0.75rem * var(--text-scale, 1)), 1rem) !important;
  }
  
  /* Metric values */
  .metric-value {
    font-size: clamp(28px, calc(3rem * var(--text-scale, 1)), 4.5rem) !important;
  }
  
  .metric-label {
    font-size: clamp(12px, calc(0.875rem * var(--text-scale, 1)), 1.125rem) !important;
  }
  
  /* Footer text */
  .footer {
    font-size: clamp(12px, calc(0.875rem * var(--text-scale, 1)), 1.125rem);
  }
  
  /* Input and form text */
  input, textarea, select {
    font-size: clamp(12px, calc(1rem * var(--text-scale, 1)), 1.25rem) !important;
  }
}

/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* Header height + 10px buffer */
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background-color: var(--dark-blue);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Navigation anchor offset for revenue pillar sections */
#self-mining-operations,
#colocation-services,
#mining-rig-resale,
#energy-curtailment {
  scroll-margin-top: 120px; /* Account for navbar + extra spacing */
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* === UTILITY CLASSES === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--primary-orange);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 149, 0, 0.1);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.38rem var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.5rem;
  font-weight: 700;
}

.brand-logo {
  height: 85px;
  width: auto;
  max-width: 350px;
  transition: var(--transition-fast);
  /* Maintain original aspect ratio and prevent distortion */
  object-fit: contain;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.company-branding {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0px;
}

.company-name {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-primary);
  line-height: 1.0;
  margin: 0;
  letter-spacing: 0.5px;
}

.company-tagline {
  font-size: 15px;
  font-weight: 400;
  color: var(--primary-orange);
  font-family: var(--font-primary);
  line-height: 1.0;
  margin: 0;
  margin-top: -2px;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

.brand-icon {
  color: var(--primary-orange);
  font-size: 1.75rem;
  animation: pulse 2s ease-in-out infinite;
}

.brand-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  position: relative;
  padding: var(--space-sm) 0;
  font-weight: 500;
  color: var(--light-gray);
  transition: var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

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

.cta-button {
  background: #1e9a9a;
  color: var(--white) !important;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition-fast);
}

.cta-button::after {
  display: none;
}

.cta-button:hover {
  background: #1a8787;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(30, 154, 154, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: var(--transition-fast);
}

/* === RESPONSIVE NAVIGATION === */

/* Mobile header adjustments */
@media (max-width: 768px) {
  .nav-container {
    padding: 0.5rem var(--space-md);
    min-height: 70px;
  }
  
  .brand-logo {
    height: 80px;
    max-width: 300px;
  }
  
  .company-name {
    font-size: 28px;
    line-height: 1.0;
  }
  
  .company-tagline {
    font-size: 14px;
    line-height: 1.0;
    margin-top: -1px;
  }
  
  .nav-brand {
    gap: 12px;
  }
  
  .hero {
    padding-top: 80px;
  }
}

/* Desktop header - ultra compact height to match reference design */
@media (min-width: 769px) {
  html {
    scroll-padding-top: 60px; /* Compact desktop header height + buffer */
  }
  
  .nav-container {
    padding: 0.1rem var(--space-lg);
    min-height: auto;
  }
  
  .brand-logo {
    height: 72px !important;
    max-width: 350px;
  }
  
  .company-name {
    font-size: 32.5px !important;
    line-height: 1.0;
    font-weight: 700;
  }
  
  .company-tagline {
    font-size: 15.2px !important;
    line-height: 1.0;
    margin-top: -6px;
    font-weight: 400;
  }
  
  .nav-brand {
    gap: 16px;
  }
  
  .company-branding {
    gap: 0px;
  }
  
  .hero {
    padding-top: 50px;
  }
  
  /* Increase Innovation Journey section height to prevent content spillover */
  .innovation-timeline-interactive {
    padding: var(--space-2xl) 0 160px 0 !important;
    min-height: 650px !important;
  }
  
  /* Standardize desktop timeline bubble dimensions */
  .milestone-content {
    width: 300px !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  
  /* Center desktop bubble text content */
  .milestone-content h3 {
    text-align: center !important;
    margin-bottom: var(--space-sm) !important;
    flex-shrink: 0;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    font-size: 0.95rem !important;
    padding: 0 var(--space-xs) !important;
    overflow: visible !important;
  }
  
  .milestone-content p {
    text-align: center !important;
    margin: 0 !important;
    flex-grow: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .nav-container {
    padding: 0.4rem var(--space-sm);
    min-height: 65px;
  }
  
  .brand-logo {
    height: 70px;
    max-width: 250px;
  }
  
  .company-name {
    font-size: 24px;
    line-height: 1.0;
  }
  
  .company-tagline {
    font-size: 13px;
    line-height: 1.0;
    margin-top: -1px;
  }
  
  .nav-brand {
    gap: 10px;
  }
  
  .hero {
    padding-top: 75px;
  }
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 60px; /* Compact layout: header height + reduced buffer for tighter spacing */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-dark);
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 149, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 149, 0, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
}

/* Global grid overlay for all sections */
.global-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 149, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 149, 0, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Ensure all sections have relative positioning for overlay */
.business-verticals,
.technology-stack, 
.innovation-timeline-interactive,
.management-team,
.metrics-dashboard,
.contact-section {
  position: relative;
}

/* Ensure content appears above grid overlay */
.business-verticals .container,
.technology-stack .container,
.innovation-timeline-interactive .container,
.management-team .container,
.metrics-dashboard .container,
.contact-section .container {
  position: relative;
  z-index: 2;
}

.energy-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(2px 2px at 20px 30px, var(--primary-orange), transparent),
             radial-gradient(2px 2px at 40px 70px, rgba(255, 149, 0, 0.8), transparent),
             radial-gradient(1px 1px at 90px 40px, rgba(64, 224, 208, 0.6), transparent),
             radial-gradient(1px 1px at 130px 80px, var(--primary-teal), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: particles-float 15s ease-in-out infinite;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile layout - original single column */
@media (max-width: 768px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
  }
  
  .hero-main-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-visual {
    order: 2;
  }
}

/* Desktop layout - buttons under tile grid (769px+) */
@media (min-width: 769px) {
  .hero-container {
    display: flex;
    flex-direction: column;
  }
  
  .hero-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
  }
}

.hero-content {
  animation: slide-in-left 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md); /* Reduced from --space-lg for tighter spacing */
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--light-gray);
  margin-bottom: var(--space-xl); /* Reduced from --space-2xl for tighter spacing */
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-orange);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--light-gray);
  margin-top: var(--space-xs);
}

.hero-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
}

/* Mobile layout - show bottom buttons, hide desktop buttons */
@media (max-width: 768px) {
  .hero-actions.desktop-actions {
    display: none;
  }
  
  .hero-actions.mobile-actions {
    display: flex;
    margin-top: var(--space-2xl);
  }
}

/* Desktop layout - show desktop buttons under tile grid, hide mobile buttons */
@media (min-width: 769px) {
  .hero-actions.mobile-actions {
    display: none;
  }
  
  .hero-actions.desktop-actions {
    display: flex;
    margin-top: var(--space-xl);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-orange);
  border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
  background: var(--primary-orange);
  color: var(--white);
}

.hero-visual {
  animation: slide-in-right 1s ease-out;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 400px;
  margin: 0 auto;
}

/* Desktop-only modifications for tech-grid */
@media (min-width: 769px) {
  .tech-grid {
    gap: var(--space-xl);
    max-width: 600px;
    width: 100%;
  }
  
  .tech-node {
    min-width: 0; /* Ensures equal widths in grid */
    width: 100%;
  }
}

.tech-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 149, 0, 0.2);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.tech-node:hover,
.tech-node.active {
  background: rgba(255, 149, 0, 0.1);
  border-color: var(--primary-orange);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.tech-node:active {
  transform: translateY(-2px) scale(0.98);
  transition: transform 0.1s ease;
}

.tech-node i {
  font-size: 2rem;
  color: var(--primary-orange);
}

.tech-node span {
  font-weight: 600;
  font-size: 0.875rem;
}

/* === REVENUE STREAM TOOLTIPS === */
.tooltip {
  position: relative;
}

.revenue-tooltip {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--navy-blue) 0%, #2a3f5f 100%);
  color: white;
  border: 2px solid var(--primary-orange);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 149, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  min-width: 320px;
  max-width: 400px;
}

.tooltip:hover .revenue-tooltip,
.tooltip:focus .revenue-tooltip,
.tooltip.show .revenue-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tooltip-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(255, 149, 0, 0.3);
  padding-bottom: var(--space-xs);
}

.tooltip-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.tooltip-arrow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--primary-orange);
}

.tooltip-arrow::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--navy-blue);
}

/* Responsive tooltip positioning */
@media (max-width: 768px) {
  .revenue-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 280px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .tooltip:hover .revenue-tooltip,
  .tooltip:focus .revenue-tooltip,
  .tooltip.show .revenue-tooltip {
    transform: translate(-50%, -50%);
  }
  
  .tooltip-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .revenue-tooltip {
    min-width: 260px;
    padding: var(--space-md);
  }
  
  .tooltip-title {
    font-size: 1rem;
  }
  
  .tooltip-description {
    font-size: 0.85rem;
  }
}

/* === SECTION HIGHLIGHT ANIMATION === */
.section-highlight {
  animation: section-highlight 2s ease-out;
}

@keyframes section-highlight {
  0% {
    background: rgba(255, 149, 0, 0.1);
    transform: scale(1.02);
  }
  50% {
    background: rgba(255, 149, 0, 0.05);
    transform: scale(1.01);
  }
  100% {
    background: transparent;
    transform: scale(1);
  }
}

/* === COMPANY SECTION HIGHLIGHT ANIMATION (Teal Theme) === */

/* Mobile/Tablet - Subtle Effects (up to 768px) */
@media (max-width: 768px) {
  .company-highlight {
    animation: company-highlight-mobile 2s ease-out;
  }

  @keyframes company-highlight-mobile {
    0% {
      background: rgba(0, 206, 209, 0.15);
      transform: scale(1.02);
      box-shadow: 0 0 30px rgba(0, 206, 209, 0.3);
    }
    50% {
      background: rgba(0, 206, 209, 0.08);
      transform: scale(1.01);
      box-shadow: 0 0 20px rgba(0, 206, 209, 0.2);
    }
    100% {
      background: transparent;
      transform: scale(1);
      box-shadow: none;
    }
  }
}

/* Desktop - Subtle Effects (769px and above) */
@media (min-width: 769px) {
  .company-highlight {
    animation: company-highlight-desktop 2s ease-out;
  }

  @keyframes company-highlight-desktop {
    0% {
      background: rgba(0, 206, 209, 0.15);
      transform: scale(1.02);
      box-shadow: 0 0 30px rgba(0, 206, 209, 0.3);
    }
    50% {
      background: rgba(0, 206, 209, 0.08);
      transform: scale(1.01);
      box-shadow: 0 0 20px rgba(0, 206, 209, 0.2);
    }
    100% {
      background: transparent;
      transform: scale(1);
      box-shadow: none;
    }
  }
}

/* === RESOURCES SECTION HIGHLIGHT ANIMATION (Gold Theme) === */

/* Mobile/Tablet - Subtle Effects (up to 768px) */
@media (max-width: 768px) {
  .resources-highlight {
    animation: resources-highlight-mobile 2s ease-out;
  }

  @keyframes resources-highlight-mobile {
    0% {
      background: rgba(255, 193, 7, 0.15);
      transform: scale(1.02);
      box-shadow: 0 0 30px rgba(255, 193, 7, 0.3);
    }
    50% {
      background: rgba(255, 193, 7, 0.08);
      transform: scale(1.01);
      box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
    }
    100% {
      background: transparent;
      transform: scale(1);
      box-shadow: none;
    }
  }
}

/* Desktop - Subtle Effects (769px and above) */
@media (min-width: 769px) {
  .resources-highlight {
    animation: resources-highlight-desktop 2s ease-out;
  }

  @keyframes resources-highlight-desktop {
    0% {
      background: rgba(255, 193, 7, 0.15);
      transform: scale(1.02);
      box-shadow: 0 0 30px rgba(255, 193, 7, 0.3);
    }
    50% {
      background: rgba(255, 193, 7, 0.08);
      transform: scale(1.01);
      box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
    }
    100% {
      background: transparent;
      transform: scale(1);
      box-shadow: none;
    }
  }
}

/* === TECHNOLOGY STACK === */
.technology-stack {
  padding: var(--space-3xl) 0;
  background: var(--navy-blue);
}

.tech-layers {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.tech-layer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 149, 0, 0.1);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
}

.tech-layer:hover {
  border-color: var(--primary-orange);
  background: rgba(255, 149, 0, 0.05);
  transform: translateX(10px);
}

.layer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  font-size: 2rem;
  color: var(--white);
}

.layer-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--primary-orange);
}

.layer-description {
  color: var(--light-gray);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.layer-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.layer-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--light-gray);
}

.layer-features i {
  color: var(--success-green);
}

/* === BUSINESS VERTICALS === */
.business-verticals {
  padding: var(--space-3xl) 0;
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
}

.vertical-card {
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 149, 0, 0.1);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.vertical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

.vertical-card:hover::before {
  left: 0;
}

.vertical-card:hover {
  background: rgba(255, 149, 0, 0.05);
  border-color: var(--primary-orange);
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.card-description {
  color: var(--light-gray);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.feature-tag {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 149, 0, 0.1);
  color: var(--primary-orange);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.card-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--primary-orange);
  font-weight: 600;
  background: none;
  transition: var(--transition-fast);
}

.card-cta:hover {
  gap: var(--space-md);
}

/* === INTERACTIVE INNOVATION TIMELINE === */
.innovation-timeline-interactive {
  padding: var(--space-2xl) 0 80px 0;
  background: var(--navy-blue);
  min-height: auto;
  position: relative;
  overflow: visible;
}

.innovation-timeline-interactive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.03) 0%, rgba(64, 224, 208, 0.03) 100%);
  pointer-events: none;
}

.timeline-interactive-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg) 0 60px 0;
  overflow: visible;
}

.timeline-progress-bar {
  position: relative;
  height: 4px;
  background: rgba(255, 149, 0, 0.2);
  border-radius: 2px;
  margin-bottom: var(--space-xl);
  overflow: hidden;
}

.timeline-progress-fill {
  height: 100%;
  width: 14.28%; /* 1/7 for first milestone */
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-slow) ease;
  box-shadow: 0 0 10px rgba(255, 149, 0, 0.4);
}

.timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  position: relative;
}

.timeline-milestone {
  position: relative;
  cursor: pointer;
  transition: all var(--transition-normal) ease;
  opacity: 0.7;
}

.timeline-milestone.active {
  opacity: 1;
  transform: scale(1.02);
}

.timeline-milestone:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.02);
}

.milestone-marker {
  text-align: center;
  position: relative;
}

.milestone-dot {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--dark-blue), var(--navy-blue));
  border: 3px solid var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  transition: all var(--transition-normal) ease;
  position: relative;
  overflow: hidden;
}

.milestone-dot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal) ease;
}

.timeline-milestone.active .milestone-dot::before,
.timeline-milestone:hover .milestone-dot::before {
  opacity: 0.1;
}

.timeline-milestone.active .milestone-dot,
.timeline-milestone:hover .milestone-dot {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(255, 149, 0, 0.4);
  transform: scale(1.1);
}

.milestone-dot i {
  font-size: 1.5rem;
  color: var(--primary-orange);
  z-index: 1;
  position: relative;
  transition: all var(--transition-normal) ease;
}

.timeline-milestone.active .milestone-dot i,
.timeline-milestone:hover .milestone-dot i {
  color: var(--white);
  text-shadow: 0 0 10px rgba(255, 149, 0, 0.5);
}

.future-dot {
  border-color: var(--charcoal) !important;
  animation: pulse-future 2s ease-in-out infinite;
}

.future-dot i {
  color: var(--charcoal);
}

.timeline-milestone.future-milestone.active .future-dot,
.timeline-milestone.future-milestone:hover .future-dot {
  border-color: var(--primary-teal) !important;
  box-shadow: 0 0 20px rgba(64, 224, 208, 0.4);
}

.timeline-milestone.future-milestone.active .future-dot i,
.timeline-milestone.future-milestone:hover .future-dot i {
  color: var(--primary-teal);
}

@keyframes pulse-future {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(64, 224, 208, 0.4); 
  }
  50% { 
    box-shadow: 0 0 0 10px rgba(64, 224, 208, 0); 
  }
}

.milestone-year {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.milestone-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--light-gray);
  line-height: 1.3;
  transition: color var(--transition-normal) ease;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.timeline-milestone.active .milestone-title,
.timeline-milestone:hover .milestone-title {
  color: var(--white);
}

.milestone-content {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 20px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
  border: 1px solid var(--primary-orange);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  width: 300px;
  max-width: 90vw;
  min-height: 100px;
  max-height: none;
  box-shadow: var(--shadow-xl), 0 0 30px rgba(255, 149, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all var(--transition-normal) ease;
  z-index: 1000;
  backdrop-filter: blur(10px);
  overflow: visible;
}

.timeline-milestone.active .milestone-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.milestone-content::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--primary-orange);
}

.milestone-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.milestone-content p {
  color: var(--light-gray);
  line-height: 1.7;
  font-size: 0.875rem;
  text-align: center;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Specific fix for 2017 Blockware Solutions tooltip - strict font-size limit */
.timeline-milestone[data-year="2017"] .milestone-content p {
  font-size: 0.7rem !important;
  max-font-size: 0.7rem !important;
  line-height: 1.4 !important;
}

.timeline-milestone[data-year="2017"] .milestone-content h3 {
  font-size: 0.9rem !important;
  margin-bottom: 8px !important;
}

.timeline-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.timeline-nav-btn {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--dark-blue), var(--navy-blue));
  border: 2px solid var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal) ease;
  color: var(--primary-orange);
}

.timeline-nav-btn:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 149, 0, 0.3);
}

.timeline-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.timeline-indicators {
  display: flex;
  gap: var(--space-sm);
}

.timeline-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-orange);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-normal) ease;
}

.timeline-indicator.active {
  background: var(--primary-orange);
  box-shadow: 0 0 10px rgba(255, 149, 0, 0.4);
}

.timeline-indicator:hover {
  background: var(--primary-orange);
  transform: scale(1.2);
}

.timeline-indicator.future-indicator {
  border-color: var(--primary-teal);
}

.timeline-indicator.future-indicator.active {
  background: var(--primary-teal);
  box-shadow: 0 0 10px rgba(64, 224, 208, 0.4);
}

/* Responsive Design for Interactive Timeline */
@media (max-width: 1024px) {
  .innovation-timeline-interactive {
    padding: var(--space-2xl) 0 70px 0;
  }
  
  .timeline-horizontal {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
  }
  
  .milestone-content {
    width: 260px;
    padding: var(--space-sm);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    margin-top: 0;
  }
  
  .timeline-milestone.active .milestone-content {
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 768px) {
  .innovation-timeline-interactive {
    padding: var(--space-lg) 0 60px 0;
  }
  
  /* Vertical progress bar for mobile */
  .timeline-progress-bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 80%;
    background: rgba(255, 149, 0, 0.2);
    margin-bottom: 0;
    z-index: 1;
  }
  
  .timeline-progress-fill {
    width: 100%;
    height: 14.28%; /* 1/7 progress for mobile */
    background: var(--gradient-primary);
    transition: height var(--transition-slow) ease;
  }
  
  .timeline-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    position: relative;
  }
  
  .milestone-dot {
    width: 50px;
    height: 50px;
  }
  
  .milestone-dot i {
    font-size: 1.25rem;
  }
  
  .milestone-title {
    font-size: 0.7rem;
    min-height: 2rem;
  }
  
  /* Universal mobile bubble sizing - applies to ALL timeline bubbles */
  .milestone-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    min-height: 160px !important;
    height: auto !important;
    max-height: 180px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: var(--space-sm) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 1000 !important;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal) ease;
  }
  
  .milestone-content h3 {
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    margin-bottom: var(--space-xs) !important;
    flex-shrink: 0;
  }
  
  .milestone-content p {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    flex-grow: 1;
    overflow-y: auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  .timeline-nav-btn {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  /* Enhanced vertical progress bar for single column mobile */
  .timeline-progress-bar {
    position: absolute;
    left: 25px;
    top: 100px;
    transform: none;
    width: 4px;
    height: calc(100% - 150px);
    background: rgba(255, 149, 0, 0.2);
    margin-bottom: 0;
    z-index: 1;
  }
  
  /* Ensure uniform vertical alignment for all timeline milestones */
  .timeline-horizontal {
    align-items: stretch;
  }
  
  .timeline-progress-fill {
    width: 100%;
    height: 14.28%; /* 1/7 progress for active milestone */
    background: var(--gradient-primary);
    transition: height var(--transition-slow) ease;
  }
  
  .timeline-horizontal {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    position: relative;
    padding-left: 60px;
  }
  
  .timeline-milestone {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    text-align: left;
    position: relative;
    margin-bottom: 220px; /* Extra space to accommodate the bubble below */
    min-height: 45px;
    width: 100%;
    padding-left: 0;
  }
  
  /* Force milestone marker to be positioned consistently */
  .timeline-milestone .milestone-marker {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
  }
  
  /* Create a wrapper for year and title to ensure consistent vertical alignment */
  .timeline-milestone .milestone-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex-grow: 1;
    min-height: 45px; /* Match milestone height */
  }
  
  .milestone-marker {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
  }
  
  .milestone-marker .milestone-dot {
    flex-shrink: 0;
  }
  
  .milestone-marker .milestone-info {
    flex-grow: 1;
  }
  
  .milestone-dot {
    width: 45px;
    height: 45px;
    margin: 0;
  }
  
  .milestone-year,
  .milestone-title {
    text-align: left;
    margin: 0;
    padding: 0;
  }
  
  .milestone-year {
    margin-bottom: var(--space-xs);
  }
  
  .milestone-title {
    min-height: 2rem; /* Ensure consistent height for title area */
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    line-height: 1.2;
  }
  
  .milestone-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 300px !important;
    max-width: 300px !important;
    min-width: 300px !important;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    z-index: 1000 !important;
    z-index: 10;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    transition: all var(--transition-normal) ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Universal active state - applies to ALL active timeline bubbles */
  .timeline-milestone.active .milestone-content {
    opacity: 1 !important;
    visibility: visible !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    max-height: 180px !important;
    min-height: 160px !important;
    height: auto !important;
    padding: var(--space-sm) !important;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
    border: 1px solid var(--primary-orange);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  .timeline-milestone.active .milestone-content h3 {
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    color: var(--primary-orange) !important;
    text-align: center !important;
    margin-bottom: var(--space-xs) !important;
    flex-shrink: 0;
  }
  
  .timeline-milestone.active .milestone-content p {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    color: var(--light-gray) !important;
    text-align: center !important;
    margin: 0 !important;
    flex-grow: 1;
    overflow-y: auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
    padding: var(--space-md);
    background: rgba(255, 149, 0, 0.1);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 149, 0, 0.2);
    overflow: visible;
  }
  
  .milestone-content::before {
    display: none;
  }
  
  .milestone-content h3,
  .milestone-content p {
    text-align: left;
  }
  
  .milestone-content p {
    line-height: 1.6;
    font-size: 0.8rem;
  }
}

/* Additional fix for very small screens */
@media (max-width: 360px) {
  .milestone-content {
    width: 100% !important;
    max-width: calc(100vw - 2rem) !important;
    margin-left: var(--space-md);
    margin-right: var(--space-md);
  }
  
  .timeline-milestone.active .milestone-content {
    max-height: 180px !important; /* Maintain uniform height even on small screens */
    min-height: 180px !important;
    height: 180px !important;
    padding: var(--space-sm);
  }
  
  .milestone-content p {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}

/* Universal override to ensure uniform dimensions for ALL timeline milestones */
@media (max-width: 480px) {
  /* Apply uniform sizing to ALL timeline milestone bubbles */
  .timeline-milestone[data-year="2017"] .milestone-content,
  .timeline-milestone[data-year="2018"] .milestone-content,
  .timeline-milestone[data-year="2019"] .milestone-content,
  .timeline-milestone[data-year="2021"] .milestone-content,
  .timeline-milestone[data-year="2024"] .milestone-content,
  .timeline-milestone[data-year="2025"] .milestone-content,
  .timeline-milestone[data-year="Future"] .milestone-content {
    width: 360px !important;
    max-width: 360px !important;
    min-height: 180px !important;
    height: 180px !important;
    max-height: 180px !important;
  }
  
  /* Apply uniform active state sizing to ALL timeline milestone bubbles */
  .timeline-milestone[data-year="2017"].active .milestone-content,
  .timeline-milestone[data-year="2018"].active .milestone-content,
  .timeline-milestone[data-year="2019"].active .milestone-content,
  .timeline-milestone[data-year="2021"].active .milestone-content,
  .timeline-milestone[data-year="2024"].active .milestone-content,
  .timeline-milestone[data-year="2025"].active .milestone-content,
  .timeline-milestone[data-year="Future"].active .milestone-content {
    width: 360px !important;
    max-width: 360px !important;
    min-height: 180px !important;
    height: 180px !important;
    max-height: 180px !important;
    padding: var(--space-md) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  /* Ensure ALL timeline milestone text content follows uniform styling */
  .timeline-milestone[data-year="2017"].active .milestone-content h3,
  .timeline-milestone[data-year="2018"].active .milestone-content h3,
  .timeline-milestone[data-year="2019"].active .milestone-content h3,
  .timeline-milestone[data-year="2021"].active .milestone-content h3,
  .timeline-milestone[data-year="2024"].active .milestone-content h3,
  .timeline-milestone[data-year="2025"].active .milestone-content h3,
  .timeline-milestone[data-year="Future"].active .milestone-content h3 {
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    color: var(--primary-orange) !important;
    text-align: center !important;
    margin-bottom: var(--space-xs) !important;
    flex-shrink: 0;
    white-space: nowrap !important;
    overflow: visible !important;
  }
  
  .timeline-milestone[data-year="2017"].active .milestone-content p,
  .timeline-milestone[data-year="2018"].active .milestone-content p,
  .timeline-milestone[data-year="2019"].active .milestone-content p,
  .timeline-milestone[data-year="2021"].active .milestone-content p,
  .timeline-milestone[data-year="2024"].active .milestone-content p,
  .timeline-milestone[data-year="2025"].active .milestone-content p,
  .timeline-milestone[data-year="Future"].active .milestone-content p {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    color: var(--light-gray) !important;
    text-align: center !important;
    margin: 0 !important;
    flex-grow: 1;
    overflow-y: auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* === MANAGEMENT TEAM === */
.management-team {
  padding: var(--space-3xl) 0;
  background: var(--navy-blue);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.team-member {
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 149, 0, 0.1);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  text-align: center;
}

.team-member:hover {
  background: rgba(255, 149, 0, 0.05);
  border-color: var(--primary-orange);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.member-photo {
  margin-bottom: var(--space-lg);
}

.member-photo i {
  font-size: 4rem;
  color: var(--primary-orange);
}

.member-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.member-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-orange);
  margin-bottom: var(--space-md);
}

.member-credentials {
  color: var(--light-gray);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
}

.member-expertise {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.expertise-tag {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 149, 0, 0.1);
  color: var(--primary-orange);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

/* === KEY INDUSTRY RELATIONSHIPS WITH LOGOS === */
.industry-relationships {
  margin-top: var(--space-3xl);
  padding: var(--space-3xl) 0;
  background: var(--navy-blue);
  border-top: 1px solid rgba(255, 149, 0, 0.1);
  text-align: center;
  position: relative;
}

.industry-relationships::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.03) 0%, rgba(64, 224, 208, 0.03) 100%);
  pointer-events: none;
}

.relationships-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-3xl);
  color: var(--primary-orange);
  position: relative;
  z-index: 2;
}

.industry-categories {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.category-section {
  margin-bottom: var(--space-3xl);
}

.category-title {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-2xl);
  border-bottom: 2px solid var(--primary-orange);
  padding-bottom: var(--space-sm);
  display: inline-block;
  min-width: 250px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.company-grid.mining-companies {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
  gap: var(--space-lg);
  justify-items: center;
}

.company-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 149, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-normal);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 200px;
  cursor: pointer;
}

.company-item:hover {
  border-color: var(--primary-orange);
  background: rgba(255, 149, 0, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 149, 0, 0.15);
}

.company-logo {
  width: 70px;
  height: 70px;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-xs);
}

.logo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  position: relative;
}

/* Hardware Producer Logo Styles */
.bitmain-logo {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.microbt-logo {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.antminer-logo {
  background: linear-gradient(135deg, #34C759 0%, #30A14E 100%);
}

/* Mining Sector Logo Styles */
.riot-logo {
  background: linear-gradient(135deg, #FF3B30 0%, #D70015 100%);
}

.marathon-logo {
  background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
}

.bitfarms-logo {
  background: linear-gradient(135deg, #34C759 0%, #248A3D 100%);
}

.soluna-logo {
  background: linear-gradient(135deg, #FFB800 0%, #FF8F00 100%);
}

.hut8-logo {
  background: linear-gradient(135deg, #5856D6 0%, #3634A3 100%);
}

.company-name {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

.ticker {
  font-size: 0.8rem;
  color: var(--primary-orange);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.company-description {
  font-size: 0.8rem;
  color: var(--light-gray);
  line-height: 1.3;
  text-align: center;
}

/* Hover Effects for Logos */
.company-item:hover .logo-placeholder {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.company-item:hover .company-name {
  color: var(--primary-orange);
}

/* Tablet Responsive Design */
@media (max-width: 1024px) {
  .company-grid.mining-companies {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
  }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .company-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    max-width: 100%;
    padding: 0 var(--space-md);
  }
  
  .company-grid.mining-companies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    max-width: 100%;
  }
  
  .company-item {
    padding: var(--space-sm);
    min-height: 120px;
    width: calc(33.33% - var(--space-md));
    min-width: 150px;
    flex-shrink: 0;
  }
  
  .company-logo {
    width: 45px;
    height: 45px;
    margin-bottom: var(--space-sm);
  }
  
  .company-name {
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
  }
  
  .company-description {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  
  .ticker {
    font-size: 0.7rem;
    margin-bottom: var(--space-xs);
  }
  
  .logo-placeholder {
    font-size: 1.2rem;
  }
  
  .category-title {
    font-size: 1.3rem;
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .company-grid {
    justify-content: center;
    gap: var(--space-sm);
    padding: 0 var(--space-sm);
  }
  
  .company-grid.mining-companies {
    justify-content: center;
    gap: var(--space-sm);
  }
  
  .company-item {
    width: calc(50% - var(--space-sm));
    min-width: 120px;
  }
  
  .company-item {
    max-width: none;
    min-height: 110px;
    padding: var(--space-sm);
  }
  
  .company-logo {
    width: 40px;
    height: 40px;
  }
  
  .company-name {
    font-size: 0.85rem;
  }
  
  .company-description {
    font-size: 0.7rem;
  }
  
  .ticker {
    font-size: 0.65rem;
  }
  
  .relationships-title {
    font-size: 1.7rem;
  }
}

/* Extra small mobile screens - optimize for very compact layout */
@media (max-width: 360px) {
  .company-grid,
  .company-grid.mining-companies {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
    padding: 0 var(--space-xs);
    justify-items: center;
  }
  
  .company-item {
    padding: var(--space-xs);
    min-height: 100px;
  }
  
  .company-logo {
    width: 35px;
    height: 35px;
    margin-bottom: var(--space-xs);
  }
  
  .company-name {
    font-size: 0.8rem;
  }
  
  .company-description {
    font-size: 0.65rem;
    line-height: 1.2;
  }
  
  .ticker {
    font-size: 0.6rem;
  }
  
  .category-title {
    font-size: 1.2rem;
  }
}

/* Modern Team Section Styles */
.section-accent {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--teal-accent));
  border-radius: 2px;
  margin: var(--space-lg) auto 0;
}

.team-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

/* New Structured Team Layout - 3+2 Formation */
.team-grid-structured {
  margin-top: var(--space-3xl);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.team-row {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.team-row-top {
  /* Top row with 3 cards */
}

.team-row-bottom {
  /* Bottom row with 2 cards - centered */
  justify-content: center;
}

.team-row .team-member-card {
  flex: 0 1 auto;
  width: 360px;
  max-width: 360px;
  min-width: 320px;
}

.team-member-card {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
              0 0 0 1px rgba(255, 149, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(255, 149, 0, 0.1);
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 149, 0, 0.3),
              0 0 40px rgba(255, 149, 0, 0.1);
}

.team-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--teal-accent), var(--gold-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card:hover::before {
  opacity: 1;
}

.member-photo-modern {
  position: relative;
  width: 120px;
  height: 120px;
  margin: var(--space-xl) auto var(--space-lg);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 149, 0, 0.2);
  transition: all 0.3s ease;
}

.team-member-card:hover .member-photo-modern {
  border-color: var(--primary-orange);
  transform: scale(1.05);
}

.headshot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member-card:hover .headshot-image {
  transform: scale(1.1);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.1), rgba(64, 224, 208, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card:hover .photo-overlay {
  opacity: 1;
}

.member-content {
  padding: 0 var(--space-xl) var(--space-xl);
  text-align: center;
}

.member-header {
  margin-bottom: var(--space-lg);
}

.member-name-modern {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--white);
  background: linear-gradient(135deg, var(--white), var(--light-gray));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.member-title-modern {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-orange);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.member-credentials-modern {
  color: var(--light-gray);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  padding: 0 var(--space-sm);
}

.member-expertise-modern {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.expertise-tag-modern {
  padding: var(--space-xs) var(--space-md);
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.15), rgba(64, 224, 208, 0.1));
  color: var(--primary-orange);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 149, 0, 0.2);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.expertise-tag-modern:hover {
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.25), rgba(64, 224, 208, 0.15));
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}

/* Responsive Design for Modern Team Section */

/* Large Desktop - 3+2 layout optimal */
@media (min-width: 1200px) {
  .team-row .team-member-card {
    width: 380px;
    max-width: 380px;
  }
  
  .team-row {
    gap: var(--space-xl);
  }
}

/* Desktop - 3+2 layout */
@media (min-width: 992px) and (max-width: 1199px) {
  .team-row .team-member-card {
    width: 340px;
    max-width: 340px;
  }
}

/* Tablet - 2+2+1 layout */
@media (min-width: 769px) and (max-width: 991px) {
  .team-grid-structured {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
  }
  
  .team-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
  }
  
  .team-row-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  
  .team-row .team-member-card {
    width: 100%;
    max-width: 400px;
    min-width: 300px;
  }
}

/* Mobile - Single column */
@media (max-width: 768px) {
  .team-grid-modern {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
  }
  
  .team-grid-structured {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }
  
  .team-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: 0;
  }
  
  .team-row .team-member-card {
    width: calc(100% - 2 * var(--space-md));
    max-width: 400px;
    min-width: auto;
    margin: 0 auto;
  }
  
  .member-photo-modern {
    width: 100px;
    height: 100px;
    margin: var(--space-lg) auto;
  }
  
  .member-name-modern {
    font-size: 1.25rem;
  }
  
  .member-credentials-modern {
    font-size: 0.8rem;
    padding: 0;
  }
  
  .expertise-tag-modern {
    font-size: 0.7rem;
    padding: var(--space-xs) var(--space-sm);
  }
}

@media (max-width: 480px) {
  .member-content {
    padding: 0 var(--space-md) var(--space-lg);
  }
  
  .member-photo-modern {
    width: 80px;
    height: 80px;
  }
  
  .member-name-modern {
    font-size: 1.125rem;
  }
  
  .member-title-modern {
    font-size: 0.8rem;
  }
}

/* === TEAM MEMBER HEADSHOT POSITIONING === */
/* Individual headshot positioning for centered and standardized appearance */

/* Mason Jappa - Center positioning */
.headshot-image[src*="mason_jappa_headshot"] {
  object-position: center 20%;
  object-fit: cover;
}

/* Sam Chwarzynski - Center positioning (using megan image, needs centering) */
.headshot-image[src*="megan_brooks_anderson_headshot"] {
  object-position: center 25%;
  object-fit: cover;
}

/* Megan Brooks-Anderson - Center positioning (using sam image, needs centering) */
.headshot-image[src*="sam_chwarzynski_headshot"] {
  object-position: center 30%;
  object-fit: cover;
}

/* Craig Casey Forbes - Center positioning */
.headshot-image[src*="craig_forbes_headshot"] {
  object-position: center 25%;
  object-fit: cover;
}

/* Charles Lloyd Wilde - Center and zoom for consistent sizing */
.headshot-image[src*="charles_wilde_headshot"] {
  object-position: center 20%;
  object-fit: cover;
  transform: scale(1.15);
}

/* Hover state adjustments to maintain positioning during hover scale */
.team-member-card:hover .headshot-image[src*="mason_jappa_headshot"] {
  transform: scale(1.1);
  object-position: center 20%;
}

.team-member-card:hover .headshot-image[src*="megan_brooks_anderson_headshot"] {
  transform: scale(1.1);
  object-position: center 25%;
}

.team-member-card:hover .headshot-image[src*="sam_chwarzynski_headshot"] {
  transform: scale(1.1);
  object-position: center 30%;
}

.team-member-card:hover .headshot-image[src*="craig_forbes_headshot"] {
  transform: scale(1.1);
  object-position: center 25%;
}

.team-member-card:hover .headshot-image[src*="charles_wilde_headshot"] {
  transform: scale(1.27); /* 1.15 base * 1.1 hover = 1.265, rounded to 1.27 */
  object-position: center 20%;
}

/* === METRICS DASHBOARD === */
.metrics-dashboard {
  padding: var(--space-3xl) 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.metric-card {
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 149, 0, 0.1);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.metric-card:hover::before {
  transform: scaleX(1);
}

.metric-card:hover {
  background: rgba(255, 149, 0, 0.05);
  border-color: var(--primary-orange);
  transform: translateY(-5px);
}

.metric-icon {
  font-size: 2rem;
  color: var(--primary-orange);
  margin-bottom: var(--space-md);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-mono);
  margin-bottom: var(--space-sm);
}

.metric-label {
  color: var(--light-gray);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.metric-trend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 600;
}

.metric-trend.positive {
  color: var(--success-green);
}

/* === CONTACT SECTION === */
.contact-section {
  padding: var(--space-3xl) 0;
  background: var(--navy-blue);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info p {
  color: var(--light-gray);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary-orange);
  width: 30px;
}

.contact-method strong {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--white);
}

.contact-method p {
  color: var(--light-gray);
  margin: 0;
}

.contact-link {
  color: var(--primary-orange);
  text-decoration: none;
  transition: var(--transition-fast);
  border-bottom: 1px solid transparent;
}

.contact-link:hover {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 149, 0, 0.1);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 149, 0, 0.2);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--light-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

.form-group select {
  cursor: pointer;
}

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

.full-width {
  width: 100%;
}

/* === FOOTER === */
.footer {
  background: var(--dark-blue);
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid rgba(255, 149, 0, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: var(--space-md);
}

.footer-logo {
  height: 120px;
  width: auto;
  max-width: 300px;
  transition: var(--transition-fast);
  /* Maintain original aspect ratio and prevent distortion */
  object-fit: contain;
}

.footer-logo:hover {
  transform: scale(1.02);
}

.footer-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.footer-brand .brand-logo i {
  color: var(--primary-orange);
  font-size: 1.5rem;
}

.footer-brand .brand-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--light-gray);
  line-height: 1.7;
  margin-bottom: 0;
}


.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.link-group h4 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: var(--space-sm);
}

.link-group a {
  color: var(--light-gray);
  transition: var(--transition-fast);
}

.link-group a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-gray);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a:hover {
  color: var(--primary-orange);
}

/* === ANIMATIONS === */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

@keyframes particles-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(-60px) rotate(240deg); }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .brand-logo {
    height: 54px;
    max-width: 250px;
  }
  
  .company-name {
    font-size: 24px;
  }
  
  .company-tagline {
    font-size: 12px;
  }
  
  .footer-logo {
    height: 75px;
    max-width: 180px;
  }

  /* Mobile Hero Stats - 2x2 Grid Layout */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md) var(--space-xl);
    justify-items: center;
    max-width: 400px;
    margin: 0 auto var(--space-2xl) auto;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: start;
    padding: var(--space-2xl);
    transition: var(--transition-normal);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero {
    padding-top: 50px; /* Even more compact spacing on mobile */
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl); /* Reduced gap for mobile compactness */
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .tech-layer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .layer-features {
    grid-template-columns: 1fr;
  }
  
  .verticals-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: row !important;
    padding-left: 50px;
  }
  
  .timeline-item .timeline-content {
    max-width: 100%;
    padding-left: var(--space-lg) !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  
  .timeline-marker {
    left: 20px !important;
  }
  
  .timeline-item::before {
    left: 20px !important;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .company-name {
    font-size: 20px;
  }
  
  .company-tagline {
    font-size: 11px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) var(--space-md);
    max-width: 350px;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
  }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === PRINT STYLES === */
@media print {
  .navbar,
  .nav-toggle,
  .hero-background,
  .contact-form,
  .footer {
    display: none !important;
  }
  
  body {
    color: black !important;
    background: white !important;
  }
  
  .section-title,
  .highlight {
    color: black !important;
  }
}

/* === LEGAL DOCUMENT PAGES === */
.legal-document-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px 40px 20px; /* Top padding accounts for fixed header (87px) + buffer (53px) */
  background: #ffffff;
  min-height: 100vh;
}

.document-content {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #333333;
}

.document-content h1 {
  font-size: 2.5em;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 3px solid var(--primary-orange);
  padding-bottom: 10px;
}

.document-content h2 {
  font-size: 1.8em;
  color: var(--navy-blue);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 5px;
}

.document-content h3 {
  font-size: 1.4em;
  color: var(--charcoal);
  margin-top: 25px;
  margin-bottom: 10px;
}

.document-content p {
  margin-bottom: 15px;
  text-align: justify;
}

.document-content ul, .document-content ol {
  margin-bottom: 15px;
  padding-left: 30px;
}

.document-content li {
  margin-bottom: 8px;
}

.document-content strong {
  color: var(--navy-blue);
  font-weight: 600;
}

/* Responsive legal document styles */
@media (max-width: 768px) {
  .legal-document-container {
    padding: 120px 15px 20px 15px; /* Adjusted top padding for mobile header */
  }

  .document-content h1 {
    font-size: 2em;
  }

  .document-content h2 {
    font-size: 1.5em;
  }

  .document-content h3 {
    font-size: 1.2em;
  }

  .document-content ul, .document-content ol {
    padding-left: 20px;
  }
}

/* === WEB VIEWER MODAL === */
.web-viewer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000; /* Above header */
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.web-viewer-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 1200px;
  height: 80%;
  max-height: 700px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.web-viewer-modal.show .modal-content {
  transform: scale(1);
}

.modal-header {
  background: var(--dark-blue);
  color: var(--white);
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.close-viewer {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color var(--transition-fast);
}

.close-viewer:hover {
  background: rgba(255, 255, 255, 0.1);
}

.iframe-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.modal-footer {
  background: var(--light-gray);
  background: #f8f9fa;
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: var(--charcoal);
  color: var(--white);
  border: none;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--navy-blue);
}

/* Mobile responsiveness for web viewer */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    height: 90%;
    max-height: none;
  }
  
  .modal-header {
    padding: var(--space-md);
  }
  
  .modal-header h3 {
    font-size: 1.1rem;
  }
  
  .close-viewer {
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
  
  .modal-footer {
    padding: var(--space-sm) var(--space-md);
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 98%;
    height: 95%;
  }
  
  .modal-header {
    padding: var(--space-sm);
  }
  
  .modal-header h3 {
    font-size: 1rem;
  }
}/* Force rebuild - Sun Nov  9 00:18:37 UTC 2025 */
