/* style/privacy-policy.css */

/* Core page styles */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background #121212 */
  background-color: transparent; /* Body background from 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;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #003366; /* Main brand color for hero background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent to let background color show */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
  color: #ffffff;
}

.page-privacy-policy__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFCC00; /* Accent color for main title */
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  color: #ffffff;
}

.page-privacy-policy__dark-section {
  background-color: #003366; /* Main brand color for alternating sections */
  color: #ffffff;
}

.page-privacy-policy__heading-2 {
  font-size: 2.2em;
  color: #FFCC00; /* Accent color for H2 */
  margin-bottom: 30px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 204, 0, 0.3);
}

.page-privacy-policy__heading-3 {
  font-size: 1.6em;
  color: #f0f0f0;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

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

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

.page-privacy-policy__link {
  color: #FFCC00; /* Accent color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Images within content */
.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__cta-button {
  display: inline-block;
  background-color: #FFCC00; /* Accent color for primary buttons */
  color: #003366; /* Dark text for accent background */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-privacy-policy__btn-primary:hover,
.page-privacy-policy__cta-button:hover {
  background-color: #e6b800; /* Slightly darker accent on hover */
  color: #001a33;
  transform: translateY(-2px);
}

/* Call to Action Section */
.page-privacy-policy__cta-section {
  background: linear-gradient(45deg, #003366, #1a1a1a); /* Gradient for CTA */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-privacy-policy__cta-content {
  max-width: 900px;
}

.page-privacy-policy__cta-section .page-privacy-policy__heading-2 {
  color: #FFCC00;
  border-bottom: none;
  margin-bottom: 20px;
}

.page-privacy-policy__cta-section .page-privacy-policy__text-block {
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

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

.page-privacy-policy__faq-item {
  background-color: #003366; /* Main brand color for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #004080; /* Slightly lighter dark blue for question header */
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #0050a0;
}

.page-privacy-policy__faq-question .page-privacy-policy__heading-3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.3em;
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFCC00;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

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

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

.page-privacy-policy__faq-answer .page-privacy-policy__text-block {
  margin-bottom: 0;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }
  .page-privacy-policy__heading-2 {
    font-size: 2em;
  }
  .page-privacy-policy__heading-3 {
    font-size: 1.4em;
  }
  .page-privacy-policy__hero-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
  .page-privacy-policy__hero-content {
    padding: 20px;
  }
  .page-privacy-policy__main-title {
    font-size: 2em;
  }
  .page-privacy-policy__hero-description {
    font-size: 1em;
  }
  .page-privacy-policy__heading-2 {
    font-size: 1.8em;
  }
  .page-privacy-policy__heading-3 {
    font-size: 1.2em;
  }
  .page-privacy-policy__text-block,
  .page-privacy-policy__list li,
  .page-privacy-policy__faq-answer .page-privacy-policy__text-block {
    font-size: 1em;
  }

  /* Image, Video, Button Responsive Rules */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__cta-button,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    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;
    text-align: center;
  }

  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  /* Ensure content area images are not too small */
  .page-privacy-policy__content-section img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }
  .page-privacy-policy__heading-2 {
    font-size: 1.6em;
  }
  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
  }
  .page-privacy-policy__cta-section {
    padding: 60px 0;
  }
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
  }
  .page-privacy-policy__faq-question .page-privacy-policy__heading-3 {
    font-size: 1.1em;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 1.5em;
  }
  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px 20px 20px;
  }
}