.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  background-color: #f4f4f4; /* Ensures background consistency */
  padding-top: var(--header-offset, 120px);
  min-height: 100vh; /* Ensure page takes full viewport height */
}

.page-terms-conditions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #0A192F; /* Main brand color for hero background */
  color: #ffffff; /* White text for dark background */
  position: relative;
  overflow: hidden;
}

.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;
  line-height: 1.2;
  color: #FFD700; /* Accent color for title */
}

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

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

.page-terms-conditions__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-terms-conditions__cta-button,
.page-terms-conditions__contact-button {
  display: inline-block;
  background-color: #FFD700; /* Gold accent for CTA */
  color: #0A192F; /* Dark text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-terms-conditions__cta-button:hover,
.page-terms-conditions__contact-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* White background for content for readability */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  line-height: 1.7;
  font-size: 1em;
}

.page-terms-conditions__article {
  padding: 20px 0;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #0A192F; /* Main brand color for section titles */
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-section-title {
  font-size: 1.5em;
  color: #333333;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  color: #555555;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-terms-conditions__list-item {
  margin-bottom: 8px;
}

.page-terms-conditions__image-container {
  margin: 30px 0;
  text-align: center;
}

.page-terms-conditions__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }

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

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

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

  .page-terms-conditions__content-area {
    padding: 20px 15px;
    margin: 0 10px;
    overflow-x: hidden;
  }

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

  .page-terms-conditions__sub-section-title {
    font-size: 1.2em;
  }

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