/* ====================================
   Video Hero Section Styles
   ==================================== */

.video-hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video Background */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Dark Overlay */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 31, 63, 0.85) 0%,
    rgba(244, 67, 54, 0.7) 100%
  );
  z-index: 2;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 100px 0;
}

.hero-content .content-box {
  position: relative;
  text-align: left;
  max-width: 800px;
}

/* Floating Icons */
.float-icons {
  position: absolute;
  right: -100px;
  bottom: 50px;
  z-index: 1;
}

.float-icons .float-icon {
  display: block;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.animate-float {
  animation: floatAnimation 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatAnimation 6s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes floatAnimation {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
}

/* Plane Icon */
.plane-icon {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.plane-icon img {
  max-width: 150px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Text Content */
.text-content {
  position: relative;
  z-index: 3;
}

.text-content .sub-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #f44336;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.text-content .main-title {
  font-size: 72px;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 25px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-content .description {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
}

/* Button Box */
.btn-box {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-style-two {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-style-two:hover {
  background: #ffffff;
  color: #001f3f;
  border-color: #ffffff;
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-down {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-down:hover {
  border-color: rgba(255, 255, 255, 0.9);
}

.scroll-down span {
  display: block;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollAnimation 2s infinite;
}

.scroll-down span:nth-child(1) {
  top: 8px;
}

.scroll-down span:nth-child(2) {
  top: 18px;
  animation-delay: 0.2s;
}

.scroll-down span:nth-child(3) {
  top: 28px;
  animation-delay: 0.4s;
}

@keyframes scrollAnimation {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

/* ====================================
   Responsive Styles
   ==================================== */

@media (max-width: 1199px) {
  .text-content .main-title {
    font-size: 60px;
  }

  .float-icons {
    right: -50px;
  }

  .float-icons .float-icon {
    font-size: 60px;
  }
}

@media (max-width: 991px) {
  .video-hero-section {
    height: 80vh;
    min-height: 500px;
  }

  .text-content .main-title {
    font-size: 48px;
  }

  .text-content .description {
    font-size: 16px;
  }

  .plane-icon {
    top: -60px;
  }

  .plane-icon img {
    max-width: 100px;
  }

  .float-icons {
    display: none;
  }
}

@media (max-width: 767px) {
  .video-hero-section {
    height: 70vh;
    min-height: 450px;
  }

  .hero-content {
    padding: 80px 0;
  }

  .text-content .sub-title {
    font-size: 14px;
  }

  .text-content .main-title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .text-content .description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .btn-box {
    flex-direction: column;
    gap: 15px;
  }

  .btn-box .theme-btn {
    width: 100%;
    text-align: center;
  }

  .plane-icon {
    top: -50px;
  }

  .plane-icon img {
    max-width: 80px;
  }

  .scroll-indicator {
    bottom: 20px;
  }
}

@media (max-width: 575px) {
  .text-content .main-title {
    font-size: 32px;
  }

  .video-overlay {
    background: linear-gradient(
      135deg,
      rgba(0, 31, 63, 0.9) 0%,
      rgba(244, 67, 54, 0.8) 100%
    );
  }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
  .animate-float,
  .animate-float-delayed,
  .scroll-down span {
    animation: none;
  }
}

/* Ensure video plays on iOS */
@supports (-webkit-touch-callout: none) {
  .video-background video {
    pointer-events: none;
  }
}
