/* style/privacy-policy.css */

/* Base Styles for Privacy Policy Page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #ffffff; /* Explicitly set for clarity, though shared.css likely handles body */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #017439, #0a9e4e); /* Gradient using primary color */
    color: #ffffff;
}

.page-privacy-policy__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-privacy-policy__main-title {
    font-size: 38px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-privacy-policy__hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

.page-privacy-policy__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__cta-button--primary {
    background: #C30808; /* Register color */
    color: #FFFF00; /* Register font color */
    border: 2px solid #C30808;
}

.page-privacy-policy__cta-button--primary:hover {
    background: #a30606;
    border-color: #a30606;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button--secondary {
    background: #017439; /* Primary color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-privacy-policy__cta-button--secondary:hover {
    background: #005a2e;
    border-color: #005a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__section {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.page-privacy-policy__section:last-of-type {
    border-bottom: none;
}

.page-privacy-policy__introduction {
    background-color: #f9f9f9;
}

.page-privacy-policy__heading {
    font-size: 28px;
    color: #017439; /* Primary color for headings */
    margin-bottom: 20px;
    text-align: center;
}

.page-privacy-policy__sub-heading {
    font-size: 22px;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.page-privacy-policy__list-item strong {
    color: #017439;
}

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

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

.page-privacy-policy__contact-link:hover {
    color: #005a2e;
}

/* FAQ Section Styles */
.page-privacy-policy__faq-section {
    background-color: #f0f8f0; /* Light green background for FAQ */
    padding: 60px 0;
}

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

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important; /* Ensure it expands fully */
    padding: 20px !important;
    opacity: 1;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
}