.page-terms-conditions {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  min-height: 500px;
  overflow: hidden;
  text-align: center;
}

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

.page-terms-conditions__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image slightly for text readability */
}

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

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-terms-conditions__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background-color: #1A1A1A; /* Dark background for content sections */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for individual sections */
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-terms-conditions__subsection-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-terms-conditions__section-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-terms-conditions__section-text a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__section-text a:hover {
  text-decoration: underline;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-terms-conditions__list-item {
  margin-bottom: 8px;
}

.page-terms-conditions__section-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-terms-conditions__section-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-terms-conditions__section-button--secondary {
  background-color: #FF4500; /* Use a complementary color for secondary action */
  color: #ffffff;
}

.page-terms-conditions__section-button--secondary:hover {
  background-color: #cc3700;
}

.page-terms-conditions__section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 2em;
  }

  .page-terms-conditions__hero-description {
    font-size: 1em;
  }

  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }

  .page-terms-conditions__subsection-title {
    font-size: 1.2em;
  }

  .page-terms-conditions__content-area {
    padding: 15px;
    margin: 20px auto;
  }

  .page-terms-conditions__section {
    padding: 20px;
    margin-bottom: 20px;
  }

  /* Ensure content images do not overflow on mobile */
  .page-terms-conditions__hero-image img,
  .page-terms-conditions__section-image {
    max-width: 100%;
    height: auto;
  }
}