.page-index-brand-advantages {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from body, but explicitly set for clarity */
}

.page-index-brand-advantages__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color, #007bff) 0%, #0056b3 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-index-brand-advantages__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-index-brand-advantages__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffc107; /* Highlight with secondary color */
}

.page-index-brand-advantages__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-index-brand-advantages__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-brand-advantages__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index-brand-advantages__cta-button--primary {
  background: var(--secondary-color, #ffc107);
  color: #121212; /* Dark text for light background */
  border: 2px solid var(--secondary-color, #ffc107);
}

.page-index-brand-advantages__cta-button--primary:hover {
  background: #e0a800;
  border-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-brand-advantages__cta-button--secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-index-brand-advantages__cta-button--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-brand-advantages__about-section,
.page-index-brand-advantages__commitment-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #f0f0f0;
}

.page-index-brand-advantages__advantages-section,
.page-index-brand-advantages__why-choose-section {
  padding: 60px 20px;
  background: var(--primary-color, #007bff); /* Primary brand color background */
  color: #ffffff;
}

.page-index-brand-advantages__about-container,
.page-index-brand-advantages__advantages-container,
.page-index-brand-advantages__commitment-container,
.page-index-brand-advantages__why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index-brand-advantages__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: 700;
  color: #ffc107;
}

.page-index-brand-advantages__section-title--light {
  color: #ffffff;
}

.page-index-brand-advantages__about-content {
  text-align: left;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-index-brand-advantages__about-content p {
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-index-brand-advantages__about-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element for margin auto */
}

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

.page-index-brand-advantages__advantage-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-index-brand-advantages__advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-brand-advantages__advantage-image {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 25px;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-brand-advantages__advantage-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color, #ffc107);
}

.page-index-brand-advantages__advantage-description {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-index-brand-advantages__commitment-content {
  text-align: left;
  font-size: 1.1em;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-index-brand-advantages__commitment-list {
  list-style: disc inside;
  margin: 20px 0 0 20px;
  padding: 0;
}

.page-index-brand-advantages__commitment-list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-index-brand-advantages__commitment-list strong {
  color: var(--secondary-color, #ffc107);
}

.page-index-brand-advantages__why-choose-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Image specific rules */
.page-index-brand-advantages img {
  max-width: 100%;
  height: auto;
  display: block;
  /* No filter properties to change image colors */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-brand-advantages__main-title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-index-brand-advantages__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-index-brand-advantages__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-index-brand-advantages__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-index-brand-advantages__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-index-brand-advantages__cta-button {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
    box-sizing: border-box !important;
  }

  .page-index-brand-advantages__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-index-brand-advantages__about-section,
  .page-index-brand-advantages__advantages-section,
  .page-index-brand-advantages__commitment-section,
  .page-index-brand-advantages__why-choose-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-index-brand-advantages__about-content,
  .page-index-brand-advantages__commitment-content {
    font-size: 0.95em;
  }

  .page-index-brand-advantages__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-brand-advantages__advantage-card {
    padding: 25px;
  }

  .page-index-brand-advantages__advantage-title {
    font-size: 1.4em;
  }

  .page-index-brand-advantages__advantage-description {
    font-size: 0.9em;
  }

  .page-index-brand-advantages__about-image {
    margin: 20px auto;
  }

  .page-index-brand-advantages__why-choose-description {
    font-size: 1em;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-index-brand-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Ensure all image containers are responsive and do not overflow */
  .page-index-brand-advantages__about-container,
  .page-index-brand-advantages__advantages-container,
  .page-index-brand-advantages__commitment-container,
  .page-index-brand-advantages__why-choose-container,
  .page-index-brand-advantages__about-content,
  .page-index-brand-advantages__advantage-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}