/* Custom Styles - Bootstrap Overrides and Additional Styles */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pb-44px {
  padding-bottom: 2.75rem;
}

.px-176px {
  padding-inline: 11rem;
}

.py-96px {
  padding-block: 6rem;
}

.mb-100px {
  margin-block: 6.25rem;
}

.divider-color {
  color: #5c5c5c;
}

/* Header */
.header-gradient {
  background: linear-gradient(90deg, #9f9f9f 0%, #000000 51.528%);
  box-shadow: 0 16px 32px -8px rgba(12, 12, 13, 0.4);
  height: 90px;
}

.logo {
  width: 142px;
  height: 58px;
}

.nav-link-custom {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  white-space: nowrap;
  transition: color 0.3s;
  text-decoration: none;
}

.nav-link-custom:hover {
  color: #d1d5db;
}

.header-icon {
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.menu-icon {
  width: 36px;
  height: 36px;
}

.rotate-270 {
  transform: rotate(270deg);
}

/* Hero Section */
.hero-section {
  position: relative;
}

.hero-bottom-overlay {
  background: linear-gradient(179.9deg, rgba(0, 0, 0, 0) 58.88%, rgba(0, 0, 0, 0.415) 68.11%, #000000 91.56%);
  z-index: 1;
}

.hero-arrow-pattern {
  pointer-events: none;
  opacity: 0.2;
}

.hero-arrow-left {
  bottom: 80px;
  left: -50px;
  width: 348px;
  height: 358px;
}

.hero-arrow-right {
  bottom: 50px;
  right: -80px;
  width: 397px;
  height: 420px;
}

.hero-title {
  font-size: 80px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 4px;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-description {
  max-width: 800px;
}

.hero-description p {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.8;
  opacity: 0.95;
}

.hero-nav-bar {
  width: 60px;
  height: 200px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  cursor: pointer;
}

.hero-nav-bar:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Section Title */
.section-title {
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

/* Production Units */
.units-grid {
  position: relative;
}

.unit-card {
  position: relative;
  height: 680px;
  overflow: hidden;
  transition: width 0.75s ease, filter 0.75s ease;
  filter: grayscale(100%);
}

.unit-card-first {
  width: 75%;
}

.unit-card-second {
  width: 25%;
}

.units-grid:hover .unit-card-first:not(:hover) {
  width: 25%;
}

.units-grid:hover .unit-card-second:not(:hover) {
  width: 25%;
}

.unit-card:hover {
  filter: grayscale(0%);
  width: 75% !important;
}

.unit-overlay {
  height: 330px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.unit-title {
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  line-height: 52px;
}

.unit-button {
  background: #e03139;
  padding: 16px;
  height: 52px;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.unit-card:hover .unit-button {
  display: flex !important;
}

.unit-button:hover {
  background: #c02831;
}

.unit-button span {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

/* Content Sections */
.content-section-image {
  width: 84%;
  height: 728px;
  display: block;
}

/* Metal Particles Effect */
.metal-particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

/* Pause animations until section is visible */
.metal-particles-container:not(.animations-active) .metal-particle {
  animation-play-state: paused;
  opacity: 0;
}

.metal-particles-container.animations-active .metal-particle {
  animation-play-state: running;
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

.metal-particle {
  position: absolute;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(200, 200, 200, 0.8) 50%,
    rgba(150, 150, 150, 0.7) 100%);
  border-radius: 50%;
  opacity: 0;
  box-shadow:
    0 0 3px rgba(255, 255, 255, 0.8),
    0 0 6px rgba(255, 200, 100, 0.4);
  animation: metalFloat 15s linear infinite;
}

.metal-particle::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 20%;
  width: 40%;
  height: 40%;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  filter: blur(1px);
}

/* Particle size variations */
.metal-particle-1 { width: 3px; height: 3px; }
.metal-particle-2 { width: 2px; height: 2px; }
.metal-particle-3 { width: 4px; height: 4px; }
.metal-particle-4 { width: 2.5px; height: 2.5px; }
.metal-particle-5 { width: 3.5px; height: 3.5px; }
.metal-particle-6 { width: 2px; height: 2px; }
.metal-particle-7 { width: 3px; height: 3px; }
.metal-particle-8 { width: 4px; height: 4px; }
.metal-particle-9 { width: 2.5px; height: 2.5px; }
.metal-particle-10 { width: 3px; height: 3px; }
.metal-particle-11 { width: 2px; height: 2px; }
.metal-particle-12 { width: 3.5px; height: 3.5px; }
.metal-particle-13 { width: 2.5px; height: 2.5px; }
.metal-particle-14 { width: 3px; height: 3px; }
.metal-particle-15 { width: 4px; height: 4px; }
.metal-particle-16 { width: 2px; height: 2px; }
.metal-particle-17 { width: 3px; height: 3px; }
.metal-particle-18 { width: 2.5px; height: 2.5px; }
.metal-particle-19 { width: 3.5px; height: 3.5px; }
.metal-particle-20 { width: 2px; height: 2px; }
.metal-particle-21 { width: 3px; height: 3px; }
.metal-particle-22 { width: 2.5px; height: 2.5px; }
.metal-particle-23 { width: 3.5px; height: 3.5px; }
.metal-particle-24 { width: 2px; height: 2px; }
.metal-particle-25 { width: 4px; height: 4px; }
.metal-particle-26 { width: 3px; height: 3px; }
.metal-particle-27 { width: 2.5px; height: 2.5px; }
.metal-particle-28 { width: 3.5px; height: 3.5px; }
.metal-particle-29 { width: 2px; height: 2px; }
.metal-particle-30 { width: 3px; height: 3px; }

/* Different starting positions and delays */
.metal-particle-1 {
  left: 5%;
  top: -5%;
  animation-delay: 0s;
}

.metal-particle-2 {
  left: 15%;
  top: -5%;
  animation-delay: 2s;
}

.metal-particle-3 {
  left: 25%;
  top: -5%;
  animation-delay: 4s;
}

.metal-particle-4 {
  left: 35%;
  top: -5%;
  animation-delay: 1s;
}

.metal-particle-5 {
  left: 45%;
  top: -5%;
  animation-delay: 3s;
}

.metal-particle-6 {
  left: 55%;
  top: -5%;
  animation-delay: 5s;
}

.metal-particle-7 {
  left: 65%;
  top: -5%;
  animation-delay: 2.5s;
}

.metal-particle-8 {
  left: 75%;
  top: -5%;
  animation-delay: 4.5s;
}

.metal-particle-9 {
  left: 85%;
  top: -5%;
  animation-delay: 1.5s;
}

.metal-particle-10 {
  left: 95%;
  top: -5%;
  animation-delay: 3.5s;
}

.metal-particle-11 {
  left: 10%;
  top: -5%;
  animation-delay: 5.5s;
}

.metal-particle-12 {
  left: 20%;
  top: -5%;
  animation-delay: 0.5s;
}

.metal-particle-13 {
  left: 30%;
  top: -5%;
  animation-delay: 2.8s;
}

.metal-particle-14 {
  left: 40%;
  top: -5%;
  animation-delay: 4.2s;
}

.metal-particle-15 {
  left: 50%;
  top: -5%;
  animation-delay: 1.8s;
}

.metal-particle-16 {
  left: 60%;
  top: -5%;
  animation-delay: 3.2s;
}

.metal-particle-17 {
  left: 70%;
  top: -5%;
  animation-delay: 5.2s;
}

.metal-particle-18 {
  left: 80%;
  top: -5%;
  animation-delay: 0.8s;
}

.metal-particle-19 {
  left: 90%;
  top: -5%;
  animation-delay: 2.2s;
}

.metal-particle-20 {
  left: 8%;
  top: -5%;
  animation-delay: 4.8s;
}

/* Additional particles in 50-60% range */
.metal-particle-21 {
  left: 50%;
  top: -5%;
  animation-delay: 0.3s;
}

.metal-particle-22 {
  left: 52%;
  top: -5%;
  animation-delay: 0.8s;
}

.metal-particle-23 {
  left: 54%;
  top: -5%;
  animation-delay: 1.3s;
}

.metal-particle-24 {
  left: 56%;
  top: -5%;
  animation-delay: 1.8s;
}

.metal-particle-25 {
  left: 58%;
  top: -5%;
  animation-delay: 2.3s;
}

.metal-particle-26 {
  left: 51%;
  top: -5%;
  animation-delay: 2.8s;
}

.metal-particle-27 {
  left: 53%;
  top: -5%;
  animation-delay: 3.3s;
}

.metal-particle-28 {
  left: 55%;
  top: -5%;
  animation-delay: 3.8s;
}

.metal-particle-29 {
  left: 57%;
  top: -5%;
  animation-delay: 4.3s;
}

.metal-particle-30 {
  left: 59%;
  top: -5%;
  animation-delay: 4.8s;
}

@keyframes metalFloat {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(110vh) translateX(calc(-30px + 60px * var(--drift, 0.5))) rotate(720deg);
    opacity: 0;
  }
}

/* Faster particle speeds - reduce duration by 50% */
.metal-particle-1 { animation-duration: 7s !important; }
.metal-particle-2 { animation-duration: 9s !important; }
.metal-particle-3 { animation-duration: 8s !important; }
.metal-particle-4 { animation-duration: 7.5s !important; }
.metal-particle-5 { animation-duration: 8.5s !important; }
.metal-particle-6 { animation-duration: 9.5s !important; }
.metal-particle-7 { animation-duration: 7.25s !important; }
.metal-particle-8 { animation-duration: 8.25s !important; }
.metal-particle-9 { animation-duration: 7.75s !important; }
.metal-particle-10 { animation-duration: 8.75s !important; }
.metal-particle-11 { animation-duration: 9.25s !important; }
.metal-particle-12 { animation-duration: 6.75s !important; }
.metal-particle-13 { animation-duration: 8.1s !important; }
.metal-particle-14 { animation-duration: 7.4s !important; }
.metal-particle-15 { animation-duration: 8.6s !important; }
.metal-particle-16 { animation-duration: 7.9s !important; }
.metal-particle-17 { animation-duration: 9.1s !important; }
.metal-particle-18 { animation-duration: 8.4s !important; }
.metal-particle-19 { animation-duration: 7.1s !important; }
.metal-particle-20 { animation-duration: 9.6s !important; }
.metal-particle-21 { animation-duration: 7.2s !important; }
.metal-particle-22 { animation-duration: 8.2s !important; }
.metal-particle-23 { animation-duration: 7.6s !important; }
.metal-particle-24 { animation-duration: 8.8s !important; }
.metal-particle-25 { animation-duration: 7.3s !important; }
.metal-particle-26 { animation-duration: 8.5s !important; }
.metal-particle-27 { animation-duration: 7.7s !important; }
.metal-particle-28 { animation-duration: 8.3s !important; }
.metal-particle-29 { animation-duration: 7.4s !important; }
.metal-particle-30 { animation-duration: 8.6s !important; }

/* Drift variations for horizontal movement */
.metal-particle-1 { --drift: 0.3; }
.metal-particle-2 { --drift: 0.7; }
.metal-particle-3 { --drift: 0.5; }
.metal-particle-4 { --drift: 0.2; }
.metal-particle-5 { --drift: 0.8; }
.metal-particle-6 { --drift: 0.4; }
.metal-particle-7 { --drift: 0.6; }
.metal-particle-8 { --drift: 0.9; }
.metal-particle-9 { --drift: 0.1; }
.metal-particle-10 { --drift: 0.55; }
.metal-particle-11 { --drift: 0.35; }
.metal-particle-12 { --drift: 0.65; }
.metal-particle-13 { --drift: 0.45; }
.metal-particle-14 { --drift: 0.75; }
.metal-particle-15 { --drift: 0.25; }
.metal-particle-16 { --drift: 0.85; }
.metal-particle-17 { --drift: 0.15; }
.metal-particle-18 { --drift: 0.95; }
.metal-particle-19 { --drift: 0.4; }
.metal-particle-20 { --drift: 0.6; }
.metal-particle-21 { --drift: 0.42; }
.metal-particle-22 { --drift: 0.58; }
.metal-particle-23 { --drift: 0.48; }
.metal-particle-24 { --drift: 0.52; }
.metal-particle-25 { --drift: 0.38; }
.metal-particle-26 { --drift: 0.62; }
.metal-particle-27 { --drift: 0.46; }
.metal-particle-28 { --drift: 0.54; }
.metal-particle-29 { --drift: 0.44; }
.metal-particle-30 { --drift: 0.56; }

/* Welding Animation Effect */
.welding-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* Pause animations until section is visible */
.welding-animation:not(.animations-active) * {
  animation-play-state: paused;
  opacity: 0;
}

.welding-animation.animations-active .welding-torch,
.welding-animation.animations-active .welding-trail,
.welding-animation.animations-active .weld-particle,
.welding-animation.animations-active .spray-particle {
  animation-play-state: running;
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

/* Welding Torch */
.welding-torch {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 10;
  animation: torchMove 12s linear infinite;
}

.torch-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 1),
    0 0 20px rgba(135, 206, 255, 1),
    0 0 30px rgba(70, 150, 255, 0.8),
    0 0 40px rgba(30, 100, 255, 0.6);
  animation: torchPulse 0.15s ease-in-out infinite alternate;
}

.torch-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle,
    rgba(135, 206, 255, 0.8) 0%,
    rgba(70, 150, 255, 0.5) 30%,
    rgba(30, 100, 255, 0.3) 50%,
    transparent 70%);
  border-radius: 50%;
  filter: blur(4px);
  animation: glowPulse 0.3s ease-in-out infinite alternate;
}

/* Welding Trail/Marks */
.welding-trail {
  position: absolute;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 50, 50, 0.8),
    rgba(255, 50, 50, 0.8) 3px,
    rgba(255, 80, 80, 0.6) 3px,
    rgba(255, 80, 80, 0.6) 6px
  );
  box-shadow:
    inset 0 0 5px rgba(200, 0, 0, 0.5),
    0 0 8px rgba(255, 50, 50, 0.4);
  filter: blur(0.5px);
}

.welding-trail-top {
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  animation: trailGrowTop 12s linear infinite;
}

.welding-trail-right {
  top: 0;
  right: 0;
  width: 3px;
  height: 0;
  animation: trailGrowRight 12s linear infinite;
}

.welding-trail-bottom {
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  animation: trailGrowBottom 12s linear infinite;
}

.welding-trail-left {
  bottom: 0;
  left: 0;
  width: 3px;
  height: 0;
  animation: trailGrowLeft 12s linear infinite;
}

/* Flying Particles */
.weld-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 4px rgba(255, 100, 100, 1);
  animation: particleFly 12s linear infinite;
}

