/* ========================================
   Eastern Energy - Charged Industrial Design
   A bold aesthetic combining industrial authenticity
   with warm electrical energy
   ======================================== */

/* ----------------------------------------
   Font Imports
   ---------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ----------------------------------------
   CSS Custom Properties (Theme)
   ---------------------------------------- */
:root {
  /* Core Colors - Deep Industrial */
  --color-void: #0a0a0a;
  --color-charcoal: #141414;
  --color-graphite: #1f1f1f;
  --color-slate: #2a2a2a;
  --color-ash: #3d3d3d;

  /* Brand Colors - Copper & Electric */
  --color-copper: #d97706;
  --color-copper-light: #f59e0b;
  --color-copper-glow: #fbbf24;
  --color-amber: #fcd34d;
  --color-electric: #0ea5e9;
  --color-electric-dim: #0284c7;

  /* Text Colors */
  --color-text-primary: #fafaf9;
  --color-text-secondary: #e7e5e4;
  --color-text-muted: #a8a29e;
  --color-text-dim: #78716c;

  /* Functional */
  --color-success: #22c55e;
  --color-error: #ef4444;

  /* Gradients */
  --gradient-copper: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-light) 50%, var(--color-copper-glow) 100%);
  --gradient-glow: radial-gradient(ellipse at center, var(--color-copper-light) 0%, transparent 70%);
  --gradient-electric: linear-gradient(135deg, var(--color-electric) 0%, var(--color-electric-dim) 100%);
  --gradient-dark: linear-gradient(180deg, var(--color-charcoal) 0%, var(--color-void) 100%);

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.7);
  --shadow-copper: 0 0 30px rgba(217, 119, 6, 0.4);
  --shadow-copper-intense: 0 0 60px rgba(217, 119, 6, 0.6);
  --shadow-electric: 0 0 30px rgba(14, 165, 233, 0.4);
  --glow-copper: 0 0 20px rgba(251, 191, 36, 0.3);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* 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;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms var(--ease-out-expo);
  --transition-base: 300ms var(--ease-out-expo);
  --transition-slow: 500ms var(--ease-out-expo);
  --transition-slower: 800ms var(--ease-out-expo);

  /* Container */
  --container-max: 1280px;
  --container-padding: 2rem;

  /* Circuit pattern */
  --circuit-color: rgba(217, 119, 6, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-void);
  color: var(--color-text-secondary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  z-index: 10000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

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

ul, ol {
  list-style: none;
}

::selection {
  background: var(--color-copper);
  color: var(--color-void);
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text-primary);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
}

.text-copper {
  color: var(--color-copper-light);
}

.text-electric {
  color: var(--color-electric);
}

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

.mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  letter-spacing: 0.02em;
}

/* Label/Tag Style */
.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-copper-light);
  display: inline-block;
}

/* ----------------------------------------
   Layout
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

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

.section-header .label {
  margin-bottom: var(--space-md);
}

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

.section-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* Section with circuit pattern background */
.section--pattern {
  background-image:
    linear-gradient(90deg, var(--circuit-color) 1px, transparent 1px),
    linear-gradient(var(--circuit-color) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Dark section variant */
.section--dark {
  background: var(--color-charcoal);
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) 0;
  transition: var(--transition-base);
  background: transparent;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-copper), transparent);
  transition: var(--transition-slow);
}

.navbar.scrolled {
  padding: var(--space-md) 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
}

.navbar.scrolled::after {
  width: 100%;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  z-index: 10;
}

.navbar-logo img {
  height: 48px;
  width: auto;
  transition: var(--transition-base);
}

.navbar-logo:hover img {
  filter: drop-shadow(var(--glow-copper));
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.navbar-links {
  display: flex;
  gap: var(--space-xl);
}

.navbar-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  position: relative;
  padding: var(--space-sm) 0;
  transition: var(--transition-fast);
}

.navbar-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.navbar-links a:hover {
  color: var(--color-text-primary);
}

.navbar-links a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-links a.active {
  color: var(--color-copper-light);
}

.navbar-links a.active::before {
  transform: scaleX(1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 10;
}

.mobile-menu-btn span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-text-primary);
  transition: var(--transition-fast);
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-copper);
  color: var(--color-void);
  box-shadow: var(--shadow-sm);
}

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

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-ash);
}

.btn-secondary:hover {
  border-color: var(--color-copper);
  color: var(--color-copper-light);
  box-shadow: inset 0 0 20px rgba(217, 119, 6, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--color-copper-light);
  border: 1px solid var(--color-copper);
}

.btn-outline:hover {
  background: var(--color-copper);
  color: var(--color-void);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: var(--space-4xl);
}

