body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Header */
header {
  background: #1e3a8a;
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
nav a {
  color: #fff;
  text-decoration: none;
}

/* Hero */
.hero {
  background: #0077b6;
  color: #fff;
  text-align: center;
  padding: 2rem;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cta {
  background: #facc15;
  color: #000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

/* Generelle seksjoner */
section {
  padding: 2rem;
  max-width: 1100px;
  margin: auto;
}

/* Services grid */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service img {
  max-width: 100%;
  height: 200px; /* fast høyde */
  object-fit: cover; /* cropper bildet så det ser fint ut */
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service h3 {
  margin: 0.5rem 0;
  color: #1e3a8a;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
form input, form select, form textarea, form button {
  padding: 0.5rem;
  font-size: 1rem;
}
form button {
  background: #1e3a8a;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

/* Footer */
footer {
  background: #f3f4f6;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.about-box {
  background-color: #1e3a8a;; /* lys, som tjenesteboksene */
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-width: 900px;
  margin: 2rem auto;
  text-align: left;
  color: #e8eaf0; /* mørk tekst for kontrast */
}