.weld-particle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: radial-gradient(circle,
    rgba(255, 100, 100, 0.8) 0%,
    transparent 70%);
  border-radius: 50%;
}

/* Particle variations with different timings and trajectories */
.particle-1 { animation-delay: 0s; }
.particle-2 { animation-delay: 1s; }
.particle-3 { animation-delay: 2s; }
.particle-4 { animation-delay: 3s; }
.particle-5 { animation-delay: 4s; }
.particle-6 { animation-delay: 5s; }
.particle-7 { animation-delay: 6s; }
.particle-8 { animation-delay: 7s; }
.particle-9 { animation-delay: 8s; }
.particle-10 { animation-delay: 9s; }
.particle-11 { animation-delay: 10s; }
.particle-12 { animation-delay: 11s; }

/* Spraying Particles - emit from torch position */
.spray-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  box-shadow:
    0 0 3px rgba(255, 150, 50, 1),
    0 0 6px rgba(255, 100, 0, 0.8);
  animation: particleSpray var(--spray-duration, 1.5s) ease-out infinite, torchFollow 12s linear infinite;
  z-index: 5;
  top: 0;
  left: 0;
}

.spray-particle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: radial-gradient(circle,
    rgba(255, 200, 100, 0.9) 0%,
    rgba(255, 150, 50, 0.6) 50%,
    transparent 80%);
  border-radius: 50%;
}

