body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #ffffff;
}

.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
    background-color: #ffffff;

    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .logo {
    max-width: 250px;
    height: auto;
    margin-left: 5rem;
  }

  .contact-info-wrapper {
    display: flex;
    justify-content: flex-end;  /* Aligns the contact info container to the right */
    padding-right: 10px; /* Add space from the right edge */
    width: 100%; /* Ensure the wrapper spans full width */
    box-sizing: border-box;
}

.contact-info {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.4;
    font-weight: 300;
    text-align: left; /* Aligns text to the left */
    max-width: 600px; /* Set a max width for the box */
    padding-right: 100px; /* Space from the right edge */
    box-sizing: border-box;
}

.navbar {
  background-color: #333; /* solid green */
  width: 100%;
  padding-bottom: 0.1rem;
}

/* Header bar: contains only the hamburger */
.navbar-header {
  display: flex;
  justify-content: flex-start; /* or flex-end if you want the button on the right */
  align-items: center;
  padding: 0.1rem;
}

/* Hide menu by default */
.navbar ul {
  display: none;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: #333; /* match background */
  width: 100%;
}

/* Show menu on open */
.navbar.open ul {
  display: flex;
}

/* Menu links */
.navbar ul li a {
  color: white;
  text-decoration: none;
  padding: 1rem;
  display: block;
  font-size: 1rem;
  font-weight: 500;
}

/* Hamburger button */
.menu-toggle {
  font-size: 2.0rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.2rem 1rem;
}



.slide-desktop,
.slide-mobile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

.slide-desktop.active,
.slide-mobile.active {
  opacity: 1;
  z-index: 1;
}

/* === DESKTOP SLIDESHOW === */
.slideshow-container-desktop {
  position: relative;
  width: 100%;
  height: 60vh;
  margin-top: 75px;
  overflow: hidden;
  padding: 0 80px;
  box-sizing: border-box;
}

/* === MOBILE SLIDESHOW === */
.slideshow-container-mobile {
  position: relative;
  width: 100%;
  height: 50vh; /* Slightly smaller height for mobile */
  margin-top: 60px;
  overflow: hidden;
  padding: 0 20px; /* Less padding for narrow screens */
  box-sizing: border-box;
}

/* === SHARED NAV BUTTONS === */
.prev, .next {
  cursor: pointer;
  position: absolute;
  bottom: 20px;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  color: rgb(16, 4, 123);
  background: none;
  border: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.intro-container {
  width: 100%;
  margin: 150px 0 40px 0;
  display: flex;
  justify-content: center;
}

.centered-text-intro {
  font-size: 2.1rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  max-width: 1000px;
  padding: 0 20px;
}


/* Container for left and right layout */
.container1, .container2, .container3 {
    display: flex;
    width: 100%;
    align-items: flex-start;
    margin-top: 150px;
    gap: 50px; /* Space between elements */
    padding: 0 60px; /* 👈 Adds spacing on both sides */
    box-sizing: border-box;
}

.left-text-container1, .right-text-container2, .left-text-container3  {
    width: 40%; /* Text will take 40% */
    padding-left: 20px;
    height: auto;
    display: block;
}

.left-image-container2, .right-image-container1, .right-image-container3 {
    width: 60%; /* Image will take the remaining 60% */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.centered-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
}

.left-image-container2 img, .right-image-container1 img, .right-image-container3 img {
    width: 80%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px; /* 👈 This adds the rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 1); /* optional: adds a soft shadow */
}

.image-container img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    
}

.details-button-container {
  width: 100%;
  display: flex;
  justify-content: center; /* Center the button horizontally */
  margin-top: 20px; /* Space between text and button */
}

.details-button-container ul {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  margin-top:20px;
}

.details-button-container ul li {
  margin: 0 15px;
}

.details-button-container ul li a {
  background-color: #333;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.05s ease, border-radius 0.1s ease;
  display: inline-block;
}

.details-button-container ul li a:hover {
  background-color: #87ABFB;
  border-radius: 5px;
}

