/* style/privacy-policy.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #FFFFFF;
  --text-dark: #333333;
  --background-dark: #0A192F;
  --background-light: #F0F2F5;
  --accent-light: #FFEB3B;
  --border-color: #E0E0E0;
}

.page-privacy-policy {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-privacy-policy__hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1A3A5F 100%);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-privacy-policy__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-privacy-policy__title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-button:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-privacy-policy__section-heading {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
  font-weight: 600;
}

.page-privacy-policy__sub-heading {
  font-size: 1.6em;
  color: #1a3a5f;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1.05em;
  color: var(--text-dark);
}

.page-privacy-policy ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-privacy-policy li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: var(--text-dark);
}

.page-privacy-policy__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-privacy-policy__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

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

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #F8F8F8;
  border-color: var(--secondary-color);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--primary-color);
  font-weight: 600;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #FDFDFD;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-color: var(--secondary-color);
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-privacy-policy__title {
    font-size: 2.8em;
  }

  .page-privacy-policy__section-heading {
    font-size: 2em;
  }

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

@media (max-width: 768px) {
  .page-privacy-policy__hero {
    padding: 60px 15px;
  }

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

  .page-privacy-policy__subtitle {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

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

  .page-privacy-policy__container {
    padding: 0 15px;
  }

  .page-privacy-policy__section-heading {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-heading {
    font-size: 1.3em;
    margin-top: 30px;
  }

  .page-privacy-policy p, .page-privacy-policy li {
    font-size: 0.95em;
  }

  .faq-question {
    padding: 15px 20px;
  }

  .faq-question h3 {
    font-size: 1.05em;
  }

  .faq-toggle {
    font-size: 20px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__title {
    font-size: 1.8em;
  }

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

  .page-privacy-policy__section-heading {
    font-size: 1.5em;
  }

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

  .faq-question h3 {
    font-size: 0.95em;
  }
}