.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;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-terms-conditions__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 400px; /* Minimum height for hero section */
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken background image for text readability */
}

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

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

.page-terms-conditions__section-heading {
  font-size: 2.2em;
  color: #007BFF; /* Primary color for headings */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFC107;
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: justify;
}

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

.page-terms-conditions__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.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; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-terms-conditions__button {
  display: inline-block;
  background-color: #007BFF; /* Primary color for buttons */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.page-terms-conditions__button:hover {
  background-color: #0056b3; /* Darker primary color on hover */
}

.page-terms-conditions__button--contact {
  margin-top: 20px;
  background-color: #FFC107; /* Auxiliary color for contact button */
  color: #333333;
}

.page-terms-conditions__button--contact:hover {
  background-color: #e0a800; /* Darker auxiliary color on hover */
}

.page-terms-conditions__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-terms-conditions__floating-button {
  display: block;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.3s ease;
  min-width: 120px;
}

.page-terms-conditions__floating-button--register {
  background-color: #FFC107; /* Auxiliary color for register */
  color: #333333;
}

.page-terms-conditions__floating-button--register:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-terms-conditions__floating-button--login {
  background-color: #007BFF; /* Primary color for login */
  color: #ffffff;
}

.page-terms-conditions__floating-button--login:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

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

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

  .page-terms-conditions__section-heading {
    font-size: 1.8em;
  }

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

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

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

  .page-terms-conditions__floating-buttons {
    bottom: 15px;
    right: 15px;
    flex-direction: row; /* Stack horizontally on mobile */
    gap: 8px;
  }

  .page-terms-conditions__floating-button {
    padding: 10px 15px;
    min-width: unset;
    width: auto; /* Allow buttons to shrink */
  }
}