/* ==========================================================================
   REPORTS & POLICIES SECTION
   ========================================================================== */
.policies-section {
    background-color: #ffffff;
    padding: 30px 0;
    overflow-x: hidden;
}

.policies-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.policies-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    color: #1e1e1e;
    margin: 0;
    line-height: 1.2;
}

/* Policies Tabs Styling (Matching Leadership Tabs design style) */
.policies-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #E4E4E4;
    width: 320px;
}

.policies-tabs .policy-tab-btn {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1e1e1e;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 0px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-left: 0;
    flex: 1;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.policies-tabs .policy-tab-btn:hover {
    color: #164D92;
}

.policies-tabs .policy-tab-btn.active {
    color: #164D92;
    font-weight: 600;
    border-bottom: 2px solid #164D92;
}

.policies-tabs .policy-tab-btn:nth-child(1) {
    text-align: left;
}

.policies-tabs .policy-tab-btn:nth-child(3) {
    text-align: right;
}

/* Tab Panels */
.policies-panel {
    display: none;
}

.policies-panel.active {
    display: block;
    animation: fadeInPanel 0.4s ease forwards;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policies-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

/* Policy Card Styling */
.policy-card {
    background-color: #f5f6f8;
    border-radius: 20px;
    padding: 24px;
    color: #1e1e1e;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 12px;
    height: 97px;
    flex: 0 0 calc((100% - 3 * 24px) / 4);
    /* 4 cards per row on desktop */
    width: calc((100% - 3 * 24px) / 4);
    box-sizing: border-box;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.policy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.policy-card-icon {
    color: #2E5399;
    flex-shrink: 0;
}

.policy-card-label {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1e1e1e;
    line-height: 1.25;
}

.policies-tabs .policy-tab-btn:nth-child(1) {
    text-align: left;
}

.policies-tabs .policy-tab-btn:nth-child(3) {
    text-align: right;
}

/* Tablet / Intermediate Screen Widths (Scroll added below 1440px) */
@media (max-width: 1439px) {
    .policies-grid {
        gap: 20px;
    }

    .policy-card {
        flex: 0 0 calc((100% - 2 * 20px) / 3);
        /* 3 cards per row on tablets */
        width: calc((100% - 2 * 20px) / 3);
    }
}

/* Mobile Screen Widths (2 cards per row, no scrolling) */
@media (max-width: 768px) {
    .policies-header {
        margin-bottom: 24px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .policies-tabs {
        width: 100%;
        max-width: 330px;
        align-self: flex-start;
    }

    .policies-grid {
        gap: 12px;
    }

    .policy-card {
        flex: 0 0 calc((100% - 12px) / 2);
        /* 2 cards per row on mobile */
        width: calc((100% - 12px) / 2);
        height: 74px;
        padding: 16px 12px;
    }

    .policy-card-label {
        font-size: 14px;
    }
}

/* Screen widths below 480px (narrow mobile padding adjustments) */
@media (max-width: 480px) {
    .policies-grid {
        margin-right: 0;
        padding-right: 0;
        display: block;
    }
    .policy-card{width: 100%; margin-bottom: 20px;}

    
}

@media (max-width: 390px) {
    .policy-card-label {
        font-size: 12px;
    }
}