/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f9fa; /* Inherited from body, but set explicitly for clarity */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  color: #F2FFF6; /* Light text for hero content */
  overflow: hidden;
  background: #0A4B2C; /* Deep Green background for hero section */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.15; /* Subtle background image */
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

.page-privacy-policy__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Gold for main title */
  margin-bottom: 20px;
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Content Section */
.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background for content */
  color: #333333;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #11A84E; /* Primary brand color */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  color: #11A84E; /* Primary brand color */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-privacy-policy__text-block {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #333333;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-privacy-policy__list-item a {
  color: #11A84E;
  text-decoration: underline;
}

.page-privacy-policy__list-item a:hover {
  color: #22C768;
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Ensure images are responsive by default */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: #08160F; /* Dark background */
  color: #F2FFF6; /* Light text */
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
  color: #F2C14E; /* Gold title for dark background */
}

.page-privacy-policy__faq-item {
  background-color: #11271B; /* Card BG color */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Main text color */
}

.page-privacy-policy__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green hover effect */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #2AD16F;
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8; /* Secondary text color */
  font-size: 1em;
}

/* Details element specific styles for FAQ */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 10px 0 40px 0;
  }

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

  .page-privacy-policy__hero-description {
    font-size: 1em;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.5em;
  }

  .page-privacy-policy__cta-button,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__container,
  .page-privacy-policy__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  .page-privacy-policy__hero-content {
    padding: 20px 0;
  }
  .page-privacy-policy__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure content area images are at least 200x200px */
.page-privacy-policy img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}