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

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px);
  background-color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 60px;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-bottom: 30px;
}

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

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

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-terms-conditions__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
}

.page-terms-conditions__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-terms-conditions__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background for content area */
  color: #ffffff; /* Light text for content area */
}

.page-terms-conditions__container {
  max-width: 100%;
  margin: 0 auto;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(38, 169, 224, 0.3);
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #e0e0e0;
}

.page-terms-conditions__paragraph a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-terms-conditions__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
}

.page-terms-conditions__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
}

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

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

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

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

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

  .page-terms-conditions__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 30px;
  }

  .page-terms-conditions__cta-button {
    width: 100% !important;
    margin: 5px 0;
  }

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

  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-terms-conditions__section,
  .page-terms-conditions__card,
  .page-terms-conditions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

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

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