.spray-particle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 200, 100, 0.5), transparent);
  animation: sprayRotate 0.3s linear infinite;
}

/* Spray particles with random directions - using x,y coordinates */
.spray-1 {
  animation-delay: 0s;
  --spray-x: 45px;
  --spray-y: -25px;
  --spray-duration: 1.2s;
  --spray-rotation: 420deg;
}

.spray-2 {
  animation-delay: 0.05s;
  --spray-x: -30px;
  --spray-y: 50px;
  --spray-duration: 1.8s;
  --spray-rotation: 280deg;
}

.spray-3 {
  animation-delay: 0.1s;
  --spray-x: 65px;
  --spray-y: 15px;
  --spray-duration: 1.4s;
  --spray-rotation: 510deg;
}

.spray-4 {
  animation-delay: 0.15s;
  --spray-x: -55px;
  --spray-y: -20px;
  --spray-duration: 1.6s;
  --spray-rotation: 320deg;
}

.spray-5 {
  animation-delay: 0.2s;
  --spray-x: 20px;
  --spray-y: 70px;
  --spray-duration: 1.3s;
  --spray-rotation: 450deg;
}

.spray-6 {
  animation-delay: 0.25s;
  --spray-x: -40px;
  --spray-y: 35px;
  --spray-duration: 1.7s;
  --spray-rotation: 290deg;
}

