.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Main text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  margin-bottom: 40px;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
}

.page-terms-conditions__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(8, 22, 43, 0.9), rgba(8, 22, 43, 0.5), transparent);
  color: #F3F8FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-terms-conditions__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 10px;
  line-height: 1.2;
  max-width: 90%;
}

.page-terms-conditions__hero-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Secondary text color */
  margin-bottom: 20px;
  max-width: 80%;
}

.page-terms-conditions__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid #244D84; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__section:first-of-type {
  padding-top: 10px; /* Small top padding for the first content section */
}

.page-terms-conditions__container {
  width: 100%;
}

.page-terms-conditions__heading {
  font-size: 2.2em;
  color: #F2C14E; /* Gold color for headings */
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.page-terms-conditions__sub-heading {
  font-size: 1.8em;
  color: #F3F8FF; /* Main text color for subheadings */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-terms-conditions__paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  color: #AFC4E8; /* Secondary text color */
}

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

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

.page-terms-conditions__list-item strong {
  color: #F3F8FF;
}

.page-terms-conditions__highlight {
  color: #F2C14E;
  font-weight: bold;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  cursor: pointer;
  border: none;
  margin-top: 20px;
}

.page-terms-conditions__button--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__button--secondary {
  background: linear-gradient(180deg, #F2C14E 0%, #B8860B 100%); /* Gold gradient for secondary */
  color: #113B7A; /* Deep blue text for contrast */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__button--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions a {
  color: #1D5FD1; /* Accent color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions a:hover {
  color: #4FA8FF; /* Glow color on hover */
  text-decoration: underline;
}

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

.page-terms-conditions__image--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__copyright {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  color: #AFC4E8; /* Secondary text color */
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-terms-conditions {
    font-size: 15px;
  }

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

  .page-terms-conditions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-terms-conditions__hero-description {
    font-size: 0.9em;
    max-width: 95%;
  }

  .page-terms-conditions__section,
  .page-terms-conditions__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-terms-conditions__section:first-of-type {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-terms-conditions__heading {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-terms-conditions__sub-heading {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-terms-conditions__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset;
    min-height: unset;
  }

  .page-terms-conditions__button,
  .page-terms-conditions__button--primary,
  .page-terms-conditions__button--secondary,
  .page-terms-conditions a[class*="button"],
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__hero-section .page-terms-conditions__button {
    width: auto !important; /* Allow hero button to adjust to content on mobile */
    max-width: 80% !important;
  }

  .page-terms-conditions__copyright {
    padding: 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-content {
    padding: 10px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

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