/* style/terms-conditions.css */
.page-terms-conditions {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

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

.page-terms-conditions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.3; /* Slightly dim the image for text readability */
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(17, 40, 27, 0.7); /* Card BG with transparency for hero content */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  letter-spacing: 0.5px;
}

.page-terms-conditions__description {
  font-size: clamp(16px, 2vw, 18px);
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto;
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-terms-conditions__article {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-terms-conditions__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  color: #22C768; /* Auxiliary color for main titles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid #1E3A2A; /* Divider */
  padding-bottom: 10px;
}

.page-terms-conditions__section-title:first-of-type {
  margin-top: 0;
}

.page-terms-conditions__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-terms-conditions__text-secondary {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-terms-conditions__image-card {
  margin: 30px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E;
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
}

.page-terms-conditions__image-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #A7D9B8; /* Text Secondary */
}

.page-terms-conditions__contact-info {
  margin-top: 20px;
  padding: 20px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 8px;
  border: 1px solid #2E7A4E;
}

.page-terms-conditions__contact-link {
  color: #2AD16F; /* Button color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__contact-link:hover {
  text-decoration: underline;
  color: #57E38D; /* Glow */
}

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

.page-terms-conditions__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
  font-size: 18px;
  background-color: #11A84E; /* Main color */
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-terms-conditions__faq-question:hover {
  background-color: #22C768; /* Auxiliary color */
}

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

.page-terms-conditions__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  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 20px 15px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
}

.page-terms-conditions__faq-answer p {
  margin-bottom: 0;
}

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

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

  .page-terms-conditions__main-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

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

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

  .page-terms-conditions__article {
    padding: 20px;
  }

  .page-terms-conditions__section-title {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-terms-conditions__sub-title {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-terms-conditions__text-secondary,
  .page-terms-conditions__list li,
  .page-terms-conditions__faq-answer p {
    font-size: 15px;
  }

  .page-terms-conditions__image,
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-terms-conditions__image-card,
  .page-terms-conditions__contact-info,
  .page-terms-conditions__faq-item,
  .page-terms-conditions__hero-image-wrapper,
  .page-terms-conditions__hero-content,
  .page-terms-conditions__container,
  .page-terms-conditions__article {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px;
    padding-right: 0px;
  }

  .page-terms-conditions__faq-question {
    font-size: 16px;
    padding: 12px 15px;
  }

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

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