/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* .hero .container { skkn */
.hero .container, .hero .container-xxl {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  font-family: var(--nav-font);
}

.hero h2 span {
  color: var(--accent-color);
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.hero .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: var(--accent-color);
}

.hero .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
}

.hero .icon-box h3 a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: ease-in-out 0.3s;
}

.hero .icon-box:hover {
  border-color: var(--accent-color);
}

.hero .icon-box:hover h3 a {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}


.hero-slide {
  padding: 0;
  height: calc(100vh - 80px);
  margin-top: 80px;
}
.hero-slide .carousel {
  width: 100%;
  min-height: 100%;
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
/* skkn */
/* @media (max-width: 1024px) {
  .hero-slide .carousel {
    min-height: 100vh;
  }
} */
.hero-slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-slide .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-slide .carousel-item:before {
  content: "";
  /* background: color-mix(in srgb, var(--background-color), transparent 75%); */
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero-slide .carousel-item::before {
  content: "";
  /* background-color: color-mix(in srgb, var(--background-color), transparent 75%); */
  position: absolute;
  inset: 0;
}
.hero-slide .carousel-container {
  position: absolute;
  inset: 90px 64px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}
.hero-slide .carousel-item h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  animation: fadeInDown 1s both;
}
.hero-slide .carousel-item h2 span {
  color: var(--accent-color);
}
@media (max-width: 768px) {
  .hero-slide .carousel-item h2 {
    font-size: 30px;
  }
}
.hero-slide .carousel-item p {
  animation: fadeInDown 1s both 0.2s;
}
/* @media (min-width: 1024px) skkn {
  .hero-slide h2, .hero-slide p {
    max-width: 60%;
  }
} */
.hero-slide .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  animation: fadeInUp 1s both 0.4s;
}
.hero-slide .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}
.hero-slide .carousel-control-prev, .hero-slide .carousel-control-next {
  width: 15%;
  transition: 0.3s;
  opacity: 0.4;
}
.hero-slide .carousel-control-prev:focus, .hero-slide .carousel-control-next:focus {
  opacity: 0.5;
}
.hero-slide .carousel-control-prev:hover, .hero-slide .carousel-control-next:hover {
  opacity: 0.9;
}
@media (min-width: 1024px) {
  .hero-slide .carousel-control-prev, .hero-slide .carousel-control-next {
    width: 5%;
  }
}
.hero-slide .carousel-control-next-icon, .hero-slide .carousel-control-prev-icon {
  background: none;
  color: var(--default-color);
  font-size: 48px;
  line-height: 1;
}
.hero-slide .carousel-indicators li {
  list-style-type: none;
  cursor: pointer;
  background: var(--accent-color);
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  margin-bottom: 180px;
  opacity: 0.2;
}
.hero-slide .carousel-indicators li.active {
  opacity: 1;
}
@media (max-height: 768px), (max-width: 1024px) {
  .hero-slide .carousel-indicators li {
    margin-bottom: 20px;
  }
}
.hero-slide .featured {
  /* margin-top: -150px; */
  bottom: 0;
  position: absolute;
  padding-top: 30px;
  padding-bottom: 30px;
  /* position: relative; */
  z-index: 2;
  width: auto;
}
/* skkn */
/* @media (max-height: 768px), (max-width: 1024px) skkn {
  .hero-slide .featured {
    margin-top: -200px;
  }
} */
.hero-slide .featured-item {
  /* background: var(--surface-color); */
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 25px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  /* width: 100%; */
  position: relative;
  z-index: 1;
}
.hero-slide .featured-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}
.hero-slide .featured-item .icon {
  margin-bottom: 10px;
}
.hero-slide .featured-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: ease-in-out 0.3s;
}
.hero-slide .featured-item h4 {
  /* font-weight: 700; */
  margin-bottom: 15px;
  font-size: 20px;
}
.hero-slide .featured-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}
.hero-slide .featured-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}
/* skkn */
/* .hero-slide .featured-item:hover h4 a, .hero-slide .featured-item:hover .icon i, .hero-slide .featured-item:hover p {
  color: var(--contrast-color);
}
.hero-slide .featured-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
} */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
} 




[data-colorpreset="cp-light-background"],
.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

[data-colorpreset="cp-dark-background"],
.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #2a2727;
}


/* change transition duration to control the speed of fade effect */
.carousel-item {
  transition: transform 2.6s ease-in-out;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  transition: opacity 0s 2.6s;
}
