/* style/privacy-policy.css */

/* --- Base Styles --- */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #f8f8f8; /* Light background for the page content */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-privacy-policy__dark-bg {
  background-color: #003366; /* Main brand color */
  color: #ffffff; /* White text for dark background */
}

.page-privacy-policy__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text for light background */
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.15; /* Subtle background image */
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-privacy-policy__hero-section .page-privacy-policy__container {
  position: relative;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__lead-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Slightly off-white for readability */
}

/* --- CTA Buttons --- */
.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-privacy-policy__cta-button--primary {
  background-color: #FFD700; /* Gold accent */
  color: #003366; /* Dark blue text for contrast */
  border: 2px solid #FFD700;
}

.page-privacy-policy__cta-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-privacy-policy__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #003366;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* --- Content Sections --- */
.page-privacy-policy__content-section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__content-section:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #003366; /* Dark blue for titles */
}

.page-privacy-policy__section-title--light {
  color: #FFD700; /* Gold for titles on dark background */
}

.page-privacy-policy__paragraph--light {
  color: #f0f0f0; /* Slightly off-white for readability on dark background */
}

.page-privacy-policy__content-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  filter: none; /* Ensure no CSS filter changes image color */
}

/* --- Info Collection Grid --- */
.page-privacy-policy__info-collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-privacy-policy__card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  color: #333333; /* Dark text for light card background */
}

.page-privacy-policy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-privacy-policy__card-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__card p {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

/* --- Lists --- */
.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  padding: 0;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #333333;
}

.page-privacy-policy__list--light li {
  color: #f0f0f0;
}

.page-privacy-policy__list strong {
  color: #FFD700; /* Gold for strong text on dark background */
}

.page-privacy-policy__list--light strong {
  color: #FFD700; /* Gold for strong text on dark background */
}

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

.page-privacy-policy__link:hover {
  color: #e6c200;
}

.page-privacy-policy__link--light {
  color: #FFD700;
}

.page-privacy-policy__link--light:hover {
  color: #e6c200;
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
  padding: 60px 0;
}

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

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #003366; /* Dark blue for question background */
  color: #ffffff; /* White text for question */
  border-bottom: 1px solid #002244;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #002b55;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.8em;
  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; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: #FFD700; /* Gold when active */
  transform: rotate(180deg); /* Rotate for minus sign effect */
}

.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: #f0f0f0; /* Light background for answer */
  color: #333333; /* Dark text for answer */
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid #e0e0e0;
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  color: #555555;
}

/* --- Contact CTA Section --- */
.page-privacy-policy__contact-cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-privacy-policy__contact-cta-section .page-privacy-policy__hero-image {
  opacity: 0.1;
}

.page-privacy-policy__contact-cta-section .page-privacy-policy__container {
  position: relative;
  z-index: 1;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }
  .page-privacy-policy__lead-text {
    font-size: 1.1em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__card-title {
    font-size: 1.3em;
  }
  .page-privacy-policy__info-collection-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    padding-top: var(--header-offset, 120px) !important;
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

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

  .page-privacy-policy__lead-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-privacy-policy__section-title {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .page-privacy-policy__content-section {
    padding: 40px 0;
  }

  .page-privacy-policy__info-collection-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-privacy-policy__card {
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Lighter shadow for mobile */
  }

  .page-privacy-policy__card-title {
    font-size: 1.2em;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__list li {
    font-size: 0.95em;
  }

  /* Image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* FAQ mobile adjustments */
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap; /* Allow question text to wrap */
  }

  .page-privacy-policy__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px); /* Adjust width for toggle */
  }

  .page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    width: 25px;
    height: 25px;
    margin-left: 10px;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 20px;
  }

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px 20px !important;
  }

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