.dok-container {
    background-color: #f9f9f9;
  }
  .slider-image {
    width: 100%; /* Make the image fill the container width */
    height: auto; /* Allow the height to adjust based on the aspect ratio */
    object-fit: contain; /* Ensure the entire image is visible */
  }
  .slider-image:hover {
    transform: scale(1); /* Zoom-out effect when hovered */
  }
 

  h1.display-5,
  h2.display-6 {
    color: #333;
  }

  .slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .reduced-image {
    width: auto !important;
    max-width: 65%; /* Reduce the image size */
    height: auto;
  }

  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
  }
  .slide {
    width: 100%;
    flex-shrink: 0; /* Ensure slides don't shrink */
    display: flex;
    justify-content: center;
    align-items: center;
  }
.copyright {
  max-width: 65%;
  margin: 0 auto;
  text-align: left; /* eller center, hvis du ønsker det */
  font-size: 0.9rem;
  color: #555;
  padding-top: 0.5rem;
}
  .insight-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  p.text-muted {
    font-size: 1rem;
    line-height: 1.6;
  }
  .lead {
    font-size: 1.25rem;
  }
  .team-card {
    width: 16rem;
    border: none;
    background: #ffffff;
    transition: transform 0.3s ease-in-out;
    padding: 20px;
    border-radius: 15px;
  }
  .team-card:hover {
    transform: scale(1.05);
  }
  .team-header {
    position: relative;
    padding-bottom: 15px;
  }
  .team-border {
    width: 100%;
    height: 1px;
    background: #0a2d3a;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 5px;
  }
  .team-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid white;
    border-radius: 10px;
  }
  .insight-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
    transition: box-shadow 0.3s ease-in-out;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 260px; /* Set a fixed height */
  }
  .insight-card p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Allow text to wrap */
  }
  .insight-card:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  }
  .description {
    opacity: 0; /* Initially hidden */
    transition: opacity 0.5s ease-in-out;
}

.show-description {
    opacity: 1; /* Visible when active slide is shown */
}

 .carousel-item img {
    height: 400px; /* Set the desired height */
    width: 100%; /* Ensures images take full width of the carousel item */
    object-fit: cover; /* Ensures images maintain their aspect ratio and fill the container */
    /*padding-bottom: 3rem;*/
  }

  .carousel-caption {
    position: absolute;       /* Position caption absolutely within the carousel item */
    bottom: 20px;             /* Adjust as needed, positions it above the bottom edge of the image */
    left: 30px;
    text-align: left;
    color: black; /* Text color, change as per your design */
    /*background-color: rgba(0, 0, 0, 0.6);  Background for better readability */
    padding: 10px;
    border-radius: 5px;
    margin-top: -60px;  /*Adjust this value to create space between image and caption if needed */
    top: 100%;
    width: 100%;
  }

  .carousel-caption p {
    color: black;
    margin: 0; /* Remove default margins */
}

.carousel-caption-below {
  background-color: rgba(255, 255, 255, 0.85); /* Lys bakgrunn for lesbarhet */
  padding: 1rem;
  text-align: left;
  color: black;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
