/* /home/mgijimi/my_flask_app/static/assets/css/privacy.css */

/* Note: This file relies on variables defined in main.css for general styles */

.privacy-policy-section {
    padding: 80px 0;
    background-color: var(--light-gray); /* Use light gray background for the section */
}

.privacy-policy-section .container {
    max-width: 950px; /* Slightly wider for better content flow */
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-policy-section .section-title {
    /* Inherits general section-title styles from main.css */
    margin-bottom: 20px; /* Space from the "Last Updated" text */
}

.privacy-policy-section p.text-center {
    font-size: 0.95em;
    color: var(--text-color);
    margin-bottom: 50px; /* Space below the date */
    opacity: 0.8;
}

/* Policy Content as a large card */
.policy-content {
    background-color: var(--primary-white); /* White background for the card */
    padding: 50px; /* Generous padding */
    border-radius: 12px; /* Consistent rounded corners */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); /* Consistent shadow */
    line-height: 1.8; /* Improved line height for readability */
    color: var(--text-color);
    border-left: 5px solid var(--primary-red); /* Red accent border, consistent with about-card */
}

.policy-content p {
    margin-bottom: 20px; /* Space between paragraphs */
}

.policy-content ul {
    list-style-type: disc; /* Standard disc bullets */
    margin-left: 25px; /* Indent lists */
    margin-bottom: 20px;
}

.policy-content ul li {
    margin-bottom: 10px;
}

.policy-content strong {
    color: var(--primary-red); /* Highlight strong text with brand color */
}

.policy-content a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

/* Policy Sub-headings - styled to fit within the card, similar to section-title but smaller */
.policy-heading {
    font-size: 1.8rem; /* Size for sub-headings */
    color: var(--primary-black);
    margin-top: 40px; /* Space above headings */
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px; /* Space for underline effect */
    /* Align left within the card */
    text-align: left;
}

.policy-heading::after {
    content: '';
    display: block;
    width: 60px; /* Short underline */
    height: 3px;
    background-color: var(--primary-yellow); /* Accent color */
    margin-top: 8px;
    border-radius: 1.5px;
    /* Ensure underline aligns with text */
    margin-left: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .privacy-policy-section .container {
        max-width: 100%; /* Allow full width on smaller screens */
    }
    .policy-content {
        padding: 40px; /* Adjust padding for tablets */
    }
    .policy-heading {
        font-size: 1.6rem;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .privacy-policy-section {
        padding: 60px 0;
    }
    .policy-content {
        padding: 30px;
    }
    .policy-heading {
        font-size: 1.5rem;
        margin-top: 30px;
    }
    .policy-content ul {
        margin-left: 15px;
    }
}

@media (max-width: 480px) {
    .privacy-policy-section {
        padding: 40px 0;
    }
    .policy-content {
        padding: 20px;
    }
    .policy-heading {
        font-size: 1.3rem;
        margin-top: 25px;
    }
    .policy-content p, .policy-content ul {
        font-size: 0.95em;
    }
}

