/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: sans-serif; color: #222; line-height: 1.5; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

a { color: inherit; text-decoration: none; }

/* === HEADER === */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo { max-height: 50px; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.site-nav .divider {
  color: #999;
  margin: 0 0.5rem;
  user-select: none;
}
.contact-info a {
  margin-left: 1rem;
  font-size: 0.95rem;
}

/* === HERO === */
.hero-alt {
 background: url('images/hero-bg.png') center/cover no-repeat;
  height: calc(100vh - 120px);
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
}
.hero-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.hero-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
  padding: 0 1rem;
}
.hero-content h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s;
}
.btn-primary:hover {
  background-color: #0056b3;
}


/* BUILT ON PRECISION */
.built-precision {
  background: #fff;
  padding: 4rem 2rem;
}
.built-precision-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.built-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 6px;
}
.built-text {
  flex: 1;
  min-width: 300px;
}
.built-text h2 {
  font-size: 2rem;
  color: #cc1f1f;
  margin-bottom: 1rem;
}
.built-text p {
  margin-bottom: 1rem;
  color: #444;
}

/* === SYSTEMS INTRO === */
.systems-intro {
  text-align: center;
  padding: 3rem 1rem;
  background: #ffffff;

}
.systems-intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.systems-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* === PILLAR SECTIONS === */
 .pillar-sections .container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 1rem;
}
 .pillar-item {
  background: #eef7ff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;

}
.pillar-image img {
  max-width: 160px;
  height: auto;
  border-radius: 4px;
}
.pillar-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* === CONTACT === */
.contact {
  background: #f5f5f5;
  padding: 4rem 1rem;
}
.contact .split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}
.contact-text {
  flex: 1 1 300px;
}
.contact-form {
  flex: 1 1 300px;
  display: grid;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form button {
  background: #0074D9;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}

/* === MARQUEE === */
.certifications {
  background: #fff;
  padding: 2rem 0;
}
.logo-marquee {
  overflow: hidden;
}
.marquee-track {
  display: flex;
  animation: scroll 20s linear infinite;
}
.marquee-track img {
  margin: 0 1rem;
  max-height: 50px;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === FOOTER === */
.footer-legal {
  background: #f8f8f8;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

/* === RESPONSIVE: Mobile Optimisations === */
@media (max-width: 480px) {
  body {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-alt h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-alt p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-primary, .contact-form button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
  }

  section {
    padding: 2rem 1rem;
  }

  .built-content h2 span {
    font-size: 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
  }

  .logo-marquee img {
    max-height: 35px;
    margin: 0 0.5rem;
  }

  footer p {
    font-size: 0.85rem;
  }
}