/* ==========================================================================
   NEXTGEN HERO BANNER COMPONENT
   ========================================================================== */

.ng-hero-wrapper {
  width: min(100% - 2rem, 1170px);
  margin: 6.5rem auto 1.5rem auto;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0b0704;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ng-hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
}

/* Slides */
.ng-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: radial-gradient(circle at 50% 50%, #1f150c 0%, #0b0704 100%);
}

.ng-hero-slide.active-slide {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Candle as Background Layer */
.ng-hero-bg-candle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

/* Desktop Foreground Content Layer */
.ng-hero-center-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  width: 100%;
  max-width: 900px;
  height: 100%;
  z-index: 3;
}

.ng-hero-center-text {
  margin-top: 250px;
  margin-bottom: auto;
  width: 100%;
}

.ng-hero-main-title {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
  line-height: 1.2;
  color: #ffffff;
  font-weight: 500;
  white-space: nowrap;
  margin-bottom: 0.5rem;
}

.ng-hero-sub-pop {
  display: block;
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ng-coral, #FEAC97);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.4rem;
}

/* Mobile Small Text Above Button */
.ng-mobile-sub-text {
  display: none;
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ng-coral, #FEAC97);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Slim Interactive CTA Button with Electric Hover */
.ng-btn-electric {
  background: var(--ng-coral, #FEAC97);
  color: var(--ng-black, #151515);
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(254, 172, 151, 0.4);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(254, 172, 151, 0.15);
}

.ng-btn-electric:hover {
  background: #ffffff;
  color: #0b0704;
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(153, 224, 226, 0.7), 0 0 40px rgba(254, 172, 151, 0.5);
  transform: translateY(-2px);
}

/* Slide 2 Video Background & Bottom CTA */
.ng-hero-slide.video-slide {
  padding: 0;
  background: #000;
}

.ng-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.ng-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2.5rem;
}

/* ==========================================================================
   CANDLE ANIMATION STYLES
   ========================================================================== */
.holder {
  margin: 0 auto;
  width: 100px;
  height: 220px;
  position: relative;
}

.holder *, .holder *:before, .holder *:after {
  position: absolute;
  content: "";
}

.candle {
  bottom: 0;
  width: 100px;
  height: 170px;
  border-radius: 100px / 30px;
  box-shadow: inset 12px -20px 35px 0 rgba(0, 0, 0, 0.5), inset -12px 0 35px 0 rgba(0, 0, 0, 0.5);
  background: #190f02;
  background: linear-gradient(#e48825, #e78e0e, #833c03, #4c1a03 50%, #1c0900);
}

.candle:before {
  width: 100%;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #d47401;
  background: #b86409;
  background: radial-gradient(#eaa121, #8e4901 45%, #b86409 80%);
}

.candle:after {
  width: 24px;
  height: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  top: 10px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.5);
  background: radial-gradient(rgba(0, 0, 0, 0.6), transparent 45%);
}

.thread {  
  width: 4px;
  height: 24px;
  top: -12px;
  left: 50%;
  z-index: 1;
  border-radius: 40% 40% 0 0;
  transform: translateX(-50%);
  background: #121212;
  background: linear-gradient(#d6994a, #4b232c, #121212, black, #e8bb31 90%);
}

.flame {
  width: 18px;
  height: 85px;
  left: 50%;
  transform-origin: 50% 100%;
  transform: translateX(-50%);
  bottom: 100%;
  border-radius: 50% 50% 20% 20%;
  background: rgba(255, 255, 255, 1);
  background: linear-gradient(white 80%, transparent);
  animation: moveFlame 6s linear infinite, enlargeFlame 5s linear infinite;
}

.flame:before {
  width: 100%;
  height: 100%;
  border-radius: 50% 50% 20% 20%;
  box-shadow: 0 0 10px 0 rgba(247, 93, 0, .4), 0 -4px 2px 0 rgba(247, 128, 0, .7);
}

@keyframes moveFlame {
  0%, 100% { transform: translateX(-50%) rotate(-2deg); }
  50% { transform: translateX(-50%) rotate(2deg); }
}

@keyframes enlargeFlame {
  0%, 100% { height: 85px; }
  50% { height: 105px; }
}

.glow {
  width: 20px;
  height: 45px;
  border-radius: 50% 50% 35% 35%;
  left: 50%;
  top: -35px;
  transform: translateX(-50%);
  background: rgba(0, 133, 255, .7);
  box-shadow: 0 -25px 20px 0 #dc8a0c, 0 25px 35px 0 #dc8a0c, inset 2px 0 2px 0 rgba(0, 133, 255, .6), inset -2px 0 2px 0 rgba(0, 133, 255, .6);
}

.glow:before {
  width: 70%;
  height: 60%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
}

.blinking-glow {
  width: 70px;
  height: 120px;
  left: 50%;
  top: -50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #ff6000;
  filter: blur(40px);
  animation: blinkIt .1s infinite;
}

@keyframes blinkIt {
  50% { opacity: .8; }
}

/* Carousel Indicators */
.ng-hero-dots {
  position: absolute;
  bottom: 1.25rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.ng-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.ng-dot.active {
  background: var(--ng-coral, #FEAC97);
  transform: scale(1.2);
}

/* Desktop vs Mobile Text Toggles */
.ng-mobile-cta-text {
  display: none;
}

.ng-desktop-cta-text {
  display: inline-block;
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
  .ng-hero-slider {
    height: 400px;
  }
  
  .ng-hero-slide {
    padding: 2rem 1.5rem;
  }

  .ng-hero-main-title {
    white-space: normal;
    font-size: 1.25rem;
  }

  .ng-hero-center-text {
    display: none;
  }

  .ng-desktop-cta-text {
    display: none !important;
  }

  .ng-mobile-cta-text {
    display: inline-block !important;
  }

  .ng-mobile-sub-text {
    display: block !important;
  }

  .ng-hero-center-container {
    justify-content: flex-end;
  }

  .ng-video-overlay {
    padding: 2rem 1.5rem;
    justify-content: center;
  }
}

.ng-hero-sub-pop {
  animation-name: ngGlow;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes ngGlow {
  from { text-shadow: 0px 0px 5px #fff, 0px 0px 5px #FEAC97; }
  to { text-shadow: 0px 0px 20px #fff, 0px 0px 20px #FEAC97; }
}

/* ==========================================================================
   HERO H1 HEADING & SUBHEADING STYLES
   ========================================================================== */
/* ==========================================================================
   DARK TEXT HERO SECTION (FOR LIGHT BACKGROUNDS)
   ========================================================================== */

.ng-hero-text-dark {
  max-width: 840px;
  text-align: center;
  margin: 3.5rem auto 2rem auto;
  padding: 0 1.5rem;
}

.ng-hero-text-dark .ng-caption-dark {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.8rem;
  font-weight: 800;
  color: #e07050; /* Deep contrasting coral for high visibility */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.ng-hero-text-dark .ng-hero-title-dark {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: #080d20; /* Deep rich dark navy/black for crystal clear readability */
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 1.2rem 0;
}

.ng-hero-text-dark .ng-highlight-dark {
  color: #e07050; /* Coral accent highlight matching branding */
  position: relative;
}

.ng-hero-text-dark .ng-hero-subtitle-dark {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  color: #4a5568; /* Elegant slate gray for professional subtitle contrast */
  font-weight: 500;
  margin: 0;
  max-width: 740px;
}