/* style/privacy-policy.css */

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

.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;
  text-align: center;
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff; /* White text for brand color background */
}

.page-privacy-policy__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-privacy-policy__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__hero-image-wrapper {
  margin-bottom: 40px;
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for Register/Login type buttons */
  color: #FFFF00; /* Custom font color for Register/Login type buttons */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-privacy-policy__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Body background color */
  color: #ffffff; /* White text for dark background */
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439; /* Brand primary color for section titles */
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-privacy-policy__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-privacy-policy__image-right {
  float: right;
  margin-left: 30px;
  margin-bottom: 30px;
  width: 50%; /* Adjust as needed */
}

.page-privacy-policy__image-left {
  float: left;
  margin-right: 30px;
  margin-bottom: 30px;
  width: 50%; /* Adjust as needed */
}

.page-privacy-policy__content-section::after {
  content: "";
  display: table;
  clear: both;
}

.page-privacy-policy a {
  color: #017439; /* Brand primary color for links */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #004d2e;
}

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

.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an 'x' or 'minus' */
}

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 60px 0;
  }

  .page-privacy-policy__main-title {
    font-size: 2em;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 1em;
  }

  .page-privacy-policy__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__image-right,
  .page-privacy-policy__image-left {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }

  .page-privacy-policy__container {
    padding: 0 15px;
  }

  /* Mobile image responsive adaptations */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Fixed header offset for mobile */
  }
}