/* ═══════════════════════════════════════════════
                                                           ESG Dashboard Styles
                                                           ═══════════════════════════════════════════════ */
.esg-section {
    background: linear-gradient(135deg, #f8faf5 0%, #eef5e8 100%);
}

.esg-pillar-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    border-top: 4px solid transparent;
}

.esg-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.esg-pillar-card.pillar-environment {
    border-top-color: #2b6b3f;
}

.esg-pillar-card.pillar-social {
    border-top-color: #2563eb;
}

.esg-pillar-card.pillar-governance {
    border-top-color: #d97706;
}

.esg-score-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.esg-score-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 6px solid #e5e7eb;
}

.esg-score-ring .ring-fill {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 6px solid transparent;
}

.esg-pillar-card.pillar-environment .ring-fill {
    border-top-color: #2b6b3f;
    border-right-color: #2b6b3f;
    border-bottom-color: #2b6b3f;
}

.esg-pillar-card.pillar-social .ring-fill {
    border-top-color: #2563eb;
    border-right-color: #2563eb;
    border-bottom-color: #2563eb;
}

.esg-pillar-card.pillar-governance .ring-fill {
    border-top-color: #d97706;
    border-right-color: #d97706;
    border-bottom-color: #d97706;
}

.esg-score-value {
    font-family: "Jost", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    z-index: 1;
    position: relative;
}

.esg-pillar-card.pillar-environment .esg-score-value {
    color: #2b6b3f;
}

.esg-pillar-card.pillar-social .esg-score-value {
    color: #2563eb;
}

.esg-pillar-card.pillar-governance .esg-score-value {
    color: #d97706;
}

.esg-metric-bar-track {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.esg-metric-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.2s ease;
}

.esg-category-panel {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.5rem;
}

.esg-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.esg-category-badge.badge-environment {
    background: #dcfce7;
    color: #166534;
}

.esg-category-badge.badge-social {
    background: #dbeafe;
    color: #1e40af;
}

.esg-category-badge.badge-governance {
    background: #fef3c7;
    color: #92400e;
}

/* ═══════════════════════════════════════════════
                                                           Reports Section Styles
                                                           ═══════════════════════════════════════════════ */
.report-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    border-left: 4px solid #2b6b3f;
}

.report-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.report-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2b6b3f, #3d8b56);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}

.report-category-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: #f0fdf4;
    color: #166534;
}

.report-download-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0fdf4;
    color: #2b6b3f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.3s,
        color 0.3s;
    text-decoration: none;
}

.report-download-btn:hover {
    background: #2b6b3f;
    color: #fff;
}

/* ═══════════════════════════════════════════════
                                                           Block Content (rich text)
                                                           ═══════════════════════════════════════════════ */
.block-content img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.block-content p {
    margin-bottom: 1rem;
}

.block-content ul,
.block-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-icon {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════
                                    ESG STRATEGY — PARALLAX VERSION
                                    ═══════════════════════════════════ */
.strategy-section-parallax {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.strategy-parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 25, 15, 0.82) 0%,
        rgba(10, 25, 15, 0.75) 40%,
        rgba(10, 25, 15, 0.85) 100%
    );
    z-index: 1;
}

.strategy-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.strategy-header .overline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #a7f3d0;
    background: rgba(43, 107, 63, 0.35);
    border: 1px solid rgba(43, 107, 63, 0.5);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.strategy-header h1 {
    font-family: "Jost", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.strategy-header p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.strategy-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.strategy-card-image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.strategy-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.strategy-card:hover .strategy-card-image-wrap img {
    transform: scale(1.08);
}

.strategy-card-image-overlay {
    position: absolute;
    inset: 0;
    transition: opacity 0.4s;
}

.strategy-card-image-overlay.overlay-environment {
    background: linear-gradient(
        180deg,
        rgba(43, 107, 63, 0.1) 0%,
        rgba(43, 107, 63, 0.6) 100%
    );
}

.strategy-card-image-overlay.overlay-social {
    background: linear-gradient(
        180deg,
        rgba(37, 99, 235, 0.1) 0%,
        rgba(37, 99, 235, 0.6) 100%
    );
}

.strategy-card-image-overlay.overlay-governance {
    background: linear-gradient(
        180deg,
        rgba(217, 119, 6, 0.1) 0%,
        rgba(217, 119, 6, 0.6) 100%
    );
}

.strategy-card-title-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.strategy-card-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.strategy-card-icon-badge.badge-env {
    background: rgba(43, 107, 63, 0.85);
}

.strategy-card-icon-badge.badge-soc {
    background: rgba(37, 99, 235, 0.85);
}

.strategy-card-icon-badge.badge-gov {
    background: rgba(217, 119, 6, 0.85);
}

.strategy-card-icon-badge img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.strategy-card-title-bar h2 {
    font-family: "Jost", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.strategy-card-body {
    padding: 1.75rem 1.5rem;
}

.strategy-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.strategy-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
}

.strategy-highlights li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.strategy-highlights li .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

.dot.dot-env {
    background: #2b6b3f;
}

.dot.dot-soc {
    background: #2563eb;
}

.dot.dot-gov {
    background: #d97706;
}

.strategy-sdg-panel {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border: 1px solid #f3f4f6;
}

.strategy-sdg-panel .sdg-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    margin-bottom: 0.65rem;
}

