.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-terms-conditions__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Minimum height for hero section */
}

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

.page-terms-conditions__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(0, 51, 102, 0.7); /* Semi-transparent main color background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-terms-conditions__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-terms-conditions__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__hero-button--primary {
  background-color: #FFCC00; /* Auxiliary color */
  color: #003366; /* Main color for text */
}

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

.page-terms-conditions__hero-button--secondary {
  background-color: #003366; /* Main color */
  color: #FFCC00; /* Auxiliary color for text */
  border: 2px solid #FFCC00;
}

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

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

.page-terms-conditions__article h2.page-terms-conditions__section-title {
  color: #003366; /* Main color */
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #FFCC00; /* Auxiliary color for emphasis */
}

.page-terms-conditions__article h3.page-terms-conditions__subsection-title {
  color: #003366; /* Main color */
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__article p {
  margin-bottom: 15px;
  color: #333333;
  font-size: 1.05em;
}

.page-terms-conditions__article a {
  color: #003366; /* Main color for links */
  text-decoration: underline;
}

.page-terms-conditions__article a:hover {
  color: #FFCC00; /* Auxiliary color on hover */
}

.page-terms-conditions__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #003366; /* Main color */
  color: #ffffff;
  margin-top: 40px;
  border-radius: 10px;
}

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

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

.page-terms-conditions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-button--primary {
  background-color: #FFCC00; /* Auxiliary color */
  color: #003366; /* Main color for text */
}

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

.page-terms-conditions__cta-button--secondary {
  background-color: transparent;
  color: #FFCC00; /* Auxiliary color for text */
  border: 2px solid #FFCC00;
}

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

/* Ensure all images within the content area are responsive and not too small */
.page-terms-conditions__content-area img {
  max-width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  display: block; /* Prevents extra space below image */
  margin: 20px auto; /* Centers images */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    min-height: 300px;
    padding: var(--header-offset, 120px) 20px 40px;
  }

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

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

  .page-terms-conditions__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-terms-conditions__hero-button {
    width: 100%;
    max-width: 300px;
  }

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

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

  .page-terms-conditions__article h3.page-terms-conditions__subsection-title {
    font-size: 1.2em;
  }

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

  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-terms-conditions__cta-button {
    width: 100%;
    max-width: 300px;
  }

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

@media (max-width: 480px) {
  .page-terms-conditions__hero-section {
    min-height: 250px;
    padding: var(--header-offset, 120px) 15px 30px;
  }

  .page-terms-conditions__hero-container {
    padding: 20px 15px;
  }

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

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

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

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

  .page-terms-conditions__article h3.page-terms-conditions__subsection-title {
    font-size: 1.1em;
  }

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

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