.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

.page-terms-conditions__hero-section {
  background-color: #0A2342; /* Main brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #E5B80B; /* Accent color for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

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

.page-terms-conditions__hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eeeeee;
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #0A2342; /* Main brand color */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-terms-conditions__image {
  display: block;
  width: 100%;
  max-width: 800px; /* Ensure content images are not too wide */
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__call-to-action {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-top: 40px;
  border: 1px solid #E5B80B;
}

.page-terms-conditions__call-to-action-title {
  font-size: 2.2em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-terms-conditions__call-to-action-description {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.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;
  min-width: 180px;
  text-align: center;
}

.page-terms-conditions__button--primary {
  background-color: #E5B80B; /* Accent color */
  color: #0A2342; /* Main brand color */
  border: 2px solid #E5B80B;
}

.page-terms-conditions__button--primary:hover {
  background-color: #d1a70a;
  border-color: #d1a70a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(229, 184, 11, 0.4);
}

.page-terms-conditions__button--secondary {
  background-color: transparent;
  color: #0A2342; /* Main brand color */
  border: 2px solid #0A2342;
}

.page-terms-conditions__button--secondary:hover {
  background-color: #0A2342;
  color: #E5B80B;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(10, 35, 66, 0.4);
}

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

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

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

  .page-terms-conditions__paragraph {
    font-size: 0.95em;
  }

  .page-terms-conditions__call-to-action-title {
    font-size: 1.8em;
  }

  .page-terms-conditions__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-terms-conditions__button {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .page-terms-conditions__hero-section,
  .page-terms-conditions__content-area {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure content images are responsive and do not cause horizontal scroll */
  .page-terms-conditions__hero-image,
  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-terms-conditions__call-to-action {
    padding: 30px 15px;
  }
}