/**
 * Home Page Hero Slider Stylesheet - Neto ISP Theme
 * Developed by MH Badhon Ahmed (Web Techiq)
 *
 * Matches the reference UI screenshot:
 *  - Radial background gradient
 *  - Left content column: Tagline pill badge, bold title with orange gradient highlight, subtitle, dual buttons, 3-column stats metrics
 *  - Right column: Hero image with floating glassmorphism cards (Top-Right & Bottom-Left)
 *  - Pagination dots + elongated active progress indicator bar
 */

/* ==========================================================================
   1. Main Hero Slider Section Container
   ========================================================================== */
.neto-hero-slider-section {
  position: relative;
  width: 100%;
  padding: var(--neto-hero-pad-top, 40px) 0 var(--neto-hero-pad-bottom, 60px);
  overflow: hidden;
  background: var(--neto-bg-gradient, radial-gradient(ellipse at 35% 15%, #fef1e1 0%, rgba(254, 241, 225, 0.45) 45%, #ffffff 75%));
}

.neto-hero-slider-viewport {
  position: relative;
  width: 100%;
}

.neto-hero-slider-track {
  position: relative;
  width: 100%;
  /* Prevent height collapse: inactive slides are absolute, active is relative.
     Grid items below won't jump because active slide always sets the height. */
}

/* ==========================================================================
   2. Slide Transitions (Fade + Slide)
   ========================================================================== */
.neto-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s 0.65s; /* delay visibility reset until fade-out done */
  transform: translateX(30px);
  will-change: opacity, transform;
}

.neto-hero-slide.is-active {
  position: relative; /* pulls the track's height to this slide's height */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s 0s; /* no delay when becoming visible */
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}

.hero-slide-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 50px;
}

/* ==========================================================================
   3. Left Column Content
   ========================================================================== */
.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 3;
}

/* Tagline Pill Badge */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.30);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: hero-dot-pulse 2s infinite ease-in-out;
}

@keyframes hero-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-badge-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #047857;
}

/* Main Heading Title */
.hero-title {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.12;
  color: var(--neto-heading-color, #0d1b2a);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title-gradient {
  display: block;
  background: linear-gradient(115deg, var(--slide-grad-start, var(--neto-primary-color, #ff6b00)) 0%, var(--slide-grad-end, #ff8e00) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description Subtitle */
.hero-description {
  font-size: 17px;
  line-height: 1.65;
  color: var(--neto-body-color, #4a5568);
  margin-bottom: 32px;
  max-width: 540px;
}

/* Button Group */
.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  background: linear-gradient(115deg, var(--neto-primary-color, #ff6b00) 0%, #ff8e00 100%);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.32);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.42);
}

.hero-btn-secondary {
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  background: #ffffff;
  color: var(--neto-heading-color, #0d1b2a);
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.hero-btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-3px);
  color: var(--neto-primary-color, #ff6b00);
}

/* 3-Column Key Metrics Stats Row */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--neto-heading-color, #0d1b2a);
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-top: 4px;
}

.stat-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--neto-primary-color, #ff6b00);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ==========================================================================
   4. Right Column Hero Image & Floating Glass Badges
   ========================================================================== */
.hero-media-col {
  position: relative;
  width: 100%;
}

.hero-media-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /*
   * Top:    44px — gives clearance for .glass-top-right (top: -28px)
   * Bottom: 44px — gives clearance for .glass-bottom-left (bottom: -28px)
   * Right:  20px — so card doesn't hug the section edge
   * Left:   10px — minor inset breathing room
   */
  padding: 44px 20px 44px 10px;
  overflow: visible;
}

.hero-image-box {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.hero-image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}

.hero-default-team-illustration {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

/* Floating Glassmorphism Badges */
.hero-glass-card {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.90);
  border-radius: 16px;
  padding: 12px 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10);
  transition: transform 0.3s ease;
}

.hero-glass-card:hover {
  transform: translateY(-4px);
}

/* Top-Right Badge — floats ABOVE the top edge of the image */
.glass-top-right {
  top: -28px;
  right: 10px;
}

/* Bottom-Left Badge — floats BELOW the bottom edge of the image */
.glass-bottom-left {
  bottom: -28px;
  left: 20px;
}

.glass-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.glass-icon-box.check-icon {
  background: #ecfdf5;
  color: #10b981;
}

.glass-info {
  display: flex;
  flex-direction: column;
}

.glass-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--neto-heading-color, #0d1b2a);
  line-height: 1.2;
}

.glass-sub {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

/* ==========================================================================
   5. Slider Pagination Dots Indicator
   ========================================================================== */
.hero-pagination-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.hero-dots-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-dot-btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
}

.hero-dot-bar {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot-btn.is-active .hero-dot-bar {
  width: 28px;
  border-radius: 10px;
  background: var(--neto-primary-color, #ff6b00);
  box-shadow: 0 2px 10px rgba(255, 107, 0, 0.4);
}

/* ==========================================================================
   6. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-slide-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-description {
    max-width: 100%;
  }

  .glass-top-right {
    right: 10px;
  }

  .glass-bottom-left {
    left: 10px;
  }
}

@media (max-width: 640px) {
  .neto-hero-slider-section {
    padding: 24px 0 40px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 15px;
  }

  /* Stack stats 1-per-row on small screens */
  .hero-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-value {
    font-size: 22px;
  }

  /* On mobile, reset glass cards to static flow */
  .hero-media-wrap {
    padding: 10px 8px 8px;
    flex-direction: column;
  }

  .glass-top-right,
  .glass-bottom-left {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 8px 0;
  }

  .hero-btn-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* Ultra-small (360px) */
@media (max-width: 400px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
}
