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

.page-terms-conditions__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  overflow: hidden;
  color: #FFFFFF;
}

.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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-terms-conditions__hero-content {
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 8px;
  max-width: 800px;
  margin-top: 50px;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

.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;
  white-space: nowrap;
}

.page-terms-conditions__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-terms-conditions__button--register:hover {
  background-color: #F0F0F0;
  color: #000000;
}

.page-terms-conditions__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-terms-conditions__button--login:hover {
  background-color: #E0A83D;
  color: #000000;
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-terms-conditions__heading {
  font-size: 2em;
  color: #000000; /* Main color */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 20px;
  color: #333333;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__link:hover {
  text-decoration: underline;
}

.page-terms-conditions__cta-section {
  background-color: #000000; /* Main color for CTA background */
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
  border-radius: 8px;
}

.page-terms-conditions__cta-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

.page-terms-conditions__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-terms-conditions__button--primary:hover {
  background-color: #E0A83D;
  color: #000000;
}

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

.page-terms-conditions__button--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
}

/* Responsive adjustments */
@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__heading {
    font-size: 1.5em;
  }

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

  .page-terms-conditions__button {
    width: 100%;
    padding: 10px 20px;
  }

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

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

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