/* ==========================================================================
   Live Group Hero Banner Widget Styles
   ========================================================================== */

/* Elementor Widget Wrapper Full Width override */
.elementor-widget-live_group_hero_banner {
  width: 100% !important;
}

.lg-hero-banner-wrapper {
  position: relative;
  width: 100vw !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  box-sizing: border-box;
}

/* Background Media Container */
.lg-hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.lg-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

/* Desktop & Mobile Video Display Rules */
@media (min-width: 768px) {
  .lg-video-desktop {
    display: block !important;
  }
  .lg-video-mobile {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .lg-video-desktop.has-mobile-video {
    display: none !important;
  }
  .lg-video-mobile {
    display: block !important;
  }
  .lg-video-desktop:not(.has-mobile-video) {
    display: block !important;
  }
}

/* Video Fallback Image / Poster */
.lg-hero-fallback-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

/* Background Overlay */
.lg-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(135deg, #db411e 0%, #eb4e26 50%, #d53a18 100%);
}

/* Hero Content Container */
.lg-hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  box-sizing: border-box;
  color: #ffffff;
}

.lg-hero-content-inner {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Subtitle / Eyebrow */
.lg-hero-eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.lg-hero-eyebrow-line {
  display: inline-block;
  width: 50px;
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.lg-hero-eyebrow-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1.87px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* Body Paragraphs */
.lg-hero-body-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  width: 100%;
}

.lg-hero-paragraph {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #ffffff;
  margin: 0;
}

/* Top Divider Line Above Stats */
.lg-hero-stats-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
}

/* Scroll Down Button (Pinned to Bottom Edge of Hero Wrapper) */
.lg-hero-scroll-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 10;
  cursor: pointer;
}

.lg-hero-scroll-btn:hover {
  color: #ffffff;
}

.lg-hero-scroll-btn.enable-bounce {
  animation: lgHeroBounce 2s infinite;
}

.lg-scroll-arrow-icon {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.2px;
}

@keyframes lgHeroBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* ==========================================================================
   DESKTOP STYLES
   ========================================================================== */
@media (min-width: 768px) {
  .lg-hero-stats-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
  }

  .lg-hero-stat-item {
    flex: 1;
    padding: 0 24px;
    box-sizing: border-box;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .lg-hero-stat-item:first-child {
    padding-left: 0;
    border-left: none;
  }

  .lg-hero-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 6px 0;
  }

  .lg-hero-stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    display: block;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .lg-hero-container {
    padding: 60px 30px;
  }
  .lg-hero-stat-number {
    font-size: 35px;
  }
  .lg-hero-stat-item {
    padding: 0 16px;
  }
}

/* ==========================================================================
   MOBILE STYLES
   ========================================================================== */
@media (max-width: 767px) {
  .lg-hero-banner-wrapper {
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .lg-hero-container {
    padding: 40px 24px 60px 24px;
  }

  .lg-hero-content-inner {
    max-width: 100%;
  }

  .lg-hero-eyebrow-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

  .lg-hero-eyebrow-line {
    width: 45px;
    height: 2px;
  }

  .lg-hero-eyebrow-text {
    font-size: 10.5px;
    letter-spacing: 1.8px;
    line-height: 1.5;
  }

  .lg-hero-paragraph {
    font-size: 15.5px;
    line-height: 1.5;
  }

  .lg-hero-stats-divider {
    margin-bottom: 28px;
  }

  /* 2 Column Grid for Stats on Mobile */
  .lg-hero-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    row-gap: 28px !important;
    column-gap: 20px !important;
    width: 100% !important;
  }

  .lg-hero-stat-item {
    padding: 0 !important;
    border-left: none !important;
    border-right: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .lg-hero-stat-number {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 42px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.5px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 0 6px 0 !important;
  }

  .lg-hero-stat-label {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.75) !important;
    display: block !important;
  }

  .lg-hero-scroll-btn {
    bottom: 12px !important;
  }
}
