:root {
  --red: #c5121b;
  --dark: #050816;
  --dark-alt: #0b1220;
  --light: #f9fafb;
  --muted: #d1d5db;
  --accent: #facc15;
  --border: #1f2937;
  --card-bg: #0f172a;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius-lg: 1.5rem;
  --radius-md: 0.9rem;
  --transition-fast: 0.18s ease-out;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* When jumping to #sections (About, Industries, etc),
   leave room so the header doesn't cover the title */
section[id] {
  scroll-margin-top: 110px; /* adjust up/down if needed */
}

.brand-text {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===================== HEADER / NAV ===================== */

header {
  position: relative;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.97),
    rgba(15, 23, 42, 0.92),
    transparent
  );
  border-bottom: 1px solid rgba(55, 65, 81, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Logo size (desktop) */
.brand-logo {
  width: 220px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-title {
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links a {
  position: relative;
  color: #e5e7eb;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.32rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--red));
  border-radius: 999px;
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.35rem 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

.btn {
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  border: 1px solid transparent;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--red), #991b1b);
  color: #f9fafb;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.btn span {
  font-size: 1rem;
  margin-top: 1px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.8);
  background: linear-gradient(135deg, #ef4444, var(--red));
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

/* Mobile nav button (hamburger) */
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.96);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
  transition: transform 0.2s ease-out, background 0.2s ease-out;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out, top 0.2s ease-out;
}

.nav-toggle-line::before {
  top: -5px;
}

.nav-toggle-line::after {
  top: 5px;
}

/* When nav is open, make the three lines into an "X" */
.nav-open .nav-toggle-line {
  background: transparent;
}

.nav-open .nav-toggle-line::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle-line::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===================== HERO ===================== */

.hero {
  padding: 3.4rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent) 0, #b45309 60%, #0f172a 100%);
  box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.16);
}

.hero-title {
  font-size: clamp(2.4rem, 2.4rem + 1.2vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.hero-title span {
  display: block;
}

.hero-title-strong {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(250, 204, 21, 0.32);
}

.hero-tagline {
  font-size: 1.02rem;
  color: #e5e7eb;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 0.95rem;
  color: #9ca3af;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.hero-meta span {
  padding-left: 1.1rem;
  position: relative;
}

.hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to bottom right, var(--red), #f97316);
  box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.12);
}

.hero-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.08), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(30, 64, 175, 0.4), #020617 68%);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
}

.hero-metric-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.hero-metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
}

.hero-metric-value {
  font-size: 1.4rem;
  font-weight: 700;
}

.hero-metric-sub {
  font-size: 0.78rem;
  color: #d1d5db;
}

.hero-divider {
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    rgba(148, 163, 184, 0.05),
    rgba(148, 163, 184, 0.9),
    rgba(148, 163, 184, 0.05)
  );
  margin-bottom: 1.4rem;
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
  font-size: 0.8rem;
  color: #e5e7eb;
}

.hero-spec-label {
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  margin-bottom: 0.18rem;
}

.hero-spec-value {
  font-weight: 500;
}

.hero-watermark {
  position: absolute;
  inset: auto auto -3rem -2rem;
  font-size: 4.6rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.9);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ===================== SECTIONS BASE ===================== */

section {
  padding: 3.2rem 0;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.3rem;
}

.section-sub {
  font-size: 1.1rem;
  color: #9ca3af;
  max-width: 28rem;
}