.strategy-sdg-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.strategy-sdg-list img {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    transition: transform 0.2s;
    cursor: pointer;
}

.strategy-sdg-list img:hover {
    transform: scale(1.15);
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .strategy-header h1 {
        font-size: 2.2rem;
    }

    .strategy-card-image-wrap {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .strategy-section-parallax {
        padding: 3rem 0;
    }

    .strategy-header {
        margin-bottom: 2.5rem;
    }

    .strategy-header h1 {
        font-size: 1.85rem;
    }

    .strategy-card-image-wrap {
        height: 180px;
    }

    .strategy-card-body {
        padding: 1.25rem;
    }

    .strategy-card-title-bar h2 {
        font-size: 1.15rem;
    }
}

/* ═══════════════════════════════════════════════
           kebijakan BLOCK — 2×2 Grid Cards
           ═══════════════════════════════════════════════ */

.kebijakan-card {
    padding: 2rem;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

/* ── Dark variant (index 0, 3) ── */
.kebijakan-card.mat-card-dark {
    background: var(--bs-dark);
    color: #ffffff;
}

.kebijakan-card.mat-card-dark .kebijakan-card-title {
    color: #ffffff;
}

.kebijakan-card.mat-card-dark .kebijakan-card-desc {
    color: rgba(255, 255, 255, 0.8);
}

.kebijakan-card.mat-card-dark .kebijakan-card-img::after {
    background: linear-gradient(
        to top,
        rgba(15, 66, 41, 0.85) 0%,
        transparent 60%
    );
}

/* ── Light variant (index 1, 2) ── */
.kebijakan-card.mat-card-light {
    background: var(--bs-light);
    color: var(--bs-dark);
}

.kebijakan-card.mat-card-light .kebijakan-card-title {
    color: #e2ede8;
}

.kebijakan-card.mat-card-light .kebijakan-card-desc {
    color: #6c757d;
}

.kebijakan-card.mat-card-light .kebijakan-card-img::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
}

/* ── Image wrapper ── */
.kebijakan-card-img {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.kebijakan-card-img img {
    transition: transform 0.5s ease;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.kebijakan-card:hover .kebijakan-card-img img {
    transform: scale(1.05);
}

/* Gradient overlay on image */
.kebijakan-card-img::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    border-radius: 8px;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.kebijakan-card:hover .kebijakan-card-img::after {
    opacity: 0.7;
}

/* ── Title positioned over image bottom ── */
.kebijakan-card-title {
    position: absolute;
    bottom: 12px;
    left: 14px;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-decoration: none;
}

a.kebijakan-card-img:hover .kebijakan-card-title {
    transform: translateY(-3px);
    text-decoration: none;
}

/* ── Description text ── */
.kebijakan-card-desc {
    font-size: 0.925rem;
    line-height: 1.65;
}

/* ── Hover effect on card ── */
.kebijakan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.kebijakan-card.mat-card-dark:hover {
    box-shadow: 0 12px 36px rgba(15, 66, 41, 0.25);
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .kebijakan-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .kebijakan-card-title {
        font-size: 1rem;
        bottom: 10px;
        left: 10px;
    }

    .kebijakan-card-desc {
        font-size: 0.875rem;
    }
}

@media (max-width: 575.98px) {
    .kebijakan-card-img img {
        aspect-ratio: 16 / 10;
    }
}
.kebijakan-btn {
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.kebijakan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Modal smooth */
.modal-content {
    border-radius: 14px;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding: 1rem 1.5rem;
}