.technical-pitch-container {
    width: 100%;
    margin: 100px 0 40px 0;
    display: flex;
    justify-content: center;
  }
  
  .text-technical-pitch {
    font-size: 1.7rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    max-width: 1100px;
    padding: 0 20px;
  }

.three-image-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin: 100px 80px 0 80px;
    flex-wrap: wrap;
  }

  .image-text-container {
    display: flex;
    flex-direction: column; /* Stack text and image vertically */
    width: 100%;
    max-width: 30%;
  }

  .image-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px; /* Space between text and image */
    white-space: normal;
    word-wrap: break-word;

    min-height: 80px; /* or whatever height you need for the maximum text */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }


  
  .image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slideshow-image {
    width: 100%;
    max-height: 400px; /* Adjust the height of the image as needed */
    object-fit: cover; /* Maintain aspect ratio */
    border-radius: 16px; /* Rounded corners for the images */
    transition: opacity 1.5s ease-in-out; /* Smooth fade effect */
    opacity: 1;
}

@media (max-width: 768px) {
    .three-image-row {
        flex-direction: column; /* Stack images vertically on small screens */
    }

    .image-text-container {
        max-width: 100%; /* Each image-text pair takes full width on small screens */
    }
}


.contact-container {
  display: flex;
  flex-direction: column;
  justify-content: left; /* Center the text horizontally */
  align-items: left; /* Center the text vertically */
  width: 100%;
  margin-top: 100px;
  margin-left:45px;
  height: 200px; /* Optional: you can set the height to ensure proper vertical centering */
}

.centered-text-contact {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-align: left; /* Center text horizontally */
  width: auto; /* Remove any forced width so it wraps naturally */
  max-width: 100%; /* Optional: limit text width to avoid long lines */
  word-wrap: break-word; /* Ensures text breaks properly if it's too long */
}

.button-contact-form ul{
    display: flex;
    justify-content: center;
    padding: 0;
    list-style: none;
    margin: 0


} 

.button-contact-form ul li{
    margin: 0 15px;

}

.button-contact-form ul li a{
    background-color: #333;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.05s ease, border-radius 0.1s ease;
    display: inline-block
}

.button-contact-form ul li a:hover{
    background-color: #87ABFB;
    border-radius: 5px;

}

.footer {
  background-color: #87ABFB;
  width: 100%;
  border-top: 2px solid #000;
  padding: 20px 100px;
  box-sizing: border-box;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .adresa-contact-text,
.footer .nav-text,
.footer .tc-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 300;
  color: #000;
}

.footer .adresa-contact-text li,
.footer .nav-text li,
.footer .tc-text li {
  margin-bottom: 10px;
}

.footer a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-family: sans-serif;
}

.rights-reserved {
  text-align: center;
  width: 100%;
  margin-top: 50px;
  font-size: 1.2rem;
  color: #000;
}

