html {
  scroll-behavior: smooth;
}

/* Industrial grid pattern overlay */
.hero-pattern {
  background-image:
    linear-gradient(rgba(0, 51, 102, 0.95), rgba(0, 128, 128, 0.9)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(255, 255, 255, 0.03) 50px,
      rgba(255, 255, 255, 0.03) 51px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(255, 255, 255, 0.03) 50px,
      rgba(255, 255, 255, 0.03) 51px
    );
}

/* Active nav link styling */
.nav-link.active {
  color: #ff6600;
}

/* Product card hover effect */
.product-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 51, 102, 0.15);
}

/* Process step with connector */
.process-step {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

/* Vertical dotted line on mobile (default) - connects to next circle */
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -48px;
  transform: translateX(-50%);
  width: 2px;
  height: 46px;
  background-image: linear-gradient(
    to bottom,
    #ff6600 50%,
    transparent 50%
  );
  background-size: 2px 8px;
  background-repeat: repeat-y;
}

/* Horizontal dotted line on desktop */
@media (min-width: 768px) {
  .process-step {
    padding-bottom: 0;
  }
  .process-step:not(:last-child)::after {
    left: calc(50% + 30px);
    top: 24px;
    transform: translateY(-50%);
    width: calc(100% - 12px);
    height: 2px;
    background-image: linear-gradient(
      to right,
      #ff6600 50%,
      transparent 50%
    );
    background-size: 8px 2px;
    background-repeat: repeat-x;
  }
}

/* Button hover effects */
.btn-primary {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Modal system */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 34, 68, 0.75);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-backdrop.active {
  opacity: 1;
}
.modal-panel {
  background: white;
  border-radius: 1rem;
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}
.modal-backdrop.active .modal-panel {
  transform: translateY(0) scale(1);
}
body.modal-open {
  overflow: hidden;
}
.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: "Open Sans", sans-serif;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: #008080;
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.15);
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #003366;
  margin-bottom: 0.25rem;
}
.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
}
.form-checkbox-label input[type="checkbox"] {
  accent-color: #ff6600;
  width: 1rem;
  height: 1rem;
}
.product-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.25s ease,
    margin-top 0.3s ease;
  margin-top: 0;
}
.product-details.open {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