/* Hero background effects */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(217, 119, 6, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 40%);
  animation: heroShift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroShift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(2%, 2%) rotate(1deg); }
}

/* Circuit lines decoration */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--color-void), transparent);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(var(--shadow-copper));
}

.hero-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: var(--gradient-glow);
  opacity: 0.4;
  animation: logoPulse 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes logoPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-charcoal);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-badge span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero h1 {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s both;
}

.hero h1 .line {
  display: block;
}

.hero h1 .highlight {
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100%;
  height: 0.15em;
  background: var(--gradient-copper);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineReveal 0.8s var(--ease-out-expo) 0.8s forwards;
}

@keyframes underlineReveal {
  to { transform: scaleX(1); }
}

.hero .tagline {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s both;
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--color-ash);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.5s both;
}

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

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-copper-light);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ----------------------------------------
   Page Hero (Inner Pages)
   ---------------------------------------- */
.page-hero {
  padding: calc(100px + var(--space-4xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .label {
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.6s var(--ease-out-expo) forwards;
}

.page-hero h1 {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s var(--ease-out-expo) 0.1s both;
}

.page-hero p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
  animation: fadeInUp 0.6s var(--ease-out-expo) 0.2s both;
}

/* ----------------------------------------
   Cards
   ---------------------------------------- */
.card {
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: var(--transition-base);
  border: 1px solid var(--color-slate);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-copper);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-copper);
  box-shadow: var(--shadow-lg);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-graphite);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-copper-light);
  transition: var(--transition-base);
}

.card:hover .card-icon {
  background: var(--color-copper);
  border-color: var(--color-copper);
  color: var(--color-void);
  box-shadow: var(--glow-copper);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* ----------------------------------------
   Services Section
   ---------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
  border: 1px solid var(--color-slate);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-copper);
  opacity: 0;
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-content {
  padding: var(--space-xl);
}

.service-card h3 {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-graphite);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-copper-light);
  transition: var(--transition-base);
}

.service-card:hover .service-card-icon {
  background: var(--color-copper);
  border-color: var(--color-copper);
  color: var(--color-void);
}

.service-card > p {
  color: var(--color-text-muted);
}

.service-list {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-slate);
}

.service-list li {
  padding: var(--space-sm) 0;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-copper-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ----------------------------------------
   Features / Why Choose Us
   ---------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.feature-item {
  text-align: center;
  padding: var(--space-xl);
  position: relative;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--color-charcoal);
  border: 2px solid var(--color-ash);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--color-copper-light);
  transition: var(--transition-base);
  position: relative;
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient-copper);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-base);
}

.feature-item:hover .feature-icon {
  border-color: var(--color-copper);
  transform: scale(1.05);
}

.feature-item:hover .feature-icon::before {
  opacity: 0.2;
}

.feature-item h4 {
  margin-bottom: var(--space-sm);
}

.feature-item p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */
.cta-section {
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(217, 119, 6, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

/* Circuit decoration */
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border: 1px solid var(--color-ash);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  font-size: 1.125rem;
}

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

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-primary);
}

.form-control {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-charcoal);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-copper);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.form-control::placeholder {
  color: var(--color-text-dim);
}

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

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a8a29e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 48px;
}

/* File Upload */
.file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-2xl);
  background: var(--color-charcoal);
  border: 2px dashed var(--color-ash);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-fast);
}

.file-upload:hover {
  border-color: var(--color-copper);
  background: rgba(217, 119, 6, 0.05);
}

.file-upload input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-text {
  color: var(--color-text-muted);
  text-align: center;
  font-size: 0.95rem;
}

.file-upload-text strong {
  color: var(--color-copper-light);
}

/* ----------------------------------------
   Contact Page
   ---------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-4xl);
}

.contact-card {
  background: var(--color-charcoal);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--color-slate);
  transition: var(--transition-base);
}

.contact-card:hover {
  border-color: var(--color-copper);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-graphite);
  border: 1px solid var(--color-ash);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--color-copper-light);
}

.contact-card h4 {
  margin-bottom: var(--space-xs);
  font-size: 1rem;
}

.contact-card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.contact-card a {
  color: var(--color-copper-light);
  transition: var(--transition-fast);
}

.contact-card a:hover {
  color: var(--color-copper-glow);
  text-decoration: underline;
}

/* ----------------------------------------
   About Page
   ---------------------------------------- */
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-text h2 {
  margin-bottom: var(--space-xl);
}

.about-text p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-visual {
  position: relative;
}

.about-visual-box {
  background: var(--color-charcoal);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-xl);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-visual-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.1) 0%, transparent 60%);
}

