.alfa-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  width: 100%;
}

.alfa-hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 1s ease;
  opacity: 1;
  z-index: 1;
}

.alfa-hero-slide.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.alfa-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 50%;
}

.alfa-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.27);
}

.alfa-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  z-index: 2;
  text-decoration: none;
}

.alfa-hero-contents {
  width: 738px;
  max-width: 92%;
  text-align: center;
  padding-bottom: 60px;
}

.alfa-hero-heading {
  font-family: var(--font-figtree);
  font-size: 50px;
  font-weight: 600;
  line-height: 50px;
  color: #fff;
  margin: 0 0 30px;
}

.alfa-hero-btn {
  display: inline-block;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-figtree);
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  padding: 15px 30px;
  text-decoration: none;
  transition: all 0.3s;
}

.alfa-hero-btn:hover {
  background: #fff;
  color: var(--alfa-blue);
}

.alfa-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
}

.alfa-hero-arrow.prev {
  left: 15px;
}

.alfa-hero-arrow.next {
  right: 15px;
}

.alfa-hero-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
}

.alfa-hero-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--alfa-red);
  margin: 0 6px;
  border: none;
  opacity: 0.4;
  cursor: pointer;
  padding: 0;
}

.alfa-hero-dot.active {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .alfa-hero-contents {
    width: 100%;
  }
}
