body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  color: #0d3745; 
}

* {
	box-sizing: border-box;
}

/* Global container for innhold */
.container {
  padding-left: 15px;  /* Standard padding på venstre side */
  padding-right: 15px; /* Standard padding på høyre side */
  margin-right: auto;  /* Sentrum */
  margin-left: auto;   /* Sentrum */
}

@media (min-width: 576px) {
  .container {
    max-width: 540px; /* På mobil (små skjermer) */
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px; /* På nettbrett (medium skjermer) */
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px; /* På små desktop skjermer */
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px; /* På større skjermer (desktop) */
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1140px; /* På ekstra store skjermer */
  }
}

.border-radius {
	border-radius: 30px;
}

.red-line {
	width: 70px; 
	height: 3px; 
	background-color: #ca1000; 
	margin-bottom: 30px; 
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}


/*HEADER -------------------*/

.site-header {
  width: 100%;
  background-color: #ffffff;
  color: #0d3745;
  padding-top: 1.5em; 
  padding-bottom: 1.5em;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

a.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #ca0000;
  text-decoration: none;
}

.nav {
  position: relative;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #0d3745;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  opacity: 0.7;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: absolute;
  right: 1.5rem;
  z-index: 1002;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #0d3745;
  margin: 4px 0;
  transition: all 0.1s ease-in-out;
}



/* Mobilmeny */
.mobile-menu {
  display: none;
  position: fixed;
  top: 78px;
  right: 0;
  height: 100vh;
  background-color: #0d3745;
  color: white;
  z-index: 1000;
  padding-top: 3rem;
  transition: transform 0.1s ease;
  overflow: auto;
  transform: translateX(100%);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu li {
  margin: 2rem 0;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

/* Åpen meny */
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu {
    width: 50vw;
  }
}

@media (min-width: 769px) {
  .burger {
    display: none;
  }
}


@media (max-width: 576px) {
  .mobile-menu {
    width: 100vw;
  }
}



/*HERO---------------------*/


.hero {
  position: relative;
  width: 100%;
  height: 68vh;
  background-image: url('img/hero_img.jpg');
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0d3745;
  opacity: 0.65;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  color: white;
  z-index: 1;
}

.width-content {
	max-width: 550px;
}

.hero h1 {
  font-size: 3rem;
  margin: 0;
}

.hero p {
  font-size: 1.25rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .hero h1 {
  	font-size: 2em;
  }
}

/*BANNER -----------------*/

/* CSS */
.banner-press {
  position: relative;
  background-color: #edf1f2;
  overflow: hidden;
  padding-top: 30px;
  padding-bottom: 50px;
  text-align: center;
}

.banner-press .container {
  margin: 0 auto;
  max-width: 950px;
  position: relative;
  z-index: 2;
}

.banner-press h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.banner-press p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.banner-press .press-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: #0d3745;
  text-decoration: none;
  transition: color 0.3s ease;
}

.banner-press .press-link:hover {
  color: #003f55;
}

.banner-press .press-link .arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.banner-press .press-link:hover .arrow {
  transform: translateX(4px);
}

.banner-press .gradient-left {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 500px;
  z-index: 1;
}

.banner-press .gradient-right {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 500px;
  z-index: 1;
}

@media (max-width: 1200px) {
  .banner-press .gradient-left {
    left: -20%;
  }
  .banner-press .gradient-right {
    right: -20%;
  }
}

@media (max-width: 768px) {
  .banner-press .gradient-left {
    left: -30%;
  }
  .banner-press .gradient-right {
    right: -30%;
  }
}

@media (max-width: 600px) {
  .banner-press .gradient-left {
    left: -55%;
  }
  .banner-press .gradient-right {
    right: -55%;
  }
}


/*3 kolonne forside ----------------------*/

.features {
  padding: 80px 0;
}

.features-wrapper {
  display: flex;
  gap: 70px;
  justify-content: space-between;
  text-align: center;
}

.feature {
  flex: 1 1 0;         /* Gir alle kolonner lik bredde */
}

.feature img {
  max-width: 80px;
  margin-bottom: 20px;
}

.feature p {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .features-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .feature {
    flex: none; 
    width: 100%;
  }
}


/*ABOUT SECTION -------------------*/ 

.two-column-section {
  padding: 80px 0 120px 0;
  background-color: #edf1f2;
}

.two-column-wrapper {
  display: flex;
  gap: 5%;
  align-items: center;
}

