/* Hero section */
.hero-section {
  min-height: calc(100vh - 70px);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #ffffff 100%);
  padding: 0 var(--section-padding-x);
  overflow: hidden;
}

/* Hero container */
.hero-container {
  max-width: 1400px;
  min-height: calc(100vh - 70px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(4rem, 7vw, 7rem);
}

/* Left content */
.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
  padding-bottom: 6rem;
  animation: heroContentIn 0.9s ease forwards;
}

.hero-subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sunlife-marigold);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--sunlife-dark);
  margin-bottom: 1.5rem;
}

.highlight-text {
  color: var(--sunlife-marigold);
  position: relative;
}

.highlight-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 4px;
  background: var(--sunlife-marigold);
  opacity: 0.3;
  border-radius: 2px;
}

.hero-description {
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 520px;
}

.highlight-bold {
  font-weight: 700;
  color: var(--sunlife-dark);
}

/* Button */
.main-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--sunlife-marigold);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
  margin-top: 0.5rem;
}

.main-cta:hover {
  background: #d49b06;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.45);
}

.click-icon {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.main-cta:hover .click-icon {
  transform: translateX(4px);
}

/* Desktop image */
.hero-image-wrapper {
  flex: 1;
  max-width: 520px;
  height: auto;
  align-self: flex-end;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  transform: translateX(34px);
  animation: heroImageIn 1s ease 0.2s forwards;
}

.image-placeholder {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.image-placeholder img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: translateX(34px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero-image-wrapper {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Large desktop */
@media (min-width: 1400px) {
  .hero-image-wrapper {
    max-width: 580px;
  }

  .image-placeholder img {
    max-height: 650px;
  }
}

/* Laptop */
@media (max-width: 1199px) {
  .hero-section {
    padding: 0 6%;
  }

  .hero-container {
    gap: 4rem;
  }

  .hero-content {
    padding-bottom: 5rem;
  }

  .hero-image-wrapper {
    max-width: 460px;
  }

  .image-placeholder img {
    max-height: 520px;
  }

  .hero-description {
    font-size: 1.05rem;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding: var(--section-padding-y-tablet) 2rem;
  }

  .hero-container {
    min-height: auto;
    justify-content: center;
    align-items: center;
  }

  .hero-image-wrapper {
    display: none;
  }

  .hero-content {
    max-width: 720px;
    text-align: center;
    padding-bottom: 0;
  }

  .hero-description {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-section {
    padding: var(--section-padding-y-mobile) var(--section-padding-x-mobile);
  }

  .hero-container {
    padding: 0;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

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

  .hero-description {
    font-size: 1rem;
    line-height: 1.65;
  }

  .main-cta {
    width: 100%;
    max-width: 340px;
    font-size: 0.95rem;
    padding: 0.9rem 1.5rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-section {
    padding: var(--section-padding-y-mobile) 1rem;
  }

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

  .hero-description {
    font-size: 0.95rem;
  }

  .main-cta {
    max-width: 100%;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .main-cta {
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
  }
}
