.page-index-app-core-features {
  color: #333333; /* Default text color for light body background */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-index-app-core-features__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #0A2463; /* Main brand color for hero background */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-index-app-core-features__hero-content {
  max-width: 900px;
  z-index: 1;
  margin-bottom: 40px;
}

.page-index-app-core-features__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Auxiliary color for emphasis */
}

.page-index-app-core-features__hero-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-app-core-features__hero-cta {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for CTA */
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-app-core-features__hero-cta:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-index-app-core-features__hero-image {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  z-index: 0;
}

.page-index-app-core-features__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-app-core-features__section {
  padding: 80px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.page-index-app-core-features__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-index-app-core-features__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-app-core-features__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #0A2463;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-index-app-core-features__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 20px auto 0;
  border-radius: 2px;
}

.page-index-app-core-features__content-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.page-index-app-core-features__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-index-app-core-features__text-content {
  flex: 1;
  min-width: 300px; /* Ensure content area minimum width */
}

.page-index-app-core-features__text-content h3 {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-index-app-core-features__text-content p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #555555;
}

.page-index-app-core-features__image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px; /* Enforce min-width for image content wrapper */
}

.page-index-app-core-features__image-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image width */
  min-height: 200px; /* Enforce minimum image height */
}

.page-index-app-core-features__cta-button {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-index-app-core-features__cta-button:hover {
  background-color: #1a3a7c;
  transform: translateY(-2px);
}

.page-index-app-core-features__cta-button--small {
  padding: 8px 18px;
  font-size: 0.9em;
  margin-top: 10px;
}

.page-index-app-core-features__steps-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-index-app-core-features__steps-list li {
  background-color: #f0f8ff; /* Light blue background for list items */
  border-left: 5px solid #FFD700;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-index-app-core-features__steps-list h3 {
  margin-top: 0;
  color: #0A2463;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-app-core-features__hero-title {
    font-size: 2.5em;
  }
  .page-index-app-core-features__hero-description {
    font-size: 1.1em;
  }
  .page-index-app-core-features__section-title {
    font-size: 2em;
  }
  .page-index-app-core-features__content-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .page-index-app-core-features__content-wrapper--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-index-app-core-features {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
  }
  .page-index-app-core-features__hero-section {
    padding: 40px 15px;
  }
  .page-index-app-core-features__hero-title {
    font-size: 2em;
  }
  .page-index-app-core-features__hero-description {
    font-size: 1em;
  }
  .page-index-app-core-features__section {
    padding: 60px 15px;
  }
  .page-index-app-core-features__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index-app-core-features__text-content p {
    font-size: 0.95em;
  }
  .page-index-app-core-features__hero-image img,
  .page-index-app-core-features__image-content img {
    max-width: 100%;
    height: auto;
  }
  /* Crucial: Ensure content images do not cause horizontal scroll */
  .page-index-app-core-features__image-content img {
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px;
  }
  .page-index-app-core-features__text-content {
    min-width: unset;
  }
  .page-index-app-core-features__image-content {
    min-width: unset;
  }
}

@media (max-width: 480px) {
  .page-index-app-core-features__hero-title {
    font-size: 1.8em;
  }
  .page-index-app-core-features__section-title {
    font-size: 1.5em;
  }
  .page-index-app-core-features__hero-cta,
  .page-index-app-core-features__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index-app-core-features__steps-list li {
    padding: 15px 20px;
  }
  .page-index-app-core-features__steps-list h3 {
    font-size: 1.4em;
  }
}