/* style/privacy-policy.css */

/* --- General Page Styles --- */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Ensure consistency with body background */
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-privacy-policy__heading {
  font-size: 2.5em;
  color: #FFD700; /* Gold for main headings */
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-privacy-policy__heading--white {
  color: #ffffff; /* White heading for dark background sections */
}

.page-privacy-policy__sub-heading {
  font-size: 1.8em;
  color: #FFD700; /* Gold for sub headings */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for body text */
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for list text */
}

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

.page-privacy-policy a {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #e6c200; /* Darker gold on hover */
  text-decoration: underline;
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  background: linear-gradient(135deg, #000080, #1a1a40); /* Dark blue gradient */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-privacy-policy__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- Content Section --- */
.page-privacy-policy__content-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background for content */
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background-color: #000080; /* Dark blue background for FAQ */
  color: #ffffff; /* White text for FAQ */
}

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

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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 15px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for answer */
  color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* IMPORTANT: Ensures content expands */
  padding: 20px 15px !important; /* IMPORTANT: Ensures padding applies */
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a1a40; /* Darker blue for question background */
  border: 1px solid #000060;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-privacy-policy__faq-question:hover {
  background: #2a2a50; /* Lighter dark blue on hover */
  border-color: #000070;
}

.page-privacy-policy__faq-question:active {
  background: #3a3a60;
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold text for question */
  pointer-events: none; /* Prevents h3 from blocking click event */
}

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: #ffffff; /* White for active toggle */
  transform: rotate(45deg); /* Rotate for 'x' effect, or keep '-' */
}

/* --- Brand Section --- */
.page-privacy-policy__brand-section {
  padding: 60px 20px;
  background-color: #121212; /* Dark background */
  color: #f0f0f0;
}

.page-privacy-policy__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-privacy-policy__brand-item {
  background-color: #1a1a1a; /* Slightly lighter dark background for cards */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #2a2a2a;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.8em;
  }
  .page-privacy-policy__heading {
    font-size: 2em;
  }
  .page-privacy-policy__sub-heading {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

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

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__brand-section {
    padding: 40px 15px;
  }

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

  .page-privacy-policy__sub-heading {
    font-size: 1.3em;
  }

  .page-privacy-policy__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* FAQ Mobile Specifics */
  .page-privacy-policy__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-privacy-policy__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-privacy-policy__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-privacy-policy__faq-answer {
    padding: 0 15px;
  }
  
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px !important;
  }

  .page-privacy-policy__brand-content {
    grid-template-columns: 1fr;
  }
}

/* Ensure no filter on images */
.page-privacy-policy img {
  filter: none !important;
}