/* Welding flash effect */
.weld-flash {
  position: relative;
  z-index: 10;
}

.weld-flash::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.9) 0%,
      /* blinding white leading edge */
      rgba(120, 220, 255, 0.7) 5%,
      /* cyan hot glow */
      rgba(0, 180, 255, 0.5) 50%,
      /* trailing blue */
      transparent 70%
      /* fade out */
    );
  background-size: 200% 100%;
  /* allow animation */
  background-position: 100% 0;
  /* start off-screen left */
  animation: weldFlash 1s forwards;
  filter: blur(50px);
}

/* Horizontal arc sweep */
@keyframes weldFlash {
  0% {
    opacity: 1;
    background-position: -65% 0;
    /* left off-screen */
  }

  30% {
    opacity: 1;
    filter: blur(8px) brightness(1.6);
  }

  70% {
    opacity: 0.8;
    filter: blur(6px) brightness(1);
  }

  100% {
    opacity: 0;
    background-position: 100% 0;
    /* sweep across to the right */
    filter: blur(4px);
  }
}

.services_breadcrumb {
  position: relative;
  width: 90%;
  max-width: 1250px;
  margin: 20px auto 10px auto;

}


.services-hero {
  position: relative;
  width: 90%;
  max-width: 1250px;
  margin: 20px auto 10px auto;
  border-radius: 16px;
  box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background: var(--banner_gradient);
  min-height: 200px;

}


#services-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.services-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image: linear-gradient(0deg, rgba(122, 255, 193, 0.03) 1.8px, transparent 1.8px),
    linear-gradient(90deg, rgba(122, 255, 193, 0.03) 1.8px, transparent 1.8px);
  background-size: 20px 20px;
  animation: gridMove 20s linear infinite;
  border-radius: inherit;

  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  margin: 0px 25px 0px 25px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  cursor: default;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-bottom: 10px;

}



.hero-content h1 {

  font-size: 38px;
  margin-bottom: 0px;

}


.badge {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  backdrop-filter: blur(2px);
  z-index: 2;
}

#services_main_container {
  width: 90%;
  max-width: 1250px;
  justify-self: center;
  cursor: default;

}

/* Light theme tweaks for hero text contrast */
.light-theme .hero-content {
  color: #101010;
  text-shadow: none;
}

.light-theme .badge {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.35);
  color: #111;
}

/* ====== GRID & CARDS ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
  gap: 16px;
  margin: 20px 0 20px 0;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-color);
  border-radius: 12px;
  padding: 16px 16px 18px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  backdrop-filter: blur(3px);
  scroll-margin-top: 120px;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(75, 255, 200, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.light-theme .service-card {
  background: var(--card-bg);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.card-header .icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--link-hover-color);
  background: rgba(75, 255, 200, 0.08);
  border: 1px solid rgba(75, 255, 200, 0.25);
}

.service-card h2 {
  font-size: 18px;
  margin: 0;
  color: var(--text-color);
}

.service-card p {
  margin: 6px 0 0 0;
}

/* Lists with accent bullets */
.pretty-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
}

.pretty-list li {
  position: relative;
  padding-left: 18px;
  margin: 6px 0;
}

.pretty-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 8px rgba(75, 255, 200, 0.35);
}

/* ====== INDUSTRIES ====== */
.industries {
  margin: 8px 0 20px 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}

.light-theme .industries {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.industries h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.light-theme .chip {
  background: rgba(255, 255, 255, 0.7);
  color: #111;
  border-color: rgba(0, 0, 0, 0.08);
}

/* ====== CTA ====== */
.cta-strip {
  margin: 22px 0 40px 0;
  border-radius: 14px;
  padding: 18px 16px;
  background: var(--banner_gradient);
  color: var(--text-color);
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  z-index: 0;

}

.cta-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image: linear-gradient(0deg, rgba(122, 255, 193, 0.03) 1.8px, transparent 1.8px),
    linear-gradient(90deg, rgba(122, 255, 193, 0.03) 1.8px, transparent 1.8px);
  background-size: 20px 20px;
  animation: gridMove 20s linear infinite;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;  
  
}

.cta-strip h3 {
  margin: 0 0 6px 0;
}

.cta-strip p {
  margin: 0 0 12px 0;
}

.cta-btn {
  display: inline-block;
  background: var(--button_color);
  color: var(--text-color);
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);

  text-decoration: none;
  
}

/* ====== Responsive ====== */
@media (max-width: 800px) {

  .hero-badges {
    gap: 5px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

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

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(90%, 1fr));
  }
}

@media (max-width: 560px) {
  .services-hero {
    min-height: 220px;
  }


}