.spray-7 {
  animation-delay: 0.3s;
  --spray-x: 55px;
  --spray-y: -45px;
  --spray-duration: 1.5s;
  --spray-rotation: 480deg;
}

.spray-8 {
  animation-delay: 0.35s;
  --spray-x: -25px;
  --spray-y: -60px;
  --spray-duration: 1.9s;
  --spray-rotation: 340deg;
}

.spray-9 {
  animation-delay: 0.4s;
  --spray-x: 70px;
  --spray-y: 30px;
  --spray-duration: 1.1s;
  --spray-rotation: 390deg;
}

.spray-10 {
  animation-delay: 0.45s;
  --spray-x: -50px;
  --spray-y: 25px;
  --spray-duration: 1.6s;
  --spray-rotation: 310deg;
}

.spray-11 {
  animation-delay: 0.5s;
  --spray-x: 35px;
  --spray-y: -55px;
  --spray-duration: 1.4s;
  --spray-rotation: 460deg;
}

.spray-12 {
  animation-delay: 0.55s;
  --spray-x: -65px;
  --spray-y: -15px;
  --spray-duration: 1.8s;
  --spray-rotation: 270deg;
}

.spray-13 {
  animation-delay: 0.6s;
  --spray-x: 15px;
  --spray-y: 65px;
  --spray-duration: 1.3s;
  --spray-rotation: 440deg;
}

.spray-14 {
  animation-delay: 0.65s;
  --spray-x: -35px;
  --spray-y: -50px;
  --spray-duration: 1.7s;
  --spray-rotation: 300deg;
}

.spray-15 {
  animation-delay: 0.7s;
  --spray-x: 60px;
  --spray-y: -30px;
  --spray-duration: 1.5s;
  --spray-rotation: 470deg;
}

