/* style/privacy-policy.css */

/* --- Base Styles & Layout --- */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Default body background is white */
}

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

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F; /* Custom Background color */
  color: #F2FFF6; /* Custom Text Main for dark background */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Custom Text Main */
}

.page-privacy-policy__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Custom Text Secondary */
}

.page-privacy-policy__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
}

/* --- Buttons --- */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons fit mobile */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button gradient */
  color: #F2FFF6; /* Custom Text Main for buttons */
  border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Custom Glow */
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: #11A84E; /* Main color */
  border: 2px solid #11A84E; /* Main color as border */
}

.page-privacy-policy__btn-secondary:hover {
  background-color: rgba(17, 168, 78, 0.1); /* Slight hover effect */
  color: #2AD16F; /* Lighter green on hover */
}

/* --- Content Area --- */
.page-privacy-policy__content-area {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 25px;
  color: #11A84E; /* Main color for section titles */
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 35px;
  margin-bottom: 15px;
  color: #22C768; /* Auxiliary color for sub-titles */
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #333333; /* Dark text for light background */
}

.page-privacy-policy a {
  color: #11A84E; /* Main color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #2AD16F; /* Lighter green on hover */
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333; /* Dark text for light background */
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: #333333; /* Dark text for light background */
}

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

.page-privacy-policy__image--center {
  text-align: center;
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: #11271B; /* Custom Card BG color */
  color: #F2FFF6; /* Custom Text Main for dark background */
}

.page-privacy-policy__section-title--light {
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 40px;
}

.page-privacy-policy__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__faq-item {
  background-color: rgba(17, 168, 78, 0.1); /* Semi-transparent main color */
  border: 1px solid #2E7A4E; /* Custom Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-item summary {
  list-style: none; /* Hide default marker */
}

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
  cursor: pointer;
  background-color: rgba(17, 168, 78, 0.2); /* Slightly darker for question background */
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.3);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Custom Glow color */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-privacy-policy__faq-answer {
  padding: 15px 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
  border-top: 1px solid #1E3A2A; /* Custom Divider color */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em);
  }

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

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-privacy-policy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-privacy-policy p,
  .page-privacy-policy__list-item,
  .page-privacy-policy__faq-answer {
    font-size: 0.95em;
  }

  /* Mobile image responsive optimization */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.3em, 8vw, 2em);
  }
  .page-privacy-policy__section-title {
    font-size: 1.6em;
  }
  .page-privacy-policy__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
}