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

body {
  font-family: "Montserrat", sans-serif;
}

nav {
  padding: 1rem;
  position: relative;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background-color 0.6s;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

#hero {
  height: 800px;
  margin: 0 auto;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)),
    url(images/hero-1.jpg);
  background-size: cover;
  background-color: white;
  margin-top: -100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  color: white;
  font-size: clamp(2rem, 2vw, 4rem);
  text-shadow: 1px 1px 1px darkgray;
  box-sizing: border-box;
  padding: 2rem 4rem;
}

#services-home {
  margin: 0 auto;
  padding: 4rem 2rem;
  max-width: 1400px;
  height: 600px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 4rem;
}

.services-home-content {
  max-width: 800px;
}

.services-home-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.services-home-content p {
  font-family: "Open Sans", sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

#code-img {
  width: 200px;
  height: auto;
}

#service-cards {
  width: 100%;
  display: flex;
}

.service-card-one {
  background-color: #08274b;
  width: 100%;
  height: 600px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  text-align: center;
}

.service-card-two {
  background-color: #0b3a6f;
  width: 100%;
  height: 600px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  text-align: center;
}

#contact {
  text-align: center;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  gap: 1rem;
}

#contact h1 {
  font-size: 2.5rem;
}

#footer {
  background-color: #08274b;
  color: white;
  text-align: center;
  margin-top: 2rem;
  padding: 2rem 2rem;
}
/* Responsive Styles */

@media screen and (max-width: 1024px) {
  .hamburger {
    display: flex;
    margin-right: 10px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #08274b;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  #service-cards {
    flex-direction: column;
  }

  #services-home {
    flex-direction: column;
    text-align: center;
}
