/* style/privacy-policy.css */

/* Core page styles */
.page-privacy-policy {
    background-color: #08160F; /* Custom background color */
    color: #F2FFF6; /* Main text color for dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Space for footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
    box-sizing: border-box;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for large screens */
    margin-bottom: 30px;
}

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

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

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: #F2C14E; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-privacy-policy__description {
    font-size: 1.15rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons in Hero */
.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
    max-width: 100%; /* Responsive button width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: #F2FFF6; /* Main text color */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-privacy-policy__btn-secondary {
    background: #11271B; /* Card BG as secondary button background */
    color: #F2FFF6; /* Main text color */
    border: 2px solid #2E7A4E; /* Border color */
}

.page-privacy-policy__btn-secondary:hover {
    transform: translateY(-3px);
    background: #1E3A2A; /* Deeper green on hover */
    border-color: #57E38D; /* Glow color on hover */
}

/* Main Content Area */
.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #11271B; /* Card BG for content section */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.page-privacy-policy__heading-2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #F2C14E; /* Gold for H2 */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid #2E7A4E; /* Divider color */
    padding-bottom: 10px;
}

.page-privacy-policy__heading-3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    color: #57E38D; /* Glow color for H3 */
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.page-privacy-policy__paragraph {
    font-size: 1.05rem;
    color: #F2FFF6; /* Main text color */
    margin-bottom: 20px;
    text-align: justify;
}

.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: 10px;
    color: #F2FFF6; /* Main text color */
}

.page-privacy-policy__list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #57E38D; /* Glow color for list bullets */
    font-size: 1.2rem;
    line-height: 1;
}

.page-privacy-policy__sub-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.page-privacy-policy__sub-list-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    color: #A7D9B8; /* Secondary text color */
}

.page-privacy-policy__sub-list-item::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #A7D9B8; /* Secondary text color for sub-list bullets */
    font-size: 1rem;
    line-height: 1;
}

.page-privacy-policy__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

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

.page-privacy-policy__contact-link {
    color: #57E38D; /* Glow color for links */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
    color: #F2C14E; /* Gold on hover */
    text-decoration: underline;
}

/* Bottom CTA Section */
.page-privacy-policy__cta-bottom {
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 40px 20px;
    text-align: center;
    background-color: #0A4B2C; /* Deep Green for bottom CTA */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }
    .page-privacy-policy__content-area,
    .page-privacy-policy__cta-bottom {
        padding: 30px 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-privacy-policy__heading-2 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }
}

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

    .page-privacy-policy__hero-section {
        padding: 10px 15px 40px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    
    .page-privacy-policy__description {
        font-size: 1rem;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 300px; /* Adjust max width for stacked buttons */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important; /* Full width for mobile buttons */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__content-area,
    .page-privacy-policy__cta-bottom {
        padding: 25px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__heading-2 {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__sub-list-item {
        font-size: 0.95rem;
    }

    .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__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

/* Ensure no filter on images */
.page-privacy-policy img {
    filter: none !important;
}

/* Additional contrast safety (if needed) */
.page-privacy-policy__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-privacy-policy__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* Ensure content area images are not too small in CSS */
.page-privacy-policy__content-area img {
    min-width: 200px;
    min-height: 200px;
}