/* style/privacy-policy.css */

/* --- Base Styles --- */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #0a0a0a, so text must be light */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-bottom: 60px; /* Add some padding at the bottom before footer */
}

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

.page-privacy-policy__section {
    padding: 60px 0;
}

.page-privacy-policy__section-title {
    font-size: 2.5rem;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-privacy-policy__sub-title {
    font-size: 1.8rem;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: #f0f0f0; /* Light text for readability on dark background */
}

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

.page-privacy-policy a:hover {
    color: #5acbff; /* Lighter shade on hover */
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and text */
}

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

.page-privacy-policy__hero-content {
    max-width: 800px;
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-privacy-policy__main-title {
    color: #FFFFFF;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    /* No fixed font-size, rely on clamp in shared or default */
    font-size: clamp(2rem, 4vw, 3.5rem); /* Example clamp for responsive H1 */
}

.page-privacy-policy__description {
    font-size: 1.15rem;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    background-color: #5acbff; /* Lighter shade on hover */
    transform: translateY(-2px);
}

/* --- Content Grid for Data Collection/Security --- */
.page-privacy-policy__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-privacy-policy__card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body background */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #ffffff; /* Light text for readability */
    height: 100%; /* Ensure cards have equal height */
    box-sizing: border-box;
}

.page-privacy-policy__card-title {
    font-size: 1.5rem;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__card p {
    color: #f0f0f0; /* Light text for readability */
}

/* --- List Styles --- */
.page-privacy-policy__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-privacy-policy__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-privacy-policy__list-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #26A9E0;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* --- Image Styling within content --- */
.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

/* --- Dark Section Specifics (Security Measures) --- */
.page-privacy-policy__dark-section {
    background-color: #26A9E0; /* Brand primary color as background */
    color: #ffffff;
}

.page-privacy-policy__dark-section .page-privacy-policy__section-title {
    color: #ffffff;
}

.page-privacy-policy__dark-section .page-privacy-policy__card {
    background: rgba(255, 255, 255, 0.9); /* Lighter background for cards on dark section */
    color: #333333; /* Dark text on light card background */
}

.page-privacy-policy__dark-section .page-privacy-policy__card-title {
    color: #26A9E0; /* Brand color for card titles */
}

.page-privacy-policy__dark-section .page-privacy-policy__card p {
    color: #333333; /* Dark text on light card background */
}

/* --- Contact List --- */
.page-privacy-policy__contact-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-privacy-policy__contact-item {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #f0f0f0;
}

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

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

.page-privacy-policy__faq-item {
    background: rgba(255, 255, 255, 0.08); /* Slightly darker transparent background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* For smooth transition on details open/close */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for summary */
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #26A9E0;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #f0f0f0;
}

/* For details tag, hide default marker */
.page-privacy-policy__faq-item summary {
    list-style: none;
}
.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-privacy-policy__section-title {
        font-size: 2rem;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }
}

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

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

    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset, this is for aesthetic top spacing */
    }

    .page-privacy-policy__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-privacy-policy__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-privacy-policy__btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
        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;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.5rem;
    }

    .page-privacy-policy__content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-privacy-policy__card {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Enforce min size even on mobile */
        min-height: 200px !important; /* Enforce min size even on mobile */
    }
    .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;
    }
    .page-privacy-policy__video-section { /* Video section specific, if any, ensure small padding */
        padding-top: 10px !important;
    }

    /* Buttons */
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .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;
    }
    .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;
    }
    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    /* Videos - if any on this page */
    .page-privacy-policy video,
    .page-privacy-policy__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__video-section,
    .page-privacy-policy__video-container,
    .page-privacy-policy__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-privacy-policy__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}