/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #1a1a1a, so use light text */
  background-color: transparent; /* Main content background will be handled by sections */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* shared.css already handles body padding-top for header offset */
  margin-top: 0;
  background-color: #0A246A; /* Fallback background color */
  overflow: hidden;
}

.page-privacy-policy__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-privacy-policy__hero-image {
  width: 100%;
  margin: 0;
}

.page-privacy-policy__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Content Area */
.page-privacy-policy__content-area {
  padding: 60px 0;
  background-color: #1a1a1a; /* Match body background for a seamless look */
}

.page-privacy-policy__main-title {
  font-size: 38px;
  font-weight: bold;
  color: #FFD700; /* Auxiliary color for main title */
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-privacy-policy__lead-paragraph {
  font-size: 18px;
  text-align: center;
  margin-bottom: 60px;
  color: #f0f0f0;
}

.page-privacy-policy__section-title {
  font-size: 28px;
  font-weight: bold;
  color: #FFD700; /* Auxiliary color for section titles */
  margin-top: 50px;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.page-privacy-policy__sub-section-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

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

.page-privacy-policy__list-item strong {
  color: #FFD700;
}

.page-privacy-policy a {
  color: #FFD700; /* Link color */
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

.page-privacy-policy__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-privacy-policy__faq-heading {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
}

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

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #2a2a2a; /* Slightly lighter dark background for FAQ item */
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A246A; /* Main brand color for question background */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-privacy-policy__faq-question:hover {
  background: #1e3a8a; /* Slightly lighter hover */
  border-color: #FFD700;
}

.page-privacy-policy__faq-question:active {
  background: #071a47;
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: #ffffff;
}

.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Auxiliary color for toggle */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Rotate for minus sign visual */
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #2a2a2a;
  border-radius: 0 0 8px 8px;
  color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* Use !important and large value for content */
  padding: 20px 25px !important;
  opacity: 1;
  background-color: #2a2a2a;
}

/* General image responsive styles */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 32px;
  }
  .page-privacy-policy__lead-paragraph {
    font-size: 16px;
  }
  .page-privacy-policy__section-title {
    font-size: 24px;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 20px;
  }
  .page-privacy-policy__faq-question h3 {
    font-size: 16px;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-privacy-policy__container {
    padding: 0 15px;
  }
  .page-privacy-policy__content-area {
    padding: 40px 0;
  }
  .page-privacy-policy__main-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__lead-paragraph {
    font-size: 15px;
    margin-bottom: 40px;
  }
  .page-privacy-policy__section-title {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__sub-section-title {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 10px;
  }
  .page-privacy-policy p {
    font-size: 15px;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }
  .page-privacy-policy__list-item {
    font-size: 15px;
  }
  .page-privacy-policy__image {
    margin: 30px auto;
  }

  /* FAQ Mobile */
  .page-privacy-policy__faq-heading {
    margin-top: 60px;
    margin-bottom: 30px;
  }
  .page-privacy-policy__faq-item {
    margin-bottom: 10px;
    border-radius: 6px;
  }
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    border-radius: 6px;
  }
  .page-privacy-policy__faq-question h3 {
    font-size: 15px;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
    margin-left: 10px;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 20px;
    border-radius: 0 0 6px 6px;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px 20px !important;
  }

  /* General mobile image/button responsive styles */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__content-area,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__faq-list,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Buttons - no specific buttons on this page, but general rule */
  .page-privacy-policy a[class*="btn"],
  .page-privacy-policy a[class*="button"] {
    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;
  }
}