/* 
  Premium Hero Section Styles
  ================================= 
  Custom styling for the premium hero section.
  Provides a 2-column layout on desktop with a background image overlay,
  and a stacked layout on mobile with an image on top and form below.
*/

:root {
  --hero-primary: #cd2122; /* DDUMC red */
  --hero-secondary: #042066; /* DDUMC blue */
  --hero-text-light: #ffffff;
  --hero-text-dark: #333333;
  --hero-font: 'Poppins', sans-serif;
  --hero-transition: all 0.3s ease;
}

.premium-hero {
  position: relative;
  width: 100%;
  font-family: var(--hero-font);
  background-color: #f8f9fa; /* Fallback background */
}

/* --- Mobile Specific Image --- */
.premium-hero-mobile-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- Desktop Background & Wrapper --- */
.premium-hero-wrapper {
  position: relative;
  width: 100%;
  background-image: none; /* Desktop background applied via media query */
}

/* --- Content Container --- */
.premium-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* --- Right Form Area --- */
.premium-hero-form-card {
  flex: 1;
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.npf_wgts {
  width: 100%;
  min-height: 560px;
  display: block;
}

/* =========================================
   DESKTOP STYLES (>= 992px)
   ========================================= */
@media (min-width: 992px) {
  .premium-hero-mobile-img {
    display: none; /* Hide mobile image on desktop */
  }

  .premium-hero-wrapper {
    background-image: url('../images/home-banner-desk.webp');
    /* background-size: cover;
    background-position: center center; */
    /* background-attachment: fixed; */
    min-height: 100vh;
    display: flex;
    align-items: flex-start; /* Align to top instead of center */
  }

  .premium-hero-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end; /* Align form to the right */
    padding: 10px 30px 40px; /* 10px top padding */
  }

  .premium-hero-form-card {
    margin: 0;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  }
}

/* =========================================
   TABLET STYLES (768px - 991px)
   ========================================= */
@media (min-width: 768px) and (max-width: 991px) {
  .premium-hero-container {
    padding: 60px 20px;
  }
}
