/* Preserve the reference hero's dimensions and alignment. Video is background only. */
.page-home .hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 490px !important;
  padding: 80px 0 50px !important;
  background: #077aa1;
}
.page-home .hero-section .hero-bg-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}
.page-home .hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(7,119,161,.94) 0%,rgba(20,146,184,.78) 53%,rgba(245,124,32,.44) 100%);
}
.page-home .hero-section > .container { position: relative; z-index: 2; }
.page-home .hero-section .row { justify-content: flex-start !important; }
.page-home .hero-section .hero-glass-card {
  text-align: left !important;
  padding: 0 !important;
  max-width: 830px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.page-home .hero-section .hero-title { font-size: clamp(40px, 6.5vw, 84px); line-height: 1.04; }
.page-home .hero-section .hero-sub { margin: 24px 0 34px; }
@media (max-width: 991.98px) {
  .page-home .hero-section { min-height: 450px !important; padding: 100px 0 56px !important; }
}
@media (max-width: 575.98px) {
  .page-home .hero-section { min-height: 430px !important; padding: 100px 0 48px !important; }
  .page-home .hero-section .hero-bg-video { object-position: 58% center; }
  .page-home .hero-section .hero-title { font-size: clamp(34px, 9vw, 48px) !important; }
  .page-home .hero-section .hero-sub { font-size: 16px; line-height: 1.5; margin: 20px 0 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .hero-section .hero-bg-video { display: none; }
  .page-home .hero-section { background: #077aa1 url('../video/pakhi-coding-poster.jpg') center / cover no-repeat; }
}
