.page-terms-conditions {
  color: #FFF6D6; /* Text Main color for dark 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: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-terms-conditions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

.page-terms-conditions__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-terms-conditions__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: bold;
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-terms-conditions__cta-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__content-section {
  padding: 60px 20px;
  border-bottom: 1px solid #3A2A12; /* Border color */
}

.page-terms-conditions__content-section:last-of-type {
  border-bottom: none;
}

.page-terms-conditions__dark-bg {
  background: #0A0A0A; /* Background color */
  color: #FFF6D6;
}

.page-terms-conditions__light-bg {
  background: #111111; /* Card BG color */
  color: #FFF6D6;
}

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

.page-terms-conditions__section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  color: #F2C14E; /* Primary color */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__sub-title {
  font-size: clamp(20px, 2.8vw, 28px);
  color: #FFD36B; /* Glow color */
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-terms-conditions__paragraph {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.7;
  color: #FFF6D6;
}

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

.page-terms-conditions__list-item {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-terms-conditions__list-item strong {
  color: #F2C14E; /* Primary color */
}

.page-terms-conditions__image-inline {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

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

.page-terms-conditions__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111;
}

.page-terms-conditions__btn-secondary {
  background: #3A2A12; /* Border color as background */
  color: #FFF6D6;
  border: 2px solid #F2C14E; /* Primary color border */
}

.page-terms-conditions__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

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

details.page-terms-conditions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #0A0A0A; /* Dark background */
}

details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B; /* Glow color */
}

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

details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question:hover {
  background: #1a1a1a;
}

.page-terms-conditions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-terms-conditions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-terms-conditions__faq-item .page-terms-conditions__faq-answer {
  padding: 0 20px 20px;
  background: #111111; /* Card BG color */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-terms-conditions {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-terms-conditions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__hero-image-wrapper img {
    border-radius: 4px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-terms-conditions__hero-description {
    font-size: clamp(15px, 3.5vw, 18px);
  }

  .page-terms-conditions__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    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 {
    padding: 40px 15px;
  }

  .page-terms-conditions__section-title {
    font-size: clamp(20px, 6vw, 30px);
  }

  .page-terms-conditions__sub-title {
    font-size: clamp(18px, 5vw, 24px);
    margin-top: 30px;
  }

  .page-terms-conditions__paragraph,
  .page-terms-conditions__list-item {
    font-size: 15px;
  }

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

  .page-terms-conditions__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    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;
  }

  details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question {
    padding: 15px;
  }

  .page-terms-conditions__faq-qtext {
    font-size: 15px;
  }

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