/* caroursel 1 */
.carousel1 .carousel-inner {
  width: 100vw;
  height: 100vh;
}

.carousel1 .carousel-item {
  width: 100%;
  height: 100%;
}

.carousel1 .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel1 i {
  background-color: black;
  padding: 30px;
  border-radius: 100px;
}
/* carousel 2 */
#carouselExampleCaptions1 {
  width: 80vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.carousel2 .carousel-inner {
  width: 100%;
}

.carousel2 .card {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  border: none;
  transition: filter 0.5s ease;
  background: none;
}

.carousel2 .card img {
  width: 100%;
  height: 16em;
  object-fit: cover;
  object-position: 0% 20%;
  border-radius: inherit;
}

.carousel2 .card .name {
  font-size: 1.5em;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 10px;
}

.carousel2 .card .role {
  font-size: 1.2em;
  margin: 0;
}

.carousel2 .card .work-at {
  font-size: 1em;
}

/* Controls */

.carousel2 i.fa-arrow-right,
.carousel2 i.fa-arrow-left {
  background: none;
  border: 2px solid rgb(9, 9, 76);
  color: rgb(9, 9, 76);
  padding: 10px;
  border-radius: 100%;
  transition: background 0.6s ease;
}
.carousel2 i.fa-arrow-right,
.carousel2 i.fa-arrow-left {
  background: white;
  color: rgb(9, 9, 76);
}

.carousel2 .carousel-control-next {
  margin: 0 3em;
}

.carousel2 .control-btn {
  position: absolute;
  top: -1em;
  right: 5em;
}

.carousel2 .control-btn i.fa-arrow-left {
  position: absolute;
  right: 6em;
}

/* Indicators */

.carousel2 .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  border: 2px solid rgb(9, 9, 76);
}

.carousel2 .carousel-indicators .active {
  opacity: 1;
  background-color: rgb(9, 9, 76);
}

@media screen and (max-width: 900px) {
  #carouselExampleCaptions {
    width: 70vw;
    height: 70vw;
  }

  .carousel2 .card img {
    width: 100%;
    height: 10em;
  }

  .carousel2 .card .name {
    margin-top: 1em;
    font-size: 1em;
    font-weight: 700;
  }

  .carousel2 .card .role {
    font-size: 0.8em;
  }

  .carousel2 .card .work-at {
    font-size: 0.6em;
  }
}

@media screen and (max-width: 576px) {
  .carousel2 .carousel-item .card .caption {
    position: absolute;
    top: 20px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 10px;
  }
}
/* carousel 3 */
.carousel3 {
  padding-bottom: 100px;
}
.carousel3 .carousel-inner {
  border-radius: 30px;
}
.carousel3 .carousel-indicators {
  position: absolute;
  bottom: -30px;
}
.carousel3 .carousel-indicators .py-1 {
  padding: 0px 15px !important;
}
.carousel3 .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  background-color: #fff;
  transition: all 0.5s ease;
  border-radius: 100%;
}

.carousel3 .carousel-indicators button.active {
  width: 20px;
  height: 20px;
  border-radius: 100%;
}

.carousel3 .card {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border: none;
  position: relative;
}

.carousel3 .card::before {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff 0%, black 100%);
  z-index: 1;
  mix-blend-mode: multiply;
}

.carousel3 .card-body {
  position: absolute;
  z-index: 3;
}

.carousel3 .headlines a {
  text-decoration: none;
  color: #fff;
  transition: all 0.5s ease;
}

.carousel3 .headlines a:hover {
  text-decoration: underline;
}

.carousel3 .icons {
  display: flex;
  justify-content: center;
  gap: 1.5em;
}

.carousel3 .icons .icon {
  display: flex;
  gap: 0.3em;
}
/* carousel 4 */

.carousel4 .logos::before,
.carousel4 .logos::after {
  content: "";
  width: 300px;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 2;
}

.carousel4 .logos::before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff);
}

.carousel4 .logos::after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
}

.carousel4 .logos-slide {
  animation: 20s slide infinite linear;
}

.carousel4 .logos:hover .logos-slide {
  animation-play-state: paused;
}

.carousel4 .logos-slide img {
  height: 60px;
  margin: 0 50px;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}
/* carousel 5 */

.carousel5 .logos-slide {
  white-space: nowrap;
  animation: 70s slide infinite linear;
}

.carousel5 .logos:hover .logos-slide {
  animation-play-state: paused;
}

.carousel5 .logos-slide img {
  height: 60px;
  margin: 0 50px;
}

.carousel5 .card {
  white-space: wrap;
  min-width: 400px;
  margin: 0 10px;
  padding: 10px 15px !important;
  background-color: white !important;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}
/* carousel 6 */
.carousel6 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel6 .property-carousel {
  width: 80vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.carousel6-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.carousel6 .carousel-inner {
  width: 90vw;
  padding: 20px;
}

.carousel6 .card {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  border: none;
  transition: filter 0.5s ease;
  background: none;
}

.carousel6 .card img {
  width: 100%;
  height: 16em;
  object-fit: cover;
  object-position: 0% 20%;
  border-radius: 20px 20px 0 0;
}

/* Controls */
.carousel6 .control-btn {
  width: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.carousel6 .control-btn button {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  border: 1px solid black !important;
}
.carousel6 .control-btn button:focus {
  background-color: rgba(229, 225, 225, 0.429);
}

.carousel6 i.fa-angle-right,
.carousel6 i.fa-angle-left {
  background: none;
  font-size: 1.5rem;
  padding: 10px;
  transition: background 0.6s ease;
  background-color: rgba(255, 255, 255, 0) !important;
}
.carousel6 i.fa-angle-right,
.carousel6 i.fa-angle-left {
  background: white;
}

.carousel6 .carousel-control-next {
  margin: 0 -4em;
}

.carousel6 .control-btn {
  position: absolute;
  top: -4em;
  right: 2em;
}

.carousel6 .control-btn i.fa-arrow-left {
  position: absolute;
  right: 6em;
}

/* Indicators */
.carousel6 .carousel-indicators {
  position: absolute;
  bottom: -30px;
  opacity: 1 !important;
}
.carousel6 .control-btn button {
  opacity: 1;
}

.carousel6 .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  border: 2px solid rgb(9, 9, 76);
  bottom: -40px;
}

.carousel6 .carousel-indicators .active {
  opacity: 1;
  background-color: rgb(9, 9, 76);
}

@media screen and (max-width: 900px) {
  .carousel6 #carouselExampleCaptions {
    width: 70vw;
    height: 70vw;
  }

  .carousel6 .card img {
    width: 100%;
    height: 10em;
  }

  .carousel6 .card .name {
    margin-top: 1em;
    font-size: 1em;
    font-weight: 700;
  }

  .carousel6 .card .role {
    font-size: 0.8em;
  }

  .carousel6 .card .work-at {
    font-size: 0.6em;
  }
}

@media screen and (max-width: 576px) {
  .carousel6 .carousel-item .card .caption {
    position: absolute;
    top: 20px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 10px;
  }
}
