section.hero {
  position: relative;
  padding: 90px 0 80px 0;
  background-color: #f4f4f4;
  max-height: 600px;
  border-bottom: 1px solid #f4f4f4;
  overflow: hidden;
}
section.hero .carousel {
  position: relative;
  z-index: 2;
}
section.hero .carousel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(244, 244, 244, 0.8); /* Ensure this is semi-transparent to not affect slides */
  z-index: -1;
}
.carousel .controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 3;
}
.carousel .controls .prev, .carousel .controls .next {
  cursor: pointer;
  font-size: 2em;
  color: #6dc24b;
  pointer-events: auto;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 10px;
  border-radius: 0px;
  transition: background-color 0.3s;
}
.carousel .controls .prev:hover, .carousel .controls .next:hover {
  color: #0056b3;
  background-color: rgba(255, 255, 255, 1);
}
.carousel .indicators {
  position: absolute;
  bottom: 50px;
  width: 100%;
  text-align: center;
  z-index: 3;
}
.carousel .indicators .dot {
  cursor: pointer;
  height: 8px;
  width: 40px;
  margin: 0 2px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.carousel .indicators .dot.active {
  background-color: #6dc24b;
}
.carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;*/
}
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 100%;
  box-sizing: border-box;
  padding: 0px 40px;
  /* background-color: #ffffff;
  border-radius: 10px;*/
}
.content {
  flex: 1;
  padding-right: 20px;
}
.content h1 {
  margin-bottom: 20px;
  font-family: "SamsungSharpSans", Helvetica, Arial;
  font-size: 3em;
  font-weight: bold;
  line-height: 1.2;
  overflow: visible;
  word-break: keep-all;
  text-overflow: clip;
  color: #343a40;
}
.content ul {
  list-style: disc;
  padding-left: 0px;
}
.content ul li {
  font-size: 1.2em;
  margin: 10px 20px;
  color: #000;
}
.content button {
  padding: 9px 23px 10px 23px;
  font-size: 1em;
  background-color: #6dc24b;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  border-radius: 8px;
  transition: background-color 0.3s;
}
.content button:hover {
  background-color: #0056b3;
}
.image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.image img {
  max-width: 100%;
  height: auto;
  /*  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}
.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.controls .prev, .controls .next {
  cursor: pointer;
  font-size: 2em;
  color: #6dc24b;
  pointer-events: auto;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 50%;
  transition: background-color 0.3s;
}
.controls .prev:hover, .controls .next:hover {
  color: #0056b3;
  background-color: rgba(255, 255, 255, 1);
}