

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# hero1 Section
--------------------------------------------------------------*/
.hero1 {
  padding: 0;
}

.hero1 .carousel {
  width: 100%;
  min-height: calc(100vh - 90px);
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  position: relative;
}

@media (max-width: 1200px) {
  .hero1 .carousel {
    min-height: calc(100vh - 66px);
  }
}

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

.hero1 .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero1 .carousel-item:before {
  content: "";
  background: rgba(0, 0, 0, 0.7);
  /* background: color-mix(in srgb, #000000, transparent 50%); */
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero1 .carousel-container {
  position: absolute;
  inset: 90px 64px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}

.hero1 h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  animation: fadeInDown 1s both;
}

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

.hero1 p {
  animation: fadeInDown 1s both 0.2s;
}

@media (min-width: 1024px) {

  .hero1 h2,
  .hero1 p {
    max-width: 60%;
  }
}

.hero1 .btn-get-started {
  color: #ffffff;
  background:#d9232d;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 4px;
  transition: 0.5s;
  margin: 10px;
  animation: fadeInUp 1s both 0.4s;
}

.hero1 .btn-get-started:hover {
  background: color-mix(in srgb, #d9232d, transparent 20%);
}

.hero1 .carousel-control-prev,
.hero1 .carousel-control-next {
  width: 10%;
  transition: 0.3s;
  opacity: 0.5;
}

.hero1 .carousel-control-prev:focus,
.hero1 .carousel-control-next:focus {
  opacity: 0.5;
}

.hero1 .carousel-control-prev:hover,
.hero1 .carousel-control-next:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {

  .hero1 .carousel-control-prev,
  .hero1 .carousel-control-next {
    width: 5%;
  }
}

.hero1 .carousel-control-next-icon,
.hero1 .carousel-control-prev-icon {
  font-size: 32px;
  line-height: 1;
}

.hero1 .carousel-indicators {
  list-style: none;
}

.hero1 .carousel-indicators li {
  cursor: pointer;
}

@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);
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color:#ffffff;
  background-color: #8cb08e;
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}