.page-terms-conditions {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2342;
  color: #ffffff;
  padding: 0;
  text-align: center;
}

.page-terms-conditions__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-terms-conditions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFD700;
  line-height: 1.2;
}

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

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2342;
  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__hero-button:hover {
  background-color: #e6c200;
}

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

.page-terms-conditions__article-heading {
  color: #0A2342;
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
}

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

.page-terms-conditions__content-image {
  width: 100%;
  height: auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  border-radius: 8px;
  margin: 30px 0;
  display: block;
  object-fit: cover;
}

.page-terms-conditions__content-button {
  display: inline-block;
  background-color: #0A2342;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__content-button:hover {
  background-color: #1a3a60;
}

.page-terms-conditions__contact-link {
  color: #0A2342;
  text-decoration: underline;
  font-weight: bold;
}

.page-terms-conditions__contact-link:hover {
  color: #FFD700;
}

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

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

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

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2342;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

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

/* 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__article-heading {
    font-size: 1.5em;
  }

  .page-terms-conditions__article-paragraph {
    font-size: 0.95em;
  }

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

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

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

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

  .page-terms-conditions__content-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  
  /* Ensure no horizontal scroll for content area */
  .page-terms-conditions {
    overflow-x: hidden;
  }
}