.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f4f7f6;
}

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for first section */
  background-color: #08160F;
  color: #F2FFF6;
}

.page-terms-conditions__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-terms-conditions__main-title {
  font-size: clamp(2em, 4vw, 3em);
  margin-bottom: 15px;
  font-weight: bold;
  color: #F2C14E; /* Gold for main title */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__cta-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-terms-conditions__cta-button--secondary {
  background: #11A84E;
  border: 2px solid #2AD16F;
}

.page-terms-conditions__cta-button--secondary:hover {
  background: #22C768;
}

.page-terms-conditions__content-section {
  padding: 40px 20px;
}

.page-terms-conditions__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #11A84E; /* Main color for section titles */
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-terms-conditions__sub-title {
  font-size: 1.6em;
  color: #22C768; /* Auxiliary color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  color: #333333;
}

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

.page-terms-conditions__list li {
  margin-bottom: 10px;
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Color scheme integration */
.page-terms-conditions__dark-section {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-terms-conditions__dark-section .page-terms-conditions__section-title {
  color: #F2C14E; /* Gold for titles on dark background */
}

.page-terms-conditions__dark-section .page-terms-conditions__sub-title {
  color: #2AD16F; /* Lighter green for sub-titles on dark background */
}

.page-terms-conditions__dark-section p,
.page-terms-conditions__dark-section .page-terms-conditions__list li {
  color: #A7D9B8; /* Text Secondary on dark background */
}

.page-terms-conditions__light-bg {
  background-color: #f4f7f6; /* Body background */
  color: #333333; /* Dark text for light background */
}

.page-terms-conditions__light-bg .page-terms-conditions__section-title {
  color: #11A84E; /* Main color for titles on light background */
}

.page-terms-conditions__light-bg .page-terms-conditions__sub-title {
  color: #22C768; /* Auxiliary color for sub-titles on light background */
}

/* FAQ Section */
.page-terms-conditions__faq-section {
  padding: 40px 20px;
  background-color: #f4f7f6;
}

.page-terms-conditions__faq-item {
  background-color: #ffffff;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #11A84E; /* Main color for FAQ questions */
  background-color: #E6F7ED;
  transition: background-color 0.3s ease;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.page-terms-conditions__faq-question:hover {
  background-color: #D9F0E3;
}

.page-terms-conditions__faq-item[open] > .page-terms-conditions__faq-question {
  background-color: #D9F0E3;
  color: #0A4B2C; /* Deep Green when open */
}

.page-terms-conditions__faq-qtext {
  flex-grow: 1;
}

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 25px;
  text-align: center;
}

.page-terms-conditions__faq-answer {
  padding: 15px 25px;
  background-color: #ffffff;
  color: #333333;
  font-size: 1em;
}

/* Hide default details marker */
.page-terms-conditions__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-terms-conditions__faq-item summary::marker {
  display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 40px 15px;
  }

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

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

  .page-terms-conditions__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-terms-conditions__content-section,
  .page-terms-conditions__faq-section {
    padding: 30px 15px;
  }

  .page-terms-conditions__container {
    padding: 0 10px;
  }

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

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

  .page-terms-conditions p,
  .page-terms-conditions__list li,
  .page-terms-conditions__faq-answer {
    font-size: 0.95em;
  }

  .page-terms-conditions__list {
    margin-left: 20px;
  }

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

  .page-terms-conditions__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
}