/* style/privacy-policy.css */

/* General page styling */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

/* Fixed header offset */
.page-privacy-policy__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-privacy-policy__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    color: #ffffff;
}

.page-privacy-policy__hero-title {
    font-size: 2.8em;
    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-cta {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    background-color: #C30808; /* Specific color for register/login type CTA */
    color: #FFFF00; /* Specific font color for register/login type CTA */
    border: none;
}

.page-privacy-policy__hero-cta:hover {
    background-color: #a00606;
}

/* Section styling */
.page-privacy-policy__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-privacy-policy__content-area {
    background-color: #ffffff; /* Light background for content area */
    color: #333333; /* Dark text for light background */
}

.page-privacy-policy__dark-section {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff; /* White text for dark background */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherit color from parent section */
}

.page-privacy-policy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent section */
}

/* Card Grid Styling */
.page-privacy-policy__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-privacy-policy__card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-privacy-policy__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-privacy-policy__card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #017439; /* Brand color for card titles */
    text-align: center;
}

.page-privacy-policy__card-text {
    font-size: 0.95em;
    line-height: 1.7;
    text-align: justify;
}

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

.page-privacy-policy__list-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark section */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}
.page-privacy-policy__content-area .page-privacy-policy__list-item {
    background-color: #f0f0f0; /* Light background for list items in light section */
    color: #333333;
}

.page-privacy-policy__list-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: inherit;
}

/* Info Cards */
.page-privacy-policy__info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-privacy-policy__info-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-privacy-policy__info-card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #017439;
}

/* Security Features */
.page-privacy-policy__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-privacy-policy__security-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    color: #ffffff;
}

.page-privacy-policy__security-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-privacy-policy__security-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
}