:root {
    --doh-primary: #004a2f;
    --doh-secondary: #fad41;
    --ui-blue: #2563eb;
    --npgp-accent: #0284c7;
}

.policy-section {
    padding: 80px 0;
    background: #ffffff;
}

.policy-header-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--doh-primary);
    border-left: 5px solid var(--npgp-accent);
    padding-left: 20px;
}

.policy-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.policy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: var(--npgp-accent);
}

.policy-icon-wrapper {
    height: 120px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--doh-primary);
    border-radius: 16px 16px 0 0;
}

.policy-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.policy-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
}

/* Modal PDF specific */
.pdf-modal-body {
    height: 85vh;
    padding: 0;
    background: #475569;
}

#pdfFrame {
    width: 100%;
    height: 100%;
    border: none;
}

/* Target the metadata specifically to ensure it doesn't overlap */
    .carousel-info p {
        margin-top: auto; /* Pushes the 'Department of Health' text to the very bottom */
        padding-top: 10px;
        border-top: 1px solid rgba(0,0,0,0.05); /* Optional: adds a nice separator */
    }

    .agency-section {
        background: #ffffff;
        padding: 40px 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .agency-label {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #64748b;
        letter-spacing: 0.05em;
        margin-bottom: 25px;
        display: block;
    }

    .logo-grid {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 40px;
    }

    .logo-link {
        display: flex;
        align-items: center;
        text-decoration: none;
        transition: transform 0.2s ease;
    }

    .logo-link:hover {
        transform: translateY(-3px);
    }

    .agency-logo {
        height: 80px;
        width: auto;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: all 0.3s ease;
    }

    .logo-link:hover .agency-logo {
        filter: grayscale(0%);
        opacity: 1;
    }

    @media (max-width: 768px) {
        .agency-logo { height: 35px; }
        .logo-grid { gap: 20px; }
    }