/* style/privacy-policy.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #0A2463;
  --border-color: #e0e0e0;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.page-privacy-policy .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow: hidden;
}

.page-privacy-policy .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-privacy-policy .hero-image {
  width: 100%;
  height: auto;
  max-height: 400px; /* Limit height for banner */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  filter: brightness(0.8); /* Slightly dim image for text readability */
}

.page-privacy-policy .hero-content {
  position: absolute;
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Overlay for text readability */
  border-radius: 10px;
}

.page-privacy-policy .hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-privacy-policy .hero-content p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: var(--text-light);
}

.page-privacy-policy .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy .cta-button:hover {
  background: #c29d04;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy .content-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--bg-light);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  margin-top: -40px; /* Overlap with hero section */
  position: relative;
  z-index: 1;
}

.page-privacy-policy .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 0;
}

.page-privacy-policy h2 {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-privacy-policy h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

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

.page-privacy-policy ul li {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.page-privacy-policy .content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* FAQ Section Styling */
.page-privacy-policy .faq-section {
  margin-top: 50px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-privacy-policy .faq-section h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  border-bottom: none;
  padding-bottom: 0;
}

.page-privacy-policy .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
}

.page-privacy-policy .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-privacy-policy .faq-question:hover {
  background: #f5f5f5;
}

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

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

.page-privacy-policy .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-privacy-policy .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-privacy-policy .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px;
}

.page-privacy-policy .faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-privacy-policy .hero-content h1 {
    font-size: 2.8em;
  }
  .page-privacy-policy .hero-content p {
    font-size: 1.1em;
  }
  .page-privacy-policy h2 {
    font-size: 2em;
  }
  .page-privacy-policy h3 {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy .hero-section {
    padding: 40px 15px;
  }
  .page-privacy-policy .hero-content h1 {
    font-size: 2.2em;
  }
  .page-privacy-policy .hero-content p {
    font-size: 1em;
  }
  .page-privacy-policy .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-privacy-policy .content-section {
    padding: 20px 15px;
    margin-top: -20px;
  }
  .page-privacy-policy h2 {
    font-size: 1.8em;
    margin-top: 30px;
  }
  .page-privacy-policy h3 {
    font-size: 1.3em;
  }
  .page-privacy-policy .faq-question h3 {
    font-size: 1em;
  }
  .page-privacy-policy .faq-toggle {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy .hero-content h1 {
    font-size: 1.8em;
  }
  .page-privacy-policy .hero-content p {
    font-size: 0.9em;
  }
  .page-privacy-policy .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-privacy-policy h2 {
    font-size: 1.6em;
  }
  .page-privacy-policy h3 {
    font-size: 1.2em;
  }
  .page-privacy-policy ul {
    margin-left: 15px;
  }
}