.home-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}
.home-hero.has-video-background {
  background-image: none !important;
}
.home-hero.has-video-background .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.home-hero.has-video-background .video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  -o-object-fit: cover;
     object-fit: cover;
}
.home-hero.has-video-background .video-background .desktop-video {
  display: block;
}
@media (max-width: 767px) {
  .home-hero.has-video-background .video-background .desktop-video {
    display: none;
  }
}
.home-hero.has-video-background .video-background .mobile-video {
  display: none;
}
@media (max-width: 767px) {
  .home-hero.has-video-background .video-background .mobile-video {
    display: block;
  }
}
.home-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0, 36, 50, 0.85) 0%, rgba(0, 166, 255, 0.6) 100%);
  z-index: 1;
}
.home-hero .container {
  position: relative;
  z-index: 3;
}
.home-hero .bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(1px);
          backdrop-filter: blur(1px);
  z-index: 2;
  animation-name: float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.home-hero .bubble.bubble-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 10%;
  animation-duration: 8s;
  background: linear-gradient(135deg, rgba(255, 80, 0, 0.1) 0%, rgba(255, 80, 0, 0.3) 100%);
}
.home-hero .bubble.bubble-2 {
  width: 100px;
  height: 100px;
  top: 25%;
  right: 15%;
  animation-duration: 6s;
  animation-delay: 1s;
  background: linear-gradient(135deg, rgba(0, 166, 255, 0.1) 0%, rgba(0, 166, 255, 0.3) 100%);
}
.home-hero .bubble.bubble-3 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  right: 25%;
  animation-duration: 10s;
  animation-delay: 2s;
  background: linear-gradient(135deg, rgba(255, 80, 0, 0.1) 0%, rgba(255, 80, 0, 0.3) 100%);
}
.home-hero .bubble.bubble-4 {
  width: 80px;
  height: 80px;
  bottom: 25%;
  left: 20%;
  animation-duration: 7s;
  animation-delay: 3s;
  background: linear-gradient(135deg, rgba(0, 166, 255, 0.1) 0%, rgba(0, 166, 255, 0.3) 100%);
}
.home-hero .bubble.bubble-5 {
  width: 120px;
  height: 120px;
  top: 40%;
  left: 30%;
  animation-duration: 9s;
  animation-delay: 1.5s;
  background: linear-gradient(135deg, rgba(0, 166, 255, 0.1) 0%, rgba(255, 80, 0, 0.2) 100%);
}
.home-hero .hero-content {
  padding: 2.5rem;
  background-color: rgba(0, 36, 50, 0.75);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #ff5000;
  border-right: 5px solid #00a6ff;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.home-hero .hero-content.animate-in {
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 767px) {
  .home-hero .hero-content {
    padding: 1.5rem;
  }
}
.home-hero .hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}
.home-hero .hero-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff5000, #00a6ff);
}
@media (min-width: 768px) {
  .home-hero .hero-title {
    font-size: 3.5rem;
  }
}
@media (max-width: 767px) {
  .home-hero .hero-title {
    font-size: 2rem;
  }
}
.home-hero .hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .home-hero .hero-subtitle {
    font-size: 1.5rem;
  }
}
@media (max-width: 767px) {
  .home-hero .hero-subtitle {
    font-size: 1rem;
  }
}
.home-hero .hero-button .btn {
  padding: 0.85rem 2rem;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #ff5000, #ff7e40);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 80, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.home-hero .hero-button .btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #00a6ff, #40b8ff);
  transition: all 0.5s ease;
  z-index: -1;
  border-radius: 50px;
}
.home-hero .hero-button .btn:hover {
  box-shadow: 0 6px 20px rgba(0, 166, 255, 0.4);
}
.home-hero .hero-button .btn:hover:before {
  width: 100%;
}
.home-hero .hero-button .btn.pulse-animation {
  animation: button-pulse 1s cubic-bezier(0.66, 0, 0, 1);
}
@media (max-width: 767px) {
  .home-hero .hero-button .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(-2deg);
  }
}
@keyframes button-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 80, 0, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 80, 0, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 80, 0, 0);
    transform: scale(1);
  }
}