/* style/terms-conditions.css */

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

.page-terms-conditions strong,
.page-terms-conditions__highlight {
  color: #57E38D; /* Glow color for highlights */
  font-weight: bold;
}

.page-terms-conditions a {
  color: #2AD16F; /* Green for links */
  text-decoration: none;
}

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

/* --- Hero Section --- */
.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 0; /* Small top padding, body handles --header-offset */
  background-color: #0A4B2C; /* Deep Green for hero background */
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  z-index: 1;
  max-width: 100%;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and text */
  background: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__main-title {
  font-size: clamp(28px, 4vw, 48px); /* H1 font size with clamp */
  color: #F2C14E; /* Gold for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

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

/* --- CTA Button --- */
.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Main text color for button */
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-terms-conditions__cta-button--centered {
  display: block;
  margin: 40px auto;
  width: fit-content;
  max-width: 100%; /* Ensure button responsiveness */
}

/* --- Content Area --- */
.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F; /* Ensure background consistency */
  color: #F2FFF6; /* Main text color */
}

.page-terms-conditions__section-intro,
.page-terms-conditions__terms-list {
  background-color: #11271B; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-terms-conditions__section-title {
  font-size: clamp(24px, 3vw, 36px);
  color: #F2C14E; /* Gold for section titles */
  margin-bottom: 25px;
  border-bottom: 2px solid #1E3A2A; /* Divider color */
  padding-bottom: 10px;
}

.page-terms-conditions__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #2AD16F; /* Green for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  color: #A7D9B8; /* Secondary text color */
}

.page-terms-conditions ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #A7D9B8; /* Secondary text color */
}

.page-terms-conditions li {
  margin-bottom: 8px;
  color: #A7D9B8; /* Secondary text color */
}

.page-terms-conditions__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

/* --- Video Section --- */
.page-terms-conditions__video-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background-color: #0A4B2C; /* Deep Green background */
  margin-top: 30px;
  border-top: 1px solid #2E7A4E;
  border-bottom: 1px solid #2E7A4E;
}

.page-terms-conditions__video-link {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
}

.page-terms-conditions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid #F2C14E; /* Gold border */
  width: 100%; /* Desktop requirement */
  max-width: 100%;
}

.page-terms-conditions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-terms-conditions__video-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary text color */
}

/* --- FAQ Section --- */
.page-terms-conditions__faq-section {
  margin-top: 50px;
  background-color: #11271B; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
}

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

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

.page-terms-conditions__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green for summary background */
  color: #F2FFF6; /* Main text color */
  font-weight: bold;
  font-size: 1.1em;
  list-style: none; /* Remove default marker */
  transition: background-color 0.3s ease;
}

.page-terms-conditions__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-terms-conditions__faq-item summary:hover {
  background-color: #13994A; /* Darker green on hover */
}

.page-terms-conditions__faq-question {
  flex-grow: 1;
}

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold for toggle icon */
}

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-toggle {
  color: #2AD16F; /* Green when open */
}

.page-terms-conditions__faq-answer {
  padding: 15px 25px 20px;
  background-color: #11271B; /* Card BG for answer background */
  color: #A7D9B8; /* Secondary text color */
  font-size: 1em;
  border-top: 1px solid #1E3A2A; /* Divider color */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-content {
    padding: 30px 15px;
  }
  .page-terms-conditions__main-title {
    font-size: clamp(26px, 3.5vw, 42px);
  }
  .page-terms-conditions__section-title {
    font-size: clamp(22px, 2.8vw, 32px);
  }
  .page-terms-conditions__sub-title {
    font-size: clamp(18px, 2.3vw, 26px);
  }
}

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

  /* Images */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-terms-conditions__hero-image,
  .page-terms-conditions__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Image/Content Containers */
  .page-terms-conditions__section-intro,
  .page-terms-conditions__terms-list,
  .page-terms-conditions__faq-section,
  .page-terms-conditions__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Videos */
  .page-terms-conditions video,
  .page-terms-conditions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video Containers */
  .page-terms-conditions__video-section,
  .page-terms-conditions__video-container,
  .page-terms-conditions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-terms-conditions__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }

  /* Buttons */
  .page-terms-conditions__cta-button,
  .page-terms-conditions a[class*="button"],
  .page-terms-conditions a[class*="btn"] {
    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;
    text-align: center;
  }

  .page-terms-conditions__cta-button--centered {
    margin-left: auto;
    margin-right: auto;
  }

  .page-terms-conditions__hero-content {
    padding: 20px 15px;
    margin-top: 15px;
  }
  .page-terms-conditions__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-terms-conditions__section-title {
    font-size: clamp(20px, 5vw, 30px);
  }
  .page-terms-conditions__sub-title {
    font-size: clamp(18px, 4.5vw, 24px);
  }
  .page-terms-conditions__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-terms-conditions__faq-answer {
    padding: 10px 20px 15px;
  }
}