/**
 * FASCO Pakistan - Hero Section Styles
 */

.fasco-hero {
  position: relative;
  background-color: #0b0f19;
  background-image: 
    radial-gradient(circle at 85% 20%, rgba(227, 27, 35, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(30, 58, 138, 0.25) 0%, transparent 55%),
    linear-gradient(135deg, rgba(11, 15, 25, 0.98) 0%, rgba(15, 23, 42, 0.96) 50%, rgba(11, 15, 25, 0.98) 100%);
  color: var(--fasco-white);
  padding: 80px 0 90px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Subtle industrial tech grid background */
.fasco-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.fasco-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* Hero Content */
.fasco-hero-content {
  max-width: 660px;
}

.fasco-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227, 27, 35, 0.15);
  border: 1px solid rgba(227, 27, 35, 0.4);
  color: #FF5259;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: var(--fasco-radius-pill);
  margin-bottom: 20px;
}

.fasco-hero-badge i {
  color: var(--fasco-red);
}

.fasco-hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.fasco-hero-title .highlight {
  color: var(--fasco-red);
  position: relative;
  display: inline-block;
}

.fasco-hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: 36px;
  font-weight: 400;
}

.fasco-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Hero Stats Bar */
.fasco-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.fasco-hero-stat-number {
  font-size: 26px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
}

.fasco-hero-stat-number span {
  color: var(--fasco-red);
}

.fasco-hero-stat-label {
  font-size: 12px;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 2px;
}

/* Animated Floating Effects & Aura */
@keyframes fascoHeroFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes fascoCardFloatA {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes fascoCardFloatB {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes fascoPulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes fascoAuraGlow {
  0%, 100% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Hero Visual Showcase */
.fasco-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fascoHeroFloat 6s ease-in-out infinite;
}

.fasco-hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(227, 27, 35, 0.28) 0%, rgba(227, 27, 35, 0.08) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: fascoAuraGlow 7s ease-in-out infinite;
  z-index: 0;
}

.fasco-hero-showcase-card {
  position: relative;
  z-index: 1;
  background: rgba(18, 22, 31, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px rgba(227, 27, 35, 0.12);
}

.fasco-hero-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fasco-hero-showcase-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #F1F5F9;
  text-transform: uppercase;
}

.fasco-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
  box-shadow: 0 0 10px #22C55E;
  animation: fascoPulseDot 2s infinite;
}

