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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #07111f;
  color: #fff;
  line-height: 1.5;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  background: #07111faa;
  z-index: 10;
}
a{
    color: white;
    text-decoration: none;
}
nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 12px;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8%;
  background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.7)),
    url('herobackground.avif')
    center/cover;
}

.hero h1 {
  font-size: 4rem;
}

.hero p {
  margin: 20px auto;
  max-width: 700px;
  color: #d6e6ff;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background: #00b7ff;
  border-radius: 40px;
  color: #fff;
  text-decoration: none;
  transition: .3s;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px #00b7ff;
}

section {
  padding: 90px 8%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: #13253f;
  border: 1px solid #234;
  padding: 28px;
  border-radius: 18px;
  transition: .35s;
}

.card:hover {
  transform: translateY(-10px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat {
  font-size: 2rem;
  font-weight: 700;
}

#kontakt {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-wrapper {
  width: 100%;
  
  height: 350px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #234;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

footer {
  text-align: center;
  padding: 40px;
  background: #050b16;
  color: #9db5d7;
}
#heder{
  text-align: center;
}
#przebieg{
  text-align: center;
}
#korzysci{
  text-align: center;
}
#kontakt{
  text-align: center;
}
#kontakt a{
  align-self: center;
  max-width: 200px;
}
#zagrozenia{
  text-align: center;
}
#zabezpieczenia{
  text-align: center;
}
#dlaczego{
  text-align: center;
}
@media (max-width: 800px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}