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

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

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability, but not changing color */
}

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

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffc107; /* Gold accent for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #ffc107; /* Gold primary button */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* White background for content block */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary blue for main section titles */
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #ffc107;
  padding-bottom: 15px;
}

.page-terms-conditions__sub-title {
  font-size: 1.8em;
  color: #007bff;
  margin-top: 40px;
  margin-bottom: 15px;
  border-left: 5px solid #ffc107;
  padding-left: 15px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  font-size: 1.05em;
}

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

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

.page-terms-conditions__link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #0056b3;
  text-decoration: underline;
}

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

.page-terms-conditions__cta-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  margin-top: 50px;
}

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

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #000000;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 0 10px;
}

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

.page-terms-conditions__cta-secondary-button {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  padding: 15px 35px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 10px;
}

.page-terms-conditions__cta-secondary-button:hover {
  background-color: #ffffff;
  color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }

  .page-terms-conditions__hero-title {
    font-size: 2.2em;
  }

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

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

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

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

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

  .page-terms-conditions__cta-button,
  .page-terms-conditions__cta-secondary-button {
    width: 100%;
    margin: 10px 0;
  }

  /* Mobile content image constraint */
  .page-terms-conditions__content-image {
    max-width: 100%;
    height: auto;
  }
}