.page-terms-conditions {
  color: #333333; /* Dark text for default light body 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;
  padding: 80px 20px 40px;
  text-align: center;
  background-color: #007BFF; /* Main color as background */
  color: #ffffff; /* White text for dark background */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
  filter: grayscale(50%); /* Allowed for background effect, not changing original image color */
}

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

.page-terms-conditions__article {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-terms-conditions__heading {
  font-size: 2em;
  color: #007BFF; /* Main color for headings */
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FFC107; /* Auxiliary color for underline */
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #555555;
}

.page-terms-conditions__paragraph a {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-terms-conditions__cta-section {
  text-align: center;
  background-color: #007BFF;
  color: #ffffff;
  padding: 60px 20px;
  margin-top: 50px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-title {
  font-size: 2.5em;
  color: #FFC107;
  margin-bottom: 20px;
}

.page-terms-conditions__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFC107; /* Auxiliary color for button */
  color: #007BFF; /* Main color for button text */
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-terms-conditions__footer-info {
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
  background-color: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  color: #6c757d;
}

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

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

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

  .page-terms-conditions__heading {
    font-size: 1.6em;
  }

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

  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

  /* Ensure content area does not cause horizontal scroll */
  .page-terms-conditions {
    overflow-x: hidden;
  }
}

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

  .page-terms-conditions__heading {
    font-size: 1.4em;
  }

  .page-terms-conditions__cta-title {
    font-size: 1.8em;
  }
}