.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 below fixed header */
}

.page-terms-conditions__hero-section {
  background-color: #000000; /* Primary brand color for hero background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
}

.page-terms-conditions__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__cta-button:hover {
  background-color: #FFD700; /* Slightly lighter gold on hover */
}

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

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

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #000000; /* Main headings in black */
  margin-bottom: 15px;
  border-bottom: 2px solid #FCBC45; /* Gold accent */
  padding-bottom: 10px;
}

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

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-terms-conditions__contact-button {
  display: inline-block;
  background-color: #000000; /* Black button */
  color: #FFFFFF; /* White text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__contact-button:hover {
  background-color: #333333;
}

.page-terms-conditions__cta-final {
  text-align: center;
  padding: 50px 20px;
  background-color: #FCBC45; /* Gold background for final CTA */
  color: #000000; /* Black text for contrast */
  border-radius: 8px;
  margin-top: 40px;
}

.page-terms-conditions__cta-text {
  font-size: 1.3em;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-terms-conditions__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #000000; /* Black button for final CTA */
  color: #FFFFFF;
}

.page-terms-conditions__cta-button--large:hover {
  background-color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

  .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__section {
    padding: 20px;
  }

  .page-terms-conditions__content-area {
    padding: 0 15px;
    max-width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-terms-conditions__cta-final {
    padding: 30px 15px;
  }

  .page-terms-conditions__cta-button--large {
    font-size: 1em;
    padding: 15px 30px;
  }
}

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

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

  .page-terms-conditions__cta-button {
    width: 100%;
    box-sizing: border-box;
  }

  .page-terms-conditions__contact-button {
    width: 100%;
    box-sizing: border-box;
  }

  .page-terms-conditions__cta-button--large {
    width: 100%;
    box-sizing: border-box;
  }
}