/* ==========================================================================
   AI LAB TECHNOLOGIES — HERO SHOWCASE SLIDER
   Interactive Full-Banner Carousel with High-Impact Animations
   File: css/hero-slider.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SHOWCASE SLIDER CONTAINER
   -------------------------------------------------------------------------- */
.hero-showcase-slider {
  position: relative;
  width: 100%;
  min-height: clamp(540px, 68vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-sizing: border-box;
}

html.dark .hero-showcase-slider,
[data-theme="dark"] .hero-showcase-slider {
  background: #080d1a;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   2. SLIDER SLIDES TRACK
   -------------------------------------------------------------------------- */
.hero-showcase-slider .slider-slides-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(540px, 68vh, 720px);
}

.hero-showcase-slider .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.9s ease;
  z-index: 1;
  pointer-events: none;
  padding: 5px 3px 10px;
  box-sizing: border-box;
}

.hero-showcase-slider .hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   3. BACKGROUND MEDIA LAYERS & OVERLAYS
   -------------------------------------------------------------------------- */
.hero-showcase-slider .slide-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 7s cubic-bezier(0.1, 1, 0.2, 1);
  transform: scale(1.05);
  pointer-events: none;
  z-index: 0;
}

.hero-showcase-slider .hero-slide.active .slide-bg-media {
  transform: scale(1);
}

/* Slide 1 Background: Futuristic AI Holographic Interface */
.hero-showcase-slider .slide-bg-hud {
  background-image:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 252, 0.88) 60%, #f8fafc 100%),
    url('../assets/images/hero/hero-12.jpeg');
  filter: saturate(0.85) contrast(1.02);
  opacity: 0.95;
}

html.dark .hero-showcase-slider .slide-bg-hud,
[data-theme="dark"] .hero-showcase-slider .slide-bg-hud {
  background-image:
    radial-gradient(ellipse at 50% 40%, rgba(8, 13, 26, 0.75) 0%, rgba(8, 13, 26, 0.92) 70%, #080d1a 100%),
    url('../assets/images/hero/hero-12.jpeg');
  filter: saturate(1.15) brightness(0.9);
  opacity: 0.85;
}

/* Slide 2 Background: Connected Intelligent Neural Constellation */
.hero-showcase-slider .slide-bg-network {
  background-image:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.78) 0%, rgba(248, 250, 252, 0.9) 60%, #f8fafc 100%),
    url('../assets/images/hero/hero-1.jpg');
  filter: saturate(0.9) contrast(1.02);
  opacity: 0.95;
}

