@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque&family=Quicksand:wght@300;700&display=swap');
@font-face {
    font-family: 'dune_riseregular';
    src: url('dune/dune_rise-webfont.woff2') format('woff2'),
         url('dune/dune_rise-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
header {
    padding: 0 0 100px;
	font-family: 'dune_riseregular';
}

@media (min-width: 992px) {
    header {
        padding: 0;
    }
}

html,
body {
    font-family: 'Quicksand', sans-serif;
    color: #000 !important;
}

p {
    font-size: 20px !important;
    font-variant: normal;
    text-align: justify;
}

section {
    padding: 0 0 150px 0;
}

.carousel-item {
    height: 300px;
    min-height: 300px;
    width: 100%;
    background: no-repeat center center scroll;
    background-size: cover;
}

.parallax {
    background: url("../assets/images/pattern.png");
    width: 100%;
    height: 300px;
    line-height: 300px;
    color: #fff;
    text-align: center;
    font-size: 52px;
    text-shadow: 2px 2px 0 #000;
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
    clear: both;
	font-family: 'dune_riseregular';
}

.row {
    margin-top: 20px !important;
}

.fr {
    margin: 10px;
    float: left;
}

img {}

.bg-dark {
    background: #C0C0C0;
    background: linear-gradient(114deg,rgba(192, 192, 192, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 71, 171, 1) 100%);
}

/* Container for the entire carousel */
.multi-carousel-container {
  cursor: grab;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

/* Cursor styles for dragging */
.multi-carousel-container.dragging,
#multiCarousel.dragging {
  cursor: grabbing;
}

/* Wrapper for all slides */
.multi-carousel-inner {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual slide */
.multi-carousel-item,
.clone {
  box-sizing: border-box;
  flex: 0 0 33.333333%;
  padding: 0 5px;
  position: relative; /* Essential for item-number positioning */
}

/* Control buttons */
.multi-carousel-control-prev,
.multi-carousel-control-next {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  height: 50px;
  justify-content: center;
  position: absolute;
  text-decoration: none;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
  width: 50px;
  z-index: 10;
}

.multi-carousel-control-prev:hover,
.multi-carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.multi-carousel-control-prev {
  left: 10px;
}

.multi-carousel-control-next {
  right: 10px;
}

/* Image container with dynamic height */
.img-container {
  border-radius: 1.5rem;
  height: var(--carousel-height, 40vh);
  overflow: hidden;
  position: relative;
}

/* Image styling */
.img-container img,
#carouselInner img {
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
  user-drag: none;
  width: 100%;
  -webkit-user-drag: none;
  transition: transform 0.3s ease;
}

.img-container:hover img {
  transform: translateZ(0) scale(1.02);
}

/* Item number styling - guaranteed visibility */
.item-number {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  display: inline-flex;
  font-size: 120%;
  font-weight: bold;
  height: 20px;
  justify-content: center;
  left: 1rem;
  position: absolute;
  top: 1rem;
  width: 20px;
  z-index: 2; /* Higher than default but below controls */
  /* Isolation prevents z-index context issues */
  isolation: isolate;
}

/* Carousel cursor styling */
#multiCarousel {
  cursor: grab;
  touch-action: pan-y;
}

/* Disable text selection during drag */
#multiCarousel.dragging {
  user-select: none;
  -webkit-user-select: none;
}

/* Responsive adjustments for screens smaller than 720px (45em) */
@media (max-width: 45em) {
  .multi-carousel-item,
  .clone {
    flex: 0 0 100%;
  }
