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

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  color: #F2FFF6; /* Text Main for dark background */
  background: #08160F; /* Background color */
  overflow: hidden;
}

.page-terms-conditions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  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__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

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

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

.page-terms-conditions__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background: #ffffff; /* Default light background */
  color: #333333;
}

.page-terms-conditions__section-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  font-weight: 700;
  color: #11A84E; /* Primary color */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #22C768; /* Auxiliary color */
  padding-bottom: 10px;
}

.page-terms-conditions__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #11A84E; /* Primary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__text-block {
  margin-bottom: 15px;
  color: #333333;
}

.page-terms-conditions__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-terms-conditions__list-item {
  margin-bottom: 10px;
  color: #333333;
}

.page-terms-conditions__list-strong {
  color: #11A84E; /* Primary color */
}

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

.page-terms-conditions__image--left {
  float: left;
  margin-right: 20px;
  max-width: 40%;
}

.page-terms-conditions__image--right {
  float: right;
  margin-left: 20px;
  max-width: 40%;
}

.page-terms-conditions__cta-button--inline {
  margin-top: 20px;
}

.page-terms-conditions__faq-section {
  padding: 60px 20px;
  background: #08160F; /* Background color */
  color: #F2FFF6; /* Text Main */
}

.page-terms-conditions__faq-section .page-terms-conditions__section-title {
  color: #F2FFF6; /* Text Main */
  border-bottom-color: #2E7A4E; /* Border color */
}

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

.page-terms-conditions__faq-item {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #A7D9B8; /* Text Secondary */
}

.page-terms-conditions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  background: #11271B; /* Card BG */
  transition: background 0.3s ease;
}

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

.page-terms-conditions__faq-item summary:hover {
  background: #1e3a2a; /* Slightly darker shade */
}

.page-terms-conditions__faq-qtext {
  flex-grow: 1;
  font-size: 1.1em;
}

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  color: #2AD16F;
}

.page-terms-conditions__faq-answer {
  padding: 0 20px 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-terms-conditions__faq-answer .page-terms-conditions__text-block {
  color: #A7D9B8; /* Text Secondary */
}

.page-terms-conditions__cta-section {
  padding: 60px 20px;
  text-align: center;
  background: #ffffff; /* Default light background */
  color: #333333;
}

.page-terms-conditions__cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.page-terms-conditions__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #11A84E; /* Primary color */
  margin-bottom: 20px;
}

.page-terms-conditions__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333333;
}

.page-terms-conditions a {
  color: #11A84E; /* Primary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions a:hover {
  color: #22C768; /* Auxiliary color on hover */
  text-decoration: underline;
}

/* Clearfix for floated images */
.page-terms-conditions__content-area::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-terms-conditions__image--left,
  .page-terms-conditions__image--right {
    float: none;
    margin: 20px auto;
    max-width: 80%;
    display: block;
  }
}

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

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

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

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

  .page-terms-conditions__hero-section,
  .page-terms-conditions__content-area,
  .page-terms-conditions__faq-section,
  .page-terms-conditions__cta-section {
    padding: 30px 15px;
  }
  
  /* Mobile responsive for images */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-terms-conditions__hero-image-wrapper,
  .page-terms-conditions__section-wrapper,
  .page-terms-conditions__cta-container,
  .page-terms-conditions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  /* Mobile responsive for buttons */
  .page-terms-conditions__cta-button {
    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;
  }
}

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

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

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