
.heading
  {
     margin-bottom: 10px;
    font-family: Open Sans;
    font-size: 40px;
    color: #fff;
  }

.hero .carousel {
  width: 100%;
  min-height: 100vh;
  padding: 80px 0;
  margin: 0;
  position: relative;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
  transition-duration: 0.4s;
}

.hero .carousel-item::before {
  content: "";
  background-color: rgb(0 0 0 / 33%);
  position: absolute;
  inset: 0;
}

.hero .info {
  position: absolute;
  inset: 0;
  z-index: 2;
}



.subheading {
  font-family: "Times New Roman", Times, serif;
  color: #fff;
  margin-bottom: 30px;
  padding-bottom: 30px;
  font-size: 56px;
  font-weight: 700;
  position: relative;
}

.subheading:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-primary);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}



.hero .info p {
  font-family: "Times New Roman", Times, serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  text-align: center;
}

.animated-btn {
  transition: 0.5s;
  margin: 10px;
  padding: 12px 40px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  border-radius: 30px;
  display: inline-block;
  text-align: center;
  /* background: var(--color-primary); */
  position: relative;
}

.animated-btn::before,
.animated-btn::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 30px;
  /* background: #fd910482; */
  border: 7px solid var(--color-primary);
  animation: ripple-1 2s infinite ease-in-out;
  z-index: -1;
}

.animated-btn::after {
  background: var(--color-primary);
  animation: ripple-2 2s infinite ease-in-out;
  animation-delay: 0.5s;
}

@keyframes ripple-1 {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes ripple-2 {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.hero .carousel-control-prev {
  justify-content: start;
}



.hero .carousel-control-next {
  justify-content: end;
}

@media (max-width: 768px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
  .hero {
  
  overflow-x: hidden;
  padding: 0;
  margin-top: -100px;
  height: auto;
}

.heading
 {
     margin-bottom: 10px;
    font-family: Open Sans;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
  }
  .subheading {

  margin-bottom: 20px;
  padding-bottom: 20px;
  font-size: 36px;
 
}
}


.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 16px;
  line-height: 0;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 3;
  transition: 0.3s;
}

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

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

