/* ==========================================================================
   NEW FAMILY HEALTHCARE - HERO SECTION STYLES (SEAMLESS RIGHT BLEND)
   ========================================================================== */

.hero-section {
  position: relative;
  background-color: #FCFAF2;
  min-height: calc(100vh - 66px);
  min-height: calc(100dvh - 66px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: none;
  box-sizing: border-box;
}

/* Right-Anchored Hero Image blending into the left text */
.hero-image-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

.hero-image-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #FCFAF2 0%, rgba(252, 250, 242, 0.75) 25%, rgba(252, 250, 242, 0) 65%);
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 1400px) {
  .hero-image-backdrop {
    width: 60%;
  }
}

@media (max-width: 1100px) {
  .hero-image-backdrop {
    width: 54%;
  }
  .hero-image-backdrop::before {
    background: linear-gradient(to right, #FCFAF2 0%, rgba(252, 250, 242, 0.85) 35%, rgba(252, 250, 242, 0) 75%);
  }
}

@media (max-width: 850px) {
  .hero-image-backdrop {
    display: none;
  }
}

/* Hero Container */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .hero-section {
    min-height: auto;
    padding: 2.5rem 0;
  }

  .hero-container {
    flex-direction: column;
    padding: 0 1.5rem;
    text-align: center;
  }
}

/* Left Column: Content & Trust Indicators */
.hero-left-column {
  max-width: 580px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 3;
  animation: heroFadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 900px) {
  .hero-left-column {
    align-items: center;
    max-width: 100%;
  }
}

/* Eyebrow */
.hero-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0B391C;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: inline-block;
}

/* Main Display Heading */
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0B391C;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.015em;
}

.hero-highlight-text {
  color: #0B391C;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .hero-highlight-text {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .hero-title {
    font-size: clamp(1.75rem, 4.8vw, 2.25rem);
    line-height: 1.2;
  }
}

/* Supporting Paragraph */
.hero-description {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.68;
  color: #334155;
  max-width: 560px;
  margin: 0 0 0.85rem 0;
}

.hero-description:last-of-type {
  margin-bottom: 1.85rem;
}

@media (max-width: 900px) {
  .hero-description {
    font-size: 0.94rem;
    line-height: 1.65;
    margin-left: auto;
    margin-right: auto;
  }
}

/* CTA Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  row-gap: 1rem;
  column-gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
  width: 100%;
}

@media (max-width: 900px) {
  .hero-cta-group {
    justify-content: center;
    gap: 1rem;
    row-gap: 1rem;
    column-gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    gap: 0.85rem;
    row-gap: 0.85rem;
    width: 100%;
  }
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background-color: #0B391C;
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(11, 57, 28, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  border: 1px solid #0B391C;
}

.hero-btn-primary:hover {
  background-color: #072613;
  border-color: #072613;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 57, 28, 0.45);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background-color: var(--primary-soft, #E8F3DF);
  color: #0B391C !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1.5px solid rgba(11, 57, 28, 0.22);
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-btn-secondary:hover {
  background-color: #d7ebd0;
  border-color: #0B391C;
  color: #0B391C !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 57, 28, 0.12);
}

@media (max-width: 480px) {
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    max-width: 360px;
  }
}

/* Trust Indicators */
.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(7, 92, 42, 0.12);
  width: 100%;
}

@media (max-width: 600px) {
  .hero-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-align: left;
}

@media (max-width: 900px) {
  .hero-trust-item {
    justify-content: center;
  }
}

.trust-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E8F3DF;
  border: 1px solid rgba(7, 92, 42, 0.25);
  color: #075C2A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #17321F;
  line-height: 1.2;
}

.trust-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.2;
}

/* Mobile Visual Image */
.hero-mobile-visual {
  display: none;
}

@media (max-width: 850px) {
  .hero-mobile-visual {
    display: block;
    width: 100%;
    max-width: 580px;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-mobile-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(11, 57, 28, 0.08);
  }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes heroFadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.97);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}
