.hero {
  justify-content: center;
  align-items: center;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  position: relative;
  z-index: 10; /* Ensure hero stays above other sections */
}

.hero-background {
  z-index: 0;
  filter: blur(6px);
  background-position: 50%;
  background-size: cover;
  background-attachment: fixed;
  position: absolute;
  inset: 0%;
}

.hero-content {
  z-index: 2;
  max-width: 1200px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  
}

.hero-title {
  filter: drop-shadow(0 2px 5px #000000b3);
  color: var(--color-6);
  text-align: center;
  font-weight: 600;
}

.hero-subtitle {
  filter: drop-shadow(0 2px 5px #000000b3);
  color: var(--color-6);
  text-align: center;
  font-weight: 200;
}

.hero-headings {
  border-radius: 15px;
  align-items: center;
  margin-bottom: 40px;
  padding: 40px 40px 40px 0;
}

.trust-cue {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.trust-text {
  filter: drop-shadow(0 2px 5px #000000b3);
  color: var(--color-6);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 200;
}

.cta-wrapper {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  display: flex;
}

.btn-primary {
  border: 1px solid var(--color-1);
  background-color: var(--color-1);
  color: var(--color-6);
  text-align: center;
  border-radius: 15px;
  min-width: 180px;
  padding: 16px 32px;
  font-weight: 600;
  line-height: 1.2rem;
  transition: background-color .2s, box-shadow .2s, transform .2s;
}

.btn-primary:hover {
  border-color: var(--color-1);
  background-color: var(--color-1);
  transform: scale(1.05);
  box-shadow: 0 4px 5px 10px #0003;
}

.btn-secondary {
  border: 1px solid var(--color-1);
  color: var(--color-6);
  text-align: center;
  background-color: transparent;
  border-radius: 15px;
  min-width: 180px;
  padding: 16px 32px;
  font-weight: 600;
  line-height: 1.2rem;
  transition: transform .2s, box-shadow .2s;
}

.btn-secondary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 5px 10px transparent;
}
.hero-cta-note {
  color: var(--color-6);
  text-align: center;
  letter-spacing: 1px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
} 

/* Responsive Breakpoints */

@media (max-width: 1024px) {
  
  .hero-headings {
    padding: 32px 24px 32px 0;
  }
  
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 60vh;
    padding: 40px 0 24px 0;
    flex-direction: column;
    margin-bottom: 2rem; /* Add bottom margin to prevent overlap with next section */
  }
  .hero-background {
    background-attachment: scroll;
  }
  .hero-content {
    padding: 0 16px;
  }
  
  .hero-headings {
    padding: 20px 8px 20px 0;
    margin-bottom: 24px;
  }
  .cta-wrapper {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 2rem; /* Ensure buttons have space below them */
  }
  .btn-primary,
  
  .hero-cta-note {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 20px 0 32px 0; /* Increase bottom padding to prevent overlap */
  }
  
  .hero-headings {
    padding: 10px 4px 10px 0;
    margin-bottom: 16px;
  }
  
  .hero-cta-note {
    font-size: 12px;
  }
  
  .cta-wrapper {
    margin-bottom: 3rem; /* Extra space for very small screens */
  }
}

/* iPhone and small mobile devices */
@media (max-width: 430px) {
  .hero {
    padding: 60px 0 32px 0; /* Account for fixed header (70px) + extra spacing */
    min-height: calc(100vh - 70px); /* Subtract header height from viewport */
  }
  
  .hero-headings {
    padding: 40px 4px 20px 0; /* Add more top padding to separate from header */
    margin-bottom: 20px;
  }
  
  .hero-title {
    margin-top: 0; /* Remove extra margin since we have padding */
  }
}

/* iPhone 14 Pro specific (393px width) */
@media (max-width: 393px) {
  .hero {
    padding: 80px 0 32px 0; /* Even more top padding for iPhone 14 Pro */
  }
  
  .hero-headings {
    padding: 50px 4px 20px 0; /* Maximum top padding for this resolution */
  }
} 