.image-column {
  flex: 0 0 55%;
  position: relative;
}

.text-column {
  flex: 0 0 40%;
}

.image-wrapper {
  position: relative;
}

.image-wrapper img {
  width: 100%;
  display: block;
  height: auto;
}

.fact-box {
    position: absolute;
    bottom: -16%;
    right: 45px;
    background-color: #ca1000;
    color: #fff;
    padding: 16px;
    min-width: 110px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.fact-box .big {
	font-size: 3em;
	font-weight: 900;
}


.text-column p {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .two-column-section {
  	padding: 80px 0;
  }

  .two-column-wrapper {
    flex-direction: column;
  }

  .image-column,
  .text-column {
    flex: 1 1 100%;
  }

  .fact-box .big {
	font-size: 2.5em;
}
}



/*SLIDER*/

.logo-section {
	padding: 60px 0 80px 0;
	text-align: center;
}

.logo-section .ingress {
	max-width: 900px;
    margin: 0 auto;
}

.logo-slider {
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.slider-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
}

.slider-wrapper::-webkit-scrollbar {
  display: none;
}

.slider-track {
  display: flex;
  gap: 60px;
  animation: scrollLogos 40s linear infinite;
  width: max-content;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 90px;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
  opacity: 1;
}

.fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}

.fade-left {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.fade-right {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

@media (max-width: 768px) {
  .slider-track {
    gap: 40px;
  }

  .logo img {
    height: 70px;
  }

  .fade {
    width: 50px;
  }
}








/*KONTAKT OSS ---------------*/ 

.contact-section {
  padding: 60px 0;
}

.contact-wrapper {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 55%;
}

.contact-info h1 {
  font-weight: 900;
  margin-bottom: 10px; 

}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.contact-cards {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  background-color: #edf1f2;
  padding: 30px;
  border-radius: 10px; 
  width: 100%; 
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-card a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.95rem; 
  text-decoration: none; 
  color: #0d3745; 
}

.contact-card img {
  width: 18px;
  height: 18px;
}

/* Bildekolonnen */
.contact-image {
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* RESPONSIV */
@media (max-width: 992px) {

  .contact-section {
  	padding: 30px 0;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info,
  .contact-image {
    flex: 1 1 100%;
  }

  .contact-cards {
    flex-direction: column;
  }
}


/*TJENESTER ----------------*/

.tjenester {
  padding: 60px 0;
}

.tjenestebokser {
  display: flex;
  gap: 40px;
  flex-direction: row;
  flex-wrap: wrap;
}

.tjenesteboks {
  background-color: #edf1f2;
  border-radius: 10px;
  padding: 30px;
  flex: 0 0 calc(50% - 20px); /* 50% bredde minus halvparten av gap */
}

.tjenesteboks h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #0d3745;
}

.tjenesteboks ul {
  padding-left: 20px;
  margin: 0;
}

.tjenesteboks li {
  margin-bottom: 8px;
}

/* RESPONSIV tilpassing */
@media (max-width: 768px) {
  .tjenestebokser {
    flex-direction: column;
  }

  .tjenesteboks {
    flex: 1 1 100%;
  }
} 


/*PRESSMELDING -------------------*/ 

/* CSS */
.press-release {
  background-color: #fff;
  padding: 3rem 1rem;
  color: #0d3745;
}

.press-release .container {
  max-width: 900px;
  margin: 0 auto;
}

.press-release h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.press-release .ingress {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 2rem;
}

.press-release p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.press-release .contact {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.press-release .contact h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.press-release .contact p {
  margin-bottom: 1rem;
}

.press-release .about {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.press-release .about h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.press-release a {
  color: #0d3745;
  text-decoration: underline;
}

.press-release a:hover {
  text-decoration: underline;
}

.press-release .published {
  font-size: 0.9rem;
  color: #666;
  margin-top: 2rem;
  font-style: italic;
}




/*FOOTER -------------------------------*/

.site-footer {
  background-color: #eaf4f0;
  color: #0d3745;
  padding: 80px 0;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-info h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  color: #0d3745;
  text-decoration: none;
  font-weight: 500;
  gap: 10px;
  transition: color 0.3s ease;
}

.footer-social a img {
  width: 24px;
  height: 24px;
  display: inline-block;
}

.footer-social a:hover {
  opacity: 0.7;
}

/* RESPONSIV tilpassing */
@media (max-width: 768px) {
	.tjenester {
  padding: 40px 0;
}
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social {
    margin-top: 20px;
  }
}

