.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure body background is respected */
  padding-top: 10px; /* Fixed navbar spacing, as per prompt for first content section */
}

.page-terms-conditions__hero-banner {
  width: 100%;
  padding: 100px 20px; /* Increased padding for visual impact */
  text-align: center;
  background: linear-gradient(135deg, #003366, #FFD700);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 110px; /* Adjust for fixed header */
}

.page-terms-conditions__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-terms-conditions__hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-terms-conditions__section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  color: #FFD700; /* Gold color for section titles */
}

.page-terms-conditions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #003366;
  border-radius: 2px;
}

.page-terms-conditions__content-wrapper {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for content blocks on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__text-block h3 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFD700; /* Gold color for sub-titles */
}

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

.page-terms-conditions__text-block ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-terms-conditions__text-block ul li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-terms-conditions__link {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Section specific styling for background colors based on body dark background */
.page-terms-conditions__dark-bg {
  background-color: #003366; /* Main brand dark blue */
  color: #ffffff;
}

.page-terms-conditions__light-bg {
  background-color: #1a1a1a; /* A slightly lighter dark background for contrast */
  color: #f0f0f0;
}

/* Ensure text blocks within light-bg sections still have good contrast */
.page-terms-conditions__light-bg .page-terms-conditions__content-wrapper {
  background: rgba(255, 255, 255, 0.08);
}

.page-terms-conditions__light-bg .page-terms-conditions__text-block p,
.page-terms-conditions__light-bg .page-terms-conditions__text-block ul li {
  color: #f0f0f0;
}

.page-terms-conditions__light-bg .page-terms-conditions__section-title::after {
  background-color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-title {
    font-size: 40px;
  }
  .page-terms-conditions__hero-description {
    font-size: 18px;
  }
  .page-terms-conditions__section-title {
    font-size: 28px;
  }
  .page-terms-conditions__text-block h3 {
    font-size: 22px;
  }
  .page-terms-conditions__text-block p,
  .page-terms-conditions__text-block ul li {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: 10px; /* Mobile fixed navbar spacing */
  }
  .page-terms-conditions__hero-banner {
    padding: 80px 15px;
    padding-top: 100px; /* Adjust for fixed header on mobile */
  }
  .page-terms-conditions__hero-title {
    font-size: 32px;
  }
  .page-terms-conditions__hero-description {
    font-size: 16px;
  }
  .page-terms-conditions__container {
    padding: 30px 15px;
  }
  .page-terms-conditions__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .page-terms-conditions__text-block h3 {
    font-size: 20px;
    margin-top: 25px;
  }
  .page-terms-conditions__text-block p,
  .page-terms-conditions__text-block ul li {
    font-size: 14px;
  }
  .page-terms-conditions__content-wrapper {
    padding: 20px;
  }
  
  /* Responsive images */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-terms-conditions__section,
  .page-terms-conditions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Responsive buttons */
  .page-terms-conditions a[class*="link"],
  .page-terms-conditions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}