/* ============================================================
   CSS for Privacy Policy Page — PCEA Mwihoko Parish
   ============================================================ */

/* ---------- Page Header / Hero ---------- */
.page-header {
    background: linear-gradient(135deg, #0d2137 0%, #1565c0 50%, #0d2137 100%);
    position: relative;
    padding: 120px 0 70px;
    overflow: hidden;
}

.page-header .overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 40%, rgba(249, 168, 37, 0.15), transparent 50%),
                radial-gradient(circle at 80% 60%, rgba(25, 118, 210, 0.2), transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.page-header .lead {
    opacity: 0.9;
    font-size: 1.15rem;
}

/* ---------- Policy Content Section ---------- */
.policy-section {
    background-color: var(--bg-warm, #f8f9fb);
}

/* Sticky Quick Nav Sidebar */
.policy-sidebar {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
}

.policy-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.policy-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-nav-list li {
    margin-bottom: 0.4rem;
}

.policy-nav-list a {
    display: block;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.policy-nav-list a:hover {
    color: var(--primary-start, #1565C0);
    background: rgba(21, 101, 192, 0.08);
    transform: translateX(4px);
}

/* Policy Main Card */
.policy-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    padding: 2.5rem 3rem;
}

@media (max-width: 768px) {
    .policy-card {
        padding: 1.5rem 1.25rem;
    }
}

.policy-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.policy-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.policy-heading {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.5rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.policy-heading i {
    color: var(--primary-start, #1565C0);
    font-size: 1.25rem;
}

.policy-subheading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.policy-card p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.75;
}

.policy-card ul, .policy-card ol {
    color: #334155;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.policy-card li {
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

/* Callout Highlights */
.policy-highlight-box {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.05) 0%, rgba(249, 168, 37, 0.08) 100%);
    border-left: 4px solid var(--primary-start, #1565C0);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.policy-highlight-box.gold-accent {
    border-left-color: var(--gold, #F9A825);
    background: rgba(249, 168, 37, 0.08);
}

.policy-highlight-box p:last-child {
    margin-bottom: 0;
}

/* Contact Info Box */
.policy-contact-card {
    background: #0d2137;
    color: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.policy-contact-card h5 {
    color: var(--gold, #F9A825);
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.3rem;
}

.policy-contact-card a {
    color: #90caf9;
    text-decoration: none;
    transition: color 0.2s;
}

.policy-contact-card a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.badge-legal {
    background-color: rgba(21, 101, 192, 0.1);
    color: #1565C0;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
}
