.page-terms-conditions {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark background */
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #FCBC45;
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

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

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

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

.page-terms-conditions__button--register {
  background-color: #FFFFFF; /* Register button color */
  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; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-terms-conditions__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  display: block;
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-terms-conditions__section {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.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;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
  max-width: 800px; /* Ensure images don't stretch too wide */
}

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

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

.page-terms-conditions__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 10px;
  margin-top: 50px;
}

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

.page-terms-conditions__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-terms-conditions__button {
    width: 80%;
    max-width: 300px;
  }

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

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

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

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

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

  /* Ensure content images do not overflow on mobile */
  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
  }

  /* Prevent horizontal scrolling for the main content area */
  .page-terms-conditions {
    overflow-x: hidden;
  }
}