/* style/privacy-policy.css */

:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --background-page-color: #F5F7FA;
  --border-color: #E0E0E0;
}

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

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  color: #ffffff;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: var(--primary-color);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

.page-privacy-policy__hero-button {
  display: inline-block;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 15px;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  font-size: 1.1em;
  margin-bottom: 1.5em;
  line-height: 1.7;
  color: var(--text-main-color);
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 1.5em;
  color: var(--text-main-color);
}

.page-privacy-policy__list-item {
  margin-bottom: 0.8em;
  font-size: 1.05em;
}

.page-privacy-policy__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--secondary-color);
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

/* FAQ Specific Styling (if using details/summary) */
.page-privacy-policy__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.15em;
  color: var(--primary-color);
  cursor: pointer;
  outline: none;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.15em;
  color: var(--primary-color);
  cursor: pointer;
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-question {
  border-bottom-color: transparent;
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-main-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  padding: 10px 25px 20px;
  transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-section {
    padding-bottom: 30px;
  }

  .page-privacy-policy__main-title {
    font-size: 2.5em;
  }

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

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

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

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

  .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: clamp(1.8em, 6vw, 2.2em); /* Clamp for responsive H1 */
    margin-bottom: 10px;
    padding: 0 10px;
  }

  .page-privacy-policy__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .page-privacy-policy__hero-button {
    padding: 12px 25px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__content-area {
    padding: 25px 15px;
    margin-bottom: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  .page-privacy-policy__faq-item summary,
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }
}

/* Ensure all images and their containers are responsive */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__section,
.page-privacy-policy__card,
.page-privacy-policy__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Buttons responsive */
.page-privacy-policy__hero-button,
.page-privacy-policy__cta-button,
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary,
.page-privacy-policy a[class*="button"],
.page-privacy-policy a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-buttons,
.page-privacy-policy__button-group,
.page-privacy-policy__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-privacy-policy__hero-button,
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .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__cta-buttons {
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons on mobile */
  }
}