:root {
  --vnb-height: 0px;
  --carousel-control-width: 15%;
}

body {
  padding-top: var(--vnb-height);
/*  padding-bottom: var(--vnb-height); */
  color: rgb(var(--bs-tertiary-color-rgb));
}

.carousel-indicators [data-bs-target],
.carousel-indicators .nav-link {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

#vet-carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-indicators {
  position: absolute;
  bottom: -1rem;
  display: flex;
  justify-content: center;
  z-index: 3;
}

.carousel-indicators .nav-link {
  display: inline-flex;
  position: relative; 
  padding: 0.75rem;
  opacity: 1;
}

.carousel-indicators .bi {
  position: absolute;
  pointer-events: none;
  fill: white;
  stroke: rgba(0, 0, 0, 0.75);
  stroke-width: 1;
  filter: drop-shadow(0 0 2px black);
  transform: scale(1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-indicators .nav-link.active .bi {
  transform: scale(2.25);
}

.carousel-indicators .nav-link:not(.active) .bi {
  opacity: 0.75;
}

.carousel-indicators .nav-link:not(.active):hover .bi {
  transform: scale(2);
  opacity: 1;
}













.carousel-item {
  position: relative;
  height: 80vh;
  border-top: 1px solid var(--bs-white);
  border-bottom: 1px solid var(--bs-white);
}






[data-bs-theme="dark"] .carousel-item::before {
  background: rgba(0, 0, 0, 0.0);
}

[data-bs-theme="light"] .carousel-item::before {
  background: rgba(255, 255, 255, 0.0);
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Между изображением и контентом */
}

.carousel-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* Ниже затемнения */
  transition: opacity 0.3s ease;
}

.carousel-item:hover img {
  opacity: 0.8;
}

.right .bi {
    margin-bottom: 2px;
}



.carousel-caption {
  margin-bottom: 0;
  max-width: 1200px;
  text-align: center;
  z-index: 2; /* Над затемнением */
}

.carousel-caption h5,
.carousel-caption p {
  font-family: 'Comfortaa', sans-serif;
  margin: 0;
  padding: 0;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}




.navbar a {
    font-family: 'Comfortaa', sans-serif;
    color: #fff;
    opacity: 1;
  transition: opacity 0.3s ease;
}

.navbar a.active {
    opacity: 0.75;
}





.carousel-control-prev,
.carousel-control-next {
  width: var(--carousel-control-width);
}


@media (max-width: 768px) {
  .carousel-indicators {
    display: none;
  }

  .carousel-item {
    height: 60vh;
  }

  .carousel-caption {
    bottom: 0;
    max-width: none;
    width: auto;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  :root {
    --carousel-control-width: 7.5%;
  }

  .carousel-indicators {
    display: none;
  }

  .carousel-item {
    height: calc(100vh - var(--vnb-height));
    height: calc(100dvh - var(--vnb-height));
  }

  .carousel-caption {
    left: calc(var(--carousel-control-width) + 0.5rem);
    right: calc(var(--carousel-control-width) + 0.5rem);
    bottom: 0;
    max-width: none;
    width: auto;
    padding-left: 0;
    padding-right: 0;
/*    transform: none !important;    */
  }
}





.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.featurette-divider {
  margin: 2rem 0; 
}

.featurette-heading {
  letter-spacing: -.05rem;
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}