.page-terms-conditions {
  color: #333333; /* Dark text for default light body background */
}

.page-terms-conditions__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 60px;
  background-color: #0A2463; /* Main brand color for hero background */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 1;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  color: #ffffff;
}

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

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-terms-conditions__hero-button,
.page-terms-conditions__content-button,
.page-terms-conditions__contact-button,
.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-terms-conditions__hero-button:hover,
.page-terms-conditions__content-button:hover,
.page-terms-conditions__contact-button:hover,
.page-terms-conditions__cta-button:hover {
  background-color: #f5c71c; /* Slightly brighter gold on hover */
  transform: translateY(-2px);
}

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

.page-terms-conditions__article-title {
  font-size: 2em;
  color: #0A2463;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #E3B505;
  padding-bottom: 10px;
}

.page-terms-conditions__article-paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
}

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

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

.page-terms-conditions__article-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__cta-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-terms-conditions__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-terms-conditions__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-terms-conditions__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

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

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

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

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

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

  /* Ensure images are responsive and do not overflow */
  .page-terms-conditions__article-image,
  .page-terms-conditions__cta-image,
  .page-terms-conditions__hero-image {
    max-width: 100%;
    height: auto;
  }
}

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

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

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