/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #0a0a0a; /* Ensure hero has a background */
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    filter: brightness(0.6); /* Darken image without changing color */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

.page-privacy-policy__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-button {
    display: inline-block;
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.page-privacy-policy__hero-button:hover {
    background-color: #005f2c; /* Darker shade for hover */
    border-color: #ffffff;
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #0a0a0a; /* Dark background for content sections */
    color: #ffffff; /* Light text color */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #017439; /* Brand color for titles */
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #017439;
    padding-bottom: 15px;
}

.page-privacy-policy__info-block {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for blocks */
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid #017439;
    padding-left: 15px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
}

.page-privacy-policy__list-item strong {
    color: #017439; /* Highlight strong text */
}

.page-privacy-policy a {
    color: #017439; /* Link color */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #005f2c; /* Darker on hover */
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 60px;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly different dark background */
    border-radius: 10px;
}

.page-privacy-policy__faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.03);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-title {
    margin: 0;
    font-size: 1.15em;
    color: #ffffff;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
    color: #ffffff; /* Change color when active */
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.02);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

/* CTA Section */
.page-privacy-policy__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #017439; /* Brand color background */
    color: #ffffff;
    margin-top: 60px;
    border-radius: 10px;
}

.page-privacy-policy__cta-section .page-privacy-policy__section-title {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.page-privacy-policy__cta-section .page-privacy-policy__paragraph {
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

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

.page-privacy-policy__btn-primary:hover {
    background-color: #a30606;
    border-color: #FFFF00;
}

.page-privacy-policy__btn-secondary {
    background-color: #0a0a0a; /* Dark background */
    color: #017439; /* Brand color text */
    border: 2px solid #017439;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
    border-color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }

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

    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* FAQ Mobile */
    .page-privacy-policy__faq-section {
        padding: 30px 15px;
    }

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

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

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

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 10px 20px;
    }

    /* CTA Mobile */
    .page-privacy-policy__cta-section {
        padding: 40px 15px;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        padding-left: 15px; /* Added for mobile button padding */
        padding-right: 15px; /* Added for mobile button padding */
    }

    /* Global image and video responsive styles for mobile */
    .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__video-section,
    .page-privacy-policy__video-container,
    .page-privacy-policy__video-wrapper,
    .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;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
}