/* Global styles */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #0A192F;
  background-color: #F5F7FA;
}

a {
  color: #2EC4B6;
  text-decoration: none;
}

nav {
  background-color: #0A192F;
  color: #ffffff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

nav .logo {
  font-weight: bold;
  font-size: 1.25rem;
}

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

nav li a {
  color: #ffffff;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav li a:hover {
  color: #2EC4B6;
}

/* Mobile navigation toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav .container {
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: block;
  }
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #0A192F;
    margin-top: 0.5rem;
    gap: 0;
  }
  nav ul.show {
    display: flex;
  }
  nav li {
    margin: 0.5rem 0;
    text-align: center;
  }

  .help-list {
    grid-template-columns: 1fr;
  }
  .services-list, .industries-list, .results-list {
    grid-template-columns: 1fr;
  }

  /* Reduce trust bar font size on mobile */
  .trust-bar li {
    font-size: 0.75rem;
  }
}

/* Hero section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4rem 2rem;
  background-color: #E5E5E5;
}

.hero-text {
  flex: 1 1 50%;
  padding: 1rem;
}

.hero-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #0A192F;
}

.hero-text h2 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #334E68;
}

.hero-text p {
  margin-bottom: 1.5rem;
}

/* Primary CTA */
.cta {
  display: inline-block;
  background-color: #2EC4B6;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.cta:hover {
  background-color: #21A79D;
}

/* Secondary CTA */
.secondary-cta {
  margin-left: 1rem;
  background-color: transparent;
  color: #2EC4B6;
  border: 2px solid #2EC4B6;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  display: inline-block;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.secondary-cta:hover {
  background-color: #2EC4B6;
  color: #ffffff;
}

.hero-image {
  flex: 1 1 40%;
  text-align: center;
  padding: 1rem;
}

.hero-image img {
  max-width: 100%;
  border-radius: 8px;
}

/* Sections */
.section {
  padding: 4rem 2rem;
}

.section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #0A192F;
}

.section .subtitle {
  font-size: 1rem;
  color: #546A7B;
  margin-bottom: 2rem;
}

.services-list, .industries-list, .results-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #0A192F;
}

.card p {
  color: #334E68;
  margin-bottom: 1rem;
}

.card ul {
  list-style: disc;
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.card li {
  margin-bottom: 0.5rem;
}

.card .learn-more {
  color: #2EC4B6;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background-color: #0A192F;
  color: #ffffff;
  padding: 4rem 2rem;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
}

.cta-section a {
  display: inline-block;
  background-color: #2EC4B6;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.cta-section a:hover {
  background-color: #21A79D;
}

/* Trust bar */
.trust-bar {
  background-color: #0A192F;
  color: #ffffff;
  padding: 1.5rem 2rem;
}
.trust-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.trust-bar li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* What I Help With list */
.help-list {
  list-style: none;
  margin: 1rem 0 2rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem 1rem;
}
.help-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #334E68;
}
.help-list li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #2EC4B6;
}

/* How I Work steps */
.work-steps {
  counter-reset: step-counter;
  list-style: none;
  margin: 1rem 0 2rem 0;
  padding: 0;
}
.work-steps li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: #334E68;
}
.work-steps li:before {
  counter-increment: step-counter;
  content: counter(step-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #2EC4B6;
}

/* Footer */
footer {
  background-color: #0A192F;
  color: #B0C4D5;
  padding: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

footer a {
  color: #2EC4B6;
  margin: 0 0.5rem;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    order: 2;
  }
  .hero-image {
    order: 1;
  }
}