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

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

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

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

.page-terms-conditions__title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-terms-conditions__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-terms-conditions__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

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

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

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-terms-conditions__section {
  margin-bottom: 40px;
}

.page-terms-conditions__heading {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000;
}

.page-terms-conditions__paragraph {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333333;
}

.page-terms-conditions__image {
  width: 100%;
  max-width: 800px; /* Ensure content images are not too wide */
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__link {
  color: #FCBC45; /* Login button color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #e6a73a;
}

.page-terms-conditions__button-group--bottom {
  margin-top: 60px;
  border-top: 1px solid #eee;
  padding-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }

  .page-terms-conditions__title {
    font-size: 2.5em;
  }

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

  .page-terms-conditions__button-group {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-terms-conditions__heading {
    font-size: 1.7em;
  }

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

  /* Ensure content images are responsive and don't overflow */
  .page-terms-conditions__content-area img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__title {
    font-size: 2em;
  }
}