.hero--home {
  position: relative;
  max-height: 680px;
  min-height: 680px;
  overflow: hidden;
  background-image: url('/assets/images/hero-bg.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: left;
  padding: 0;
}

.hero--home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgb(15 23 42) 0%, rgb(15 23 42 / 82%) 50%, rgb(15 23 42 / 40%) 100%);
  z-index: 1;
}

.hero--home>.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: var(--container-max);
  padding-inline: var(--container-padding);
  z-index: 2;
}

.hero--home h1 {
  color: var(--color-white);
  font-size: var(--text-5xl);
  min-width: 100%;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding-top: 175px;
}

.hero__description {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  line-height: var(--line-height-relaxed);
  max-width: 720px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.65);
  margin-bottom: var(--space-10);

}

.hero--home .hero__actions {
  justify-content: flex-left;
}

.hero--home .btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: 50px;

}

.hero--home .btn--primary:hover {
  background-color: #264b8a;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.hero--home .btn--secondary {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: 50px;

}

.hero--home .btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--color-white);
}

.hero--home .btn--secondary--alt {
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    background: rgb(43 100 130);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    border-radius: 50px;
}

.btn--secondary--alt {
    border-color: #2b6482;
}

.hero--home .btn--secondary--alt:hover {
  background-color: #2b6482;
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(43, 100, 130, 0.7);
}

.features h2 {
  text-align: center;
  margin-bottom: var(--space-6);
}


@media (max-width: 63.99em) {
  .hero--home {
    background-attachment: scroll;
    min-height: 500px;
  }

  .hero--home h1 {
    font-size: var(--text-4xl);
  }

  .hero__description {
    font-size: var(--text-base);
  }

  .hero--home .btn--primary,
  .hero--home .btn--secondary,
  .hero--home .btn--secondary--alt{
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
  }
}

@media (max-width: 39.99em) {
  .hero--home {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-block: 6rem 3rem;
    text-align: center;
  }

  .hero--home>.container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero--home h1 {
    font-size: var(--text-3xl);
    max-width: 100%;
  }

  .hero__description {
    max-width: 100%;
    font-size: var(--text-sm);
  }

  .hero--home .hero__actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .hero--home .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.features-premium {
  background-color: #ffffff;
}

.features-premium__container {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.features-premium__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.features-premium__divider {
  width: 60px;
  height: 3px;
  background-color: #2b6482;
  margin: 0 auto 20px auto;
  border-radius: 50px;
}

.features-premium__subtitle {
  font-size: 1.1rem;
  color: #666666;
  line-height: 1.5;
}

.features-premium__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.feature-item {
  flex: 1;
  min-width: 280px;
  padding: 20px 40px;
  border-right: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
}

.feature-item:last-child {
  border-right: none;
}

.feature-item:hover {
  background-color: #f8fbff;
  transform: translateY(-5px);
}

.feature-item__content {
  flex: 1;
}

.feature-item__title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.feature-item:hover .feature-item__title {
  color: #255d7c;
}

.feature-item__text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}


@media (max-width: 1024px) {
  .features-premium__list {
    flex-direction: column;
  }

  .features-premium__container {
    gap: 5px;
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 30px 0;
    text-align: center;
  }

  .feature-item:last-child {
    border-bottom: none;
    margin-bottom: 5px;
    padding-bottom: 0px;
  }

  .feature-item:hover {
    background-color: #fff;
    transform: none;
  }

  .hero--home h1 {
    padding-top: 80px;
  }
}

@media (max-width: 639px) {
  .hero--home h1 {
    padding-top: 42px;
  }
}