/* 
  =========================================
  MXM TECH UNDERGROUND SERVICES - STYLE SHEET
  Premium, Modern, High-End Corporate Website
  Brand Colors: Primary Orange (#E35205), Black, White, Dark Gray
  Style: Enterprise tech, modern industrial, Apple/Tesla inspired
  =========================================
*/

/* Google Fonts Import - Outfit (Geometric Sans-Serif) & JetBrains Mono (for tech/telemetry text) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
  /* Color Palette */
  --primary: #E35205;
  --primary-glow: rgba(227, 82, 5, 0.15);
  --primary-glow-strong: rgba(227, 82, 5, 0.4);
  --primary-hover: #ff6011;
  --black: #050505;
  --dark-deep: #0A0A0B;
  --dark-surface: #121214;
  --dark-card: #18181C;
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-border-hover: rgba(227, 82, 5, 0.3);
  
  --white: #FFFFFF;
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  
  /* Fonts */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Spacing */
  --container-max: 1300px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--black);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--black);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--dark-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Global Grid Background */
.global-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  z-index: 1;
  pointer-events: none;
}

.global-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 20%, var(--black) 90%);
  pointer-events: none;
}

/* Section Layouts */
section {
  position: relative;
  padding: 100px 0;
  z-index: 2;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  .container {
    padding: 0 24px;
  }
}

/* High-End Tech Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227, 82, 5, 0.06);
  border: 1px solid rgba(227, 82, 5, 0.25);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: pulseGlow 1.5s infinite alternate;
}

/* Section Header Typography */
.section-header {
  max-width: 700px;
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(180deg, var(--white) 30%, #E5E7EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
}

/* Buttons */
.btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  z-index: 10;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 16px 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 20px rgba(227, 82, 5, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(227, 82, 5, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1px solid var(--dark-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Custom Visual Tech Borders for Cards & Sections */
.tech-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--dark-border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 2px 12px rgba(227, 82, 5, 0.05);
}

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

/* Corners for Premium Tech Design */
.tech-corners {
  position: relative;
}

.tech-corners::after, .tech-corners::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 2;
  transition: var(--transition-smooth);
}

/* Corner lines */
.tech-corners-tl::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
}
.tech-corners-br::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

/* HEADER & NAVBAR */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(15px);
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.header.scrolled .logo-img {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  position: relative;
  padding: 6px 0;
}

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

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

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

.header-cta {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 991px) {
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--dark-deep);
    border-left: 1px solid var(--dark-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.8);
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-link {
    font-size: 1.1rem;
  }
}

/* HERO SECTION */
.hero {
  height: 100vh;
  min-height: 750px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: var(--black);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Hero Placeholder Style when video is not playing */
.hero-video-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: radial-gradient(circle at center, #11141A 0%, #050505 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-video-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(227, 82, 5, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 82, 5, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
}

/* Glowing digital network line effects for placeholder */
.hero-network-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.35;
  pointer-events: none;
  overflow: hidden;
}

.network-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  height: 1px;
  width: 200px;
  animation: scanLineHorizontal 8s infinite linear;
}

.network-line:nth-child(1) { top: 20%; left: -200px; animation-delay: 0s; animation-duration: 6s; }
.network-line:nth-child(2) { top: 45%; left: -200px; animation-delay: 2s; animation-duration: 9s; }
.network-line:nth-child(3) { top: 70%; left: -200px; animation-delay: 4s; animation-duration: 7s; }
.network-line:nth-child(4) { top: 85%; left: -200px; animation-delay: 1s; animation-duration: 11s; }

.hero-video-placeholder-label {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-video-placeholder-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: pulseGlow 1s infinite alternate;
}

/* Dark Overlays for Hero Text legibility */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(5, 5, 5, 0.95) 35%, rgba(5, 5, 5, 0.7) 60%, rgba(5, 5, 5, 0.4) 100%);
  z-index: 1;
}

.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--black) 0%, transparent 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 10;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  padding-top: 60px;
}

