/* style/privacy-policy.css */

/* Define custom properties for colors based on the provided palette */
:root {
    --primary-color: #11A84E; /* Main Green */
    --secondary-color: #22C768; /* Auxiliary Green */
    --bg-color: #08160F; /* Background */
    --card-bg: #11271B; /* Card Background */
    --text-main: #F2FFF6; /* Main Text */
    --text-secondary: #A7D9B8; /* Secondary Text */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Light text on dark body background */
    background-color: var(--bg-color); /* Inherited from body via shared.css, but explicit for context */
    line-height: 1.6;
    font-size: 1rem;
}

/* Typography */
.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
    color: var(--gold-color); /* Gold for main title */\    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--text-main); /* Light text for section titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.page-privacy-policy__text-block {
    margin-bottom: 15px;
    color: var(--text-secondary); /* Secondary text color for paragraphs */
    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: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary); /* Secondary text color for list items */
}

.page-privacy-policy__list-item::before {
    content: '•'; /* Custom bullet point */
    color: var(--secondary-color); /* Green bullet */
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* Sections */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Minimal top padding, body handles header offset */
    background-color: var(--deep-green); /* A darker background for hero section */
    overflow: hidden; /* Ensure no overflow from images */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure image wrapper does not overflow */
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
}

.page-privacy-policy__description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__section {
    padding: 40px 20px;
    border-bottom: 1px solid var(--divider-color);
}

.page-privacy-policy__section:last-of-type {
    border-bottom: none;
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px; /* Inner padding for desktop to prevent content from touching edges */
}

/* Images within content sections */
.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Buttons */
.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: #ffffff; /* White text for buttons */
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Slight gradient shift on hover */
}

/* Specific button for contact section */
.page-privacy-policy__contact-button {
    margin-top: 20px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

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

    .page-privacy-policy__container {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 0.95rem;
    }

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

    .page-privacy-policy__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }

    .page-privacy-policy__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important; /* Ensure minimal top padding on mobile */
    }

    .page-privacy-policy__hero-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce minimum size */
        min-height: 200px !important; /* Enforce minimum size */
    }

    .page-privacy-policy__image {
        max-width: 100% !important;
        width: 100% !important; /* Ensure content images are fully responsive */
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce minimum size */
        min-height: 200px !important; /* Enforce minimum size */
    }

    .page-privacy-policy__section,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-content,
    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add horizontal padding for content */
        padding-right: 15px; /* Add horizontal padding for content */
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-privacy-policy__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important; /* Ensure text wraps */
        word-wrap: break-word !important; /* Ensure text wraps */
        box-sizing: border-box !important;
    }

    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px; /* Space between stacked buttons */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Ensure images and containers within content areas are handled */
.page-privacy-policy img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

/* Video responsive styles (included as per global requirements, even if not used on this page) */
.page-privacy-policy video,
.page-privacy-policy__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__video-section,
.page-privacy-policy__video-container,
.page-privacy-policy__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .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-section {
    padding-top: 10px !important;
  }
  
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}