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

.page-index-core-advantages__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure header offset for desktop */
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-index-core-advantages__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-index-core-advantages__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-index-core-advantages__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

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

.page-index-core-advantages__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-index-core-advantages__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-index-core-advantages__button--register:hover {
  background-color: #F0F0F0;
  color: #333333;
}

.page-index-core-advantages__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-core-advantages__button--login:hover {
  background-color: #E0A83A;
  color: #000000;
}

.page-index-core-advantages__section {
  padding: 80px 20px;
  text-align: center;
}

.page-index-core-advantages__section--dark-bg {
  background-color: #000000; /* Main color as background */
  color: #FFFFFF; /* Light text for dark background */
}

.page-index-core-advantages__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000;
}

.page-index-core-advantages__section-title--light-text {
  color: #FFFFFF;
}

.page-index-core-advantages__section-intro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.page-index-core-advantages__section-intro--light-text {
  color: #F0F0F0;
}

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

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

.page-index-core-advantages__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-index-core-advantages__feature-card--dark {
  background-color: #1a1a1a;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.page-index-core-advantages__feature-icon {
  width: 250px; /* Minimum 200px, setting larger for content images */
  height: 187px; /* Maintain 4:3 aspect ratio for 250x187 */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-core-advantages__feature-card--dark .page-index-core-advantages__feature-icon {
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.page-index-core-advantages__feature-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-index-core-advantages__feature-title--light-text {
  color: #FCBC45;
}

.page-index-core-advantages__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-index-core-advantages__feature-description--light-text {
  color: #E0E0E0;
}

.page-index-core-advantages__section-text {
  font-size: 1.1em;
  max-width: 900px;
  margin: 60px auto 40px;
  line-height: 1.7;
  color: #333333;
}

.page-index-core-advantages__section-text--light-text {
  color: #E0E0E0;
}

.page-index-core-advantages__button--more-info,
.page-index-core-advantages__button--contact-us,
.page-index-core-advantages__button--download-app {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
  font-size: 1em;
  margin-top: 20px;
}

.page-index-core-advantages__button--more-info:hover,
.page-index-core-advantages__button--contact-us:hover,
.page-index-core-advantages__button--download-app:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-index-core-advantages__cta-section {
  background-color: #FFFFFF;
  padding: 100px 20px;
}

.page-index-core-advantages__cta-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.page-index-core-advantages__cta-image {
  width: 600px; /* Setting width for large image */
  height: 337px; /* Maintain 16:9 aspect ratio */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index-core-advantages__cta-text {
  flex: 1;
  max-width: 500px;
  text-align: left;
}

.page-index-core-advantages__cta-subtitle {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
}

.page-index-core-advantages__cta-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 25px;
}

.page-index-core-advantages__button--final-cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  font-size: 1.2em;
  padding: 18px 40px;
  margin-top: 30px;
}

.page-index-core-advantages__button--final-cta:hover {
  background-color: #E0A83A;
  border-color: #E0A83A;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-core-advantages__hero-title {
    font-size: 2.8em;
  }
  .page-index-core-advantages__section-title {
    font-size: 2.2em;
  }
  .page-index-core-advantages__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index-core-advantages__feature-icon {
    width: 200px; /* Minimum 200px for smaller screens */
    height: 150px;
  }
  .page-index-core-advantages__cta-image {
    width: 100%;
    height: auto;
  }
  .page-index-core-advantages__cta-text {
    max-width: 100%;
    text-align: center;
  }
  .page-index-core-advantages__cta-subtitle {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index-core-advantages__hero-section {
    min-height: 500px;
    padding: 40px 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: 80%;
    max-width: 300px;
  }
  .page-index-core-advantages__section {
    padding: 60px 15px;
  }
  .page-index-core-advantages__section-title {
    font-size: 1.8em;
  }
  .page-index-core-advantages__section-intro {
    font-size: 0.95em;
  }
  .page-index-core-advantages__features-grid {
    grid-template-columns: 1fr;
  }
  .page-index-core-advantages__feature-card {
    padding: 25px;
  }
  .page-index-core-advantages__feature-icon {
    width: 250px; /* Minimum 200px, still ensuring content images are large enough */
    height: 187px;
  }
  .page-index-core-advantages__feature-title {
    font-size: 1.5em;
  }
  .page-index-core-advantages__section-text {
    font-size: 0.95em;
    margin: 40px auto 30px;
  }
  .page-index-core-advantages__cta-section {
    padding: 80px 15px;
  }
  .page-index-core-advantages__cta-content {
    gap: 30px;
  }
  .page-index-core-advantages__cta-image {
    height: auto; /* Allow height to adjust for responsiveness */
    width: 100%;
    max-width: 100%;
  }
  .page-index-core-advantages__cta-subtitle {
    font-size: 1.8em;
  }
  .page-index-core-advantages__cta-description {
    font-size: 1em;
  }
  /* Mobile content area images must be constrained */
  .page-index-core-advantages img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index-core-advantages__hero-title {
    font-size: 1.8em;
  }
  .page-index-core-advantages__hero-description {
    font-size: 0.9em;
  }
  .page-index-core-advantages__section-title {
    font-size: 1.5em;
  }
  .page-index-core-advantages__feature-icon {
    width: 200px;
    height: 150px;
  }
  .page-index-core-advantages__cta-subtitle {
    font-size: 1.5em;
  }
  .page-index-core-advantages__button--final-cta {
    font-size: 1em;
    padding: 15px 30px;
  }
}