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

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  background-color: #000000; /* Dark background for hero content area */
}

.page-terms-conditions__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Max width of the hero content */
}

.page-terms-conditions__hero-image {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.6; /* Slightly dim the image to make text stand out */
}

.page-terms-conditions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF; /* Light text on dark/dimmed background */
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

.page-terms-conditions__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-terms-conditions__section {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  color: #333333;
}

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

.page-terms-conditions__list-link {
  color: #000000; /* Darker link color for readability */
  text-decoration: underline;
}

.page-terms-conditions__list-link:hover {
  color: #FCBC45;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000; /* Dark text on light button */
  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;
  border: none;
  cursor: pointer;
}

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

.page-terms-conditions__contact-button {
  display: inline-block;
  background-color: #000000; /* Main color for contact button */
  color: #FFFFFF; /* Light text on dark button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-terms-conditions__final-cta {
  text-align: center;
  padding: 50px 20px;
  background-color: #F8F8F8;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__cta-text {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-terms-conditions__cta-button--final {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__main-title {
    font-size: 2em;
  }

  .page-terms-conditions__intro-text {
    font-size: 1em;
  }

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

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

  .page-terms-conditions__cta-button,
  .page-terms-conditions__cta-button--final,
  .page-terms-conditions__contact-button {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-terms-conditions__hero-content {
    padding: 15px;
    max-width: 90%;
  }

  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum image size for mobile */
    min-height: 200px; /* Enforce minimum image size for mobile */
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: 1.6em;
  }

  .page-terms-conditions__intro-text {
    font-size: 0.9em;
  }

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

  .page-terms-conditions__section {
    padding: 15px;
  }

  .page-terms-conditions__cta-text {
    font-size: 1.1em;
  }
}