/* RESET */
header {
  background: transparent;
  position: absolute;
  width: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif
}

body {
  line-height: 1.6
}

/* NAVBAR */
header {
  background: #0a2540;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center
}

nav h1 {
  font-size: 1.5rem
}

.nav-links {
  display: flex;
  list-style: none
}

.nav-links li {
  margin-left: 20px
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer
}

/* HERO */
.hero {
  height: 100vh;
  width: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('picture.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.hero-content p {
  max-width: 600px;
  margin: auto;
  font-size: 1.1rem;
}

/* SECTIONS */
section {
  padding: 60px 20px;
  text-align: center
}

.container {
  max-width: 1100px;
  margin: auto
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px
}

.card {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
  transition: .3s
}

.card:hover {
  background: #e0ecff;
  transform: translateY(-5px)
}

/* FOOTER */
footer {
  background: #0a2540;
  color: #fff;
  text-align: center;
  padding: 20px
}

/* RESPONSIVE */
@media(max-width:768px) {
  .grid {
    grid-template-columns: 1fr
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #0a2540;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px
  }

  .nav-links.active {
    display: flex
  }

  .menu-toggle {
    display: block
  }
}