/* style/privacy-policy.css */

/* Base Styles */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: #f8f8f8;
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding: 100px 0 60px; /* Adjust top padding for fixed header */
    background-color: #003366; /* Main brand color */
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for title */
    line-height: 1.2;
}

.page-privacy-policy__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #FFD700; /* Accent color for primary button */
    color: #003366;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #e6c200;
    color: #001a33;
}

/* Content Area */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-privacy-policy__text-block {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #fcfcfc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: #003366; /* Main brand color for section titles */
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

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

.page-privacy-policy p {
    margin-bottom: 15px;
}

.page-privacy-policy ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-privacy-policy li {
    margin-bottom: 8px;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 60px;
    background-color: #f5f5f5;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-privacy-policy__faq-item:last-child {
    border-bottom: none;
}

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

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.2em;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }

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

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding: 80px 20px 40px; /* Adjusted padding for mobile */
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    }

    .page-privacy-policy__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-privacy-policy__intro-text {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-privacy-policy__btn-primary {
        padding: 12px 25px;
        font-size: 0.9em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px; /* Add margin for stacked buttons */
    }

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

    .page-privacy-policy__container {
        padding: 0 15px; /* Smaller padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__text-block {
        padding: 15px;
        margin-bottom: 30px;
    }

    .page-privacy-policy__section-title {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .page-privacy-policy__sub-section-title {
        font-size: 1.2em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 20px auto !important;
    }

    /* Ensure all image-containing containers are responsive */
    .page-privacy-policy__section, 
    .page-privacy-policy__card, 
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-privacy-policy__faq-section {
        padding: 20px;
        margin-top: 40px;
    }

    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 12px 0;
    }

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

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: 1.5em;
    }

    .page-privacy-policy__intro-text {
        font-size: 0.9em;
    }

    .page-privacy-policy__section-title {
        font-size: 1.3em;
    }
}