.hero-title {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, var(--white) 0%, #D1D5DB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.highlight {
  background: linear-gradient(90deg, var(--primary) 0%, #FF7A30 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 580px;
}

/* Hero floating cards section */
.hero-stats-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-item {
  background: rgba(18, 18, 20, 0.4);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 24px;
  background: var(--primary);
  opacity: 0.7;
}

.stat-item:hover {
  border-color: var(--dark-border-hover);
  background: rgba(18, 18, 20, 0.6);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.stat-number span.accent {
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

@media (max-width: 991px) {
  .hero {
    height: auto;
    padding: 140px 0 80px 0;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .hero-description {
    font-size: 1.1rem;
  }
  .hero-overlay {
    background: rgba(5, 5, 5, 0.88);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-stats-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ABOUT SECTION */
.about {
  background-color: var(--dark-deep);
  border-top: 1px solid var(--dark-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-content {
  position: relative;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
}

.about-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
}

.about-bullet-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Premium Placeholders */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: radial-gradient(circle at center, #1B1E24 0%, #0D0E10 100%);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

/* Scanner line effect in images */
.placeholder-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: scanLineVertical 6s infinite linear;
  z-index: 3;
}

.placeholder-tech-details {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
  z-index: 3;
}

.img-placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 3;
  text-align: center;
  max-width: 80%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.img-placeholder-label svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.placeholder-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.img-placeholder:hover .placeholder-img {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 576px) {
  .about-bullets {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* SERVICES SECTION */
.services {
  background-color: var(--black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrapper {
  width: 52px;
  height: 52px;
  background: rgba(227, 82, 5, 0.06);
  border: 1px solid rgba(227, 82, 5, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.service-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-card:hover .service-icon-wrapper {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(227, 82, 5, 0.4);
}

.service-card:hover .service-icon {
  color: var(--white);
  transform: scale(1.1);
}

/* WHY CHOOSE MXM TECH */
.why-us {
  background-color: var(--dark-deep);
  border-top: 1px solid var(--dark-border);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  padding: 24px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.why-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.why-card-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.why-card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.why-card-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.why-card:hover {
  border-color: var(--dark-border-hover);
  background: var(--dark-card);
  transform: translateY(-2px);
}

.why-image-wrapper {
  position: relative;
}

.why-badge-float {
  position: absolute;
  top: 30px;
  right: -20px;
  background: rgba(18, 18, 20, 0.85);
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 16px 24px;
  backdrop-filter: blur(10px);
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-badge-float-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  animation: pulseGlow 1.5s infinite alternate;
}

.why-badge-float-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.why-badge-float-text p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 991px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .why-badge-float {
    right: 20px;
  }
}

@media (max-width: 576px) {
  .why-list {
    grid-template-columns: 1fr;
  }
}

/* PROJECT SHOWCASE SECTION */
.projects {
  background-color: var(--black);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  height: 400px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--dark-border);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.project-card .img-placeholder {
  height: 100%;
  aspect-ratio: auto;
  border: none;
  border-radius: 0;
}

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  z-index: 5;
  transition: var(--transition-smooth);
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.project-location-icon {
  width: 14px;
  height: 14px;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(227, 82, 5, 0.15);
}

.project-card:hover .project-title {
  color: var(--primary);
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.6) 50%, rgba(5, 5, 5, 0.2) 100%);
}

@media (max-width: 991px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    height: 350px;
  }
}

/* PROCESS SECTION */
.process {
  background-color: var(--dark-deep);
  border-top: 1px solid var(--dark-border);
  overflow: hidden;
}

.process-container {
  position: relative;
  margin-top: 60px;
}

.process-line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dark-border);
  z-index: 1;
}

.process-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.process-step {
  text-align: center;
}

.process-node {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--dark-surface);
  border: 2px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  box-shadow: 0 0 0 4px var(--dark-deep);
  position: relative;
}

.process-node-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  color: var(--primary);
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition-smooth);
}

.process-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}

.process-step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0 10px;
}

/* Active State for Timeline Step */
.process-step.active .process-node {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(227, 82, 5, 0.05);
  box-shadow: 0 0 20px rgba(227, 82, 5, 0.2), 0 0 0 6px var(--dark-deep);
}

.process-step.active .process-node-text {
  opacity: 0;
}

.process-step.active .process-node-icon {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 991px) {
  .process-line {
    display: none;
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
  }
}

@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* INDUSTRIES WE SERVE */
.industries {
  background-color: var(--black);
}

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

.industry-card {
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.industry-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.industry-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.industry-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.industry-card:hover {
  background: var(--dark-card);
  border-color: var(--dark-border-hover);
}

.industry-card:hover .industry-icon-wrapper {
  background: rgba(227, 82, 5, 0.05);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(227, 82, 5, 0.15);
}

.industry-card:hover .industry-icon {
  color: var(--primary);
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* SAFETY SECTION */
.safety {
  background-color: var(--dark-deep);
  border-top: 1px solid var(--dark-border);
}

.safety-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.safety-content {
  position: relative;
}

.safety-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.safety-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.safety-pillar-card {
  display: flex;
  gap: 16px;
}

.safety-pillar-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 2px;
}

.safety-pillar-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.safety-pillar-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 991px) {
  .safety-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 576px) {
  .safety-pillars {
    grid-template-columns: 1fr;
  }
}

/* VIDEO SECTION */
.video-showcase {
  background-color: var(--black);
}

.video-container-box {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--dark-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.video-player-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: radial-gradient(circle at center, #1F222B 0%, #08090C 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(227, 82, 5, 0.4);
  transition: var(--transition-smooth);
  margin-bottom: 20px;
  position: relative;
  z-index: 5;
}

.video-play-btn::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  animation: pulseGlow 1.5s infinite;
}

.video-play-btn-icon {
  width: 30px;
  height: 30px;
  color: var(--white);
  transform: translateX(2px);
  transition: var(--transition-smooth);
}

.video-player-placeholder:hover .video-play-btn {
  background: var(--primary-hover);
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(227, 82, 5, 0.6);
}

.video-player-placeholder-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.video-player-placeholder-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* TESTIMONIALS SLIDER SECTION */
.testimonials {
  background-color: var(--dark-deep);
  border-top: 1px solid var(--dark-border);
}

.testimonials-slider-container {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  opacity: 0.3;
  scale: 0.95;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-slide.active {
  opacity: 1;
  scale: 1;
}

.testimonial-quote-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-glow-strong);
  margin-bottom: 30px;
}

.testimonial-text {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

.testimonial-author-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark-surface);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.testimonial-author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-author-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dark-border);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* Client Logos */
.client-logos {
  max-width: var(--container-max);
  margin: 60px auto 0 auto;
  padding-top: 60px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0.6;
}

.client-logo-item {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .testimonial-text {
    font-size: 1.2rem;
  }
  .client-logos {
    justify-content: center;
  }
}

/* CALL TO ACTION SECTION */
.cta-section {
  padding: 0;
  background-color: var(--black);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #B83D00 100%);
  border-radius: 12px;
  padding: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(227, 82, 5, 0.25);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
}

.cta-box::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: flex-end;
}

