/* Adjusting Hero Layout for Mobile and Tablet */
@media (max-width: 992px) {

  /* Left Column (Text) */
  .hero .col-lg-6.text-center.text-lg-start {
    margin-bottom: 20px;
  }

  /* Right Column (Carousel) */
  .hero .col-lg-6 {
    width: 100%;
  }
}

/* Animated Headline */
.animated-text {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 0 0 10px var(--bs-primary-bg-subtle);
}

/* Highlighted Words */
.highlight {
  color: var(--bs-orange);
  text-shadow: 0 0 10px var(--bs-orange);
}

/* Subtle Floating Effect */
.floating {
  animation: float 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 1px);
  }

  50% {
    transform: translate3d(0, -8px, 1px);
  }

  100% {
    transform: translate3d(0, 0, 1px);
  }
}

/* CTA Button */
.btn-glow {
  background: linear-gradient(45deg, var(--bs-orange), var(--bs-red));
  color: var(--bs-white);
  border: none;
  box-shadow: 0 0 10px var(--bs-orange);
  transition: 0.3s;
}

.btn-glow:hover {
  box-shadow: 0 0 15px var(--bs-orange);
}

/* Carousel Item Styling */
.carousel-item {
  border-radius: 10px;
  overflow: hidden;
}

/* For Mobile and Tablet: Carousel Item Width */
@media (max-width: 768px) {
  .carousel-item img {
    object-fit: cover;
  }
}