.fasco-hero-showcase-certified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.fasco-hero-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.fasco-hero-mini-card {
  position: relative;
  background: rgba(10, 13, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.fasco-hero-mini-card:hover {
  background: rgba(227, 27, 35, 0.12);
  border-color: rgba(227, 27, 35, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(227, 27, 35, 0.2);
}

.fasco-hero-mini-card--1 {
  animation: fascoCardFloatA 5s ease-in-out infinite;
}

.fasco-hero-mini-card--2 {
  animation: fascoCardFloatB 5.6s ease-in-out 0.6s infinite;
}

.fasco-hero-mini-card--3 {
  animation: fascoCardFloatB 5.2s ease-in-out 1.2s infinite;
}

.fasco-hero-mini-card--4 {
  animation: fascoCardFloatA 5.8s ease-in-out 1.8s infinite;
}

.fasco-hero-mini-card:hover {
  animation-play-state: paused;
}

.fasco-hero-mini-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  transition: all 0.2s ease;
}

.fasco-hero-mini-card:hover .fasco-hero-mini-badge {
  background: var(--fasco-red);
  color: #FFFFFF;
}

.fasco-hero-mini-img-wrap {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 10px;
  transition: transform 0.3s ease;
}

.fasco-hero-mini-card:hover .fasco-hero-mini-img-wrap {
  transform: scale(1.12);
}

.fasco-hero-mini-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

.fasco-hero-mini-title {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.fasco-hero-mini-subtitle {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.3;
}

.fasco-hero-featured-banner {
  background: linear-gradient(135deg, #E31B23 0%, #A50E14 100%);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(227, 27, 35, 0.3);
  transition: all 0.25s ease;
}

.fasco-hero-featured-banner:hover {
  background: linear-gradient(135deg, #EF232C 0%, #B81118 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 27, 35, 0.45);
}

.fasco-hero-banner-title {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.fasco-hero-banner-sub {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1px;
}

.fasco-hero-banner-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  color: #FFFFFF;
  transition: transform 0.2s ease;
}

.fasco-hero-featured-banner:hover .fasco-hero-banner-arrow {
  transform: translateX(4px);
  background: #FFFFFF;
  color: var(--fasco-red);
}

/* ==================================================
   COMPANY LOGOS STRIP & MARQUEE (ABOVE HERO)
================================================== */
.fasco-company-strip {
  background: #060911;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.fasco-company-strip__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.fasco-company-strip__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #94A3B8;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}

.fasco-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fasco-red, #E31B23);
  box-shadow: 0 0 8px rgba(227, 27, 35, 0.8);
}

.fasco-company-marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.fasco-company-marquee__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: fascoMarqueeGlide 28s linear infinite;
}

.fasco-company-marquee:hover .fasco-company-marquee__track {
  animation-play-state: paused;
}

@keyframes fascoMarqueeGlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.fasco-company-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 4px 12px;
  opacity: 0.75;
  filter: grayscale(100%) brightness(1.8);
  transition: all 0.25s ease;
  text-decoration: none;
}

.fasco-company-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
  transform: scale(1.08);
}

.fasco-company-logo-img {
  max-height: 28px;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

.fasco-company-logo-text {
  font-size: 12px;
  font-weight: 700;
  color: #CBD5E1;
}

/* ==================================================
   HERO AUTO-CHANGING PRODUCTS SLIDER
================================================== */
.fasco-hero-slider-counter {
  font-size: 12px;
  font-weight: 800;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

.fasco-hero-slider-counter .js-current-slide {
  color: #FFFFFF;
}

.fasco-hero-slider {
  position: relative;
  min-height: 340px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(10, 13, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fasco-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(25px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

.fasco-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  position: relative;
}

.fasco-hero-slide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.fasco-hero-slide-badge {
  display: inline-block;
  background: rgba(227, 27, 35, 0.18);
  border: 1px solid rgba(227, 27, 35, 0.5);
  color: #FF5259;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 12px;
}

.fasco-hero-slide-std {
  font-size: 11px;
  color: #F59E0B;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fasco-hero-slide-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 155px;
  margin-bottom: 12px;
  position: relative;
}

.fasco-hero-slide-img {
  max-height: 145px;
  max-width: 85%;
  object-fit: contain;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
}

.fasco-hero-slide:hover .fasco-hero-slide-img {
  transform: scale(1.06);
}

.fasco-hero-slide-body {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fasco-hero-slide-title {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0;
}

.fasco-hero-slide-desc {
  font-size: 12.5px;
  color: #94A3B8;
  line-height: 1.45;
  margin: 0 0 6px 0;
}

.fasco-hero-slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
}

.fasco-hero-slide-btn:hover {
  background: var(--fasco-red, #E31B23);
  border-color: var(--fasco-red, #E31B23);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Slider Controls: Arrows */
.fasco-hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(18, 22, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.fasco-hero-slider-arrow:hover {
  opacity: 1;
  background: var(--fasco-red, #E31B23);
  border-color: var(--fasco-red, #E31B23);
  transform: translateY(-50%) scale(1.1);
}

.fasco-hero-slider-arrow--prev {
  left: 10px;
}

.fasco-hero-slider-arrow--next {
  right: 10px;
}

/* Slider Controls: Dots */
.fasco-hero-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.fasco-hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.fasco-hero-slider-dot.is-active {
  width: 26px;
  background: var(--fasco-red, #E31B23);
  box-shadow: 0 0 10px rgba(227, 27, 35, 0.6);
}

@media (max-width: 991px) {
  .fasco-company-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .fasco-company-marquee {
    width: 100%;
  }
}
