/* style/privacy-policy.css */

/* Custom properties for colors */
:root {
  --page-bg-color: #08160F;
  --page-text-main-color: #F2FFF6;
  --page-text-secondary-color: #A7D9B8;
  --page-card-bg-color: #11271B;
  --page-border-color: #2E7A4E;
  --page-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-glow-color: #57E38D;
}

.page-privacy-policy {
  background-color: var(--page-bg-color);
  color: var(--page-text-main-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  height: 675px; /* Fixed height for consistency, will be responsive */
  overflow: hidden;
}

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

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

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--page-text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: 1.1rem;
  color: var(--page-text-secondary-color);
  margin-bottom: 30px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background: var(--page-button-gradient);
  color: var(--page-text-main-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__content-section {
  padding: 60px 0;
}

.page-privacy-policy__dark-section {
  background-color: var(--page-card-bg-color);
}

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

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--page-text-main-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-privacy-policy__section-title--light {
  color: var(--page-text-main-color);
}

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

.page-privacy-policy__paragraph--light {
  color: var(--page-text-secondary-color);
}

.page-privacy-policy__info-card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-privacy-policy__info-card {
  background-color: var(--page-card-bg-color);
  border: 1px solid var(--page-border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-privacy-policy__info-card:hover {
  transform: translateY(-5px);
}

.page-privacy-policy__card-title {
  font-size: 1.4rem;
  color: var(--page-text-main-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__card-text {
  font-size: 0.95rem;
  color: var(--page-text-secondary-color);
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-privacy-policy__list-item::before {
  content: '•';
  color: var(--page-glow-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  top: -2px;
}

.page-privacy-policy__list--light .page-privacy-policy__list-item {
  color: var(--page-text-secondary-color);
}

.page-privacy-policy__faq-section {
  padding: 60px 0;
}

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

.page-privacy-policy__faq-item {
  background-color: var(--page-card-bg-color);
  border: 1px solid var(--page-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--page-text-main-color);
  font-size: 1.1rem;
  font-weight: 600;
  background-color: transparent;
  border: none;
  width: 100%;
  text-align: left;
  position: relative;
  list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-item details > summary {
  list-style: none;
}

.page-privacy-policy__faq-item details > summary::-webkit-details-marker {
  display: none;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--page-glow-color);
  transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--page-text-secondary-color);
  font-size: 1rem;
  line-height: 1.6;
}

.page-privacy-policy__contact-section {
  text-align: center;
  padding: 60px 0;
}

.page-privacy-policy__contact-info {
  font-size: 1.1rem;
  color: var(--page-text-secondary-color);
  margin-bottom: 10px;
}

.page-privacy-policy__contact-info--light {
  color: var(--page-text-secondary-color);
}

.page-privacy-policy__contact-link {
  color: var(--page-glow-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: #F2FFF6;
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-image-wrapper {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-image-wrapper {
    height: 300px;
  }

  .page-privacy-policy__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2rem;
  }

  .page-privacy-policy__description {
    font-size: 1rem;
  }

  .page-privacy-policy__cta-button {
    width: 100% !important; /* Mobile button full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

  .page-privacy-policy__container {
    padding: 0 15px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.5rem;
  }

  .page-privacy-policy__info-card-wrapper {
    grid-template-columns: 1fr;
  }

  .page-privacy-policy__info-card {
    padding: 20px;
  }

  .page-privacy-policy__card-title {
    font-size: 1.2rem;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item,
  .page-privacy-policy__card-text,
  .page-privacy-policy__faq-question,
  .page-privacy-policy__faq-answer,
  .page-privacy-policy__contact-info {
    font-size: 0.95rem;
  }

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

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__info-card-wrapper,
  .page-privacy-policy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific adjustments for hero image wrapper on mobile to maintain aspect ratio */
  .page-privacy-policy__hero-image-wrapper {
    height: auto; /* Allow height to adjust based on width */
    aspect-ratio: 16 / 9; /* Maintain aspect ratio */
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8rem;
  }

  .page-privacy-policy__section-title {
    font-size: 1.4rem;
  }
}