/* style/terms-conditions.css */

/* Base styles for the page */
.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 40px;
}

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

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum height */
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Adjust to place content below image without overlaying */
  background: rgba(17, 39, 27, 0.8); /* Card B G with opacity for subtle background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__main-title {
  font-size: clamp(24px, 4vw, 48px);
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.page-terms-conditions__dark-bg {
  background-color: #08160F; /* Background */
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
}

.page-terms-conditions__section-title {
  width: 100%;
  font-size: clamp(22px, 3.5vw, 36px);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #2E7A4E; /* Border */
}

.page-terms-conditions__content-block {
  flex: 2;
  min-width: 300px;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card B G */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__sub-title {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #57E38D; /* Glow */
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-terms-conditions__content-block p {
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-terms-conditions__content-image {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Links */
.page-terms-conditions a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions a:hover {
  color: #2AD16F; /* Button top color for hover */
  text-decoration: underline;
}

/* FAQ Section */
.page-terms-conditions__faq-section .page-terms-conditions__container {
  flex-direction: column;
  align-items: center;
}

.page-terms-conditions__faq-list {
  width: 100%;
  max-width: 900px;
  margin-top: 20px;
}

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

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E;
  list-style: none; /* For details tag */
}

.page-terms-conditions__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details tag */
}

.page-terms-conditions__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6; /* Text Main */
}

.page-terms-conditions__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-toggle {
  content: '−';
}

.page-terms-conditions__faq-answer {
  padding: 0 25px 15px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-terms-conditions__container {
    flex-direction: column;
    align-items: center;
  }
  .page-terms-conditions__content-block,
  .page-terms-conditions__content-image {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-terms-conditions__hero-section {
    padding: 0;
  }

  .page-terms-conditions__hero-content {
    margin-top: -80px;
    padding: 15px;
    max-width: calc(100% - 30px);
  }

  .page-terms-conditions__hero-image {
    min-height: 200px;
  }

  .page-terms-conditions__main-title {
    font-size: 28px;
  }

  .page-terms-conditions__hero-description {
    font-size: 16px;
  }

  .page-terms-conditions__container {
    padding: 20px 15px;
    gap: 20px;
  }

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

  .page-terms-conditions__sub-title {
    font-size: 20px;
  }

  .page-terms-conditions__content-block,
  .page-terms-conditions__content-image {
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images and Videos Responsive */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-terms-conditions__container img,
  .page-terms-conditions__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-terms-conditions__section,
  .page-terms-conditions__card,
  .page-terms-conditions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ specific for mobile */
  .page-terms-conditions__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-terms-conditions__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-content {
    margin-top: -60px;
  }
  .page-terms-conditions__main-title {
    font-size: 24px;
  }
  .page-terms-conditions__hero-description {
    font-size: 15px;
  }
  .page-terms-conditions__section-title {
    font-size: 20px;
  }
  .page-terms-conditions__sub-title {
    font-size: 18px;
  }
}