.nav-item:hover .dropdown-menu {
  display: block;
}


@font-face {
  font-family: ubuntu;
  src: url('../fonts/Ubuntu.ttf');
}

.cover-container {
  position: relative;
  height: 280px;
}

.cover-image {
  background-size: cover;
  background-position: center;
  height: 100%;
}

.cover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: tranlbate(-50%, -50%);
  color: white;
  text-align: center;
}

.image-container {
  position: relative;
  width: 20%;
  /* Adjust based on the number of images per row */
  padding-bottom: 20%;
  /* Aspect ratio: 1:1 */
  overflow: hidden;
  box-sizing: border-box;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image covers the container without distortion */
  transition: transform 0.2s;
}

.image-container img:hover {
  transform: scale(1.05);
}


.product-gallery {
  display: flex;
  overflow-x: scroll;
  /* Enable horizontal scrolling */
  gap: 0.5rem;
  /* Adjust the gap between images */
  box-sizing: border-box;
  z-index: 1;
}

.image-container {
  flex: 0 0 auto;
  /* Disable flex grow and shrink */
  width: 60px;
  /* Set a constant width for the container */
  height: 60px;
  /* Set a constant height for the container */
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image covers the container without distortion */
  transition: transform 0.2s;
}

.image-container img:hover {
  transform: scale(1.05);
}


/* Custom styling for Lightbox2 */
.lb-close {
  /* Align to the top */
  right: 10px;
  height: 100%;
  /* Align to the right */
  z-index: 999;
}


.lb-closeContainer {
  height: fit-content;
  position: absolute;
  top: 0;
  right: 0;
  margin-top: -3%;
}

.lb-details {
  text-align: center !important;
  /* Center the text */
  width: 100% !important;
  padding-top: 10px !important;
}

.lb-data .lb-caption {
  font-size: 1.2rem !important;
}

.lb-number {
  display: none !important;
}

/* Custom styling for Lightbox2 */
.lb-prev {
  opacity: 1 !important;
  margin-left: -10% !important;
}

.lb-next {
  opacity: 1 !important;
  margin-right: -10% !important;
}


/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  .fancybox-button {
    width: 40px !important;
    height: 40px !important;
  }

  .header_cards {
    margin-top: 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {

  .fancybox-button {
    width: 60px !important;
    height: 60px !important;
  }

  .header_cards {
    margin-top: -3rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .fancybox-button {
    width: 70px !important;
    height: 70px !important;
  }

  .header_cards {
    margin-top: -3rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  .fancybox-button {
    width: 70px !important;
    height: 70px !important;
  }

  .header_cards {
    margin-top: -5rem;
  }
}


.text-container {
  max-height: 20em;
  /* Adjust based on the number of lines you want to show */
  overflow: hidden;
  position: relative;
}

.text-ellipsis {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em;
  /* Adjust based on your font-size */
  max-height: 20em;
  /* Should be line-height * number of lines */
}


.filter-button-group button.active {
  background: var(--bs-primary) !important;
}

.gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 200px;
}

.fancybox-button {
  background-color: var(--bs-primary) !important;
  border-radius: 50% !important;
}

.fancybox-navigation .fancybox-button--arrow_right {
  padding: unset !important;
}


.fancybox-navigation .fancybox-button--arrow_left {
  padding: unset !important;
}


.floating-button {
  position: fixed;
  bottom: 70px;
  right: 20px;
  z-index: 1050;
  /* Change z-index as needed */
}

/* Styles for the modal */
.modal-content {
  border-radius: 10px;
}


.overview-career {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}


.index-card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}



.overlay {
  position: absolute;
  margin-top: 5px;
  margin-left: 5px;
  color: var(--bs-primary);
}

.overlay i {
  font-size: 2rem;
}


/* Custom CSS to limit carousel height */
.custom-carousel {
  max-height: 60vh;
  /* 30% of the viewport height */
  overflow: hidden;
  /* Hide overflow content if carousel items exceed the height */
}

/* Adjust carousel item heights to fit within the carousel */
.custom-carousel .carousel-item {
  max-height: 60vh;
  /* 30% of the viewport height */
}

/* Ensure images fill the carousel item */
.custom-carousel .carousel-item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  /* Maintain aspect ratio and cover the entire item */
}

body {
  font-family: 'ubuntu' !important;
}


.dark-overlay:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #31363F;
  opacity: 0.1;
}

.carousel-caption {
  z-index: 2;
}


.carousel-control-next,
.carousel-control-prev {
  z-index: 10;
}


.fancybox-infobar {
  display: none;
}


.container {
  max-width: 960px;
}

.icon-link>.bi {
  width: .75em;
  height: .75em;
}

/*
 * Custom translucent site header
 */

.site-header {
  background-color: rgba(0, 0, 0, .85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.site-header a {
  color: #8e8e8e;
  transition: color .15s ease-in-out;
}

.site-header a:hover {
  color: #fff;
  text-decoration: none;
}

/*
 * Dummy devices (replace them with your own or something else entirely!)
 */

.product-device {
  position: absolute;
  right: 10%;
  bottom: -30%;
  width: 300px;
  height: 540px;
  background-color: #333;
  border-radius: 21px;
  transform: rotate(30deg);
}

.product-device::before {
  position: absolute;
  top: 10%;
  right: 10px;
  bottom: 10%;
  left: 10px;
  content: "";
  background-color: rgba(255, 255, 255, .1);
  border-radius: 5px;
}

.product-device-2 {
  top: -25%;
  right: auto;
  bottom: 0;
  left: 5%;
  background-color: #e5e5e5;
}


.double-space-break {
  white-space: pre-wrap;
}

.single-space-break {
  white-space: pre-wrap;
}

/*
 * Extra utilities
 */

.flex-equal>* {
  flex: 1;
}

@media (min-width: 768px) {
  .flex-md-equal>* {
    flex: 1;
  }
}


.icon-square {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
}

.feature-icon-small {
  width: 3rem;
  height: 3rem;
}




/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0;
  /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  .featurette-heading {
    font-size: 50px;
  }
}