/* ===== Hero Section - Refined & Centered Design ===== */
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  max-width: none;
  margin: 0;
  position: relative;
  min-height: 95vh;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Premium radial gradient for depth - updated to match mobile transparency */
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: var(--spacing-4xl) var(--spacing-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  justify-content: center;
}

.hero-title {
  font-family: var(--font-primary);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--spacing-2xl);
  line-height: 1.1;
  letter-spacing: -0.04em;
  position: relative;
  padding-bottom: var(--spacing-xl);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 2.75rem;
}

/* Match the blue underline from other sections */
.hero-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background-color: var(--color-accent);
  border-radius: 4px;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: var(--spacing-3xl);
  /* Added more space for desktop */
  line-height: 1.5;
  max-width: 750px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-short-text {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-3xl);
  max-width: 600px;
}

.hero-cta {
  display: inline-block;
  padding: 1.25rem 3rem;
  background-color: #ffffff;
  color: var(--color-accent);
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.1525rem;
  border-radius: 100px;
  /* Rounded pill shape matching rest of site */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
  transform: translateY(-4px);
  background-color: #f8f8f8;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.hero-bg-mobile,
.hero-bg-desktop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-bg-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
    padding: 0;
  }

  .hero-content {
    margin-top: 11.1rem;
    padding-top: var(--spacing-4xl);
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 7rem;
  }

  .hero-short-text {
    font-size: 1rem;
    margin-bottom: var(--spacing-2xl);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
  }

  .hero-overlay {
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
  }

  .hero-cta {
    width: 90%;
    padding: 1rem 2rem;
  }

  .hero-bg-desktop {
    display: none;
  }

  .hero-bg-mobile {
    display: block;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }
}