/* style/privacy-policy.css */

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

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Body background is dark navy, so text should be light */
  background-color: var(--deep-navy);
}

/* 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;
  padding-top: 10px; /* Small top padding, main offset handled by body */
  background-color: var(--deep-navy);
  overflow: hidden;
}

.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%;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Use clamp for H1 */
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Content Section */
.page-privacy-policy__content-section {
  padding: 60px 20px;
  background-color: var(--deep-navy);
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: var(--card-bg-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 40px;
}

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  color: var(--gold-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__section-title:first-of-type {
  margin-top: 0;
}

.page-privacy-policy__sub-title {
  font-size: 1.6rem;
  color: var(--text-main-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid var(--gold-color);
  padding-left: 15px;
}

.page-privacy-policy__paragraph {
  font-size: 1rem;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-privacy-policy__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__list-item {
  font-size: 1rem;
  color: var(--text-secondary-color);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-privacy-policy__list-item::before {
  content: '✓';
  color: var(--gold-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-privacy-policy__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.page-privacy-policy__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-privacy-policy__paragraph a:hover {
  color: var(--glow-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-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
}

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

.page-privacy-policy__faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__container {
    padding: 30px;
  }
  .page-privacy-policy__section-title {
    font-size: 2rem;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.4rem;
  }
  .page-privacy-policy__faq-qtext {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__hero-image-wrapper {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-privacy-policy__hero-image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-privacy-policy__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy__content-section {
    padding: 30px 0;
  }
  .page-privacy-policy__container {
    padding: 20px;
    margin: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.2rem;
    margin-top: 25px;
    padding-left: 10px;
  }
  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.9rem;
  }
  .page-privacy-policy__list-item {
    padding-left: 20px;
  }
  .page-privacy-policy__image-wrapper {
    margin: 30px 0;
  }
  .page-privacy-policy__image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px 20px;
  }
  .page-privacy-policy__faq-qtext {
    font-size: 1rem;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    width: 25px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 20px 15px;
  }
  .page-privacy-policy__faq-answer p {
    font-size: 0.9rem;
  }
}