.about-visual-box svg {
  color: var(--color-copper-light);
  opacity: 0.4;
  width: 120px;
  height: 120px;
}

/* Floating stat card */
.about-stat-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-charcoal);
  border: 1px solid var(--color-copper);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: var(--shadow-copper);
}

.about-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-copper-light);
  line-height: 1;
}

.about-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
}

.value-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate);
  transition: var(--transition-base);
}

.value-item:hover {
  border-color: var(--color-copper);
  transform: translateY(-4px);
}

.value-icon {
  margin-bottom: var(--space-md);
  color: var(--color-copper-light);
}

.value-item h4 {
  margin-bottom: var(--space-sm);
}

.value-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ----------------------------------------
   Careers Page
   ---------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate);
  transition: var(--transition-base);
}

.benefit-item:hover {
  border-color: rgba(217, 119, 6, 0.3);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--color-graphite);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-copper-light);
}

.benefit-item h4 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.benefit-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Job Cards */
.job-card {
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--color-slate);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-copper);
}

.job-card:hover {
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: var(--shadow-md);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.job-title h3 {
  margin-bottom: var(--space-xs);
}

.job-meta {
  display: flex;
  gap: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.job-description {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
  background: var(--color-charcoal);
  padding: var(--space-4xl) 0 var(--space-xl);
  border-top: 1px solid var(--color-ash);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: var(--gradient-copper);
}

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

.footer-brand img {
  height: 56px;
  margin-bottom: var(--space-lg);
  filter: drop-shadow(var(--glow-copper));
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

.footer-links a {
  display: block;
  color: var(--color-text-muted);
  padding: var(--space-xs) 0;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-copper-light);
  transform: translateX(4px);
}

.footer-links li {
  transition: var(--transition-fast);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-ash);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-family: var(--font-mono);
  color: var(--color-text-dim);
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: var(--color-graphite);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-copper);
  border-color: var(--color-copper);
  color: var(--color-void);
  transform: translateY(-2px);
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ----------------------------------------
   Responsive Design
   ---------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .about-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-stats {
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  .section {
    padding: var(--space-4xl) 0;
  }

  /* Mobile Navigation */
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-charcoal);
    flex-direction: column;
    padding: 120px var(--space-xl) var(--space-xl);
    transition: var(--transition-slow);
    border-left: 1px solid var(--color-ash);
  }

  .navbar-menu.active {
    right: 0;
  }

  .navbar-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .navbar-links a {
    display: block;
    width: 100%;
    padding: var(--space-lg) var(--space-md);
    border-bottom: 1px solid var(--color-slate);
    font-size: 1.1rem;
    min-height: 48px;
    -webkit-tap-highlight-color: rgba(217, 119, 6, 0.2);
    touch-action: manipulation;
  }

  .navbar-menu .btn {
    width: 100%;
    margin-top: var(--space-xl);
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-top: 80px;
  }

  .hero-logo {
    width: 160px;
    height: 160px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 var(--space-md);
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-xl);
  }

  /* Grids */
  .card-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Job Cards */
  .job-header {
    flex-direction: column;
  }

  .job-header .btn {
    width: 100%;
  }

  /* About stat card */
  .about-stat-card {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: var(--space-lg);
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .features-grid,
  .values-grid,
  .benefits-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat-value {
    font-size: 2rem;
  }
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------
   Projects Gallery
   ---------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-xl);
}

.project-card {
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-slate);
  transition: var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-graphite);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-image img.fallback-image {
  object-fit: contain;
  padding: var(--space-xl);
  opacity: 0.3;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--color-copper);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-copper-light);
}

.project-content {
  padding: var(--space-xl);
}

.project-content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.project-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.projects-loading {
  text-align: center;
  padding: var(--space-4xl);
  color: var(--color-text-dim);
  grid-column: 1 / -1;
}

.projects-empty {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-ash);
}

.projects-empty h3 {
  margin-bottom: var(--space-md);
}

.projects-empty p {
  color: var(--color-text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* ----------------------------------------
   No Openings Card (Careers Page)
   ---------------------------------------- */
.no-openings-card {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  background: var(--color-graphite);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-ash);
  max-width: 600px;
  margin: 0 auto;
}

.no-openings-icon {
  width: 80px;
  height: 80px;
  background: var(--color-charcoal);
  border: 2px solid var(--color-ash);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  color: var(--color-copper-light);
}

.no-openings-card h3 {
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.no-openings-card p {
  color: var(--color-text-muted);
  max-width: 450px;
  margin: 0 auto var(--space-md);
}

/* Projects Gallery Responsive */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image {
    aspect-ratio: 16 / 9;
  }
}
