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;
}



#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;
  }
}


.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;
}

 .page-introduction{

  text-align: center;
  font-size: 2.8rem;
  margin-top:200px;
  margin-bottom: 200px;
  color: #1a1a1a;
  font-style: italic;
 }

 .section-introduction1{
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a1a1a;
  white-space: normal;
  word-wrap: break-word;
  width: 100%;
  margin-left:60px;
  margin-top: 120px;

 }

 .section-introduction2{

  font-size: 2.5rem;
  font-weight: bold;
  color: #1a1a1a;
  white-space: normal;
  word-wrap: break-word;
  width: fit-content; /* or max-content, so it doesn’t stretch full width */
  margin-left: auto;   /* pushes it to the right */
  margin-right: 120px;  /* distance from the right edge */
  text-align: right;   /* aligns the text inside the element */
  margin-top: 120px;

 }

 .section-introduction3{

  font-size: 2.5rem;
  font-weight: bold;
  color: #1a1a1a;
  white-space: normal;
  word-wrap: break-word;
  width: 100%;
  margin-left:60px;
  margin-top: 120px;

 }

/* Container for left and right layout */
.container1, .container2, .container3 {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-top: 120px;
    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: 600px;
    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;
  }
  

.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;
}

.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;
}



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



/* Styling section*/

.green {
  color: #007901;

}

.MTG-dark-blue{
  color: #10047b;

}


@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) {
  .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;
    }

    .page-introduction {
      font-size: 1.4rem;
      margin-top: 100px;
      margin-bottom: 100px;
      padding: 0 20px;
    }
  
    /* Center section titles */
    .section-introduction1,
    .section-introduction2 /*,
    .section-introduction3 */ {
      text-align: center;
      margin: 60px auto 30px auto;
      font-size: 2rem;
      padding: 0 20px;
    }

    .section-introduction1,
    .section-introduction3 {
      margin-left: 0 !important;
      margin-right: 0 !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
    }

    .section-introduction3 {
      font-size: 1.5rem;
      text-align: center;
      margin: 60px auto 30px auto;
      padding: 0 20px;

    }


  
    /* Stack layout vertically */
    .container1,
    .container2,
    .container3 {
      flex-direction: column;
      align-items: center;
      gap: 25px;
      padding: 0 20px;
      margin-top: 60px;
    }
  
    /* Image first */
    .right-image-container1,
    .left-image-container2,
    .right-image-container3 {
      width: 100%;
      order: 1;
      margin-top: 0;
    }
  
    .right-image-container1 img,
    .left-image-container2 img,
    .right-image-container3 img {
      width: 100%;
      max-height: 300px;
    }
  
    /* Text block second */
    .left-text-container1,
    .right-text-container2,
    .left-text-container3 {
      width: 100%;
      order: 2;
      padding: 0;
      text-align: left; /* 👈 changed from center to left */
      font-size: 1.3rem;
    }
  
    .centered-text {
      text-align: left; /* 👈 ensure paragraph content is also left-aligned */
      font-size: 1.3rem;
    }
  
    /* Button third, centered */
    .details-button-container {
      order: 3;
      margin-top: 10px;
      margin-bottom: 80px;
    }
  
    .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;
  }
}



@media (max-width: 930px) {
  


  .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;
  }

  .page-introduction {
    font-size: 1.4rem;
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 0 20px;
  }

  /* Center section titles */
  .section-introduction1,
  .section-introduction2 /*,
  .section-introduction3 */ {
    text-align: center;
    margin: 60px auto 30px auto;
    font-size: 2rem;
    padding: 0 20px;
  }

  .section-introduction1,
  .section-introduction3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section-introduction3 {
    font-size: 1.5rem;
    text-align: center;
    margin: 60px auto 30px auto;
    padding: 0 20px;

  }



  /* Stack layout vertically */
  .container1,
  .container2,
  .container3 {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 0 20px;
    margin-top: 60px;
  }

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

  .right-image-container1 img,
  .left-image-container2 img,
  .right-image-container3 img {
    width: 100%;
    max-height: 300px;
  }

  /* Text block second */
  .left-text-container1,
  .right-text-container2,
  .left-text-container3 {
    width: 100%;
    order: 2;
    padding: 0;
    text-align: left; /* 👈 changed from center to left */
    font-size: 1.3rem;
  }

  .centered-text {
    text-align: left; /* 👈 ensure paragraph content is also left-aligned */
    font-size: 1.3rem;
  }

  /* Button third, centered */
  .details-button-container {
    order: 3;
    margin-top: 10px;
    margin-bottom: 80px;
  }

  .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;
  }
}

@media (max-width: 930px) and (orientation: landscape){

  .page-introduction {
    font-size: 1.9rem;
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 0 20px;
  }


}



@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) {

  

  .page-introduction {
    font-size: 1.2rem;
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 0 20px;
  }

  .section-introduction3 {
    font-size: 1.5rem;
  }
  .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;
    


  }

}



@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;
  }

  .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){

  .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%;
  }

  .page-introduction {
    font-size: 1.9rem;
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 0 20px;
  }

  /* Center section titles */
  .section-introduction1,
  .section-introduction2 /*,
  .section-introduction3 */ {
    text-align: center;
    margin: 60px auto 30px auto;
    font-size: 2rem;
    padding: 0 20px;
  }

  .section-introduction1,
  .section-introduction3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section-introduction3 {
    font-size: 1.5rem;
    text-align: center;
    margin: 60px auto 30px auto;
    padding: 0 20px;

  }



  /* Stack layout vertically */
  .container1,
  .container2,
  .container3 {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 0 20px;
    margin-top: 60px;
  }

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

  .right-image-container1 img,
  .left-image-container2 img,
  .right-image-container3 img {
    width: 100%;
    max-height: 300px;
  }

  /* Text block second */
  .left-text-container1,
  .right-text-container2,
  .left-text-container3 {
    width: 100%;
    order: 2;
    padding: 0;
    text-align: left; /* 👈 changed from center to left */
    font-size: 1.3rem;
  }

  .centered-text {
    text-align: left; /* 👈 ensure paragraph content is also left-aligned */
    font-size: 1.3rem;
  }

  /* Button third, centered */
  .details-button-container {
    order: 3;
    margin-top: 10px;
    margin-bottom: 80px;
  }

  .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;
  }


}






