.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
}

.page-terms-conditions__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #2C3E50; /* Primary dark blue background */
  color: #ffffff; /* White text for dark background */
  text-align: center;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

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

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

.page-terms-conditions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  line-height: 1.2;
}

.page-terms-conditions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #f9f9f9; /* Slightly off-white background for readability */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.page-terms-conditions__article {
  line-height: 1.8;
}

.page-terms-conditions__article-title {
  font-size: 2em;
  color: #2C3E50; /* Primary dark blue for main headings */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-terms-conditions__article-subtitle {
  font-size: 1.5em;
  color: #2C3E50;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-terms-conditions__article-paragraph a {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__article-paragraph a:hover {
  text-decoration: underline;
}

.page-terms-conditions__article-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-terms-conditions__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #2C3E50; /* Dark blue text */
}

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

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

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

.page-terms-conditions__button--inline {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
  background-color: #2C3E50;
  color: #FFD700;
}

.page-terms-conditions__button--inline:hover {
  background-color: #3f5166;
  color: #ffffff;
}

.page-terms-conditions__cta-section {
  background-color: #2C3E50; /* Dark blue background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  margin-top: 60px;
}

.page-terms-conditions__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-terms-conditions__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

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

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

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

  .page-terms-conditions__button {
    width: 80%;
    margin: 0 auto;
  }

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

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

  .page-terms-conditions__article-subtitle {
    font-size: 1.3em;
  }

  .page-terms-conditions__article-paragraph {
    font-size: 1em;
  }

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

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

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

  /* Ensure all images in content area are responsive and not smaller than 200px */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
}

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

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

  .page-terms-conditions__cta-section {
    padding: 50px 15px;
  }
}