/* style/privacy-policy.css */

/* --- General Styles for page-privacy-policy --- */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--bg-primary); /* #08160F */
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image container */
  margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  z-index: 1;
  padding: 0 15px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: 1.15rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #FFFFFF; /* Ensure white text on button */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

/* --- Content Area --- */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--bg-primary); /* #08160F */
  border-radius: 8px;
}

.page-privacy-policy__dark-section {
  background-color: var(--bg-primary); /* #08160F */
  color: var(--text-main); /* #F2FFF6 */
}

.page-privacy-policy__section-title {
  font-size: 2.5rem;
  color: var(--gold); /* #F2C14E */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
  line-height: 1.3;
}

.page-privacy-policy__sub-title {
  font-size: 1.8rem;
  color: var(--glow); /* #57E38D */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
}

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

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  max-width: 800px; /* Example max-width for content images */
}

.page-privacy-policy__contact-link {
  color: var(--glow); /* #57E38D */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: var(--gold); /* #F2C14E */
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 8px;
  background-color: var(--bg-card); /* #11271B */
}

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

.page-privacy-policy__faq-item {
  background-color: var(--deep-green); /* #0A4B2C */
  border: 1px solid var(--border-color); /* #2E7A4E */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-question::marker {
  display: none; /* Hide default marker */
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow); /* #57E38D */
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* For <details> tag, the answer content is shown/hidden by default browser behavior. */
/* The toggle icon change is handled by JS for both <details> and potential div structure. */

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-privacy-policy__section-title {
    font-size: 2rem;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-privacy-policy__hero-section {
    padding: 10px 15px 40px;
  }
  .page-privacy-policy__hero-content {
    padding: 0 10px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-privacy-policy__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-privacy-policy__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important; /* Button responsive */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 40px 15px;
    max-width: 100% !important; /* Container responsive */
    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.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-privacy-policy p,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer {
    font-size: 0.95rem;
  }

  /* Image responsive rules */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
  }
  .page-privacy-policy__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-privacy-policy__section-title {
    font-size: 1.5rem;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.2rem;
  }
  .page-privacy-policy__btn-primary {
    font-size: 0.95rem;
  }
}

/* CSS Variables for custom colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --bg-card: #11271B;
  --bg-primary: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}