.spray-16 {
  animation-delay: 0.75s;
  --spray-x: -20px;
  --spray-y: 45px;
  --spray-duration: 1.2s;
  --spray-rotation: 330deg;
}

.spray-17 {
  animation-delay: 0.8s;
  --spray-x: 40px;
  --spray-y: 55px;
  --spray-duration: 1.6s;
  --spray-rotation: 410deg;
}

.spray-18 {
  animation-delay: 0.85s;
  --spray-x: -60px;
  --spray-y: 40px;
  --spray-duration: 1.4s;
  --spray-rotation: 350deg;
}

.spray-19 {
  animation-delay: 0.9s;
  --spray-x: 25px;
  --spray-y: -70px;
  --spray-duration: 1.9s;
  --spray-rotation: 490deg;
}

.spray-20 {
  animation-delay: 0.95s;
  --spray-x: -45px;
  --spray-y: -35px;
  --spray-duration: 1.3s;
  --spray-rotation: 360deg;
}

/* Animations */
@keyframes torchMove {
  0% {
    top: 0;
    left: 0;
  }
  25% {
    top: 0;
    left: 100%;
  }
  50% {
    top: 100%;
    left: 100%;
  }
  75% {
    top: 100%;
    left: 0;
  }
  100% {
    top: 0;
    left: 0;
  }
}

@keyframes torchPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.8;
  }
}

@keyframes glowPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.5;
  }
}

@keyframes trailGrowTop {
  0% {
    width: 0;
  }
  25% {
    width: 100%;
  }
  25.1%, 100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes trailGrowRight {
  0%, 25% {
    height: 0;
  }
  50% {
    height: 100%;
  }
  50.1%, 100% {
    height: 100%;
    opacity: 1;
  }
}

@keyframes trailGrowBottom {
  0%, 50% {
    width: 0;
  }
  75% {
    width: 100%;
  }
  75.1%, 100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes trailGrowLeft {
  0%, 75% {
    height: 0;
  }
  100% {
    height: 100%;
    opacity: 1;
  }
}

@keyframes particleFly {
  0%, 95% {
    opacity: 0;
    transform: translate(0, 0) scale(0);
  }
  1% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  5% {
    opacity: 0;
    transform: translate(
      calc(-20px + var(--random-x, 0) * 40px),
      calc(-15px + var(--random-y, 0) * 30px)
    ) scale(0.3);
  }
  100% {
    opacity: 0;
  }
}

@keyframes particleSpray {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(0, 0) scale(0) rotate(0deg);
  }
  5% {
    opacity: 1;
    transform: translate(-50%, -50%) translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform:
      translate(-50%, -50%)
      translate(var(--spray-x, 0), var(--spray-y, 0))
      scale(0.2)
      rotate(var(--spray-rotation, 360deg));
  }
}

@keyframes sprayRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(180deg);
  }
}

@keyframes torchFollow {
  0% {
    top: 0;
    left: 0;
  }
  25% {
    top: 0;
    left: 100%;
  }
  50% {
    top: 100%;
    left: 100%;
  }
  75% {
    top: 100%;
    left: 0;
  }
  100% {
    top: 0;
    left: 0;
  }
}

/* Different particle trajectories */
.particle-1 { --random-x: 0.2; --random-y: 0.8; }
.particle-2 { --random-x: 0.7; --random-y: 0.3; }
.particle-3 { --random-x: 0.9; --random-y: 0.6; }
.particle-4 { --random-x: 0.3; --random-y: 0.1; }
.particle-5 { --random-x: 0.6; --random-y: 0.9; }
.particle-6 { --random-x: 0.1; --random-y: 0.4; }
.particle-7 { --random-x: 0.8; --random-y: 0.7; }
.particle-8 { --random-x: 0.4; --random-y: 0.2; }
.particle-9 { --random-x: 0.5; --random-y: 0.5; }
.particle-10 { --random-x: 0.95; --random-y: 0.85; }
.particle-11 { --random-x: 0.15; --random-y: 0.65; }
.particle-12 { --random-x: 0.75; --random-y: 0.25; }

.content-box {
  background: #292929;
  padding: 48px;
  max-width: 1000px;
  z-index: 10;
  position: relative;
  overflow: visible;
}

.content-box-icon {
  transform: rotate(270deg);
}

