
.carousel-hero-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    color: var(--text-color);
}

.carousel-images {
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(270deg, rgba(3, 63, 45, 0.00) 19.79%, rgba(3, 63, 45, 0.95) 83.96%);
  width: 100%;
  height: 100%;
  z-index: 1;
}
.carousel-hero-banner .slide-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 10rem 33rem 10rem 6rem;
  background-color: var(--overlay-bg);
  border-radius: 5px;
}
.carousel-hero-banner .slide-content h1 {
    font-size: 66px;
  margin-bottom: 0;
  cursor: none;
font-weight: 600;
  line-height: 1.1em;
  color: #fff;
}
.carousel-hero-banner .slide-content p {
    font-size: 1.2rem;margin-top:10px;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);color:#fff;
}
.carousel-hero-banner .btn-default .btn-highlighted {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.carousel-hero-banner .nav-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border: none;
    padding: 1rem 1rem;
    font-size: 2rem;
    transition: background-color 0.3s ease;
    z-index: 3;border-radius:50%;
}
.carousel-hero-banner .nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.carousel-hero-banner .prev {
    left: 20px;
}
.carousel-hero-banner .next {
    right: 20px;
}
.carousel-hero-banner .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.carousel-hero-banner .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.carousel-hero-banner  .dot.active, .carousel-hero-banner  .dot:hover {
    background-color: var(--primary-color);
}

 
@media (min-width:320px) and (max-width:640px){
 .carousel-hero-banner {
  position: relative;
  width: 100%;
  height: 390px;
 } 
.slide-content { 
  padding: 0rem 1rem 1rem 1rem;
}
.slide-content h1 {
  font-size: 26px; 
}
.slide-content p {
  font-size: 18px; 
  line-height: 22px;
}
.carousel-hero-banner .slide-content h1 {
  font-size: 24px;
}
.carousel-hero-banner .slide-content {padding:1rem 2rem 2rem 1rem}

