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

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #8B0000;
  color: #ffffff;
  overflow: hidden;
}

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

.page-terms-conditions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.page-terms-conditions__hero-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-terms-conditions__button--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-terms-conditions__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

.page-terms-conditions__button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-3px);
}

.page-terms-conditions__button--text-link {
  background: none;
  border: none;
  padding: 0;
  color: #8B0000;
  text-decoration: underline;
  font-weight: normal;
  font-size: 1em;
  margin-top: 10px;
}

.page-terms-conditions__button--text-link:hover {
  color: #FFD700;
  text-decoration: none;
}

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

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

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #8B0000;
  margin-bottom: 20px;
  border-bottom: 3px solid #FFD700;
  padding-bottom: 10px;
}

.page-terms-conditions__section-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-terms-conditions__cta-wrapper {
  text-align: center;
  padding: 60px 20px;
  background-color: #FFD700;
  border-radius: 10px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

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

.page-terms-conditions__cta-title {
  position: relative;
  z-index: 1;
  font-size: 2.5em;
  color: #8B0000;
  margin-bottom: 20px;
}

.page-terms-conditions__cta-description {
  position: relative;
  z-index: 1;
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: var(--header-offset, 120px);
  }

  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }

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

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

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

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

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

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

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

  .page-terms-conditions__section-image,
  .page-terms-conditions__cta-image {
    max-width: 100%;
    height: auto;
    width: auto; /* Allow image to scale down */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }

  .page-terms-conditions__content-area img {
    max-width: 100%;
    height: auto;
    width: auto; /* Allow image to scale down */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }

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

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

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

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

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

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

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