/* Hero Section Styles */
.page-banner-home {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none; /* Ensure no background is applied */
  perspective: 1px;
  transform-style: preserve-3d;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: translateZ(-1px) scale(2);
  transform-style: preserve-3d;
}

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

#fallback-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  transform: translateZ(0);
} */

.hero-content {
  position: relative;
  z-index: 2; /* Ensure content is above video and overlay */
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
  transform: translateZ(0);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Add smooth scrolling to the entire page */
html {
  scroll-behavior: smooth;
}

/* Add parallax effect to other sections */
.services-section,
.why-choose-section,
.process-section,
.testimonials-section {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1px;
}

.section-header {
  transform: translateZ(0);
}

/* Scroll Down Button */
.scroll-down-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-decoration: none;
  z-index: 2;
  transition: all 0.3s ease;
  opacity: 1;
  visibility: visible;
}

.scroll-down-btn span {
  font-size: 14px;
  margin-bottom: 8px;
  opacity: 0.8;
  letter-spacing: 1px;
}

.scroll-down-btn i {
  font-size: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.scroll-down-btn:hover {
  color: #5db5f7;
}

.scroll-down-btn:hover i {
  animation: none;
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .scroll-down-btn {
    bottom: 20px;
  }

  .scroll-down-btn span {
    font-size: 12px;
  }

  .scroll-down-btn i {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}
