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

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Brand colors for hero */
  color: #ffffff;
}

.page-terms-conditions__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__main-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Primary brand color */
  color: #000000; /* Contrasting text for primary button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-terms-conditions__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-terms-conditions__button-contact {
  background: #8B0000; /* Secondary brand color for contact button */
  color: #ffffff; /* Contrasting text for secondary button */
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.page-terms-conditions__button-contact:hover {
  background: #7a0000; /* Slightly darker red on hover */
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

.page-terms-conditions__content-section {
  padding: 60px 0;
  background-color: #000000; /* Dark background for content */
  color: #ffffff; /* Light text for dark background */
}

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

.page-terms-conditions__section-heading {
  font-size: 2em;
  font-weight: bold;
  color: #FFD700; /* Primary brand color for main headings */
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}

.page-terms-conditions__sub-heading {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700; /* Primary brand color for sub-headings */
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-terms-conditions__text-block {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for text blocks */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0; /* Light text for readability */
}

.page-terms-conditions__text-block p:last-child {
  margin-bottom: 0;
}

.page-terms-conditions__text-block a {
  color: #FFD700; /* Primary brand color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-terms-conditions__text-block a:hover {
  color: #e6c200;
}

/* Image specific styles */
.page-terms-conditions img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 2.2em;
  }
  .page-terms-conditions__intro-text {
    font-size: 1.1em;
  }
  .page-terms-conditions__section-heading {
    font-size: 1.8em;
  }
  .page-terms-conditions__sub-heading {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions {
    font-size: 15px;
    line-height: 1.5;
  }
  .page-terms-conditions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-terms-conditions__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-terms-conditions__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-terms-conditions__cta-button,
  .page-terms-conditions__button-contact {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-terms-conditions__container {
    padding: 0 15px;
  }
  .page-terms-conditions__section-heading {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-terms-conditions__sub-heading {
    font-size: 1.2em;
    margin-top: 30px;
    margin-bottom: 10px;
  }
  .page-terms-conditions__text-block {
    padding: 20px;
  }
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-terms-conditions__content-section {
    padding: 40px 0;
  }
}