:root {
  --primary-color: #113B7A; /* Main Blue */
  --secondary-color: #1D5FD1; /* Auxiliary Blue */
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B; /* Body background color from shared.css */
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text for dark background */
  background-color: var(--deep-navy); /* Ensure consistency if shared.css doesn't apply to main */
}

/* Ensure images are responsive and don't overflow */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* body { padding-top: var(--header-offset); } handles main offset */
  padding-top: 10px; /* Small additional top padding */
  background-color: var(--deep-navy);
}

.page-privacy-policy__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure flex item takes full width */
}

.page-privacy-policy__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-main);
}

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color); /* Use gold for prominence */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__intro-text {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff; /* White text for button */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%); /* Invert gradient on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-privacy-policy__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-privacy-policy__dark-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
  padding: 40px 0;
}

.page-privacy-policy__section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--gold-color);
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--glow-color);
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 1em;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.8vw, 18px);
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: clamp(15px, 1.8vw, 17px);
}

.page-privacy-policy__list li strong {
  color: var(--text-main);
}

.page-privacy-policy a {
  color: var(--glow-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 40px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: 600;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: rgba(var(--primary-color), 0.2);
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--card-bg), 0.8);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary);
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Hero Section */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__hero-image img {
    border-radius: 4px;
  }
  
  .page-privacy-policy__main-title {
    font-size: 28px;
  }

  .page-privacy-policy__intro-text {
    font-size: 16px;
  }

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

  /* Content Area */
  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }

  .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__section-title {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .page-privacy-policy p {
    font-size: 15px;
  }

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

  .page-privacy-policy__list li {
    font-size: 15px;
  }

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px;
  }

  .page-privacy-policy__faq-qtext {
    font-size: 15px;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }

  /* Ensure all images are responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* General button responsive styles to prevent overflow */
.page-privacy-policy__cta-button,
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary,
.page-privacy-policy a[class*="button"],
.page-privacy-policy a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-buttons,
.page-privacy-policy__button-group,
.page-privacy-policy__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .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;
  }
  
  .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;
  }
  
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}