html.dark .hero-showcase-slider .slide-bg-network,
[data-theme="dark"] .hero-showcase-slider .slide-bg-network {
  background-image:
    radial-gradient(ellipse at 50% 40%, rgba(8, 13, 26, 0.75) 0%, rgba(8, 13, 26, 0.92) 70%, #080d1a 100%),
    url('../assets/images/hero/hero-1.jpg');
  filter: saturate(1.2) brightness(0.9);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   4. FLOWING WAVE SHAPE OVERLAY
   -------------------------------------------------------------------------- */
.hero-showcase-slider .slider-wave-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-showcase-slider .slider-wave-img {
  width: 130%;
  min-width: 1400px;
  height: auto;
  object-fit: contain;
  opacity: 0.55;
  animation: waveDrift 16s ease-in-out infinite alternate;
}

html.dark .hero-showcase-slider .slider-wave-img,
[data-theme="dark"] .hero-showcase-slider .slider-wave-img {
  filter: invert(1) brightness(0.85);
  opacity: 0.25;
}

@keyframes waveDrift {
  0% {
    transform: translateX(-2%) translateY(0) scaleY(1);
  }

  50% {
    transform: translateX(1%) translateY(-8px) scaleY(1.04);
  }

  100% {
    transform: translateX(3%) translateY(4px) scaleY(0.98);
  }
}

/* --------------------------------------------------------------------------
   5. FLOATING ANIMATED RED SPARKLE STARS
   -------------------------------------------------------------------------- */
.hero-showcase-slider .floating-stars-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

.hero-showcase-slider .hero-star {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 14px rgba(223, 42, 25, 0.45));
  will-change: transform;
}

.hero-showcase-slider .hero-star svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Left Star Position & Animation */
.hero-showcase-slider .hero-star-left {
  top: clamp(24%, 30vh, 36%);
  left: clamp(4%, 8vw, 12%);
  width: clamp(38px, 3.8vw, 54px);
  height: clamp(38px, 3.8vw, 54px);
  animation: starFloatLeft 7s ease-in-out infinite;
}

/* Right Star Position & Animation */
.hero-showcase-slider .hero-star-right {
  bottom: clamp(16%, 22vh, 28%);
  right: clamp(5%, 8.5vw, 13%);
  width: clamp(42px, 4.2vw, 60px);
  height: clamp(42px, 4.2vw, 60px);
  animation: starFloatRight 8.5s ease-in-out infinite;
}

@keyframes starFloatLeft {

  0%,
  100% {
    transform: translateY(0) rotate(-14deg) scale(1);
  }

  50% {
    transform: translateY(-18px) rotate(-4deg) scale(1.1);
  }
}

@keyframes starFloatRight {

  0%,
  100% {
    transform: translateY(0) rotate(16deg) scale(1);
  }

  50% {
    transform: translateY(-22px) rotate(26deg) scale(1.08);
  }
}

/* --------------------------------------------------------------------------
   6. SLIDE CONTENT & TYPOGRAPHY
   -------------------------------------------------------------------------- */
.hero-showcase-slider .slide-content-wrap {
  position: relative;
  z-index: 5;
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(16px, 4vw, 48px);
  box-sizing: border-box;
}

/* Sleek Category Pill Badge */
.hero-showcase-slider .slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(223, 42, 25, 0.08);
  border: 1px solid rgba(223, 42, 25, 0.25);
  border-radius: 9999px;
  color: #df2a19;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

html.dark .hero-showcase-slider .slide-badge,
[data-theme="dark"] .hero-showcase-slider .slide-badge {
  background: rgba(223, 42, 25, 0.15);
  border-color: rgba(223, 42, 25, 0.4);
  color: #ff5a4d;
}

.hero-showcase-slider .slide-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #df2a19;
  box-shadow: 0 0 10px #df2a19;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

/* Primary Slide Headline */
.hero-showcase-slider .slide-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2.1rem, 4.4vw, 3.85rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #0f172a;
  text-transform: uppercase;
  margin: 0 auto 18px;
  max-width: 960px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

html.dark .hero-showcase-slider .slide-title,
[data-theme="dark"] .hero-showcase-slider .slide-title {
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero-showcase-slider .slide-title span {
  display: block;
}

.hero-showcase-slider .slide-title .title-highlight {
  color: #0f172a;
  position: relative;
  display: inline-block;
}

html.dark .hero-showcase-slider .slide-title .title-highlight,
[data-theme="dark"] .hero-showcase-slider .slide-title .title-highlight {
  color: #ffffff;
}

/* Professional Sentence / Enterprise Description */
.hero-showcase-slider .slide-description {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
  font-weight: 450;
  line-height: 1.68;
  color: #ffffff;
  max-width: 780px;
  margin: 0 auto 30px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}

html.dark .hero-showcase-slider .slide-description,
[data-theme="dark"] .hero-showcase-slider .slide-description {
  color: #cbd5e1;
}

/* Slide Action Buttons */
.hero-showcase-slider .slide-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.6s,
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

/* Active State Triggers for Text Entrance */
.hero-showcase-slider .hero-slide.active .slide-badge,
.hero-showcase-slider .hero-slide.active .slide-title,
.hero-showcase-slider .hero-slide.active .slide-description,
.hero-showcase-slider .hero-slide.active .slide-actions {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   7. CALL TO ACTION BUTTONS
   -------------------------------------------------------------------------- */
.hero-showcase-slider .btn-slider-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a !important;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 36px;
  border-radius: 9999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

html.dark .hero-showcase-slider .btn-slider-primary,
[data-theme="dark"] .hero-showcase-slider .btn-slider-primary {
  background: rgba(30, 41, 59, 0.8);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hero-showcase-slider .btn-slider-primary:hover {
  border-color: #df2a19;
  color: #df2a19 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(223, 42, 25, 0.15);
}

.hero-showcase-slider .btn-slider-primary i {
  font-size: 0.95rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-showcase-slider .btn-slider-primary:hover i {
  transform: translateX(5px);
}

/* Secondary Action Button (Subtle Glass) */
.hero-showcase-slider .btn-slider-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a !important;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 9999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html.dark .hero-showcase-slider .btn-slider-secondary,
[data-theme="dark"] .hero-showcase-slider .btn-slider-secondary {
  background: rgba(30, 41, 59, 0.8);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hero-showcase-slider .btn-slider-secondary:hover {
  border-color: #df2a19;
  color: #df2a19 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(223, 42, 25, 0.15);
}

/* --------------------------------------------------------------------------
   8. VERTICAL RIGHT-ALIGNED NAVIGATION CONTROLS (Exact Match to Design)
   -------------------------------------------------------------------------- */
.hero-showcase-slider .slider-vertical-nav {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.hero-showcase-slider .slider-nav-btn {
  width: clamp(44px, 4vw, 52px);
  height: clamp(44px, 4vw, 52px);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

/* Top Button: Dark Circle with Left Arrow */
.hero-showcase-slider .slider-nav-btn.prev-btn {
  background: #111827;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-showcase-slider .slider-nav-btn.prev-btn:hover {
  background: #000000;
  transform: scale(1.08) translateX(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Bottom Button: Red Circle with Right Arrow */
.hero-showcase-slider .slider-nav-btn.next-btn {
  background: #c81e1e;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(200, 30, 30, 0.4);
}

.hero-showcase-slider .slider-nav-btn.next-btn:hover {
  background: #df2a19;
  transform: scale(1.08) translateX(3px);
  box-shadow: 0 10px 24px rgba(223, 42, 25, 0.55);
}

.hero-showcase-slider .slider-nav-btn:active {
  transform: scale(0.95);
}

/* --------------------------------------------------------------------------
   9. BOTTOM INDICATOR DOTS & PROGRESS BAR
   -------------------------------------------------------------------------- */
.hero-showcase-slider .slider-bottom-bar {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

.hero-showcase-slider .slider-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-showcase-slider .slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html.dark .hero-showcase-slider .slider-dot,
[data-theme="dark"] .hero-showcase-slider .slider-dot {
  background: rgba(255, 255, 255, 0.25);
}

.hero-showcase-slider .slider-dot.active {
  width: 32px;
  border-radius: 9999px;
  background: #df2a19;
  box-shadow: 0 0 12px rgba(223, 42, 25, 0.5);
}

/* Linear Progress Bar at bottom border */
.hero-showcase-slider .slider-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.05);
  z-index: 10;
  overflow: hidden;
}

html.dark .hero-showcase-slider .slider-progress-line,
[data-theme="dark"] .hero-showcase-slider .slider-progress-line {
  background: rgba(255, 255, 255, 0.06);
}

.hero-showcase-slider .slider-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #df2a19, #f97326);
  box-shadow: 0 0 8px rgba(223, 42, 25, 0.6);
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-showcase-slider {
    min-height: 560px;
  }

  .hero-showcase-slider .hero-slide {
    padding: 70px 20px 60px;
  }

  .hero-showcase-slider .hero-star-left {
    left: 4%;
  }

  .hero-showcase-slider .hero-star-right {
    right: 4%;
  }

  .hero-showcase-slider .slider-vertical-nav {
    right: 18px;
  }
}

@media (max-width: 768px) {
  .hero-showcase-slider {
    min-height: 520px;
  }

  .hero-showcase-slider .hero-slide {
    padding: 56px 16px 84px;
  }

  .hero-showcase-slider .slide-title {
    font-size: clamp(1.75rem, 6.2vw, 2.4rem);
    margin-bottom: 14px;
  }

  .hero-showcase-slider .slide-description {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-showcase-slider .hero-star-left {
    top: 15%;
    left: 3%;
    width: 30px;
    height: 30px;
  }

  .hero-showcase-slider .hero-star-right {
    bottom: 12%;
    right: 4%;
    width: 32px;
    height: 32px;
  }

  /* Reposition Nav Buttons to Bottom Right on Mobile to Prevent Content Overlap */
  .hero-showcase-slider .slider-vertical-nav {
    top: auto;
    bottom: 20px;
    right: 16px;
    transform: none;
    flex-direction: row;
    gap: 8px;
  }

  .hero-showcase-slider .slider-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .hero-showcase-slider .slider-bottom-bar {
    left: 20px;
    transform: none;
    bottom: 28px;
  }
}