/* Shared Page Banner Styles */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 100px 0 80px;
  margin-top: -50px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  display: flex;
  align-items: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* Animated mesh gradient background */
.page-header::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -100%;
  left: -100%;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
  animation: backgroundShift 30s linear infinite;
}

/* Floating orb effect (optional - can be added with modifier class) */
.page-header::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: -300px;
  right: -200px;
  animation: float-orb 20s ease-in-out infinite;
}

/* Height modifiers */
.page-header--tall {
  min-height: 50vh;
}

.page-header--compact {
  padding: 70px 0 60px;
  min-height: auto;
}

/* Content styles */
.page-header h1 {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-header-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

/* Floating orbs for additional decoration */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
  filter: blur(40px);
}

.orb-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: -10%;
  animation: float-orb 25s ease-in-out infinite;
}

.orb-2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: -5%;
  animation: float-orb 20s ease-in-out infinite reverse;
}

.orb-3 {
  width: 250px;
  height: 250px;
  top: 50%;
  left: 50%;
  animation: float-orb 30s ease-in-out infinite;
}

/* Animated particles */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  bottom: -10px;  /* Start below the viewport */
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) translateX(100px);
    opacity: 0;
  }
}

/* Animations */
@keyframes backgroundShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

@keyframes float-orb {
  0%, 100% {
    transform: translate(0px, 0px);
  }
  33% {
    transform: translate(30px, -30px);
  }
  66% {
    transform: translate(-20px, 20px);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-header {
    padding: 80px 0 60px;
    min-height: 30vh;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header .lead {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .floating-orb {
    display: none;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .page-header .lead {
    font-size: 1rem;
  }
}