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

.page-terms-conditions__hero-section {
  background-color: #000000; /* Main color for hero background */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the background image */
  z-index: 0;
}

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  color: #FFFFFF;
  max-width: 800px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}

.page-terms-conditions__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

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

.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: #E0A030;
  color: #000000;
}

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

.page-terms-conditions__button--contact:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF; /* Ensures content area has a white background for readability */
}

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

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-terms-conditions__button {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
  }

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

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

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

  .page-terms-conditions__button {
    width: 90%;
  }

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

/* Mobile content area image safety */
@media (max-width: 768px) {
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
  .page-terms-conditions {
    overflow-x: hidden;
  }
}