.safety-page-background {
    background-color: #f8fbff;
    background-image:
        linear-gradient(
            90deg,
            rgba(248, 251, 255, 0.77),
            rgba(248, 251, 255, 0.77)
        ),
        url("../images/tanggung-jawab/keselamatan/shs_bg.png");
    background-position: 0% 0%;
    background-repeat: no-repeat;
    background-size: 101% auto;
    margin-top: -78px;
    padding-top: 78px;
}

/* Commitment */
.safety-commitment-section {
    margin-top: -78px;
    padding-top: 0;
    position: relative;
    z-index: 2;
}
.k3-commitment-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(10, 51, 103, 0.1);
    padding: clamp(2rem, 4vw, 3.25rem);
}
.k3-title-accent {
    background: linear-gradient(90deg, #e67e22, #f39c12);
    border-radius: 2px;
    display: block;
    height: 4px;
    margin: 0 auto 25px;
    width: 180px;
}
.k3-commitment-card .section-header h2,
.mining-safety-tech .section-header h2 {
    color: #122a5e;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.k3-commitment-copy,
.k3-commitment-copy p,
.k3-commitment-copy span {
    color: rgb(0 0 0) !important;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}
.k3-stat-list {
    margin-top: 2rem;
}

/* Stat Item */
.k3-stat-item {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    min-height: 86px;
    padding: 12px 1.5rem;
    transition: all 0.3s ease;
}
.k3-stat-list > div:not(:last-child) .k3-stat-item {
    border-right: 1px solid #d9e1eb;
}
.k3-stat-item:hover {
    transform: translateY(-5px);
}
.k3-stat-icon {
    align-items: center;
    background: linear-gradient(145deg, #075bec, #0037b6);
    border-radius: 14px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 54px;
    font-size: 1.55rem;
    height: 54px;
    justify-content: center;
    width: 54px;
}
.k3-stat-item h4 {
    color: #092a76;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.15;
    margin: 0 0 4px;
}
.k3-stat-item h4 small {
    font-size: 0.55em;
}
.k3-stat-item p {
    color: #5d6675;
    font-size: 0.88rem;
    line-height: 1.3;
    margin: 0;
}
.k3-stat-note {
    color: #6c757d;
    display: block;
    font-size: 0.92rem;
    line-height: 1.35;
    margin-top: 4px;
}

/* Custom Tabs */
.k3-tab-nav-wrapper .nav-pills {
    background-color: #f8f9fa;
    border: 1px solid rgba(10, 51, 103, 0.1);
    box-shadow: 0 8px 24px rgba(10, 51, 103, 0.14);
}
.k3-tab-nav-wrapper .nav-link {
    color: #000000;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}
.k3-tab-nav-wrapper .nav-link.active {
    background-color: #003366 !important; /* Warna biru gelap */
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.k3-tabs-area .tab-pane h2 {
    color: #122a5e !important;
    font-weight: 800 !important;
}

/* List Check */
.k3-numbered-description {
    counter-reset: k3-numbered-description;
    color: rgb(0 0 0) !important;
    line-height: 1.75;
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
.k3-numbered-description li {
    counter-increment: k3-numbered-description;
    display: grid;
    grid-template-columns: 2ch minmax(0, 1fr);
    column-gap: 0.45rem;
    padding-left: 0;
}
.k3-numbered-description li::before {
    content: counter(k3-numbered-description) ".";
    text-align: right;
}
.tab-pane ul li i {
    font-size: 20px;
}
.tab-pane hr {
    opacity: 0.1;
    margin: 10px 0;
}

/* Image */
.k3-image-wrapper img {
    box-shadow: 0 10px 24px rgba(10, 51, 103, 0.18) !important;
    width: 100%;
    object-fit: cover;
    border-radius: 30px !important; /* Bentuk melengkung seperti di gambar */
}

/* Table */
.table-dark {
    background-color: #003366 !important;
}

/* Mining safety technology */
.mining-safety-tech {
    background: linear-gradient(180deg, #f2f8ff 0%, #e6f2ff 100%);
    padding-top: 70px;
}
.mining-safety-tech__intro {
    color: rgb(0 0 0);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 680px;
}
.safety-tech-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(10, 51, 103, 0.1);
    overflow: hidden;
    padding: 18px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.safety-tech-card:hover {
    box-shadow: 0 14px 30px rgba(10, 51, 103, 0.16);
    transform: translateY(-5px);
}
.safety-tech-card__heading {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    min-height: 58px;
}
.safety-tech-card__icon {
    align-items: center;
    background: #075bec;
    border-radius: 13px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 52px;
    font-size: 1.45rem;
    height: 52px;
    justify-content: center;
    width: 52px;
}
.safety-tech-card__heading h3 {
    color: #075bec;
    font-size: 1.35rem;
    line-height: 1;
    margin: 0 0 5px;
}
.safety-tech-card__heading p {
    color: #143b90;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.15;
    margin: 0;
}
.safety-tech-card img {
    border-radius: 10px;
    display: block;
    height: 300px;
    object-fit: cover;
    width: 100%;
}
.safety-tech-card__description {
    color: #000000;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 16px 0 12px;
}
.safety-tech-card__link {
    color: #075bec;
    font-size: 0.85rem;
    font-weight: 700;
}
.safety-tech-card__link i {
    font-size: 0.75rem;
    margin-left: 6px;
}
.safety-tech-card--dms .safety-tech-card__icon {
    background: #26a65b;
}
.safety-tech-card--dms .safety-tech-card__heading h3,
.safety-tech-card--dms .safety-tech-card__heading p,
.safety-tech-card--dms .safety-tech-card__link {
    color: #26a65b;
}
.safety-tech-card--dme .safety-tech-card__icon {
    background: #6816ca;
}
.safety-tech-card--dme .safety-tech-card__heading h3,
.safety-tech-card--dme .safety-tech-card__heading p,
.safety-tech-card--dme .safety-tech-card__link {
    color: #6816ca;
}
.safety-tech-card--shesinfo .safety-tech-card__icon {
    background: #0b4fac;
}
.safety-tech-card--shesinfo .safety-tech-card__heading h3,
.safety-tech-card--shesinfo .safety-tech-card__heading p,
.safety-tech-card--shesinfo .safety-tech-card__link {
    color: #0b4fac;
}
.safety-tech-card__icon--brand {
    background: #fff !important;
    border: 1px solid #d8e5f8;
    padding: 4px;
}
.safety-tech-card__icon--brand img {
    border-radius: 0;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

@media (max-width: 991.98px) {
    .k3-stat-list > div:nth-child(2) .k3-stat-item {
        border-right: 0;
    }
    .k3-stat-list > div:nth-child(-n + 2) .k3-stat-item {
        border-bottom: 1px solid #d9e1eb;
    }
}

@media (max-width: 575.98px) {
    .safety-page-background {
        margin-top: -42px;
        padding-top: 42px;
    }
    .safety-commitment-section {
        margin-top: -42px;
    }
    .k3-commitment-card {
        border-radius: 18px;
        padding: 1.5rem 1rem;
    }
    .k3-stat-list > div .k3-stat-item {
        border-bottom: 1px solid #d9e1eb;
        border-right: 0 !important;
        justify-content: flex-start;
        padding: 1rem;
    }
    .k3-stat-list > div:last-child .k3-stat-item {
        border-bottom: 0;
    }
    .mining-safety-tech {
        padding-top: 50px;
    }
}
