/* =======================================
   PREMIUM HERO SECTION - Matching Footer Colors
   ======================================= */

.page-hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  background: linear-gradient(135deg, #000510 0%, var(--color-primary-dark) 30%, #00142f 70%, #000510 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-20) 0;
}

/* Subtle background pattern - matching footer */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(2, 60, 133, 0.04) 0%,
      rgba(0, 20, 47, 0.06) 50%,
      rgba(38, 89, 152, 0.03) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Top border - matching footer */
.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--color-primary-light) 50%,
      transparent 100%);
  z-index: 2;
}

.hero-overlay {
  display: none;
}

.page-hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 4;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: var(--space-6);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
}

/* Decorative line - matching footer style */
.hero-title::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-secondary));
  border-radius: var(--radius-full);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  line-height: 1.75;
  max-width: 750px;
  margin: var(--space-8) auto 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Service Cards Animation Classes */
.service-card-animate {
  opacity: 0;
  transform: translateY(50px);
}

.service-card-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-hero {
    min-height: 400px;
    padding: var(--space-16) 0;
  }

  .hero-title {
    font-size: clamp(2.25rem, 8vw, 3rem);
    margin-bottom: var(--space-5);
  }

  .hero-title::after {
    width: 60px;
    height: 2px;
    bottom: -12px;
  }

  .hero-subtitle {
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
    margin-top: var(--space-6);
    line-height: 1.65;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 350px;
    padding: var(--space-12) 0;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.5rem);
    margin-bottom: var(--space-4);
  }

  .hero-title::after {
    width: 50px;
    height: 2px;
    bottom: -10px;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-top: var(--space-5);
    line-height: 1.6;
  }
}