* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #14213d;
  --navy-light: #1c2f52;
  --teal: #2ea8a0;
  --teal-dark: #23847d;
  --bg-light: #f3f5f7;
  --text-muted: #5b6472;
}

html, body {
  overflow-x: hidden;
}

img, iframe {
  max-width: 100%;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 78px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-left: -20px;
}

.logo-img {
  height: 175px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: #cfd6e0;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: #fff;
  border-bottom: 2px solid var(--teal);
}

/* Hero (Home page only) */
.hero {
  background:
    linear-gradient(rgba(20,33,61,0.88), rgba(20,33,61,0.93)),
    url('images/hero-cnc-gear.jpg') center/cover no-repeat;
  color: #fff;
  padding: 120px 0;
  text-align: center;
}

.hero .tagline {
  color: var(--teal);
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.4rem;
  font-family: 'Archivo', sans-serif;
  margin-bottom: 20px;
}

.hero .lede {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #cfd6e0;
}

/* Page banner (inner pages) */
.page-banner {
  background:
    linear-gradient(rgba(20,33,61,0.9), rgba(20,33,61,0.9)),
    url('images/hero-cnc-gear.jpg') center/cover no-repeat;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  font-family: 'Archivo', sans-serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.page-banner p {
  color: #cfd6e0;
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--teal-dark);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}

/* Sections */
.section {
  padding: 70px 0;
}

.section.alt {
  background: var(--bg-light);
}

.section.navy {
  background: var(--navy);
  color: #fff;
}

.section h2 {
  font-size: 1.8rem;
  text-transform: uppercase;
  font-family: 'Archivo', sans-serif;
  letter-spacing: 0.5px;
  text-align: center;
  color: var(--navy);
  position: relative;
  padding-bottom: 16px;
}

.section h2.light {
  color: #fff;
}

.section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--teal);
  margin: 12px auto 0;
  border-radius: 2px;
}

.eyebrow {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.eyebrow.light {
  color: #b9c2d0;
}

.section-footer {
  text-align: center;
  margin-top: 40px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-grid p {
  margin-bottom: 16px;
}

.about-grid p:last-child {
  margin-bottom: 0;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.quick-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.fact {
  border-left: 3px solid var(--teal);
  padding-left: 14px;
}

.fact-num {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
}

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

.badge {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.badge-label {
  color: var(--teal);
  font-size: 0.8rem;
  letter-spacing: 1px;
  font-weight: bold;
}

.badge-main {
  font-size: 1.6rem;
  font-weight: bold;
}

.badge-sub {
  color: #cfd6e0;
  font-size: 0.85rem;
}

/* Vision & Mission */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vm-card {
  border-radius: 12px;
  padding: 34px;
}

.vm-vision {
  background: var(--navy);
  color: #fff;
}

.vm-vision p {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
}

.vm-mission {
  background: #fff;
  border: 1px solid #e2e5ea;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.vm-label {
  display: block;
  color: var(--teal);
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.vm-mission ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vm-mission li {
  padding-left: 22px;
  position: relative;
  color: #333;
}

.vm-mission li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 2px;
}

/* Grid / cards (Services, Why Choose Us) */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--teal);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(46,168,160,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.05rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Photo gallery */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: block;
}

/* Quality Assurance */
.quality-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
}

.quality-photo {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.quality-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.step h4 {
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 1rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Industries */
.tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tags span {
  background: var(--navy-light);
  color: #fff;
  padding: 22px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stats band */
.stats-band {
  background: var(--navy-light);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: 'Archivo', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
}

.stat-label {
  color: #cfd6e0;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* CTA banner */
.cta-banner {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}

.cta-banner h2 {
  font-family: 'Archivo', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
  text-transform: none;
}

.cta-banner p {
  margin-bottom: 24px;
  color: rgba(255,255,255,0.92);
}

.cta-banner .btn {
  background: #fff;
  color: var(--navy);
}

.cta-banner .btn:hover {
  background: #eef1f4;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info p {
  margin-bottom: 15px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

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

.map-wrapper {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
}

/* Footer */
footer {
  background: var(--navy);
  color: #cfd6e0;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 110px;
  margin-bottom: 3px;
  filter: brightness(0) invert(1);
}

.footer-col p {
  font-size: 0.88rem;
  color: #aab3c2;
}

.footer-col h4 {
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.footer-col a {
  display: block;
  color: #cfd6e0;
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: #8b96a8;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 15px 0;
    gap: 10px;
  }

  .logo {
  align-self: center;
}

.logo img {
    height: 80px;
    width: 150px;
  }

 

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 18px;
    justify-content: space-between;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero .tagline {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  .hero .lede {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .page-banner {
    padding: 40px 0;
  }

  .page-banner h1 {
    font-size: 1.5rem;
  }

  .section {
    padding: 45px 0;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .eyebrow {
    font-size: 0.85rem;
    padding: 0 10px;
  }

  .grid,
  .grid-3,
  .contact-grid,
  .about-grid,
  .vm-grid,
  .quality-grid,
  .quick-facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tags {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tags span {
    padding: 16px 10px;
    font-size: 0.85rem;
  }

  .badge {
    padding: 20px;
  }

  .contact-info p {
    font-size: 0.9rem;
    word-break: break-word;
  }

  .map-wrapper iframe {
    height: 220px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .cta-banner {
    padding: 45px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* CAPABILITIES */
.capabilities-subhead {
  margin-top: 30px;
  margin-bottom: 14px;
}

.machinery-table {
  width: 100%;
  border-collapse: collapse;
}

.machinery-table th,
.machinery-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #e2e2e2;
}

.machinery-table th {
  background: var(--navy);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.machinery-table tr:last-child td {
  border-bottom: none;
}

.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.material-tags span {
  background: var(--bg-light);
  border: 1px solid var(--teal);
  color: var(--navy);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .machinery-table {
    font-size: 0.85rem;
  }
  .machinery-table th,
  .machinery-table td {
    padding: 10px 8px;
  }
}