.content-box-title {
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

.content-list {
  list-style: disc;
  list-style-position: inside;
  font-size: 18px;
  font-weight: 600;
  color: #d9d9d9;
  letter-spacing: 0.54px;
  padding-left: 48px;
}

.content-list li {
  line-height: 28px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.content-button {
  background: #e03139;
  padding: 16px;
  height: 52px;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.content-button:hover {
  background: #c02831;
}

.content-button span {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

/* Production Program */
.production-program-section {
  position: relative;
}

.thunder-animation-container {
  position: relative;
  overflow: hidden;
}

.thunder-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: grayscale(0%);
  transition: filter 0.1s ease;
}

/* Base image - visible most of the time */
.thunder-base {
  opacity: 1;
  animation: thunderCycle 3s infinite;
}

/* Lightning images - flash quickly during thunder strike */
.thunder-1 {
  animation: thunderFlash1 3s infinite;
}

.thunder-2 {
  animation: thunderFlash2 3s infinite;
}

.thunder-3 {
  animation: thunderFlash3 3s infinite;
}

.thunder-4 {
  animation: thunderFlash4 3s infinite;
}

.thunder-5 {
  animation: thunderFlash5 3s infinite;
}

/* Thunder strike animation - fast switching between images */
@keyframes thunderCycle {
  /* Normal state - show base image */
  0%, 80% {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
  }
  /* Thunder strike begins - start going black and white */
  80.1% {
    opacity: 1;
    filter: grayscale(100%) brightness(0.8);
  }
  /* During strike - stay black and white (including during the 0.6s lightning display) */
  80.2%, 92.3% {
    opacity: 1;
    filter: grayscale(100%) brightness(0.7);
  }
  /* Return to normal gradually */
  92.4% {
    filter: grayscale(80%) brightness(0.9);
  }
  93% {
    filter: grayscale(50%) brightness(0.95);
  }
  93.5% {
    filter: grayscale(20%) brightness(1);
  }
  94%, 100% {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
  }
}

@keyframes thunderFlash1 {
  0%, 80% {
    opacity: 0;
    filter: grayscale(100%) brightness(1.5);
  }
  /* First flash - quick */
  80.1% {
    opacity: 1;
    filter: grayscale(100%) brightness(2);
  }
  80.15% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes thunderFlash2 {
  0%, 80.15% {
    opacity: 0;
    filter: grayscale(100%) brightness(1.5);
  }
  /* Second flash - very quick */
  80.2% {
    opacity: 1;
    filter: grayscale(100%) brightness(2.5);
  }
  80.25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes thunderFlash3 {
  0%, 80.25% {
    opacity: 0;
    filter: grayscale(100%) brightness(1.5);
  }
  /* Third flash - brightest and stays for 0.6 seconds (12% of 5s cycle) */
  80.3% {
    opacity: 1;
    filter: grayscale(100%) brightness(3);
  }
  81% {
    opacity: 1;
    filter: grayscale(100%) brightness(2.8);
  }
  82% {
    opacity: 1;
    filter: grayscale(100%) brightness(2.5);
  }
  85% {
    opacity: 1;
    filter: grayscale(100%) brightness(2.2);
  }
  90% {
    opacity: 1;
    filter: grayscale(100%) brightness(2);
  }
  92% {
    opacity: 0.9;
    filter: grayscale(100%) brightness(1.8);
  }
  92.3% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes thunderFlash4 {
  0%, 92.3% {
    opacity: 0;
    filter: grayscale(100%) brightness(1.5);
  }
  /* Fourth flash - after the long lightning */
  92.4% {
    opacity: 1;
    filter: grayscale(100%) brightness(2);
  }
  92.5% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes thunderFlash5 {
  0%, 92.5% {
    opacity: 0;
    filter: grayscale(100%) brightness(1.5);
  }
  /* Fifth flash - final bright flash */
  92.6% {
    opacity: 1;
    filter: grayscale(100%) brightness(2.2);
  }
  92.7% {
    opacity: 0.6;
    filter: grayscale(100%) brightness(1.8);
  }
  92.8% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.production-program-overlay {
  width: 40%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
  z-index: 1;
}

.production-program-content {
  flex-direction: column;
  gap: 24px;
}

.production-program-icon {
  width: 30px;
  height: 37px;
}

.production-program-title {
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
  margin: 0;
}

.production-program-button {
  background: #e03139;
  padding: 16px 24px;
  height: 52px;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 4px;
  border: none;
}

.production-program-button:hover {
  background: #c02831;
}

.production-program-button span {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

/* News Section */
.news-card {
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}

.news-card-large {
  height: 824px;
}

.news-card-overlay {
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
}

.news-card-content h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.news-card-content a:hover h3 {
  color: #d1d5db !important;
}

.news-section-button {
  background: #e03139;
  padding: 16px 24px;
  height: 52px;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 4px;
  border: none;
}

.news-section-button:hover {
  background: #c02831;
}

.news-section-button span {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

/* Footer */
.footer-top {
  background: linear-gradient(90deg, #9F9F9F 0%, #000000 51.53%);
}

.footer-logo {
  width: 142px;
  height: 58px;
}

.footer-copyright {
  font-size: 14px;
  font-weight: 400;
  color: #9DA1AC;
  text-transform: uppercase;
  line-height: 1.5;
}

.footer-links a {
  color: #9DA1AC;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d1d5db !important;
}

.footer-contact p {
  color: #9DA1AC;
  font-size: 14px;
  font-weight: 400;
  text-align: right;
}

.footer-contact a {
  color: #9DA1AC;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #d1d5db !important;
}

/* Utility Classes */
.cursor-pointer {
  cursor: pointer;
}

/* Container max-width override */
.container-xxl {
  max-width: 1512px;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .hero-title {
    font-size: 60px;
  }

  .hero-arrow-left {
    width: 280px;
    height: 290px;
    left: -40px;
  }

  .hero-arrow-right {
    width: 320px;
    height: 340px;
    right: -60px;
  }
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 50px;
    line-height: 1.2;
  }

  .hero-description p {
    font-size: 14px;
  }

  .container-xxl {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-arrow-pattern {
    opacity: 0.15;
  }

  .hero-arrow-left {
    width: 240px;
    height: 250px;
  }

  .hero-arrow-right {
    width: 280px;
    height: 300px;
  }

  /* Reduce number of visible particles on tablets */
  .metal-particle:nth-child(n+11) {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-section {
    height: 600px !important;
  }

  .hero-arrow-pattern {
    display: none;
  }

  .hero-bottom-overlay {
    height: 75%;
  }

  .content-box {
    padding: 32px;
  }

  .welding-torch {
    width: 12px;
    height: 12px;
  }

  .torch-core {
    width: 5px;
    height: 5px;
  }

  .torch-glow {
    width: 25px;
    height: 25px;
  }

  .welding-trail {
    height: 2px;
  }

  .welding-trail-right,
  .welding-trail-left {
    width: 2px;
  }

  .weld-particle {
    width: 2px;
    height: 2px;
  }

  .weld-particle::before {
    width: 4px;
    height: 4px;
  }

  .metal-particles-container {
    display: none;
  }
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.animate-in {
  opacity: 1;
}

/* Fade in from bottom */
.fade-up {
  transform: translateY(50px);
}

.fade-up.animate-in {
  transform: translateY(0);
}

/* Fade in from left */
.fade-left {
  transform: translateX(-50px);
}

.fade-left.animate-in {
  transform: translateX(0);
}

/* Fade in from right */
.fade-right {
  transform: translateX(50px);
}

.fade-right.animate-in {
  transform: translateX(0);
}

/* Fade in from top */
.fade-down {
  transform: translateY(-50px);
}

.fade-down.animate-in {
  transform: translateY(0);
}

/* Scale animation */
.scale-in {
  transform: scale(0.8);
}

.scale-in.animate-in {
  transform: scale(1);
}

/* Staggered children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stagger-children.animate-in > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.animate-in > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.animate-in > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.animate-in > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.animate-in > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.animate-in > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.animate-in > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children.animate-in > *:nth-child(8) { transition-delay: 0.8s; }

.stagger-children.animate-in > * {
  opacity: 1;
  transform: translateY(0);
}

/* Production Facilities Section - Crazy Animations! */
.production-facilities-section {
  position: relative;
}

/* Industrial Animations Container */
.industrial-animations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

/* Pause animations until section is visible */
.industrial-animations:not(.animations-active) * {
  animation-play-state: paused;
  opacity: 0;
}

.industrial-animations.animations-active .rotating-gear,
.industrial-animations.animations-active .industrial-spark,
.industrial-animations.animations-active .pulsing-light,
.industrial-animations.animations-active .conveyor-line {
  animation-play-state: running;
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

/* Rotating Gears */
.rotating-gear {
  position: absolute;
  opacity: 0.6;
  filter: drop-shadow(0 0 10px rgba(255, 200, 100, 0.5));
}

.gear-1 {
  top: 10%;
  left: 15%;
  animation: gearRotate 8s linear infinite;
}

.gear-2 {
  top: 60%;
  right: 20%;
  animation: gearRotate 6s linear infinite reverse;
}

.gear-3 {
  bottom: 20%;
  left: 50%;
  animation: gearRotate 10s linear infinite;
}

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

/* Industrial Sparks */
.industrial-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    0 0 10px rgba(255, 200, 100, 1),
    0 0 20px rgba(255, 150, 50, 0.8),
    0 0 30px rgba(255, 100, 0, 0.6);
  animation: sparkBurst 2s ease-out infinite;
}

.spark-1 {
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.spark-2 {
  top: 40%;
  right: 25%;
  animation-delay: 0.3s;
}

.spark-3 {
  bottom: 30%;
  left: 40%;
  animation-delay: 0.6s;
}

.spark-4 {
  top: 50%;
  left: 60%;
  animation-delay: 0.9s;
}

.spark-5 {
  bottom: 40%;
  right: 35%;
  animation-delay: 1.2s;
}

.spark-6 {
  top: 70%;
  left: 20%;
  animation-delay: 1.5s;
}

@keyframes sparkBurst {
  0% {
    transform: scale(0) translate(0, 0);
    opacity: 1;
  }
  50% {
    transform: scale(1.5) translate(20px, -30px);
    opacity: 0.8;
  }
  100% {
    transform: scale(0) translate(40px, -60px);
    opacity: 0;
  }
}

/* Pulsing Lights */
.pulsing-light {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 100, 0.8), transparent);
  box-shadow: 0 0 20px rgba(255, 200, 100, 0.6);
  animation: lightPulse 3s ease-in-out infinite;
}

.light-1 {
  top: 15%;
  right: 30%;
  animation-delay: 0s;
}

.light-2 {
  bottom: 25%;
  left: 25%;
  animation-delay: 1s;
}

.light-3 {
  top: 55%;
  right: 15%;
  animation-delay: 2s;
}

@keyframes lightPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

/* Conveyor Lines */
.conveyor-line {
  position: absolute;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 200, 100, 0.6) 50%,
    transparent 100%);
  box-shadow: 0 0 10px rgba(255, 200, 100, 0.4);
  animation: conveyorMove 4s linear infinite;
}

.line-1 {
  top: 25%;
  left: 0;
  width: 40%;
  animation-delay: 0s;
}

.line-2 {
  top: 65%;
  right: 0;
  width: 35%;
  animation-delay: 1s;
  animation-direction: reverse;
}

.line-3 {
  bottom: 15%;
  left: 30%;
  width: 30%;
  animation-delay: 2s;
}

@keyframes conveyorMove {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Content Box Animations */
.facilities-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-pulse {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 49, 57, 0.3), rgba(224, 49, 57, 0.1), transparent);
  box-shadow: 0 0 30px rgba(224, 49, 57, 0.2);
  animation: bgPulse 4s ease-in-out infinite;
  z-index: 0;
}

.pulse-1 {
  top: -50px;
  left: -50px;
  animation-delay: 0s;
}

.pulse-2 {
  bottom: -50px;
  right: -50px;
  animation-delay: 1.3s;
}

.pulse-3 {
  top: 50%;
  left: 50%;
  animation-delay: 2.6s;
  animation-name: bgPulseCenter;
}

@keyframes bgPulse {
  0%, 100% {
    transform: scale(0.5);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.8);
    opacity: 0.2;
  }
}

@keyframes bgPulseCenter {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.4;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0.2;
  }
}

/* Icon Animation */
.facilities-icon-animated {
  animation: iconSpin 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(224, 49, 57, 0.6));
}

@keyframes iconSpin {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-5deg) scale(1.1);
  }
  50% {
    transform: rotate(0deg) scale(1);
  }
  75% {
    transform: rotate(5deg) scale(1.1);
  }
}

/* Title Animation */
.facilities-title-animated {
  animation: titleGlow 2s ease-in-out infinite alternate;
  position: relative;
}

.facilities-title-animated::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: calc(90% - 40px);
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(224, 49, 57, 0.2) 50%,
    transparent 100%);
  animation: titleShine 3s linear infinite;
  pointer-events: none;
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  100% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 25px rgba(224, 49, 57, 0.4);
  }
}

@keyframes titleShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* List Items Animation */
.facilities-list {
  position: relative;
  z-index: 1;
}

.list-item-animated {
  position: relative;
  animation: listItemSlide 0.6s ease-out forwards;
  opacity: 0;
  transform: translateX(-20px);
}

.list-item-animated:nth-child(1) {
  animation-delay: 0.1s;
}

.list-item-animated:nth-child(2) {
  animation-delay: 0.2s;
}

.list-item-animated:nth-child(3) {
  animation-delay: 0.3s;
}

.list-item-animated:nth-child(4) {
  animation-delay: 0.4s;
}

.list-item-animated:nth-child(5) {
  animation-delay: 0.5s;
}

.list-item-animated:nth-child(6) {
  animation-delay: 0.6s;
}

.list-item-animated::before {
  content: "▶";
  position: absolute;
  left: -20px;
  color: #E03139;
  animation: listMarkerPulse 1.5s ease-in-out infinite;
  opacity: 0;
}

.list-item-animated:hover::before {
  opacity: 1;
}

.list-item-animated:hover {
  transform: translateX(10px);
  transition: transform 0.3s ease;
  color: #fff;
  text-shadow: 0 0 10px rgba(224, 49, 57, 0.8);
}

@keyframes listItemSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes listMarkerPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Button Animation */
.facilities-button-animated {
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: buttonPulse 2s ease-in-out infinite;
}

.facilities-button-animated::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.facilities-button-animated:hover::before {
  width: 300px;
  height: 300px;
}

.facilities-button-animated::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent);
  animation: buttonShine 3s linear infinite;
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(224, 49, 57, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(224, 49, 57, 0.8), 0 0 40px rgba(224, 49, 57, 0.4);
  }
}

@keyframes buttonShine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

