.banner {
  overflow: hidden;
  position: relative;
}
.banner .banner-background {
  position: absolute;
  inset: 0;
}
.banner .banner-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner .banner-text {
  position: absolute;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: white;
  width: 30%;
  align-items: flex-start;
  z-index: 1;
}
.banner .banner-text p,
.banner .banner-text h1,
.banner .banner-text h2,
.banner .banner-text h3,
.banner .banner-text h4,
.banner .banner-text h5,
.banner .banner-text h6 {
  display: block;
  margin: 0;
}
.banner .banner-text.left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.banner .banner-text.right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.banner .banner-text.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.banner .banner-text.top-left {
  top: 0;
  left: 0;
}
.banner .banner-text.top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.banner .banner-text.top-right {
  top: 0;
  right: 0;
}
.banner .banner-text.bottom-left {
  bottom: 0;
  left: 0;
}
.banner .banner-text.bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.banner .banner-text.bottom-right {
  bottom: 0;
  right: 0;
}
.banner .banner-text.align-left {
  align-items: flex-start;
  text-align: left;
}
.banner .banner-text.align-center {
  align-items: center;
  text-align: center;
}
.banner .banner-text.align-right {
  align-items: flex-end;
  text-align: right;
}
.banner .banner-text a {
  background-color: #1D1E3C;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  display: inline-block;
  margin: 0;
}
.banner .banner-text a:hover {
  filter: brightness(0.8);
}
.homepage-banners {
  height: 480px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
.homepage-banners .banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s linear;
  pointer-events: none;
}
.homepage-banners .banner.active {
  opacity: 1;
  pointer-events: all;
}
.homepage-banners .banner-controls {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.homepage-banners .banner-controls .dot {
  cursor: pointer;
  width: 30px;
  height: 10px;
  background-color: white;
  border-radius: 50px;
  margin: 0 5px;
  transition: background-color 0.1s linear;
}
.homepage-banners .banner-controls .dot.active {
  background-color: #FFD500;
}
@media (max-width: 768px) {
  .homepage-banners {
    height: 420px;
  }
  .banner-text {
    width: 85% !important;
    padding: 16px !important;
    gap: 8px !important;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
  }
}
