/* style/privacy-policy.css */

:root {
  --phdream-primary: #F2C14E;
  --phdream-secondary: #FFD36B;
  --phdream-gradient-button: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --phdream-card-bg: #111111;
  --phdream-background: #0A0A0A;
  --phdream-text-main: #FFF6D6;
  --phdream-border: #3A2A12;
  --phdream-glow: #FFD36B;
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  color: var(--phdream-text-main); /* Light text on dark body background */
  background-color: var(--phdream-background);
  line-height: 1.6;
  font-size: 16px;
}

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

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

.page-privacy-policy__hero-image-container {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-privacy-policy__intro-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--phdream-background);
}

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

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--phdream-primary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--phdream-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  color: var(--phdream-text-main);
}

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

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  color: var(--phdream-text-main);
}

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

.page-privacy-policy a {
  color: var(--phdream-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: var(--phdream-secondary);
  text-decoration: underline;
}

.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: var(--phdream-card-bg);
}

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

.page-privacy-policy__faq-item {
  background-color: #1a1a1a;
  border: 1px solid var(--phdream-border);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  color: var(--phdream-text-main);
  background-color: #1a1a1a;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #222222;
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--phdream-text-main);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--phdream-primary);
  transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--phdream-text-main);
  background-color: #1a1a1a;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 20px;
}

.page-privacy-policy__cta-section {
  background-color: var(--phdream-background);
  padding: 80px 20px;
  text-align: center;
}

.page-privacy-policy__cta-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--phdream-primary);
  margin-bottom: 20px;
}

.page-privacy-policy__cta-description {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: var(--phdream-text-main);
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__btn-primary {
  background: var(--phdream-gradient-button);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 15px;
    line-height: 1.5;
  }

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

  .page-privacy-policy__hero-content {
    padding: 15px;
    max-width: 95%;
  }

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

  .page-privacy-policy__intro-text {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  .page-privacy-policy__image {
    margin: 20px auto;
  }

  .page-privacy-policy__faq-question {
    padding: 12px 15px;
  }

  .page-privacy-policy__faq-question h3 {
    font-size: 1rem;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 1.3rem;
  }

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

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 12px 15px;
  }

  .page-privacy-policy__cta-section {
    padding: 60px 15px;
  }

  .page-privacy-policy__cta-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-privacy-policy__cta-description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }

  .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;
    margin-bottom: 10px; /* Add margin for stacked buttons */
  }

  .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-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  .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;
  }
}