/* style/privacy-policy.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-color: #C30808;
    --login-button-color: #C30808;
    --background-color: #FFFFFF;
    --register-login-font-color: #FFFF00;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --border-color: #e0e0e0;
}

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

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(135deg, var(--primary-color), #005f2f);
    color: var(--text-color-dark-bg);
    margin-bottom: 40px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

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

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Using clamp for responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__intro-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--register-button-color);
    color: var(--register-login-font-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none;
}

.page-privacy-policy__cta-button:hover {
    background: #a80707;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    background-color: var(--background-color);
}

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

.page-privacy-policy__section-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: var(--text-color-light-bg);
}

.page-privacy-policy ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
    color: var(--text-color-light-bg);
}

.page-privacy-policy li {
    margin-bottom: 8px;
    color: var(--text-color-light-bg);
}

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

.page-privacy-policy a:hover {
    color: #004d26;
}

.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

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

.page-privacy-policy__contact-list {
    list-style: none;
    padding-left: 0;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 40px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--secondary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: var(--text-color-light-bg);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #f5f5f5;
  color: var(--primary-color);
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: var(--text-color-light-bg);
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }
    .page-privacy-policy__intro-description {
        font-size: 1em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.3em;
    }
    .page-privacy-policy__container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Ensure small top padding on mobile too */
        padding-bottom: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.6em, 6vw, 2.2em);
        margin-bottom: 15px;
    }
    .page-privacy-policy__intro-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-privacy-policy__container {
        padding: 0 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
        margin-top: 30px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }
    .page-privacy-policy p, .page-privacy-policy li {
        font-size: 0.95em;
    }
    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 1em;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }

    /* Mobile image responsive */
    .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;
    }
}