.page-terms-conditions {
  color: #333333; /* Deep dark gray for text on 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 {
  background-color: #007bff; /* Primary brand color */
  color: #ffffff; /* White text for contrast */
  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: #ffc107; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color for CTA */
  color: #007bff; /* Dark blue text on yellow button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-terms-conditions__section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.page-terms-conditions__heading {
  font-size: 2em;
  color: #007bff; /* Primary color for main headings */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffc107; /* Auxiliary color for underline */
  padding-bottom: 10px;
}

.page-terms-conditions__sub-heading {
  font-size: 1.5em;
  color: #0056b3; /* Slightly darker primary for sub-headings */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.7;
  color: #444444;
}

.page-terms-conditions__paragraph a {
  color: #007bff; /* Primary color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-terms-conditions__paragraph a:hover {
  color: #ffc107;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
  object-fit: cover; /* Ensure image covers area without distortion */
}

.page-terms-conditions__cta-section {
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__cta-title {
  font-size: 2.2em;
  color: #ffc107; /* Auxiliary color for CTA title */
  margin-bottom: 20px;
}

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

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color for CTA button */
  color: #007bff; /* Dark blue text on yellow button */
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

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

.page-terms-conditions__cta-link {
  display: block;
  color: #ffffff;
  text-decoration: underline;
  font-size: 1em;
  transition: color 0.3s ease;
}

.page-terms-conditions__cta-link:hover {
  color: #ffc107;
}

/* 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__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-terms-conditions__sub-heading {
    font-size: 1.3em;
  }

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

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

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

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

@media (max-width: 480px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }

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

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

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

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

  .page-terms-conditions__sub-heading {
    font-size: 1.1em;
  }

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

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