.footer .tc-text .widget-link {
  display: block;
  text-decoration: none;
  max-width: 220px;
  border: 2px solid #000;
  border-radius: 12px;
  background-color: #fff;
  margin-top: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer .tc-text .widget img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

  /* reserved section for styling*/

  .green {
    color: #007901;
  
  }

  @media  (min-width: 1281px) {
  

    .navbar-header {
      display: none;
    }
  
    .navbar {
      background-color: #333;
      padding: 1rem 0;
    }
  
    .navbar ul {
      display: flex !important;
      flex-direction: row !important;
      justify-content: flex-start;
      flex-wrap: wrap;
      margin-left: 5%;
      padding: 0;
      list-style: none;
      
      width: 90%;         /* Optional: limits overflow */
      max-width: 100%;    /* Prevents spilling out */
      box-sizing: border-box;
    }
  
    .navbar ul li {
      margin: 0 15px;
    }
    
    .navbar ul li a {
      color: #fff;
      text-decoration: none;
      font-size: 1.1rem;
      padding: 10px 20px;
      transition: background-color 0.05s ease, border-radius 0.1s ease;
      display: inline-block;
      text-align: center; 
      white-space: normal;
      min-width: 90px;
    }
  
    .navbar ul li a:hover {
      background-color: #87ABFB;
      border-radius: 5px;
    }
  }
  


  @media (max-width: 768px) {

    .centered-text-intro {
      font-size: 1.4rem;
      padding: 0 16px;
    }

    .header {
      flex-direction: column;
      align-items: flex-start;
      padding: 1rem;
    }
  
    .logo {
      margin: 0 auto 1rem auto;
      max-width: 80%;
    }
  
    .contact-info-wrapper {
      justify-content: flex-start;
      padding-right: 0;
      width: 100%;
    }
  
    .contact-info {
      padding-right: 0;
      font-size: 1rem;
    }
  
    
  
      .slideshow-container {
        padding: 0 10px !important; /* minimal side padding */
        height: 90vh !important;    /* taller container height */
        max-height: 90vh;
        overflow: hidden;
      }
    
      .slide {
        object-fit: contain !important; /* show whole image */
        width: 100%;
        height: 100%;
        max-height: 90vh;
      }

      .details-button-container {
        order: 3;
        margin-top: 10px;
        
      }
    
      .details-button-container ul {
        flex-direction: column;
        gap: 10px;
      }
    
      .details-button-container ul li {
        margin: 0;
      }
    
      .details-button-container ul li a {
        width: fit-content;
        margin: 0 auto;
      }
  
  
    
      /* Contact section spacing fix */
      .contact-container {
        margin: 60px 20px 120px 20px; /* 👈 added more bottom margin */
        align-items: flex-start;
      }
    
      .centered-text-contact {
        text-align: left;
        font-size: 1.2rem;
      }
    
      .button-contact-form ul {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
      }
    
      .button-contact-form ul li a {
        margin-left: 0;
      }
  
    
  
    .footer {
      padding: 20px 20px;
    }
  
    .footer-content {
      flex-direction: column;
      gap: 20px;
    }
  
    .rights-reserved {
      font-size: 1rem;
    }


    .container1,
  .container2,
  .container3 {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
    margin-top: 80px;
  }

  .right-image-container1,
  .left-image-container2,
  .right-image-container3 {
    width: 100%;
    order: 1;
    margin-top: 0;
  }

  .left-text-container1,
  .right-text-container2,
  .left-text-container3 {
    width: 100%;
    order: 2;
    padding-left: 0;
    text-align: start;
  }

  .centered-text {
    font-size: 1.2rem; /* Slightly smaller for small screens */
  }

  /* Already exists, included here for completeness */
  .three-image-row {
    flex-direction: column;
    margin-bottom:150px;
  }

  .image-text-container {
    max-width: 100%;
  }
  }
  
  
  
  @media (max-width: 930px) {

    .centered-text-intro {
      font-size: 1.4rem;
      padding: 0 16px;
    }
    
  
  
    .slideshow-container {
      padding: 0 10px !important; /* minimal side padding */
      height: 90vh !important;    /* taller container height */
      max-height: 90vh;
      overflow: hidden;
    }
  
    .slide {
      object-fit: contain !important; /* show whole image */
      width: 100%;
      height: 100%;
      max-height: 90vh;
    }

    .details-button-container {
      order: 3;
      margin-top: 10px;
      
    }
  
    .details-button-container ul {
      flex-direction: column;
      gap: 10px;
    }
  
    .details-button-container ul li {
      margin: 0;
    }
  
    .details-button-container ul li a {
      width: fit-content;
      margin: 0 auto;
    }
  
    
    /* Contact section spacing fix */
    .contact-container {
      margin: 60px 20px 120px 20px; /* 👈 added more bottom margin */
      align-items: flex-start;
    }
    .contact-container {
      display: flex;
      flex-direction: start;
      justify-content: left; /* Center the text horizontally */
      align-items: left; /* Center the text vertically */
      width: 95%;
      margin-top: 50px;
      
      
  }
  
    .centered-text-contact {
      text-align: left;
      font-size: 1.18rem;
    }
  
    .button-contact-form ul {
      flex-direction: column;
      gap: 10px;
      align-items: flex-start;
    }
  
    .button-contact-form ul li a {
      margin-left: 0;
    }
  
  
  
    .footer {
      padding: 20px 40px; /* slightly less padding than desktop */
    }
  
    .footer-content {
      display: flex;
      flex-direction: row;     /* 👈 Make it horizontal again */
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;               /* Optional: adjust spacing */
    }
  
    .rights-reserved {
      text-align: center;
      width: 100%;
      margin-top: 30px;
      font-size: 1rem;
    }

    .container1,
  .container2,
  .container3 {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
    margin-top: 80px;
  }

  .right-image-container1,
  .left-image-container2,
  .right-image-container3 {
    width: 100%;
    order: 1;
    margin-top: 0;
  }

  .left-text-container1,
  .right-text-container2,
  .left-text-container3 {
    width: 100%;
    order: 2;
    padding-left: 0;
    text-align: start;
  }

  .centered-text {
    font-size: 1.15rem; /* Slightly smaller for small screens */
  }

  .image-text {

    font-size: 0.92rem;
  }

  

  

  }
  
  
  
  @media (max-width: 768px) and (orientation: landscape) {
    
  
    .header {
      flex-direction: row;
      align-items: center;
      padding: 1rem;
    }
  
    .logo {
      max-width: 200px;
      margin-left: 1rem;
      margin-bottom: 0;
    }
  
    .contact-info-wrapper {
      justify-content: flex-end;
      padding-right: 1rem;
      width: auto;
    }
  
    .contact-info {
      font-size: 0.9rem;
      text-align: right;
    }
  }
  
  @media (max-width: 400px) {
  
    .centered-text-intro {
      font-size: 1.3rem;
      padding: 0 16px;
    }
    

    .contact-container {
      display: flex;
      flex-direction: start;
      justify-content: left; /* Center the text horizontally */
      align-items: left; /* Center the text vertically */
      width: 95%;
      margin-top: 50px;
      
      
  }
  
    
    .centered-text-contact {
      text-align: left;
      font-size: 1.09rem;
      word-wrap: break-word;
      overflow-wrap: break-word;
      
  
  
    }


    .container1,
  .container2,
  .container3 {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
    margin-top: 80px;
  }

  .right-image-container1,
  .left-image-container2,
  .right-image-container3 {
    width: 100%;
    order: 1;
    margin-top: 0;
  }

  .left-text-container1,
  .right-text-container2,
  .left-text-container3 {
    width: 100%;
    order: 2;
    padding-left: 0;
    text-align: start;
  }

  .centered-text {
    font-size: 1.12rem; /* Slightly smaller for small screens */
  }

  .text-technical-pitch{
    font-size:1.5rem ;


  }

  /* Already exists, included here for completeness */
  .three-image-row {
    flex-direction: column;
  }

  .image-text-container {
    max-width: 100%;
  }

  .details-button-container {
    order: 3;
    margin-top: 10px;
    
  }

  .details-button-container ul {
    flex-direction: column;
    gap: 10px;
  }

  .details-button-container ul li {
    margin: 0;
  }

  .details-button-container ul li a {
    width: fit-content;
    margin: 0 auto;
    font-size: 1.0rem;
  }
  
  }
  
  
  
  @media (max-height: 430px) and (orientation: landscape) {
    .header {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      padding: 1rem;
      gap: 1rem; /* optional: add spacing */
    }
  
    .logo {
      max-width: 200px;
      height: auto;
      margin-left: 1rem;
      flex-shrink: 0; /* prevent shrinking */
    }
  
    .contact-info-wrapper {
      flex-grow: 1; /* expand to fill space */
      display: flex;
      justify-content: flex-end;
      padding-right: 1rem;
      box-sizing: border-box;
    }
  
    .contact-info {
      font-size: 0.9rem;
      text-align: right;
    }
  }
  
  @media (min-width: 800px) and (max-width: 860px) and (orientation: portrait) {
    .header {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      flex-wrap: nowrap;
    }
  
    .logo {
      max-width: 220px;
      margin-left: 1rem;
      margin-bottom: 0;
    }
  
    .contact-info-wrapper {
      width: auto;
      flex: 1;
      justify-content: flex-end;
      padding-right: 2rem;
    }
  
    .contact-info {
      font-size: 1rem;
      text-align: right;
      max-width: 400px;
    }

    .container1,
  .container2,
  .container3 {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
    margin-top: 80px;
  }

  .right-image-container1,
  .left-image-container2,
  .right-image-container3 {
    width: 100%;
    order: 1;
    margin-top: 0;
  }

  .left-text-container1,
  .right-text-container2,
  .left-text-container3 {
    width: 100%;
    order: 2;
    padding-left: 0;
    text-align: start;
  }

  .centered-text {
    font-size: 1.2rem; /* Slightly smaller for small screens */
  }

  .slideshow-container-desktop {
    height: calc(100vw / 2.66); /* Keep the image's aspect ratio */
    padding: 0 10px !important;
    overflow: hidden;
  }

  .slide-desktop {
    object-fit: contain !important;
    width: 100%;
    height: 100%;
  }

  
  }
  
  @media (min-width: 935px) and (max-width: 1280px) and (orientation: landscape){

    .centered-text-intro {
      font-size: 1.4rem;
      padding: 0 16px;
    }
  
    .slideshow-container-desktop {
      height: calc(100vw / 2.66); /* Keep the image's aspect ratio */
      padding: 0 10px !important;
      overflow: hidden;
    }
  
    .slide-desktop {
      object-fit: contain !important;
      width: 100%;
      height: 100%;
    }

    .details-button-container {
      order: 3;
      margin-top: 10px;
      
    }
  
    .details-button-container ul {
      flex-direction: column;
      gap: 10px;
    }
  
    .details-button-container ul li {
      margin: 0;
    }
  
    .details-button-container ul li a {
      width: fit-content;
      margin: 0 auto;
    }
  
  
  
    /* Contact section spacing fix */
    .contact-container {
      margin: 60px 20px 120px 20px; /* 👈 added more bottom margin */
      align-items: flex-start;
    }
  
    .centered-text-contact {
      text-align: left;
      font-size: 1.2rem;
    }
  
    .button-contact-form ul {
      flex-direction: column;
      gap: 10px;
      align-items: flex-start;
    }
  
    .button-contact-form ul li a {
      margin-left: 0;
    }
  
  
  
    .footer {
      padding: 20px 40px; /* slightly less padding than desktop */
    }
  
    .footer-content {
      display: flex;
      flex-direction: row;     /* 👈 Make it horizontal again */
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;               /* Optional: adjust spacing */
    }
  
    .rights-reserved {
      text-align: center;
      width: 100%;
      margin-top: 30px;
      font-size: 1rem;
    }

    .container1,
  .container2,
  .container3 {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
    margin-top: 80px;
  }

  .right-image-container1,
  .left-image-container2,
  .right-image-container3 {
    width: 100%;
    order: 1;
    margin-top: 0;
  }

  .left-text-container1,
  .right-text-container2,
  .left-text-container3 {
    width: 100%;
    order: 2;
    padding-left: 0;
    text-align: start;
  }

  .centered-text {
    font-size: 1.2rem; /* Slightly smaller for small screens */
  }

  
  
  
  }

  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222;
    color: white;
    display: none; /* default hidden */
    z-index: 9999;
    font-size: 0.9rem;
    box-sizing: border-box;
    width: 100%;
    padding: 1rem 0.75rem;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  
    /* For devices with safe areas (iPhone X, iPad Pro) */
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
  }
    
  
  .cookie-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    gap: 0.75rem;
  }
  
  #cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    width: 100%;
  }
  
  #accept-cookies, #refuse-cookies {
    background-color: #87ABFB;
    color: #000;
    border: none;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
  }
  
  
  
  /* Tablet and up: switch to row layout */
  @media (min-width: 600px) {
    .cookie-content {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }
  
    #accept-cookies,#refuse-cookies {
      width: auto;
    }
  }