/* ===================== ABOUT ===================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.about-text p {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 0.85rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
}

.about-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.5rem 1.4rem 1.6rem;
  background: radial-gradient(circle at 120% 0, rgba(248, 250, 252, 0.06), transparent 55%),
    #020617;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.65);
}

.about-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 1.2rem;
  align-items: center;
}

.about-card-heading {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.3rem;
}

.about-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about-card-text {
  font-size: 0.86rem;
  color: #d1d5db;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.about-list li {
  position: relative;
  padding-left: 1.15rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(to bottom right, var(--accent), #f97316);
}

/* ===================== PRODUCTS / CAPABILITIES ===================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at 0 0, rgba(249, 250, 251, 0.05), transparent 50%),
    #020617;
  padding: 1.1rem 1.1rem 1.3rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-image {
  width: 100%;
  max-height: 190px;
  border-radius: 0.75rem;
  object-fit: cover;
  margin-bottom: 0.75rem;
  display: block;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.card-title {
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.card-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.22rem 0.55rem;
}

.card-body {
  font-size: 0.83rem;
  color: #d1d5db;
  margin-bottom: 0.4rem;
}

.card-list {
  list-style: none;
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-top: 0.4rem;
}

.card-list li {
  position: relative;
  padding-left: 1rem;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent);
  font-size: 0.9rem;
}

/* ===================== INDUSTRIES ===================== */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.industry {
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1rem 1rem 1.1rem;
  background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.04), transparent 50%),
    #020617;
  font-size: 0.82rem;
  color: #d1d5db;
}

.industry-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.3rem;
}

.industry-image {
  width: 100%;
  max-height: 190px;
  border-radius: 0.75rem;
  object-fit: cover;
  margin-bottom: 0.6rem;
  display: block;
}

/* ===================== QUALITY / VALUES ===================== */

.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 2.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.quality-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 1.4rem;
}

.value-pill {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.35rem 0.9rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
}

.quality-text p {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 0.7rem;
}

.quality-text p:last-child {
  margin-bottom: 0;
}

.quality-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.quality-metric {
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 0.9rem 1rem;
  background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.04), transparent 60%),
    #020617;
  font-size: 0.8rem;
  color: #d1d5db;
}

.quality-metric span {
  display: block;
}

.quality-metric-value {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.quality-metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

/* ===================== CONTACT / QUOTE ===================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 2.3fr);
  gap: 2rem;
  align-items: flex-start;
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  display: block;
  margin-bottom: 0.3rem;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  outline: none;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.3);
  background: rgba(15, 23, 42, 1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.5rem 1.4rem 1.6rem;
  background: radial-gradient(circle at 100% 0, rgba(248, 250, 252, 0.06), transparent 55%),
    #020617;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.65);
  font-size: 0.88rem;
  color: #e5e7eb;
  display: grid;
  gap: 0.8rem;
}

.contact-card h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.5rem;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
}

.contact-value {
  font-weight: 500;
}

.contact-note {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.7rem;
}

/* ===================== FOOTER ===================== */

footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.8rem 0 2rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

/* ===================== RESPONSIVE ===================== */

/* Tablets / small laptops */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    inset: 100% 1.5rem auto;
    border-radius: 1rem;
    border: 1px solid rgba(31, 41, 55, 0.95);
    background: rgba(15, 23, 42, 0.97);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.7);
    padding: 0.7rem 1.1rem 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.16s ease-out, transform 0.16s ease-out;
  }

  .nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 0.5rem;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-grid,
  .quality-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Slightly bigger body text on small screens */
  body {
    font-size: 17px;
  }

  /* ✅ Lighter shadows on mobile for performance */
  .hero-card,
  .card,
  .industry,
  .about-card,
  .contact-card {
    box-shadow: none;
  }
}

/* Small phones */
@media (max-width: 720px) {
  .cards-grid,
  .industries-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-specs {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    padding: 1.4rem 1.3rem 1.5rem;
  }

  section {
    padding: 2.6rem 0;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  /* Slightly smaller logo on phones */
  .brand-logo {
    width: 180px;
  }
}

/* Extra small phones */
@media (max-width: 520px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ---------------------------
   FIX ACCESSIBILITY CONTRAST
----------------------------*/

/* 1. Improve contrast on the pill text */
.pill {
  color: #ffffff !important;       /* brighter text */
  opacity: 0.95;                   /* keeps the style but increases readability */
}

/* 2. Improve contrast on button outline */
.btn-outline {
  color: #ffffff !important;       /* text brighter */
  border-color: #ffffff !important; /* outline brighter */
}

.btn-outline:hover {
  background: #ffffff10;           /* subtle hover */
  border-color: #ffffff;
  color: #ffffff;
}
