.page-index-advantages {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for default light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-index-advantages__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Minimum height for hero */
}

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

.page-index-advantages__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-advantages__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
}

.page-index-advantages__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-index-advantages__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #4B0082; /* Royal Purple */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-advantages__hero-button:hover {
  background-color: #e0b800;
  transform: translateY(-3px);
}

/* Features Section */
.page-index-advantages__features-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-index-advantages__section-title {
  font-size: 2.8em;
  color: #4B0082; /* Royal Purple */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.page-index-advantages__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold */
  margin: 10px auto 0;
}

.page-index-advantages__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555555;
}

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

.page-index-advantages__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-advantages__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-advantages__feature-icon {
  width: 200px; /* Minimum size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-index-advantages__card-title {
  font-size: 1.8em;
  color: #4B0082; /* Royal Purple */
  margin-bottom: 15px;
}

.page-index-advantages__card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index-advantages__card-button {
  display: inline-block;
  background-color: #4B0082; /* Royal Purple */
  color: #FFD700; /* Gold */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-index-advantages__card-button:hover {
  background-color: #6a00b2;
}

/* Call to Action Section */
.page-index-advantages__cta-section {
  background-color: #4B0082; /* Royal Purple */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-index-advantages__cta-title {
  font-size: 3em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
}

.page-index-advantages__cta-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-index-advantages__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #4B0082; /* Royal Purple */
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-index-advantages__cta-button:hover {
  background-color: #e0b800;
  transform: translateY(-5px);
}

/* About Us Section */
.page-index-advantages__about-us-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-index-advantages__about-title {
  font-size: 2.8em;
  color: #4B0082;
  text-align: center;
  margin-bottom: 40px;
}

.page-index-advantages__about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-index-advantages__about-text {
  flex: 2;
  min-width: 300px;
  font-size: 1.05em;
  color: #555555;
}

.page-index-advantages__about-text p {
  margin-bottom: 15px;
}

.page-index-advantages__about-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-index-advantages__about-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Testimonials Section */
.page-index-advantages__testimonials-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-index-advantages__testimonials-title {
  font-size: 2.8em;
  color: #4B0082;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-index-advantages__testimonial-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-advantages__testimonial-avatar {
  width: 200px; /* Adjusted to meet minimum size requirement */
  height: 200px; /* Adjusted to meet minimum size requirement */
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #FFD700;
}

.page-index-advantages__testimonial-text {
  font-style: italic;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index-advantages__testimonial-author {
  font-weight: bold;
  color: #4B0082;
}

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

@media (max-width: 768px) {
  .page-index-advantages__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }
  .page-index-advantages__hero-content {
    padding: 30px;
  }
  .page-index-advantages__hero-title {
    font-size: 2.5em;
  }
  .page-index-advantages__hero-description {
    font-size: 1em;
  }
  .page-index-advantages__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-index-advantages__about-content {
    flex-direction: column;
  }

  .page-index-advantages__about-image-wrapper {
    order: -1; /* Image appears before text on mobile */
  }

  .page-index-advantages__section-title,
  .page-index-advantages__cta-title,
  .page-index-advantages__about-title,
  .page-index-advantages__testimonials-title {
    font-size: 1.8em;
  }

  /* Mobile content image constraint */
  .page-index-advantages img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index-advantages__hero-title {
    font-size: 2em;
  }
  .page-index-advantages__hero-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-index-advantages__section-title,
  .page-index-advantages__cta-title,
  .page-index-advantages__about-title,
  .page-index-advantages__testimonials-title {
    font-size: 1.5em;
  }
}