/*------------------------- CAROUSEL -------------------------*/
/*--- CAROUSEL MAIN CONTAINER ---*/
.carousel {
  width: 100%;
  height: 60vh;
  overflow: hidden;
  position: relative;
}

@media only screen and (max-width: 56.25em) {
  .carousel {
    height: 40vh;
  }
}

@media only screen and (max-width: 23.75em) {
  .carousel {
    height: 55vh;
  }
}

/*--- CAROUSEL SLIDER CONTAINING THE SLIDES ---*/
.carousel__wrapper {
  --num-slides: 0;
  width: calc(var(--num-slides) * 100%);
  height: 100%;
  display: flex;
}

/*--- SINGLE CAROUSEL SLIDE ITEM ---*/
.carousel__slide {
  width: calc(100% / var(--num-slides));
  height: 100%;
  color: var(--color-white);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel__slide--1 {
  background-image: linear-gradient(to right, rgba(0, 31, 34, 0.5) 0%, rgba(0, 15, 17, 0.6) 100%), url("../../assets/images/bg-1.jpg");
}

.carousel__slide--2 {
  background-image: linear-gradient(to right, rgba(0, 31, 34, 0.5) 0%, rgba(0, 15, 17, 0.6) 100%), url("../../assets/images/bg-2.jpg");
}

.carousel__slide--3 {
  background-image: linear-gradient(to right, rgba(0, 31, 34, 0.5) 0%, rgba(0, 15, 17, 0.6) 100%), url("../../assets/images/bg-3.jpg");
}

/*--- CONTENT INSIDE EACH CAROUSEL ITEM ---*/
.carousel__slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media only screen and (max-width: 100em) {
  .carousel__slide-content {
    gap: 2rem;
  }
}

@media only screen and (max-width: 27.5em) {
  .carousel__slide-content {
    padding: 0 2rem;
  }
}

/*--- SLIDE ITEM SUB HEADING ---*/
.carousel__sub-heading {
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1.5px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-grey-light);
}

@media only screen and (max-width: 100em) {
  .carousel__sub-heading {
    font-size: 1.2rem;
  }
}

/*--- SLIDE ITEM HEADING ---*/
.carousel__heading {
  font-family: var(--font-primary);
  font-size: 10rem;
  font-weight: 400;
  text-transform: capitalize;
  line-height: 1.2;
  text-align: center;
  max-width: 80rem;
}

@media only screen and (max-width: 100em) {
  .carousel__heading {
    font-size: 9rem;
  }
}

@media only screen and (max-width: 27.5em) {
  .carousel__heading {
    font-size: 6rem;
  }
}

/*--- SLIDE ITEM GENERAL TEXT ---*/
.carousel__text {
  font-size: 1.8rem;
  font-weight: 500;
}

@media only screen and (max-width: 27.5em) {
  .carousel__text {
    text-align: center;
  }
}

/*--- LINKS TO NAVIGATE TO BUSINESS AND ABOUT THE ORGANISATION PAGE ---*/
.carousel__links {
  margin-top: 4rem;
}

/*--- CAROUSEL SLIDER BUTTONS ---*/
/* 
1. Previous and next buttons to slide the carousel 
on either of the directions 
2. On hover, opacity of the buttons changes to solid color
*/
.btn--carousel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.1;
  transition: all 0.2s;
}

.carousel:hover .btn--carousel {
  opacity: 0.3;
}

.btn--carousel:hover {
  opacity: 1 !important;
}

#slide-prev {
  left: 5rem;
}

#slide-next {
  right: 5rem;
}

.btn--carousel-icon {
  width: 6.4rem;
  height: 6.4rem;
  fill: var(--background-primary-light);
}

/*--- Carousel dots ---*/
/* .carousel__dots {
  position: absolute;s
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.carousel__dot {
  width: 4rem;
  height: 0.3rem;
  background-color: var(--background-primary-light);
  opacity: 0.3;
  border-radius: 4px;
} */

/*------------------------- CAROUSEL -------------------------*/
