.hero-section {
  position: relative;
  padding-top: 180px;
  margin-bottom: 0;
  background: url('../img/hero-banner-bg.png') no-repeat center top;
  background-size: cover;
  /*min-height: 100vh;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-section .custom-container {z-index: 3 !important;}
.hero-section.hero-section-home {min-height: auto !important;}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(152, 77, 206, 0.65) 0%, rgba(26, 3, 43, 1) 100%);
  opacity: 0.9;
  z-index: 2;
}
.hero-section-home::after {
    content: "";
    position: absolute;
    top: auto;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 300px;
    background: var(--color-background);
    opacity: 1;
    z-index: 3;
}
.hero-section-home .hero-section-video {
    content: "";
    position: absolute;
    top: auto;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    z-index: 1;
}
.hero-pill {
  font-size: var(--font-size-12, 12px);
  color: #fff;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  letter-spacing: -1px;
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
}

.text-purple {
  color: var(--color-primary-light);
}

.hero-subtitle {
  max-width: 750px;
  line-height: 1.6;
}

.hero-search-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  max-width: 900px;
  /* Glass mode effect */
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 60px rgba(7, 0, 43, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-search-pill {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-search-pill {
  font-size: var(--font-size-12);
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.hero-search-pill:hover,
.hero-search-pill.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-search-input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.125rem;
  outline: none;
}

.hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.hero-search-btn {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  background: #B41DF5;
  border: none;
  transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

.hero-search-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.2);
}
.hero-search-btn:not(:disabled):hover {
  transform: translateY(-2px);
  background: #9016c6;
}
.hero-section--gradient {
    background: linear-gradient(180deg, #140024 0%, #22003F 25%, #4A1087 60%, #6D28D9 100%);
    min-height: auto;
    padding-top: 150px;
    padding-bottom: 80px;
}

@media (max-width: 1300px) {
    .hero-section {padding-top: 160px;}
}
@media (max-width: 1024px) {
    .hero-section {padding-top: 140px;}
    .hero-section-home::after {height: 280px;}
}
@media (max-width: 991px) {
    .hero-section-home::after {height: 200px;}
}
@media (max-width: 767.98px) {
  .hero-section {padding-top: 120px;}
  .hero-section.hero-section-home {padding-top: 100px;}
  .hero-search-box {padding-bottom: 5rem !important;}
  .hero-search-btn {right: 1.25rem;bottom: 1.25rem;}
  .hero-section-home::after {height: 20%;}
}
@media (max-width: 400px) {
    .hero-section-home::after {height: 80px;}
    .hero-title {font-size: 1.58rem;}
}