/* General styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #0b1f2f; /* deep navy */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo {
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

nav ul li a:hover {
  color: #6baec9; /* accent colour */
}

nav .cta-button {
  background-color: #6baec9;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}

nav .cta-button:hover {
  background-color: #5c9db0;
}

/* Hero section */
.hero {
  position: relative;
  background: url('images/hero.jpg') no-repeat center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Semi-transparent overlay to improve text contrast on hero image */
  background: rgba(0, 20, 30, 0.45);
}

.hero .content {
  position: relative;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero .buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero .button-primary,
.hero .button-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}

/* Global button styles for consistency */
.button-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  background-color: #6baec9;
  color: #fff;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease-in-out;
}

.button-primary:hover {
  background-color: #5c9db0;
}

.button-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  background-color: #fff;
  color: #0b1f2f;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease-in-out;
  border: 1px solid #0b1f2f;
}

.button-secondary:hover {
  background-color: #f0f8fa;
}
.hero .button-primary {
  background-color: #6baec9;
  color: #fff;
}

.hero .button-primary:hover {
  background-color: #5c9db0;
}

.hero .button-secondary {
  background-color: #fff;
  color: #0b1f2f;
}

.hero .button-secondary:hover {
  background-color: #f0f8fa;
}

/* Two pillars section */
.pillars {
  padding: 4rem 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #f7fbfc;
}

.pillars .pillar {
  flex: 1 1 280px;
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.pillars .pillar h3 {
  color: #0b1f2f;
  margin-bottom: 0.75rem;
}

.pillars .pillar p {
  color: #555;
  margin-bottom: 1rem;
}

.pillars .pillar .button-primary {
  display: inline-block;
  margin-top: 1rem;
}

/* Product cards */
.product-cards {
  padding: 4rem 2rem;
  background-color: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background-color: #f7fbfc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card h4 {
  color: #0b1f2f;
  margin-bottom: 0.5rem;
}

.product-card p {
  flex-grow: 1;
  color: #555;
  margin-bottom: 1rem;
}

.product-card .button-primary {
  align-self: flex-start;
}

/* Secondary button style reused across the site */
.button-secondary-alt {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  background-color: #0b1f2f;
  color: #fff;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}

.button-secondary-alt:hover {
  background-color: #09304c;
}

/* Icon container */
.icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section headings */
.section-heading {
  text-align: center;
  margin: 2rem 0;
  font-size: 2rem;
  color: #0b1f2f;
}

/* Footer */
footer {
  background-color: #0b1f2f;
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

footer .column {
  flex: 1 1 200px;
}

footer h5 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: #6baec9;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer ul li a {
  color: #fff;
  transition: color 0.2s ease-in-out;
}

footer ul li a:hover {
  color: #6baec9;
}

/* OEM timeline */
.timeline {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  /* Reset the counter to ensure sequential numbering */
  counter-reset: step;
}

.timeline .step {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2rem;
}

.timeline .step::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #6baec9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.timeline .step h4 {
  margin: 0;
  color: #0b1f2f;
}

.timeline .step p {
  margin: 0.25rem 0 0 0;
  color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  nav .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
  }
}


/* Typography & spacing improvements */
h1,h2,h3{letter-spacing:.2px}
section{padding:60px 20px}
.pillars{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;padding:60px 40px}
p{color:#4a5560}
