body, html {
  overflow-x: hidden;
  max-width: 100vw;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Old school navbar styling specifically for Om Oss to match user request */
#navbar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 50%;
  font-family: "Roboto", sans-serif;
  gap: 32px;
  z-index: 10;
}

.navknapper {
  display: inline-block;
  font-size: 14px;
  color: #1e293b;
  text-align: center;
  padding: 8px 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 6px;
}

.navknapper:hover {
  color: #57a3f5;
  transform: translateY(-2px);
}

#hjemknapp {
  border: 2px solid #1e293b;
}
#hjemknapp:hover {
  background-color: #1e293b;
  color: white;
}

#kontaktknapp {
  background-color: white;
  font-size: 14px;
  color: #57a3f5;
  padding: 2px 16px;
  border: 2px solid #57a3f5;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.5s, color 0.5s, transform 0.4s;
}
#kontaktknapp:hover {
  background-color: #57a3f5;
  color: white;
}

/* Hero Section */
.om-oss-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  overflow: hidden;
  padding-top: 260px;
}

.om-oss-page-header {
  text-align: center;
  z-index: 2;
  position: relative;
  padding: 0 20px;
}

.om-oss-t-1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #1e293b;
  margin: 0;
  line-height: 1;
  font-style: italic;
}

.om-oss-t-2 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: #57a3f5;
  margin: 5px 0 15px;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.om-oss-sub {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: #64748b;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

/* Base Sections */
.info-wrapper {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.alternate-bg {
  background-color: #f1f5f9;
  border-radius: 20px;
  margin: 40px auto;
}

.section-title {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 10px;
  text-align: center;
}

.section-desc {
  text-align: center;
  color: #57a3f5;
  font-size: 1.1rem;
  margin-bottom: 40px;
  font-style: italic;
}

.text-block {
  text-align: center;
  color: #475569;
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Team Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.team-card {
  background: white;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border-color: #57a3f5;
}

.team-icon {
  font-size: 4rem;
  color: #57a3f5;
  margin-bottom: 15px;
}

.team-card h3 {
  font-size: 1.4rem;
  color: #1e293b;
  margin-bottom: 10px;
}

.team-card p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

/* Media Queries */
@media (max-width: 768px) {
  .om-oss-hero { padding-top: 280px; }
  .alternate-bg { margin: 20px 10px; padding: 40px 10px; }
  #navbar {
    width: 100%;
    gap: 12px;
  }
}
