/* Modern responsive style for H2O site */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f8f9fa;
  color: #222;
}
header {
  background: #0077b6;
  color: #fff;
}
/* Navbar base */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #023e8a;
  position: relative;
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}
.hamburger span {
  height: 4px;
  width: 28px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
  display: block;
  border: 1px solid #90e0ef;
  box-sizing: border-box;
}
.logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
}
/* Nav links base */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  position: static;
  height: auto;
  width: auto;
  background: none;
  flex-direction: row;
  align-items: center;
  box-shadow: none;
  transition: none;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: #90e0ef;
}
.hero {
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  background: #0077b6;
}
.hero img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0 0.2rem 0;
}
.hero p {
  font-size: 1.2rem;
  margin: 0;
}
main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.intro {
  text-align: center;
  margin-bottom: 2rem;
}
.services {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 2rem 1rem;
}
.services h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.service {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  background: #e0f7fa;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  margin-bottom: 1rem;
}
.service h3 {
  margin-top: 0;
  color: #0077b6;
}
footer {
  background: #023e8a;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  margin-top: 3rem;
}
.footer-content a {
  color: #90e0ef;
  text-decoration: underline;
}
.credits {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #90e0ef;
}
@media (max-width: 800px) {
  .service-list {
    flex-direction: column;
    align-items: center;
  }
  .navbar {
    flex-direction: row;
    gap: 0;
    padding: 1rem 1rem;
  }
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70vw;
    max-width: 320px;
    background: #023e8a;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 2rem 2rem 2rem;
    gap: 2rem;
    box-shadow: -2px 0 8px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: right 0.3s;
  }
  .nav-links.open {
    display: flex;
    right: 0;
  }
}
@media (max-width: 500px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .service {
    min-width: 90%;
    max-width: 100%;
  }
  .navbar {
    padding: 1rem 0.5rem;
  }
}
