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

.page-terms-conditions__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  background-color: #007bff; /* Main brand color background for hero */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

.page-terms-conditions__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

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

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

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #007bff; /* Main brand color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffc107; /* Auxiliary color for underline */
  padding-bottom: 10px;
}

.page-terms-conditions__sub-section-title {
  font-size: 1.5em;
  color: #0056b3; /* Darker shade of main color */
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-terms-conditions__content-area p {
  margin-bottom: 15px;
}

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

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

.page-terms-conditions__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  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__contact-link {
  color: #007bff;
  text-decoration: underline;
}

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

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

.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  min-width: 180px;
  text-align: center;
}

.page-terms-conditions__button--primary {
  background-color: #ffc107; /* Auxiliary color for primary action */
  color: #333333;
  border: 2px solid #ffc107;
}

.page-terms-conditions__button--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-terms-conditions__button--secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-terms-conditions__button--secondary:hover {
  background-color: #ffc107;
  color: #333333;
  transform: translateY(-2px);
}

.page-terms-conditions__final-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.page-terms-conditions__final-cta-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-terms-conditions__final-cta-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-bottom: 40px;
  }

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

  .page-terms-conditions__intro-text {
    font-size: 1em;
  }

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

  .page-terms-conditions__section-title {
    font-size: 1.6em;
    margin-top: 30px;
  }

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

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

  .page-terms-conditions__button {
    width: 100%;
    max-width: 250px;
  }

  .page-terms-conditions__content-area img {
    max-width: 100%;
    height: auto;
  }

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

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

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

  .page-terms-conditions__sub-section-title {
    font-size: 1.2em;
  }
}