/* style/terms-conditions.css */

/* Base styles for the terms and conditions page */
.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-terms-conditions__hero-section {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  background-color: #26A9E0; /* Primary brand color for hero background */
  color: #ffffff; /* White text on brand color */
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-terms-conditions__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-terms-conditions__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-terms-conditions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-terms-conditions__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-terms-conditions__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-terms-conditions__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-terms-conditions__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Content Area */
.page-terms-conditions__content-area {
  padding: 60px 0;
  background-color: #000000; /* Body background is black, so this section should be black too */
  color: #ffffff; /* White text on black background */
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #26A9E0; /* Primary brand color for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid #26A9E0;
  padding-bottom: 10px;
}

.page-terms-conditions__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-terms-conditions__text-block img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-terms-conditions__faq-list {
  margin-top: 40px;
}

.page-terms-conditions__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible card on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2); /* Transparent primary color */
  transition: background-color 0.3s ease;
}

.page-terms-conditions__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.4);
}

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-toggle {
  transform: rotate(45deg);
}

.page-terms-conditions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 20px;
}