.hero-section {
  position: relative;
  height: 520px;
  min-height: 400px;
  margin-top: 80px;
  overflow: hidden;
}
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  width: 33.333%;
  height: 100%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--secondary);
  position: relative;
}
.slide-1 {
  background-image: url("../images/carousel/slide-1.png");
  background-size: cover;
  background-position: center;
}
.slide-2 {
  background-image: url("../images/carousel/slide-2.png");
  background-size: cover;
  background-position: center;
}
.slide-3 {
  background-image: url("../images/carousel/slide-3.png");
  background-size: cover;
  background-position: center;
}
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
  z-index: 5;
}
.hero-fixed-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.hero-fixed-controls .hero-cta {
  background-color: var(--primary);
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(46, 58, 49, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
}
.hero-fixed-controls .hero-cta:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(46, 58, 49, 0.55);
}
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  transition: var(--transition);
}
.carousel-nav-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}
.carousel-prev {
  left: 30px;
}
.carousel-next {
  right: 30px;
}
.carousel-dots {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 40;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active {
  width: 30px;
  border-radius: 5px;
  background-color: var(--accent);
}
