/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: calc(var(--header-offset, 120px) + 60px); /* Ensure space below fixed header + additional padding */
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #017439, #0a0a0a); /* Brand primary with dark body background */
  color: #ffffff;
}

.page-privacy-policy__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element for max-width and height auto */
  margin: 0 auto;
}

/* Content Section */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background: #ffffff; /* Main content area with white background for readability */
  color: #333333; /* Dark text for light background */
}

.page-privacy-policy__article-heading {
  font-size: 2.2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439; /* Brand primary for headings */
  font-weight: bold;
}

.page-privacy-policy__sub-heading {
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439; /* Brand primary for sub-headings */
  font-weight: bold;
}

.page-privacy-policy__article-paragraph {
  margin-bottom: 15px;
  color: #333333;
}

.page-privacy-policy__article-paragraph a {
  color: #017439; /* Link color matching brand primary */
  text-decoration: underline;
}

.page-privacy-policy__article-paragraph a:hover {
  color: #005a2d; /* Darker shade on hover */
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
}

.page-privacy-policy__highlight {
  font-weight: bold;
  color: #017439; /* Highlight using brand primary */
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__contact-info {
  margin-top: 30px;
  padding: 20px;
  background-color: #f5f5f5;
  border-left: 5px solid #017439;
  border-radius: 4px;
  color: #333333;
}

.page-privacy-policy__contact-detail {
  margin-bottom: 10px;
}

.page-privacy-policy__contact-detail a {
  color: #017439;
  text-decoration: underline;
}

/* CTA Buttons Container */
.page-privacy-policy__cta-buttons {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Primary Button - using promo link */
.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #a00606; /* Slightly darker red on hover */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background: #0a0a0a; /* Dark background for FAQ */
  color: #ffffff;
}

.page-privacy-policy__faq-heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  font-weight: bold;
}

.page-privacy-policy__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #017439; /* Brand primary for question header */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #005a2d; /* Darker shade on hover */
}

.page-privacy-policy__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #ffffff;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px;
  padding-top: 0; /* Adjust padding to look better with the question */
}

.page-privacy-policy__faq-text {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-privacy-policy__hero-title {
    font-size: 2.5em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1.1em;
  }
  .page-privacy-policy__article-heading {
    font-size: 2em;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    padding-bottom: 40px;
  }
  .page-privacy-policy__hero-title {
    font-size: 2em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section {
    padding: 40px 0;
  }
  .page-privacy-policy__container {
    padding: 0 15px;
  }
  .page-privacy-policy__article-heading {
    font-size: 1.8em;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.3em;
  }
  .page-privacy-policy__list {
    margin-left: 15px;
  }
  .page-privacy-policy__faq-heading {
    font-size: 2em;
  }
  .page-privacy-policy__faq-title {
    font-size: 1.1em;
  }
  .page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px;
    padding-top: 0;
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__hero-image,
  .page-privacy-policy__content-image {
    padding-left: 0 !important; /* Remove padding if any on specific images */
    padding-right: 0 !important;
  }

  /* Content area and containers for mobile overflow prevention */
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__container,
  .page-privacy-policy__article,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-privacy-policy__content-section .page-privacy-policy__container,
  .page-privacy-policy__faq-section .page-privacy-policy__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Buttons responsive */
  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__article-heading {
    font-size: 1.6em;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.2em;
  }
  .page-privacy-policy__faq-heading {
    font-size: 1.8em;
  }
  .page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-title {
    font-size: 1em;
  }
  .page-privacy-policy__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
}