/* style/privacy-policy.css */

/* Base styles for the page content */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
    background: linear-gradient(135deg, #26A9E0, #1a7bb0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
    min-height: 500px;
    overflow: hidden;
}

.page-privacy-policy__hero-content {
    max-width: 700px;
    z-index: 1;
    color: #FFFFFF;
}

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.2;
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-privacy-policy__hero-image-wrapper {
    flex-shrink: 0;
    max-width: 500px;
    margin-left: 20px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #ffffff; /* Light background for content */
    color: #333333; /* Dark text for light background */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for main titles */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-privacy-policy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid #26A9E0;
    padding-left: 15px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

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

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

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

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

.page-privacy-policy a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #1a7bb0;
    text-decoration: underline;
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #1a7bb0;
    transform: translateY(-2px);
    color: #ffffff;
}

.page-privacy-policy__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #26A9E0;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    color: #1a7bb0;
}

/* FAQ Section */
.page-privacy-policy__faq-container {
    margin-top: 50px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.page-privacy-policy__faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-size: 1.2em;
    color: #333333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    color: #26A9E0;
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    line-height: 1.4;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.8em;
    font-weight: normal;
    color: #26A9E0;
    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 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    font-size: 1.05em;
    line-height: 1.6;
}

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

.page-privacy-policy__faq-answer p {
    margin: 0;
}

/* Image Block for content images */
.page-privacy-policy__image-block {
    margin: 40px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 2.8em;
    }
    .page-privacy-policy__hero-description {
        font-size: 1.1em;
    }
    .page-privacy-policy__section-title {
        font-size: 2.2em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-privacy-policy__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-privacy-policy__hero-image-wrapper {
        margin-top: 30px;
        margin-left: 0;
    }
    .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-section-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
        padding-left: 10px;
    }
    .page-privacy-policy__paragraph, .page-privacy-policy__list-item {
        font-size: 1em;
    }
    .page-privacy-policy__list {
        padding-left: 15px;
    }
    .page-privacy-policy__faq-question {
        font-size: 1.1em;
        padding: 10px 0;
    }
    .page-privacy-policy__faq-answer {
        padding: 10px;
    }

    /* Mobile image responsiveness */
    .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__hero-section,
    .page-privacy-policy__hero-content,
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__image-block,
    .page-privacy-policy__faq-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    
    /* Mobile button responsiveness */
    .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;
        text-align: center;
    }
    .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;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__faq-question h3 {
        font-size: 1em;
    }
}