/* ================================================================== */
/* SIMPLE HEADER SPACING FIX - NO CONFLICTS, JUST CONTENT SPACING   */
/* ================================================================== */

/* Reset any problematic body padding that creates gaps */
body {
  margin: 0 !important;
  padding-top: 0 !important;
}

/* Ensure the header displays properly - don't change positioning */
.premium-header {
  display: block !important;
  visibility: visible !important;
  /* Keep original positioning from other CSS files */
}

/* Add proper spacing ONLY to first content sections that follow header */
.hero-video-container,
.australia-hero,
.crs-hero,
.eligibility-hero,
.hero-section,
.study-hero,
.visit-hero,
.contact-hero {
  margin-top: 0 !important;
  padding-top: 120px !important; /* Safe spacing for header */
}

/* Special handling for sections that have their own background and padding */
.about-hero,
.anzsco-hero,
.noc-hero {
  margin-top: 0 !important;
  /* Don't add extra padding-top as they already have proper padding defined */
  padding-top: 120px !important; /* Override their original padding to account for header */
}

/* Specific spacing for search pages */
body > .container:first-of-type,
body > section:first-of-type:not(.premium-header) {
  margin-top: 0 !important;
  padding-top: 120px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-video-container,
  .australia-hero,
  .crs-hero,
  .eligibility-hero,
  .hero-section,
  .study-hero,
  .visit-hero,
  .contact-hero,
  body > .container:first-of-type,
  body > section:first-of-type:not(.premium-header) {
    padding-top: 100px !important; /* Smaller spacing on mobile */
  }
  
  /* Special sections responsive */
  .about-hero,
  .anzsco-hero,
  .noc-hero {
    margin-top: 0 !important;
    padding-top: 100px !important; /* Mobile spacing for header */
  }
}
