.element::-webkit-scrollbar {
  display: none; /* Hides the scrollbar entirely */
}
/* === HERO SECTION BASE STYLES === */
.hero-section {
  position: relative;
  /* width: 100%;*/
  height: 100%; 
  overflow: hidden;
  /* display: flex;
  flex-direction: column; */
}

.carousel-track {
  position: relative;
  display: flex;
  /* width: 100%;*/
  height: 100%;
  transition: transform 0.6s ease;
  z-index: 2;
  /* padding-top: 4.5rem; */
}

.carousel-slide {
  flex: 0 0 100%;
  /* height: 100%; */
  /* position: relative; */
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.headline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem; 
  width: 100%;
}

.headline-row .glassy-container {
  margin: 0; 
  min-width: 180px; 
}

.headline-row h1 {
  margin: 0;
  font-size: 3rem;
  color: white;
  font-family: 'Roboto Slab', sans-serif;

}

.glassy-container {
  padding: 0.5rem 2rem;
  margin: 0 1rem 0 1rem;
  border-radius: 50rem;
  outline: 1.5px solid white;
  background: linear-gradient(to bottom, rgba(122, 154, 181, 0), rgba(255, 255, 255, 0.193)),
  linear-gradient(to bottom, rgba(255, 255, 255, 0.168), rgba(255, 255, 255, 0.517));
  backdrop-filter: blur(5px);
  font-size: 50px;
  font-family: 'Roboto Slab', serif;
  text-align: center;
  height: 7.75rem;
  overflow: hidden;
  min-width: 100px;
}

.glassy-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 80%);
  z-index: 0;
  height: 100%;

}

.slot-wrapper {
  height: 7rem;
  overflow: hidden;
}

.slot-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.slot-inner span {
  line-height: 6.5rem;
  font-size: 100px;
  color: var(--orange);
}

.video-wrapper,
.video-wrapper video {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

.video-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.30);
  z-index: 1;
}

.video-placeholder {
  width: 100vw;
  height: 100%;
  display: flex;
  justify-self: center;
  object-fit: cover;
}

.hero-text {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 1rem;
  bottom: 8rem;
}

.hero-text h1 {
  font-size: 100px;
  font-family: 'roboto slab';
  margin: 0;
  color: var(--blue);
  line-height: 6.5rem;
}

.hero-text h2 {
  font-size: 40px;
  font-weight: lighter;
  margin: 0.8rem 0 0;
  color: var(--blue);
}

/* === DOTS AND NAVIGATION === */
.carousel-dots {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots button.active {
  background: white;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 5;
}

.carousel-nav button {
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

@media (max-width: 1182px) {
  .headline-row {
    word-wrap: break-word;
    flex-wrap: wrap;
    gap: 0;
  }

  .slot-wrapper { 
    height: 5rem;
  }

  .hero-text {
      h1, span {
        font-size: 75px;
        line-height: 1.1;

      }

      p {
        font-size: 30px;
      }
    }

  .glassy-container {
    height: 5.5rem;
  }

}

/* === MOBILE RESPONSIVE FIX === */
@media (max-width: 776px) {
  .hero-section {
    height: auto; /* let content flow naturally */
    flex-direction: column;
  }

  .carousel-dots {
    display: none;
  }

.headline-row {
  padding-top: 6rem;
  flex-direction: column;
}

  .carousel-track {
    flex-direction: row; /* still side-by-side for sliding */
  }

  .carousel-slide {
    flex: 0 0 100%;
    height: calc(100vh - 0rem);
    flex-direction: column; /* stack video + text if needed */
    justify-content: center;
  }

  .video-wrapper,
  .video-wrapper video {
    height: 100%;
    width: 100%;
  }

  .hero-text {
    padding: 20rem 1rem 0;
    h1 {
      font-size: 50px;
      line-height: 3.5rem;
      font-weight: bold;
    }
    span {
      font-size: 50px;
      line-height: 5.2rem;
      font-weight: bold;
    }
  }

  .carousel-nav {
    display: none; /* hide arrows on mobile */
  }
}

@media (max-wdith: 334px) {
    
  .hero-text{ 
    outline: 2px dotted red!important;
  }
    .hero-text h1 {
      font-size: 35px;
    }
    .hero-text h2 {
      font-size: 1.5rem;
    }
  }
