.page-index-core-advantages {
  color: #333333; /* Dark text for light body background */
}

.page-index-core-advantages__hero-section {
  padding-top: var(--header-offset, 120px);
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  padding-bottom: 60px;
}

.page-index-core-advantages__hero-content {
  max-width: 800px;
  padding: 20px;
}

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

.page-index-core-advantages__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-index-core-advantages__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-core-advantages__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px;
  text-align: center;
}

.page-index-core-advantages__button--primary {
  background-color: #FFD700; /* Main brand color */
  color: #333333;
  border: 2px solid #FFD700;
}

.page-index-core-advantages__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-index-core-advantages__button--secondary {
  background-color: #008000; /* Auxiliary color */
  color: #ffffff;
  border: 2px solid #008000;
}

.page-index-core-advantages__button--secondary:hover {
  background-color: #006600;
  transform: translateY(-2px);
}

.page-index-core-advantages__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

.page-index-core-advantages__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-index-core-advantages__advantages-grid-section,
.page-index-core-advantages__why-choose-section,
.page-index-core-advantages__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-index-core-advantages__section-title {
  font-size: 2.8em;
  color: #008000;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-index-core-advantages__section-description {
  font-size: 1.1em;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-core-advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-core-advantages__grid-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.page-index-core-advantages__grid-item:hover {
  transform: translateY(-5px);
}

.page-index-core-advantages__grid-image {
  width: 100%;
  max-width: 400px; /* Max width for grid images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-index-core-advantages__grid-title {
  font-size: 1.8em;
  color: #008000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-core-advantages__grid-text {
  font-size: 1em;
  color: #777777;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-core-advantages__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  min-width: unset;
}

.page-index-core-advantages__list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-index-core-advantages__list-item {
  background-color: #fffbe6; /* Light golden background */
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #444444;
  line-height: 1.5;
}

.page-index-core-advantages__list-item strong {
  color: #008000;
}

.page-index-core-advantages__cta-section {
  background-color: #008000; /* Auxiliary color as background */
  color: #ffffff;
  padding: 80px 20px;
  border-radius: 15px;
  margin-bottom: 60px;
}

.page-index-core-advantages__cta-title {
  font-size: 2.8em;
  color: #FFD700; /* Main brand color for contrast */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-index-core-advantages__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-index-core-advantages__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-core-advantages__cta-actions .page-index-core-advantages__button--primary {
  background-color: #FFD700;
  color: #333333;
  border-color: #FFD700;
}

.page-index-core-advantages__cta-actions .page-index-core-advantages__button--primary:hover {
  background-color: #e6c200;
}

.page-index-core-advantages__cta-actions .page-index-core-advantages__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-index-core-advantages__cta-actions .page-index-core-advantages__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-core-advantages__hero-title {
    font-size: 2.8em;
  }
  .page-index-core-advantages__section-title,
  .page-index-core-advantages__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-index-core-advantages__hero-section {
    flex-direction: column;
    padding-top: var(--header-offset, 120px);
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-core-advantages__hero-title {
    font-size: 2.2em;
  }

  .page-index-core-advantages__hero-description {
    font-size: 1em;
  }

  .page-index-core-advantages__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-core-advantages__button {
    width: 100%;
    max-width: 300px;
  }

  .page-index-core-advantages__advantages-grid-section,
  .page-index-core-advantages__why-choose-section,
  .page-index-core-advantages__cta-section {
    padding: 40px 15px;
  }

  .page-index-core-advantages__section-title,
  .page-index-core-advantages__cta-title {
    font-size: 2em;
  }

  .page-index-core-advantages__section-description,
  .page-index-core-advantages__cta-description {
    font-size: 0.95em;
  }

  .page-index-core-advantages__grid {
    grid-template-columns: 1fr;
  }

  .page-index-core-advantages__grid-item {
    padding: 25px;
  }

  .page-index-core-advantages__grid-image,
  .page-index-core-advantages__hero-image {
    max-width: 100%; /* Important for mobile responsiveness */
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure all images within .page-index-core-advantages are responsive and not too small */
  .page-index-core-advantages img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-index-core-advantages__hero-title {
    font-size: 1.8em;
  }
  .page-index-core-advantages__section-title,
  .page-index-core-advantages__cta-title {
    font-size: 1.8em;
  }
  .page-index-core-advantages__grid-title {
    font-size: 1.5em;
  }
}