.cta-box .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-box .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991px) {
  .cta-box {
    grid-template-columns: 1fr;
    padding: 60px 40px;
    gap: 30px;
    text-align: center;
  }
  .cta-actions {
    justify-content: center;
  }
}

/* CONTACT SECTION */
.contact {
  background-color: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
}

/* Modern Form Styles */
.contact-form-wrapper {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 40px;
}

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

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-select {
  appearance: none;
  cursor: pointer;
}

.form-select-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  pointer-events: none;
}

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

.form-label {
  position: absolute;
  left: 16px;
  top: 18px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

/* Float Label Animation */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-select:focus ~ .form-label,
.form-select:valid ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  top: -8px;
  left: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--dark-card);
  padding: 0 6px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: rgba(227, 82, 5, 0.02);
  box-shadow: 0 0 10px rgba(227, 82, 5, 0.1);
}

/* Contact Info */
.contact-info-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
}

.contact-info-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(227, 82, 5, 0.06);
  border: 1px solid rgba(227, 82, 5, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.contact-info-title {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-info-text {
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 500;
}

/* Simulated Tech Map Placeholder */
.map-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: radial-gradient(circle at center, #181B21 0%, #08090C 100%);
  border: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
}

.map-grid-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.6;
}

/* Stylized US Map Vectors overlay simulated in CSS */
.map-vector-overlay {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  opacity: 0.15;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 4px;
}

.map-node-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

.map-node-pulse::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  animation: pulseGlow 1.8s infinite linear;
}

.map-node-pulse:nth-child(1) { top: 35%; left: 25%; }
.map-node-pulse:nth-child(2) { top: 55%; left: 45%; }
.map-node-pulse:nth-child(3) { top: 40%; left: 70%; }
.map-node-pulse:nth-child(4) { top: 70%; left: 85%; }

.map-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(18, 18, 20, 0.85);
  border: 1px solid var(--dark-border);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 576px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .contact-form-wrapper {
    padding: 30px 20px;
  }
}

/* FOOTER SECTION */
.footer {
  background-color: var(--dark-deep);
  border-top: 1px solid var(--dark-border);
  padding: 80px 0 40px 0;
  z-index: 2;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-brand-logo {
  height: 42px;
  width: auto;
  margin-bottom: 24px;
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-icon {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-social-icon:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ANIMATIONS AND VIEWPORT REVEAL EFFECTS */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Animation delays */
[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal-delay="500"] { transition-delay: 0.5s; }

/* Custom Keyframes */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 5px var(--primary-glow-strong);
    opacity: 0.8;
  }
  100% {
    box-shadow: 0 0 18px var(--primary-glow-strong);
    opacity: 1;
  }
}

@keyframes scanLineVertical {
  0% {
    top: 0%;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 0%;
  }
}

@keyframes scanLineHorizontal {
  0% {
    left: -200px;
  }
  100% {
    left: 100%;
  }
}
