.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for the page */
  background-color: #08160F; /* Custom background color */
}

.page-terms-conditions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%);
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

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

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-terms-conditions__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #F2FFF6; /* Main Text */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.6); /* Glow */
}

.page-terms-conditions__subtitle {
  font-size: clamp(1em, 1.5vw, 1.25em);
  color: #A7D9B8; /* Secondary Text */
  margin-bottom: 30px;
}

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

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Main Text */
  border: none;
}

.page-terms-conditions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-terms-conditions__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-terms-conditions__btn-secondary:hover {
  background: #57E38D; /* Glow */
  color: #11271B; /* Card BG */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-terms-conditions__content-section {
  padding: 60px 20px;
  background-color: #08160F; /* Default background */
}

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

.page-terms-conditions__container {
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Gold */
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

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

.page-terms-conditions__paragraph {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary Text */
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-terms-conditions__link {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-terms-conditions__faq-section {
  padding: 60px 20px;
}

.page-terms-conditions__faq-list {
  margin-top: 40px;
}

.page-terms-conditions__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Main Text */
  position: relative;
  list-style: none; /* For details/summary */
}

.page-terms-conditions__faq-question::-webkit-details-marker {
  display: none;
}

.page-terms-conditions__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-terms-conditions__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-toggle {
  transform: rotate(45deg);
}

.page-terms-conditions__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #A7D9B8; /* Secondary Text */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 10px;
}

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

  .page-terms-conditions__hero-content {
    padding: 25px;
    margin-top: -60px;
  }

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

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

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

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

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

  .page-terms-conditions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-terms-conditions__faq-answer {
    padding: 0 20px 15px;
  }

  .page-terms-conditions__hero-image {
    min-width: unset;
    min-height: unset;
  }
}