/* === Header Section (Premium Design) === */
.main-header {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #f1f5f9;
  padding: 3rem 2rem;
  margin: 0 2rem 3rem 2rem;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  text-align: center;
  overflow: hidden;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
  isolation: isolate;
}

/* Dynamic radial glow behind text */
.main-header::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
  animation: headerPulse 8s linear infinite;
  z-index: -1;
}

.main-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  z-index: -2;
}

@keyframes headerPulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.main-header:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #111827, #1f2937);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
}

/* === Header Content === */
.header-content h1 {
  font-size: 3.2rem;
  margin-bottom: 0.6rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  background: linear-gradient(to right, #3b82f6, #06b6d4, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
}

.header-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #cbd5e1;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.4rem;
}

.separator {
  margin: 0 0.5rem;
  color: #64748b;
}

/* === Responsive Header === */
@media (max-width: 768px) {
  .main-header {
    margin: 0 1rem 2rem 1rem;
    padding: 2.2rem 1.2rem;
    border-radius: 18px;
  }

  .header-content h1 {
    font-size: 2.4rem;
    line-height: 1.3;
  }

  .header-content h2 {
    font-size: 1.2rem;
  }
}

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

  .header-content h2 {
    font-size: 1rem;
  }

  .separator {
    margin: 0 0.3rem;
  }
}
